Skip to content

UUID v1.1.1

Choose a tag to compare

@Taiizor Taiizor released this 01 Apr 22:42
· 40 commits to develop since this release

UUID v1.1.1 - Dapper & EF Core Integration, Enhanced Serialization & Performance 🚀

Modern UUID Generator for .NET - Now with comprehensive Dapper and Entity Framework Core support, enhanced serialization capabilities and performance optimizations

About This Release

UUID v1.1.1 introduces Dapper and Entity Framework Core integration, extending the library's versatility beyond MessagePack, System.Text.Json and Newtonsoft.Json. This release focuses on database integration, usability improvements, and security enhancements while maintaining our commitment to performance and efficiency.

Major Improvements

  • 📏 Dapper Integration:

    • Full Dapper serialization support with multiple handlers
    • Base64, Binary and String serialization options
    • Thread-safe implementation
    • Comprehensive error handling
  • 🔐 Entity Framework Core Support:

    • Custom UUID converter for EF Core
    • Seamless database integration
    • Multiple storage format options
    • Optimized for performance in database operations
  • 🔚 Security Enhancements:

    • SecureEquals methods for timing attack prevention
    • Improved random generation with secure batched buffer
    • Constant-time comparison operations
    • Enhanced protection against side-channel attacks

Technical Improvements

  • 🧰 API Expansions:

    • ReadOnlySpan support for Parse and TryParse methods
    • ToFormattedString method for hyphenated UUID format
    • Empty property for zero-value UUID representation
    • Expanded formatting and parsing capabilities
  • ⚡ Performance Optimizations:

    • Optimized random generation with secure batched buffer
    • Reduced memory allocations
    • Improved buffer management
    • Enhanced comparison operations

Installation

# Dapper Integration
Install-Package UUID.Serialization.Dapper

# Entity Framework Core Integration
Install-Package UUID.Serialization.Entity

Key Features (Maintained)

  • 🚋 True Cryptographic Security: Using secure random generation
  • 🚀 High Performance: Optimized with batched operations
  • 🔚 Thread Safe: Enhanced thread isolation
  • 🐯 Memory Efficient: Optimized buffer usage
  • 🔘 Comprehensive Documentation: Detailed security and performance guidelines

Connect With Us


Special thanks to our community for security feedback and performance optimization suggestions! 🙅

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