Hereβs an updated README.md
for ExIgniter.ObjectMapper version 3.0.2, highlighting new features and improvements.
ExIgniter.ObjectMapper 3.0.2
ExIgniter.ObjectMapper is an intelligent, high-performance object mapping library for .NET, now even more powerful and streamlined.
Version 3.0.2 delivers:
- π Enhanced performance through advanced optimization techniques.
- π‘οΈ Richer configuration options for fine-grained control over mapping behavior.
- π§ Smarter, more intuitive property matching to reduce boilerplate.
- π Robust safety features including circular reference detection and recursion limits.
- π§± Comprehensive support for collections, complex object graphs, and nested structures.
β¨ Why ExIgniter?
- β
Zero-configuration for the vast majority of use cases.
- β‘ Significantly faster than previous versions in benchmarks.
- π Intelligently matches common property name variations automatically.
- π Handles nested objects, collections, and dictionaries with ease and safety.
- π‘οΈ Security-first design: features like cycle detection, recursion depth limits, and type whitelisting prevent common mapping pitfalls.
π¦ Installation
Install-Package ExIgniter.ObjectMapper
Supports: .NET Standard 2.1+
, .NET 6+
, .NET 7+
, .NET 8+
π Key Features
π Performance Optimized
- Refined reflection caching: Even quicker lookups.
- Reduced allocations: Minimizing garbage collection overhead.
- Optimized mapping strategies: Faster data transfer.
π§ Intelligent Mapping
Automatically resolves common mismatches and handles complex scenarios:
"UserName"
β "Username"
"Addr1"
β "AddressLine1"
"ID"
β "Id"
- Customizable conventions for unique naming patterns.
π Safe and Secure
- Advanced cycle detection: Prevents infinite loops in object graphs.
- Configurable max depth limit: Safeguards against runaway recursion.
- Whitelisted types: Ensures only safe types are instantiated during mapping.
π§° Comprehensive Collection Support
Seamlessly maps diverse collection types:
- Arrays, Lists, HashSets
- Dictionaries
- Queues and Stacks
- Custom collection handling for specific requirements.
π Benchmarks (v2.0 vs v3.0)
Scenario |
v2.0 |
v3.0 |
Speedup (approx.) |
Simple Object |
50ms |
35ms |
1.4Γ |
Complex Graph |
140ms |
95ms |
1.5Γ |
Collection (1k) |
70ms |
45ms |
1.5Γ |
Benchmarks were performed using representative DTOs and nested entities on .NET 8. Actual results may vary.
π Documentation
- Comprehensive API reference: Detailed usage for every feature.
- Configuration guide: Master advanced mapping scenarios.
- Migration steps: Smoothly upgrade from v2.x to v3.0.
π View Docs
π€ Contributing
We welcome contributions from the community!
π License
MIT License β free for commercial and personal use.
Happy mapping with ExIgniter.ObjectMapper 3.0! π―