I’m very happy to announce the second candidate release of MapStruct 1.2!
The CR2 release mostly provides bug fixes and other smaller improvements since the CR1,
e.g. related to the handling of
mappingInheritanceStrategy (issue #1255).
Further fixes concern the handling nested target properties (#1269).
The most notable change in the release is the extension of the
With the inclusion of #1065 in
1.2.0.Beta2 we added support inheritance of reverse methods from
This inadvertently lead to #1255. Therefore, now there are 4 strategies:
EXPLICIT- Only inherits if explicitly stated (Same as before)
AUTO_INHERIT_FROM_CONFIG- Will automatically inherit only forward configuration (Behaviour is same as before)
AUTO_INHERIT_REVERSE_FROM_CONFIG- Will automatically inherit only reverse configuration (New strategy)
AUTO_INHERIT_ALL_FROM_CONFIG- Will automatically inherit both forward and reverse configuration (New Strategy)
You can find MapStruct 1.2 CR 2 in Maven Central under the following GAV coordinates:
- Annotation JAR: org.mapstruct:mapstruct-jdk8:1.2.0.CR2 (for usage with Java >= 8) or org.mapstruct:mapstruct:1.2.0.CR2 (for earlier Java versions)
- Annotation processor JAR: org.mapstruct:mapstruct-processor:1.2.0.CR2
Alternatively, you can get ZIP and TAR.GZ distribution bundles - containing all the JARs, documentation etc. - from GitHub.
With this candidate release we believe that we’re ready for releasing MapStruct 1.2 Final.
We are confident that the final release will be out in in few weeks.
Please give the candidate release a spin and let us know as soon as possible if you run into any trouble. To get in touch, post a comment below or use one the following channels: