MapStruct 1.3.1.Final bug fix released

It is my pleasure to announce the 1.3.1.Final bug fix release of MapStruct. Since the Final release of MapStruct 1.3.0.Final we have received amazing feedback from the community.

This release includes 3 enhancements, 12 bug fixes and 7 documentation improvements.

The enhancements include:

  • Ability to disable builders on method level via Builder#disableBuilder
  • Stricter matching for lifecycle methods / non-unique parameters
Read more...

MapStruct 1.3.0.Final is out in the wild

Long overdue it is our pleasure to announce the final version MapStruct 1.3. This is our 3rd release since november 2015.

Besides bug fixes, the 1.3 release brings some new exciting features:

  • Mapping (immutable) objects using builders
  • Enhanced and more flexible update method (@MappingTarget) handling
  • Constructor injection for Annotation Based component models
  • Source policy for unmapped source properties (unmappedSourcePolicy)
  • Support for defaultExpression
  • Limit mapping only to explicitly defined mappings
  • Performance improvement of constant / defaultValue primitive to String mappings
  • Warnings for precision loss
Read more...

Java 8 as a baseline, null value property mappings improved builders support and much more: MapStruct 1.3.0.Beta2 is out

It’s my pleasure to announce the second Beta release of MapStruct 1.3.

With the new Release we have finally made the switch to Java 8 as a baseline.

There are a whole lot of new enhancements as well, e.g.:

  • New NullValuePropertyMappingStrategy for controlling how properties are for update methods
  • Warnings for precision loss
  • Caching and reusing javax.xml.datatype.DatatypeFactory
  • Recursive source presence tracking
  • Improvements in the builders support
Read more...

Support for builders, mapper constructor injection and much more: MapStruct 1.3.0.Beta1 is out

It’ my pleasure to announce the first Beta release of MapStruct 1.3.

The new release comes with a whole lot of new functionality, e.g.:

  • Mapping of (immutable) objects using builders
  • Constructor injection for Annotation Based component models
  • unmappedSourcePolicy support
  • Support for defaultExpression
  • Limit mapping only to explicitly defined mappings
  • Performance improvement of constant / defaultValue primitive to String mappings
Read more...

Filip Hrisafov Taking Over as MapStruct Project Lead

It’s with great happiness and excitement that I’m announcing that Filip Hrisafov is taking over the role of MapStruct’s project lead!

Really that’s just manifesting the status quo of the last couple of months, during which Filip already was acting in that role effectively. As I’ve been able to contribute less and less time towards MapStruct over the last year, it was about time to pass on the baton to a new lead, with many fresh ideas and a great level of enthusiasm.

Filip joined the team in 2016, sending in a patch for improving our test suite. Since then, he became an invaluable member of the MapStruct community. He implemented several new features and stepped up to help with reviewing pull requests, providing help to new contributors, answering related questions on StackOverflow and even doing the last few releases of the project.

Having had the pleasure of working with Filip over the last years, I’m convinced that going forward he’s the perfect person for leading the project.

Read more...