Skip to content

Releases: nicobleiler/php-passphrase

v2.2.0-beta.1

01 May 11:56
5ef6fad

Choose a tag to compare

v2.2.0-beta.1 Pre-release
Pre-release

2.2.0-beta.1 (2026-05-01)

Bug Fixes

  • add missing docblock for Passphrase facade to improve code clarity (e789548)
  • add missing type annotation for words array in loadBundledEff method (8142fc3)
  • add missing type annotations for word list and excluded words in PassphraseServiceProvider (1f0a069)
  • add tests for handling non-string elements in word list and excluded words (a3275d1)
  • add tests path and enable benevolent union type checking in PHPStan configuration (d69e532)
  • enable platform automerge for dev branch in Renovate configuration (416f6b5)
  • remove unused NewlineBetweenClassLikeStmtsRector from configuration (47fc756)
  • reorder scripts in composer.json for consistency (aeb829d)
  • update orchestra/testbench requirement to support version 11.0 (adabe5a)
  • update PHPStan level from 9 to 10 for improved analysis (d23edc7)
  • use nullsafe operator for app instance in LaravelIntegrationTest (2e79d1e)
  • validate types of excluded words and word list in PassphraseServiceProvider (5fc1b19)

Features

  • add ConfigException for validation and update PassphraseServiceProvider to use it (baeb52e)
  • add validation tests for non-integer num_words, non-string word_separator, non-boolean capitalize, and non-boolean include_number configurations (e054418)
  • enhance ConfigException for better validation messages and update PassphraseServiceProvider to utilize them (782815f)

v2.2.0-alpha.2

30 Apr 23:59
856c3ad

Choose a tag to compare

v2.2.0-alpha.2 Pre-release
Pre-release

2.2.0-alpha.2 (2026-04-30)

Bug Fixes

  • add missing docblock for Passphrase facade to improve code clarity (e789548)
  • add tests for handling non-string elements in word list and excluded words (a3275d1)
  • add tests path and enable benevolent union type checking in PHPStan configuration (d69e532)
  • use nullsafe operator for app instance in LaravelIntegrationTest (2e79d1e)
  • validate types of excluded words and word list in PassphraseServiceProvider (5fc1b19)

v2.2.0-alpha.1

30 Apr 22:40
9811c8a

Choose a tag to compare

v2.2.0-alpha.1 Pre-release
Pre-release

2.2.0-alpha.1 (2026-04-30)

Bug Fixes

  • add missing type annotation for words array in loadBundledEff method (8142fc3)
  • add missing type annotations for word list and excluded words in PassphraseServiceProvider (1f0a069)
  • enable platform automerge for dev branch in Renovate configuration (416f6b5)
  • remove unused NewlineBetweenClassLikeStmtsRector from configuration (47fc756)
  • reorder scripts in composer.json for consistency (aeb829d)
  • update orchestra/testbench requirement to support version 11.0 (adabe5a)
  • update PHPStan level from 9 to 10 for improved analysis (d23edc7)

Features

  • add ConfigException for validation and update PassphraseServiceProvider to use it (baeb52e)
  • add validation tests for non-integer num_words, non-string word_separator, non-boolean capitalize, and non-boolean include_number configurations (e054418)
  • enhance ConfigException for better validation messages and update PassphraseServiceProvider to utilize them (782815f)

v2.1.0

01 Mar 16:41
abf9e28

Choose a tag to compare

2.1.0 (2026-03-01)

Bug Fixes

  • Added newline (90b99ce)
  • reorder insufficient entropy check in fromArray method (621b0b5)

Features

  • add entropyPerWord method to calculate entropy in bits (bb10316)
  • add support for excluding words from the passphrase generation (9446942), closes #25
  • add tests for entropyPerWord method with single word and non-power of two cases (e4564bb)
  • add validation for minimum word count in word lists (8a61bf1)
  • implement target entropy bits functionality in PassphraseGenerator (54b1e68), closes #26

v2.1.0-beta.2

01 Mar 16:37
5531e0a

Choose a tag to compare

v2.1.0-beta.2 Pre-release
Pre-release

2.1.0-beta.2 (2026-03-01)

Bug Fixes

  • reorder insufficient entropy check in fromArray method (621b0b5)

Features

  • add validation for minimum word count in word lists (8a61bf1)

v2.1.0-alpha.2

01 Mar 16:29
8b94952

Choose a tag to compare

v2.1.0-alpha.2 Pre-release
Pre-release

2.1.0-alpha.2 (2026-03-01)

Bug Fixes

  • reorder insufficient entropy check in fromArray method (621b0b5)

Features

  • add validation for minimum word count in word lists (8a61bf1)

v2.1.0-beta.1

21 Feb 22:20
aa9d25a

Choose a tag to compare

v2.1.0-beta.1 Pre-release
Pre-release

2.1.0-beta.1 (2026-02-21)

Bug Fixes

Features

  • add entropyPerWord method to calculate entropy in bits (bb10316)
  • add support for excluding words from the passphrase generation (9446942), closes #25
  • add tests for entropyPerWord method with single word and non-power of two cases (e4564bb)
  • implement target entropy bits functionality in PassphraseGenerator (54b1e68), closes #26

v2.1.0-alpha.1

21 Feb 19:13
c0dc6bd

Choose a tag to compare

v2.1.0-alpha.1 Pre-release
Pre-release

2.1.0-alpha.1 (2026-02-21)

Bug Fixes

Features

  • add entropyPerWord method to calculate entropy in bits (bb10316)
  • add support for excluding words from the passphrase generation (9446942), closes #25
  • add tests for entropyPerWord method with single word and non-power of two cases (e4564bb)
  • implement target entropy bits functionality in PassphraseGenerator (54b1e68), closes #26

v2.0.0

15 Feb 22:44
1dfef6d

Choose a tag to compare

2.0.0 (2026-02-15)

Bug Fixes

  • correct typo in job name for clarity in workflow (232a413)

  • update constructor parameter type for Randomizer to remove nullability (54ddc20)

  • validate numWords in setDefaults method and update related tests (9476ae4)

  • refactor!: migrate custom word lists to array-only API (a590240)

Features

  • add default configuration options for PassphraseGenerator and update generate method to use them (39b9404)
  • enhance WordList validation and add exception handling for invalid input (c110df4)
  • refactor PassphraseGenerator to use Randomizer to also support deterministic output and update tests accordingly (dcc0ee4)
  • update PassphraseGenerator tests to use Xoshiro256StarStar randomizer for improved determinism (018ef00)

BREAKING CHANGES

  • removed file-based custom word list support (WordList::fromFile() and passphrase.word_list_path). Custom lists must now be provided as string[] via passphrase.word_list or WordList::fromArray().

v2.0.0-beta.1

15 Feb 22:00
1230127

Choose a tag to compare

v2.0.0-beta.1 Pre-release
Pre-release

2.0.0-beta.1 (2026-02-15)

Bug Fixes

  • correct typo in job name for clarity in workflow (232a413)

  • update constructor parameter type for Randomizer to remove nullability (54ddc20)

  • validate numWords in setDefaults method and update related tests (9476ae4)

  • refactor!: migrate custom word lists to array-only API (a590240)

Features

  • add default configuration options for PassphraseGenerator and update generate method to use them (39b9404)
  • enhance WordList validation and add exception handling for invalid input (c110df4)
  • refactor PassphraseGenerator to use Randomizer to also support deterministic output and update tests accordingly (dcc0ee4)
  • update PassphraseGenerator tests to use Xoshiro256StarStar randomizer for improved determinism (018ef00)

BREAKING CHANGES

  • removed file-based custom word list support (WordList::fromFile() and passphrase.word_list_path). Custom lists must now be provided as string[] via passphrase.word_list or WordList::fromArray().