|
| 1 | +--- |
| 2 | +title: "MapStruct Spring Extensions 1.1.3 released" |
| 3 | +author: Raimund Klein |
| 4 | +date: "2025-03-14" |
| 5 | +tags: [ release, news ] |
| 6 | +--- |
| 7 | + |
| 8 | +It is my pleasure to announce the next official release of MapStruct Spring Extensions. |
| 9 | +What started out as a [StackOverflow question](https://stackoverflow.com/q/58081224/3361467) turned into its |
| 10 | +own [(sub-)project](https://github.com/mapstruct/mapstruct-spring-extensions) within the MapStruct organization. |
| 11 | + |
| 12 | +Changes in this release: |
| 13 | + |
| 14 | +- The change introduced in the previous release which stored TypeDescriptors as fields in the generated Adapter class caused rare issues with certain generic type definitions. [Jesse Bonzo](https://github.com/jbonzohln) has thankfully provided a fix for this. |
| 15 | +- The modified converter scan led to errors when used with multiple `SpringMapperConfig`s in the same project, because it would generate several configurations with identical bean names. Thanks to [simonovdenis](https://github.com/simonovdenis), we have now got an option to configure the name for the generated configuration as well. |
| 16 | + |
| 17 | +Including the annotations and extensions defined in this project will generate a class acting as bridge between |
| 18 | +MapStruct's conventions and Spring' |
| 19 | +s [ConversionService API](https://docs.spring.io/spring-framework/docs/current/reference/html/core.html#core-convert-ConversionService-API) |
| 20 | +that in turn can be added to any Mapper's `uses` attribute. See |
| 21 | +the [examples](https://github.com/mapstruct/mapstruct-spring-extensions/tree/master/examples) for details. |
| 22 | + |
| 23 | +<!--more--> |
| 24 | + |
| 25 | +### Thanks |
| 26 | + |
| 27 | +Thanks to [Sjaak Derksen](https://github.com/sjaakd) for suggesting this solution |
| 28 | +and [Filip Hrisafov](https://github.com/filiphr) for opening the community project. |
| 29 | +Also thanks |
| 30 | +to [Jeff Schnitzer](https://github.com/stickfigure), [Jesse Bonzo](https://github.com/jbonzohln), [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), |
| 31 | +and [George Noble](https://github.com/giorgioscia) for their suggestions and fixes in previous releases. |
| 32 | +If you feel like there's something missing in MapStruct which could make the Spring experience any smoother, please get |
| 33 | +involved! |
| 34 | + |
| 35 | +Also, if your favourite library or framework could use some tweaking with regard to MapStruct, contact us. |
| 36 | + |
| 37 | +Happy coding with MapStruct Spring Extensions! |
| 38 | + |
| 39 | +### Download |
| 40 | + |
| 41 | +You can fetch the release from Maven Central using the following GAV coordinates: |
| 42 | + |
| 43 | +* Annotation |
| 44 | + JAR: [org.mapstruct.extensions.spring:mapstruct-spring-annotations:1.1.3](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-annotations|1.1.3|jar) |
| 45 | +* Annotation processor |
| 46 | + JAR: [org.mapstruct.extensions.spring:mapstruct-spring-extensions:1.1.3](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-extensions|1.1.3|jar) |
| 47 | +* Test Extensions with Converter Scan |
| 48 | + JAR: [org.mapstruct.extensions.spring:mapstruct-spring-extensions:1.1.3](http://search.maven.org/#artifactdetails|org.mapstruct.extensions.spring|mapstruct-spring-test-extensions|1.1.3|jar) |
| 49 | + |
| 50 | +Alternatively, you can get ZIP and TAR.GZ distribution bundles - containing all the JARs, documentation |
| 51 | +etc. - [from GitHub](https://github.com/mapstruct/mapstruct-spring-extensions/releases/tag/v1.1.3). |
| 52 | + |
| 53 | +If you run into any trouble or would like to report a bug, feature request or similar, use the following channels to get |
| 54 | +in touch: |
| 55 | + |
| 56 | +* Get help in our [Gitter room](https://gitter.im/mapstruct/mapstruct-users) or at |
| 57 | + the [mapstruct-users](https://groups.google.com/forum/?fromgroups#!forum/mapstruct-users) group |
| 58 | +* Report bugs and feature requests via |
| 59 | + the [issue tracker](https://github.com/mapstruct/mapstruct-spring-extensions/issues) |
| 60 | +* Follow [@GetMapStruct](https://twitter.com/GetMapStruct) on Twitter |
0 commit comments