github riok/mapperly v3.3.0

latest releases: v4.1.1-next.0, v4.1.0, v4.1.0-next.3...
11 months ago

3.3.0 (2023-12-12)

Bug Fixes

  • escape method parameters with reserved keywords (#756) (8f7528a)
  • extension method parameters for existing target mappings (#923) (86408ce)
  • improve location of reported diagnostics (#937) (980ac3e)
  • obsolete constructors should have the last priority whlie matching constructors (regression) (#898) (20b7da6)
  • remove unnecessary null conditional access in conditions of property mappings (#788) (c4eed62)
  • resolve correct mapper defaults for roslyn versions <= 4.4 (#958) (14a4ed3)
  • Respect AllowNullPropertyAssignment correctly when mapping code is not a direct assignment (#939) (cac2f2e)
  • when resolving constructors allow a non-nullable value type to be assigned to a nullable value type (#938) (6e08f8e)

Features

  • add diagnostic for nested ignores (#818) (0f61698)
  • add IncludedMembers configuration option and support private member mapping (c0ed6eb)
  • Add option to specify the format provider or culture of a property (#929) (42d3e26)
  • Add option to specify the string format of a property (#921) (236a46f)
  • add strict mapping (#700) (9d6c21a)
  • case-insensitive MapProperty configurations matching for constructor parameters (#957) (b9db799)
  • fix incorrect private set when ~MemberVisibility.Accessible is used (#933) (b60441a)
  • improve ToString handling and use simplest overloads available (#950) (574cef7)
  • support derived type mappings for existing target objects (918f59d)
  • support static mapping methods in non-static mappers (#681) (1724124)
  • use IEnumerable Dictionary constructor for synthetic mappings (#755) (1bc7bdd)

Don't miss a new mapperly release

NewReleases is sending notifications on new releases.