Skip to content

UUID v1.0.7

Choose a tag to compare

@Taiizor Taiizor released this 23 Dec 02:30
· 143 commits to develop since this release

UUID v1.0.7 - Compact UUIDs 馃嵂

Modern UUID Generator for .NET - Now with enhanced compact UUID generation and improved performance

About This Release

UUID v1.0.7 introduces enhanced compact UUID generation capabilities, offering better uniqueness guarantees and improved performance. This release focuses on providing more efficient UUID representations while maintaining security and reliability.

New Features

  • 馃嵂 Enhanced Compact UUIDs:
    • New NewCompact() method for 12-character UUIDs
    • Time-based ordering with NewCompactWithTime()
    • Improved uniqueness guarantees
    • Better sortability support
  • 馃殌 Performance Improvements:
    • Optimized bit manipulation operations
    • Improved memory usage efficiency
    • Enhanced thread synchronization
    • Reduced memory allocations
  • 馃攬 Security Enhancements:
    • Enhanced random value generation
    • Improved thread-safety implementations
    • Additional input validation
    • Better error handling

Documentation Updates

  • 馃攬 Added detailed compact UUID usage examples
  • 馃嵂 Added uniqueness guarantees documentation
  • 馃殌 Updated performance recommendations
  • 馃搳 Improved code organization and readability
  • 馃敒 Enhanced XML documentation coverage
  • 馃挕 More descriptive error messages
  • 馃敋 Updated API reference documentation

Installation

Install-Package UUID

Quick Example

// Generate compact UUID (12 characters)
var compactId = UUID.NewCompact();
Console.WriteLine(compactId.ToString()); // Compact format

// Generate time-based compact UUID
var timestamp = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
var timeBasedId = UUID.NewCompactWithTime(timestamp);
Console.WriteLine(timeBasedId.ToString()); // Time-based compact format

Key Features (Maintained)

  • 馃殌 High Performance: Optimized for speed with zero-allocation operations
  • 馃攬 Secure by Default: Cryptographically secure random number generation
  • 馃攼 Thread Safe: Safe for concurrent operations
  • 馃惥 Memory Efficient: Optimized memory usage
  • 馃敇 Comprehensive Documentation: Detailed API reference and examples
  • 馃敇 Easy Integration: Simple to integrate with existing .NET projects

Documentation

The documentation is available at https://uuid.soferity.com featuring:

  • New compact UUID generation guides
  • Updated API reference
  • Performance optimization guidelines
  • Best practices for UUID generation

Connect With Us


Thank you to all contributors who helped make this release possible! 馃帀

For bug reports and feature requests, please use our GitHub Issues page.