Skip to content

Releases: ciffelia/nid

v3.0.0

14 Apr 09:40
Compare
Choose a tag to compare

Breaking changes

  • Changed the parameter type of Nanoid::try_from_bytes method from [u8; N] to &[u8; N].

v3.0.0-rc.1

14 Apr 09:28
Compare
Choose a tag to compare
v3.0.0-rc.1 Pre-release
Pre-release
chore: release v3.0.0-rc.1

v2.1.0

14 Apr 09:15
Compare
Choose a tag to compare

New features

  • Added support for zeroizing the memory of Nanoid using zeroize crate.
    • Now you can wrap Nanoid type with secrecy crate.
  • Added Nanoid::as_str method.

v2.1.0-rc.1

14 Apr 08:38
Compare
Choose a tag to compare
v2.1.0-rc.1 Pre-release
Pre-release
chore: release v2.1.0-rc.1

v2.0.0

04 Apr 15:42
Compare
Choose a tag to compare

Breaking changes

  • nid::alphabet::Alphabet trait is fully rewritten.
    • Existing code should work without changes unless your code is interacting with trait methods of Alphabet directly.
  • nid::ParseError now implements Clone, PartialEq, Eq, and Hash.

New features

  • The use of non-ASCII characters in custom alphabet implementations is now compile-time errors.
  • Added nanoid macro to parse constant strings into Nano IDs at compile time.

Documentation changes

  • Added documentation on how to use custom alphabets.
  • Added documentation on serde feature.

v2.0.0-rc.1

04 Apr 12:34
Compare
Choose a tag to compare
v2.0.0-rc.1 Pre-release
Pre-release
chore: release v2.0.0-rc.1

v1.0.0

02 Apr 15:46
Compare
Choose a tag to compare

This is the first stable version of nid.

v1.0.0-rc.1

02 Apr 14:19
Compare
Choose a tag to compare
v1.0.0-rc.1 Pre-release
Pre-release
chore: release v1.0.0-rc.1

v0.1.0

02 Apr 11:34
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release
ci: add release job