MapStruct 1.5.3.Final bug fix released

It is my pleasure to announce the 1.5.3.Final bug fix release of MapStruct. This release includes 18 bug fixes and 7 documentation improvements.

The most notable fixes are around the handling of nested imports and generics handling

Nested imports

In the 1.5 releases we wanted to change the way we generate imports for nested classes. We started generating imports only for top level classes. However, as always in software there can be bugs and there were some here as well. With this release we believe that we have covered most of the problems in this area.

Generics handling

In the 1.5 release we did some improvements and strengthened our generics handling. This improvement led to some subtle regressions that used to work by accident before. With this release we believe that we have fixed those regressions.


Thanks to our entire community for reporting these errors and for helping use improve our documentation.

In alphabetic order this are all the contributors that contributed to the 1.5.3 release of Mapstruct:

Happy coding with MapStruct 1.5.3!!


You can fetch the new release from Maven Central using the following GAV coordinates:

Alternatively, you can get ZIP and TAR.GZ distribution bundles - containing all the JARs, documentation etc. - from GitHub.

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:

comments powered by Disqus