MapStruct v1.4.1.Final Release Notes
Release Date: 2020-10-11 // over 4 years ago-
๐ Bugs
@InheritConfiguration
is broken when using multiple source parameters of the same type (#2221)- 0๏ธโฃ
@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 - 0๏ธโฃ
@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)
Previous changes from v1.4.0.Final
-
๐ For full upgrade instructions please read the release notes for the previous 1.4 releases:
- ๐ 1.4.0.Beta1
- ๐ 1.4.0.Beta2
- ๐ 1.4.0.Beta3
- ๐ 1.4.0.CR1
๐ Bugs