Releases: mapstruct/mapstruct-spring-extensions
Release 1.1.2
What's Changed
- Store TypeDescriptors as fields in generated ConversionServiceAdapter by @jbonzohln in #108
- Replace generated javax.annotation.PostConstruct with jakarta if available by @stickfigure in #110
New Contributors
- @jbonzohln made their first contribution in #108
- @stickfigure made their first contribution in #110
Full Changelog: v1.1.1...v1.1.2
Release 1.1.1
What's Changed
- This release is functionally identical to 1.1.0. The only modification worthwhile mentioning is a fix to the dependencies for the newly introduced test-extensions module which now won't rely on outdated Spring versions anymore. Thanks to @giorgioscia for pointing out this oversight which led to some organizations rejecting the library due to a security vulnerability in the respective Spring versions.
Full Changelog: v1.1.0...v1.1.1
Release 1.1.0
Additions:
- New module
test-extensions
which contains a@ConverterScan
annotation that greatly simplifies the writing of integration tests. Thanks to @joosehav for the suggestion. - New annotation
@AdapterMethodName
which allows a developer to override the default name for generated adapter methods. Thanks to @pw-lehre for the inspiration. - New annotation
@DelegatingConverter
that will generate a converter calling the one whose method is annotated with this. The intended use is in conjunction with MapStruct Core's@InheritInverseConfiguration
. Thanks again to @pw-lehre for the idea.
Full Changelog: v1.0.2...v1.1.0
Release 1.0.2
Spring Extensions will now honour the mapstruct.suppressGeneratorTimestamp
processor option. Thanks to @freund17 for pointing out this omission.
Release 1.0.1
What's Changed
- Collection type mappings ignored the generic element type. This was no functional problem as such, but it prevented generating an adapter class for several collection type mappings within the same scope. Thanks to Hypercube Software and coding-guo for pointing this out.
Full Changelog: v1.0.0...v1.0.1
Release 1.0.0
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.
Release 0.1.2
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.
Release 0.1.1
This release fixes a bug related to dealing with array types as mapping sources or targets.
What's Changed
Full Changelog: 0.1.0...v0.1.1
Release 0.1.0
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.
Release 0.0.3
Fixes the cyclic dependency issue using the @Lazy
annotation.