Skip to content

7.1.0

Latest

Choose a tag to compare

@xaevik xaevik released this 19 Sep 13:29
· 2 commits to main since this release
Immutable release. Only release title and notes can be modified.
7.1.0
2d44c25

Release Notes - cuid.net 7.1.0

🎉 What's New

Native SHA3-512 Support

  • Cuid2 now uses the runtime's native SHA3-512 implementation when available
    (net8.0/net10.0, via IncrementalHash), instead of always going through
    the BouncyCastle fallback
  • Falls back to BouncyCastle's Sha3Digest on netstandard targets, or when the
    OS/runtime has no native SHA3-512 support

Performance Improvements

  • Base-36 encoding no longer allocates a BigInteger — it now uses a manual
    uint32-limb division algorithm, reducing allocations on the hot path
  • The BouncyCastle Sha3Digest fallback is now cached per thread instead of
    being re-created on every call

Benchmarks

  • Added a BenchmarkDotNet project (benchmarks/cuid.net.benchmarks) covering
    both Cuid and Cuid2

🐛 Fixes

  • Enforced LF line endings repository-wide via .gitattributes
  • Fixed license tagging for the Verify sponsorship exemption
  • Fixed a flaky test in the collision-resistance suite

📦 Dependency Updates

  • Updated TUnit 1.66.27 → 1.68.17
  • Updated Verify / Verify.TUnit 32.0.1 → 33.1.0
  • Updated Meziantou.Analyzer 3.0.253 → 3.0.262
  • Numerous GitHub Actions and other dependency updates via Renovate — see the
    full changelog below for the complete list

📋 Compatibility

No breaking changes. No public API changes.

🔍 Full Changelog

Full Comparison: 7.0.0...7.1.0