Skip to content

v3.0.0

Choose a tag to compare

@manusoft manusoft released this 18 May 10:09
· 9 commits to master since this release
4a5afec

Features

  • Simple Object Mapping: Map properties between objects with identical names and types.
  • Nested Object Mapping: Automatically maps nested properties.
  • Collection Mapping: Handles collections of objects and maps them to the destination collection type.
  • Custom Mapping: Supports custom transformations using lambda expressions.
  • Asynchronous Mapping: Enables async operations for custom transformations.
  • Null Safety: Handles null values gracefully.
  • Support mapping private properties.
  • Type Safety: Ensures type safety by matching properties based on type rather than just name, preventing errors when types differ.
  • Circular Reference Handling: Implements circular reference handling function.
  • Improved Type Checking: Use IsAssignableTo for more robust type compatibility checks. 🆕
  • Caching Reflection Data: Cache PropertyInfo to reduce reflection overhead. 🆕
  • Better Collection Handling: Support additional collection types (e.g., arrays, ICollection<T>). 🆕
  • Error Handling: Add detailed exceptions for common failure cases. 🆕
  • Configuration Options: Introduce a mapping configuration for custom property mappings or exclusions 🆕
  • Code Organization: Split into smaller methods for better readability and maintainability. 🆕
  • Performance Optimization: Minimize unnecessary object creations and improve circular reference handling. 🆕

What's Changed

  • Implement new features and improve performance, maintainability, and extensibility. by @manusoft in #5

Full Changelog: v2.1.0...v3.0.0