Skip to content

build(deps): bump sqids/sqids from 0.4.1 to 0.5.0 #293

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 17, 2025

Bumps sqids/sqids from 0.4.1 to 0.5.0.

Changelog

Sourced from sqids/sqids's changelog.

CHANGELOG

v0.5.0: ⚠️ BREAKING CHANGE

  • Breaking change: A bug fix in the isBlockedId function resolves an issue where ID regeneration was triggered when a blocked word containing integers was found in the middle of the generated ID. For example, if a blocked word was def2 and the generated ID was abc1def2ghi3, the ID would have been regenerated, even though it shouldn't have been according to the 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
  • Lots of performance optimizations in PR #17 and #18 thanks to @​GromNaN
  • Running tests for PHP 8.4

v0.4.1:

v0.4.0: ⚠️ BREAKING CHANGE

  • Breaking change: IDs change. Algorithm has been fine-tuned for better performance [[Issue #11](https://redirect.github.com/Simpler sqids/sqids-spec#11)]
  • alphabet cannot contain multibyte characters
  • minLength upper limit has increased from alphabet length to 255
  • Max blocklist re-encoding attempts has been capped at the length of the alphabet - 1
  • Minimum alphabet length has changed from 5 to 3
  • minValue() and maxValue() functions have been removed
  • Max integer encoding value is PHP_INT_MAX

v0.3.1:

v0.3.0:

  • Bug fix: test for decoding an invalid ID with a repeating reserved character
  • Removing requirement of ext-mbstring

v0.2.0:

  • Making the public constant DEFAULT_BLOCKLIST available
  • Removed mb_ functions, because the spec does not guarantee unicode support

v0.1.0:

Commits
  • d594b87 changelog update
  • 6d44c05 changelog update
  • 8571c38 Merge pull request #17 from GromNaN/optim-blocklist
  • e335cb0 Update regex to restrict words containing digit only at the beginning or the ...
  • b554a35 Merge remote-tracking branch 'origin/main' into optim-blocklist
  • a818ed4 isBlockedId tests + bug fix in int regex
  • 67d951e Keep for backward compatibility
  • 608d60f Reduce blocklist by applying leet transformation on blocked words
  • 15c3cf2 Use a regex to check if an ID contains a word from the blocklist
  • 6df4c12 Optimize blocklist filtering by using Regex
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [sqids/sqids](https://github.com/sqids/sqids-php) from 0.4.1 to 0.5.0.
- [Changelog](https://github.com/sqids/sqids-php/blob/main/CHANGELOG.md)
- [Commits](sqids/sqids-php@0.4.1...0.5.0)

---
updated-dependencies:
- dependency-name: sqids/sqids
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file php Pull requests that update Php code labels Mar 17, 2025
rico-vz added a commit that referenced this pull request May 5, 2025
@rico-vz rico-vz closed this May 5, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github May 5, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@rico-vz rico-vz deleted the dependabot/composer/sqids/sqids-0.5.0 branch May 5, 2025 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file php Pull requests that update Php code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant