MapStruct Spring Extensions 1.0.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.
Changes in this release:
- It is not necessary anymore to explicitly declare the convert method in the mapper interface if it doesn’t require any Mapstruct core annotations like
@Mapping. Thanks to Myat Min for pointing out this oversight.
We’re now functionally complete. There are currently no plans for further features, although we will keep an eye on compatibility with future MapStruct and Spring releases.
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.