Bugs
@InheritConfiguration
is broken when using multiple source parameters of the same type (#2221)@Mapping
withdefaultValue
and method argument where is missing source does nothing (#2220)- NPE when running MapStruct from IntelliJ 2020.3 EAP (#2215) - 1.4.1.Final is the first MapStruct version that supports the new improved IntelliJ experience for annotation processor compiling. In order to avoid the NPE in older MapStruct releases you'll have to build your project with
-Djps.track.ap.dependencies=false
. More info about this is in IDEA-250718 @Mapping
needs to define source parameter withdefaultValue
if you have two arguments in 1.4.0.Final (#2214)- Mapping with qualifying and only target defined should implicitly look for a matching property in one of the parameters (#2206)
- Deep cloning creates intermediate methods for primitive arrays (#2213)