MapStruct Spring Extensions 0.1.0 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.

This release adds the possibility to provide “external” conversions to the generated ConversionServiceAdapter. These could be Spring builtin ones or provided in some runtime dependency. See the reference guide for details.

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 Spring Extensions 0.0.3 released

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

This third release fixes a circular dependency issue which occurred in non-trivial mapper hierarchies and would lead to mappers being hidden from the ConversionService. Kudos go to Daniel Shiplett and Alexey for their help in chasing down the cause and resolving the issue.

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 Spring Extensions 0.0.2 released

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

This second release allows specifying a defined name for the generated ConversionServiceAdapter bean. Kudos go to David Hamilton for this contribution. Additionally, you will now find a reference guide on the main MapStruct homepage.

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...