Skip to content

chore(deps): bump nanoid from 0.4.0 to 0.5.0#13

Open
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/nanoid-0.5.0
Open

chore(deps): bump nanoid from 0.4.0 to 0.5.0#13
dependabot[bot] wants to merge 1 commit intomasterfrom
dependabot/cargo/nanoid-0.5.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 25, 2026

Bumps nanoid from 0.4.0 to 0.5.0.

Changelog

Sourced from nanoid's changelog.

0.5.0

  • Bump rand to 0.9
  • Add rngs::thread_local random source (#36)
  • format now accepts any FnMut(usize) -> Vec<u8> random generator, enabling seeded and stateful RNGs (#32, #41). Non-capturing fn(usize) -> Vec<u8> callers continue to work unchanged.
  • nanoid! macro size argument now accepts any expression, not only a single token (#28)
  • Specialized fast path for alphabets whose size is a power of two (#35). Note: for seeded RNGs paired with a power-of-two alphabet (e.g. SAFE, the new HEX_* presets), the number of random bytes consumed per ID has changed — the output for a given seed will differ from 0.4.0.
  • Add alphabet::HEX_LOWERCASE and alphabet::HEX_UPPERCASE presets (#39)
  • Optional smartstring feature for small-string-optimized output (#29)
  • Refreshed CI (GitHub Actions across OS matrix), drop Travis/AppVeyor
  • Switched benchmarks to criterion
Commits
  • 359c02d chore: 0.5.0 release
  • f0ad07f #39: Add hex alphabets
  • 7f961f2 Merge pull request #35 from tmccombs/fast-impl
  • 91a79fc Update fast impl for actual format signature
  • ed800e9 feat: Use specialized implementation for alphabets with size 2^n
  • fef0b2e Merge pull request #41 from sidarth164/sid/fnmut
  • 61e0606 docs: update README and added an example
  • 2004ff9 feat: support passing mutable functions as random generators
  • 3d405c5 Fix ci for prs
  • 7011b10 Fixup readme, delete old example
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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 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)

Bumps [nanoid](https://github.com/mrdimidium/nanoid) from 0.4.0 to 0.5.0.
- [Changelog](https://github.com/mrdimidium/nanoid/blob/main/CHANGELOG.md)
- [Commits](mrdimidium/nanoid@v0.4.0...v0.5.0)

---
updated-dependencies:
- dependency-name: nanoid
  dependency-version: 0.5.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file rust Pull requests that update rust code labels Apr 25, 2026
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 rust Pull requests that update rust code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants