MapStruct 1.5.3.Final bug fix released

It is my pleasure to announce the 1.5.3.Final bug fix release of MapStruct. This release includes 18 bug fixes and 7 documentation improvements.

The most notable fixes are around the handling of nested imports and generics handling

Read more...

MapStruct 1.5.2.Final bug fix released

It is my pleasure to announce the 1.5.2.Final bug fix release of MapStruct. You might ask yourself, where is 1.5.1. We released that version on 5th of June 2022, 3 days after the 1.5.0.Final release. It had a fix for a bug that was reported by our good friends from JHipster.

This release includes 1 enhancements and 2 bug fixes.

With this release we started supporting Text blocks for all the expressions.

Read more...

MapStruct Spring Extensions 0.1.2 released

It is my pleasure to announce the next official release of MapStruct Spring Extensions. What started out as a StackOverflow question turned into its own (sub-)project within the MapStruct organization.

Changes in this release:

  • Mark the Processor as incremental for Gradle Build. Thanks to Olivier Boudet) for raising the original issue.
  • Make sure the @Generated annotation is being imported from the correct package for the build environment. This now follows the same logic as the MapStruct Core. Thanks to John Kelly for pointing out this omission.
  • In line with MapStruct Core 1.5, we have upgraded the build environment to JDK 11.

Including the annotations and extensions defined in this project will generate a class acting as bridge between MapStruct’s conventions and Spring’s ConversionService API that in turn can be added to any Mapper’s uses attribute. See the examples for details.

Read more...

MapStruct 1.5.0.Final is out

I am very happy to announce the final release of MapStruct 1.5! This is our 5th major release since November 2015.

Besides bug fixes, the 1.5 release brings some new exicting features:

  • Support for mapping from Map<String, ???> to a bean
  • Conditional mapping
  • Support for subclass mapping
  • Support for Jakarta dependency injection
Read more...

MapStruct 1.5.0.RC1 is out

I am very happy to announce the first release candidate of MapStruct 1.5!

This release provides mostly bug fixes and other smaller improvements since 1.5.0.Beta2.

  • Support for Jakarta dependency injection
  • Allow @InheritInverseConfiguration with @SubclassMapping(s)
  • Various small bug fixes and documentation clarifications
Read more...