github mapstruct/mapstruct 1.4.0.Beta3

latest releases: 1.6.0.Beta2, 1.6.0.Beta1, 1.5.5.Final...
pre-release3 years ago

Enhancements

  • Improve the error message when using @Qualifier in 2 step mapping methods (#2135)
  • Strip leading underscore when in local variable names (#2142)
  • Allow @Default to overrule potentially existing parameterless default constructor. (#2150) - With this we actually changed the rules for selection a constructor. Now the following is done:
    • Constructor annotated with @Default (from any package) has highest precedence
    • If there is a single public constructor then it would be used to construct the object
    • If a parameterless constructor exists then it would be used to construct the object, and the other constructors will be ignored
  • Improve ambiguous method error description (#2156)

Bug fixes

  • NullPointerException when using only Mapping#target in mapping inheritance (#2139)
  • Selection JAXB object factory has been compromised between 1.3.1.Final and 1.4.0Beta2 (#2145)
  • Internal error in the mapping processor: java.lang.ArrayIndexOutOfBoundsException: 0 (#2149) - This was caused by using @BeanMapping(ignoreByDefault = true) in combination with @Mapping(target = "."). This is now not allowed

Don't miss a new mapstruct release

NewReleases is sending notifications on new releases.