Repository navigation
7.0.0
·
84 commits
to main
since this release
Immutable
release. Only release title and notes can be modified.
Release Notes - cuid.net 7.0.0
๐ What's New
.NET 10 Support
- Added support for .NET 10.0 target framework
- Library now targets:
netstandard2.0,netstandard2.1,net8.0, andnet10.0
Enhanced Security
- Added SECURITY.md with vulnerability reporting guidelines
- SECURITY.md is now included in the NuGet package
Improved Fingerprint Generation
- FingerprintVersion.Two now uses environment variables instead of thread ID for better collision resistance
- Provides more robust host-specific fingerprinting across different execution contexts
๐ Breaking Changes
Dropped .NET 6 Support
- BREAKING: Removed
net6.0target framework - Minimum .NET version is now .NET 8.0 (or .NET Standard 2.0/2.1 for broader compatibility)
- If you're still on .NET 6, please use cuid.net 6.x or upgrade to .NET 8/10
Testing Framework Migration
- BREAKING: Migrated test suite from xUnit to TUnit (v1.6.27)
- This only affects contributors/developers working with the test suite
- End users are not impacted
Versioning System Change
- BREAKING: Migrated from GitVersion to MinVer for semantic versioning
- Version calculation is now simpler and based on git tags
- This only affects build/release processes
๐ ๏ธ Infrastructure Improvements
Build & CI/CD
- Refactored GitHub Actions workflows for better reliability
- Updated CI pipeline to support .NET 10
- Improved release workflow automation
- Migrated to new .slnx solution file format
Code Quality
- Migrated entire codebase from tabs to spaces (4-space indentation)
- Updated .editorconfig with comprehensive formatting rules
- Removed unused resource files
- Enhanced public API testing to ensure no breaking changes
Dependencies
- Updated BouncyCastle.Cryptography to 2.6.1
- Updated System.Text.Json to 9.0.9
- Updated Microsoft.NET.Test.SDK to v18
- Updated PublicApiGenerator to 11.5.4
- Updated Verify.TUnit to latest version
- Updated all other dependencies to their latest stable versions
๐ฆ Package Information
NuGet Package Improvements
- Security policy now included in package
- Enhanced package metadata
- Enabled trimming support for .NET 8+ (
IsTrimmable=true)
๐ Documentation
Updated Documentation
- Enhanced README.md with better examples and usage guidance
- Added comprehensive SECURITY.md
- Updated CODE_OF_CONDUCT.md
๐ Full Changelog
Commits since 6.0.1: 100+ commits
Files changed: 38 files with 2,940 insertions and 1,904 deletions
Major Commits
54ad01c- refactor: add .NET 10 support and enhance library features (#212)949684e- refactor: general refactor of codebase; drop .net6 support7bf3392- refactor: switch from thread id to environment vars for fingerprint970e42e- chore: migrate to MinVer18a3d4e- refactor: migrate from tabs to spaces750e21e- chore: add security.md
Dependency Updates
See the full list of dependency updates in the commit history
๐ Upgrade Guide
From 6.x to 7.0
-
Check your target framework:
- If using .NET 6, upgrade to .NET 8 or .NET 10
- If using .NET Standard 2.0/2.1, no changes required
-
Update package reference:
<PackageReference Include="cuid.net" Version="7.0.0" />
-
Review fingerprint behavior:
- If using
FingerprintVersion.Two, the fingerprint generation now includes environment variables instead of thread ID - This provides better uniqueness but may result in different fingerprints for the same machine compared to 6.x
FingerprintVersion.One(legacy) remains unchanged
- If using
-
Test your application:
- Run your test suite to ensure compatibility
- No API changes were made to
CuidorCuid2types
๐ Links
- Full Comparison: 6.0.1...7.0.0
- NuGet Package: https://www.nuget.org/packages/cuid.net/7.0.0
- Report Issues: https://github.com/visus-io/cuid.net/issues
- Security: See SECURITY.md for reporting vulnerabilities