-
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.
MapStruct Spring Extensions 1.1.2 released (#149)
- Loading branch information
Showing
165 changed files
with
8,087 additions
and
45,306 deletions.
There are no files selected for viewing
65 changes: 65 additions & 0 deletions
65
content/news/2024-08-31-mapstruct-spring-extensions-1-1-2-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,65 @@ | ||
--- | ||
title: "MapStruct Spring Extensions 1.1.2 released" | ||
author: Raimund Klein | ||
date: "2024-08-31" | ||
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: | ||
|
||
- TypeDescriptors will now be kept as fields in generated ConversionServiceAdapters which can speed up the conversion | ||
process. Thanks to [Jesse Bonzo](https://github.com/jbonzohln) for this contribution. | ||
- The [generated ConverterScan](https://mapstruct.org/documentation/spring-extensions/reference/html/#generateConverterScan) | ||
so far used the legacy `@PostConstruct` annotation from the deprecated `javax.annotation` package underneath. Thanks | ||
to [Jeff Schnitzer](https://github.com/stickfigure)'s contribution, the generator now checks for the availability of | ||
the "new" `jakarta.annotation.PostConstruct` annotation and will prefer this if it's available. For reasons of backwards | ||
compatibility, `javax.annotation.PostConstruct` is the fallback. | ||
|
||
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), [freund17](https://github.com/freund17), [Joose Haverinen](https://github.com/joosehav), [pw-lehre](https://github.com/pw-lehre), | ||
and [George Noble](https://github.com/giorgioscia) 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.2](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-annotations|1.1.2|jar) | ||
* Annotation processor | ||
JAR: [org.mapstruct.extensions.spring:mapstruct-spring-extensions:1.1.2](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-extensions|1.1.2|jar) | ||
* Test Extensions with Converter Scan | ||
JAR: [org.mapstruct.extensions.spring:mapstruct-spring-extensions:1.1.2](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-test-extensions|1.1.2|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.2). | ||
|
||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
name = "Spring Extensions" | ||
versionRef = "spring-extensions" | ||
order = 450 | ||
releaseDate = 2023-09-25 | ||
releaseDate = 2024-08-31 | ||
spring = true |
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.