Skip to content

Commit

Permalink
changelog update
Browse files Browse the repository at this point in the history
  • Loading branch information
4kimov committed Jan 5, 2025
1 parent 8571c38 commit 6d44c05
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down

0 comments on commit 6d44c05

Please sign in to comment.