A new version of Mappa (v1.2.0) has been released.

⚙️ What’s new?

  • #53Add support for [MappaAssignFromConstant] attribute;
  • #24 Add support for faster iterations for arrays and List<T> using Span<T> ,
  • #47 Add native mapping support between Guid and byte[]/Span<byte>/ReadOnlySpan<byte>/Memory<byte>/ReadOnlyMemory<byte>;
  • #164 Add support params and in keywords;
  • #167 Addressing leftover TODOs;
  • #107 Add tests to check mapping support for System.ValueTuple<...>;
  • #162 Released NuGet packages are built in release.

🐞 Bug fixes

  • #153 Mapping now takes into account properties in base classes;
  • #159 When mapping from an interface the tree of implemented interfaces is taken into account when deriving the list of properties.

🔜 What’s next for v1.3.0?

More features are going to be added in future releases:

  • #53 Better detection of implemented interfaces in case multiple interfaces of the same type are implemented by the class;
  • #34 User should be able to select if they want to use the Add method or the indexer when mapping to dictionaries;
  • #54 When mapping from string support static Parse methods on the target type;
  • #70 Allow MappaInvokeMethodAttribute to support methods with MappaMethodContext;
  • #118 When targeting read-only properties of type collection Mappa should support more types (e.g. Stack<T>, Queue<T>, …);

📦 NuGet packages

Mappa provides 6 NuGet packages: