-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Spring Extensions 1.1.0 documentation and news item (#145)
- Loading branch information
Showing
89 changed files
with
41,012 additions
and
1,396 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
61 changes: 61 additions & 0 deletions
61
content/news/2023-09-25-mapstruct-spring-extensions-1-1-0-released.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
--- | ||
title: "MapStruct Spring Extensions 1.1.0 released" | ||
author: Raimund Klein | ||
date: "2023-09-25" | ||
tags: [ release, news ] | ||
--- | ||
|
||
It is my pleasure to announce the next official release of MapStruct Spring Extensions. | ||
What started out as a [StackOverflow question](https://stackoverflow.com/q/58081224/3361467) turned into its | ||
own [(sub-)project](https://github.com/mapstruct/mapstruct-spring-extensions) within the MapStruct organization. | ||
|
||
Changes in this release: | ||
|
||
- New module `test-extensions` which contains a `@ConverterScan` annotation that greatly simplifies the writing of integration tests. Thanks to [Joose Haverinen](https://github.com/joosehav) for the suggestion. | ||
- New annotation `@AdapterMethodName` which allows a developer to override the default name for generated adapter methods. Thanks to [pw-lehre](https://github.com/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](https://github.com/pw-lehre) for the idea. | ||
|
||
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](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#core-convert-ConversionService-API) | ||
that in turn can be added to any Mapper's `uses` attribute. See | ||
the [examples](https://github.com/mapstruct/mapstruct-spring-extensions/tree/master/examples) for details. | ||
|
||
<!--more--> | ||
|
||
### Thanks | ||
|
||
Thanks to [Sjaak Derksen](https://github.com/sjaakd) for suggesting this solution | ||
and [Filip Hrisafov](https://github.com/filiphr) for opening the community project. | ||
Also thanks | ||
to [Cosimo Damiano Prete](https://github.com/cdprete), [Daniel Shiplett](https://github.com/danielshiplett), [Alexey](https://github.com/PRIESt512), [Olivier Boudet](https://github.com/olivierboudet), [John Kelly](https://github.com/postalservice14), [Myat Min](https://github.com/myatmin), [Hypercube Software](https://github.com/hypercube-software), [coding-guo](https://github.com/coding-guo) | ||
and [freund17](https://github.com/freund17) for their suggestions and fixes in previous releases. | ||
If you feel like there's something missing in MapStruct which could make the Spring experience any smoother, please get | ||
involved! | ||
|
||
Also, if your favourite library or framework could use some tweaking with regard to MapStruct, contact us. | ||
|
||
Happy coding with MapStruct Spring Extensions! | ||
|
||
### Download | ||
|
||
You can fetch the release from Maven Central using the following GAV coordinates: | ||
|
||
* Annotation | ||
JAR: [org.mapstruct.extensions.spring:mapstruct-spring-annotations:1.1.0](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-annotations|1.1.0|jar) | ||
* Annotation processor | ||
JAR: [org.mapstruct.extensions.spring:mapstruct-spring-extensions:1.1.0](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-extensions|1.1.0|jar) | ||
* Test Extensions with Converter Scan | ||
JAR: [org.mapstruct.extensions.spring:mapstruct-spring-extensions:1.1.0](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-test-extensions|1.1.0|jar) | ||
|
||
Alternatively, you can get ZIP and TAR.GZ distribution bundles - containing all the JARs, documentation | ||
etc. - [from GitHub](https://github.com/mapstruct/mapstruct-spring-extensions/releases/tag/v1.1.0). | ||
|
||
If you run into any trouble or would like to report a bug, feature request or similar, use the following channels to get | ||
in touch: | ||
|
||
* Get help in our [Gitter room](https://gitter.im/mapstruct/mapstruct-users) or at | ||
the [mapstruct-users](https://groups.google.com/forum/?fromgroups#!forum/mapstruct-users) group | ||
* Report bugs and feature requests via | ||
the [issue tracker](https://github.com/mapstruct/mapstruct-spring-extensions/issues) | ||
* Follow [@GetMapStruct](https://twitter.com/GetMapStruct) on Twitter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.