diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c973c1..e0c3e66 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # CHANGELOG +**v0.5.0:** **⚠️ BREAKING CHANGE** +- **Breaking change:** A bug fix in the `isBlockedId` function resolves an issue where ID regeneration was not triggered when a blocked word containing integers was found at the beginning or end of the generated ID. For example, if a blocked word was `abc1` and the generated ID was `abc123`, the ID would not have been regenerated, despite this being required according to [the spec](https://github.com/sqids/sqids-spec). Although this scenario is rare with the default blocklist, it is considered a breaking change. Since this repository is pre-1.0, only the minor version is incremented. Commit [a818ed](https://github.com/sqids/sqids-php/commit/a818ed4a25810b25663ece2354b0d6a2cc129088) +- Lots of performance optimizations in PR [#17](https://github.com/sqids/sqids-php/pull/17) and [#18](https://github.com/sqids/sqids-php/pull/18) thanks to [@GromNaN](https://github.com/GromNaN) +- Running tests for PHP 8.4 + **v0.4.1:** - Removed testing for `uniques` ([part of the spec](https://github.com/sqids/sqids-spec/blob/main/tests/internal/uniques.test.ts)) - Support for PHP 8.1 [[PR #8](https://github.com/sqids/sqids-php/pull/8)]