MapStruct 1.0.0.CR1 has landed

I am very happy to announce the first candidate release of MapStruct 1.0! As we are approach MapStruct 1.0, this release is primarily focused on ironing out remaining glitches and fixing bugs. But there are also some new features: A new SPI for discovering property accessors not adhering to the JavaBeans convention The decorator feature can now also be used with Spring Support for before- and after-mapping lifecycle hooks The complete list of 24 closed issues can be found in the change log.
Read more...

Array mappings, configuration inheritance: MapStruct 1.0.0.Beta4 released

The MapStruct community proudly announces the release of MapStruct 1.0.0.Beta4! The new release provides support for mapping arrays of Java beans, re-use of mapping configurations via a brand-new inheritance mechanism and ordered setter invocations on the target side. We also fixed quite a few bugs. You can find the complete list of 48 issues in the change log. When upgrading from a previous Beta release, please check out the migration notes for changes which may affect existing applications.
Read more...

MapStruct 1.0.0.Beta3 is out with nested properties, qualifiers and more

I’m delighted to announce the release of MapStruct 1.0.0.Beta3. This version brings the long awaited support for mapping nested source properties, built-in mappings for Java 8 date/time types, fine-grained selection of mapping methods via qualifiers and much more. You can find the complete list of a whopping 46 closed issues here. Note that existing applications using MapStruct need to adapt to some changes we had to do in order to iron out some glitches from the previous beta releases.
Read more...

Support for Java 8, JodaTime and more: MapStruct 1.0.0.Beta2 released

It’s my great pleasure to announce the release of MapStruct 1.0.0.Beta2. Amongst the new features is initial support for Java 8, built-in mappings for the types of the Joda-Time date and time API, flexible mapping customization via inline Java expressions and much more. Distribution bundles (ZIP, TAR.GZ) are available on SourceForge. Alternatively, you can obtain the dependencies from Maven Central. The GAV coordinates are: org.mapstruct:mapstruct:1.0.0.Beta2 for the annotation JAR, to be used with Java <= 7 org.
Read more...

MapStruct 1.0.0.Beta1 is out with JAXB support, custom factories, decorators and more

The MapStruct team is very happy to announce the release of MapStruct 1.0.0.Beta1. One core part of the new release is comprehensive support for mapping JAXB types with JAXBElement and XmlGregorianCalendar attributes. It’s possible now to plug in custom factories for creating objects, which also supports the JAXB use case as we’ll see in a minute. Further new features are the support for creating mappers from abstract classes (instead of interfaces) and decorators for customizing the behavior of mapping methods.
Read more...