MapStruct v1.2.0.CR1 Release Notes
Release Date: 2017-07-15 // almost 7 years ago-
โจ Enhancements
- ๐ Make sure that only types belonging to
java.lang
are not imported (#1227) - ๐ Improve error reporting for nested properties (#1150)
- Report the specific type for which a nested target property has no write accessor or not exists (#1185)
- โ Add Java 9 Automatic Module Name in Manifest (#1224)
๐ Bug fixes
- ๐ Fix wildcards in collection adder mappings (#1170)
- 0๏ธโฃ Make sure that capitilization and decapitilization does not use the default locale (#883)
- Wildcard generics generated code contains fully qualified names (#543)
- ๐ Nested Mapper Interface not supported (#611)
- Mapping does not work when parameter name is
size
(#1244) - The fix in PR #1245 should stop any other FreeMarker special treatments of parameters - Source parameter for
@ObjectFactory
method is not well defined (#1131) - Ambiguous factory method for
@ObjectFactory
with and without parameters (#1242) - Several mappings ignored when defined another mapping with embedded paths (#1247)
๐ Documentation
- ๐ Mention ability to turn of automatic sub-mapping generation in documentation (#1219)
Important notice:
- ๐ During the generation of automatic sub-mapping methods Shared Configurations will not be taken into consideration, yet. Follow issue #1086 for more information.
Behavior changes:
With the fix for #611 the way nested mappers are created has been changed. Example:
public interface MyMapper { @Mapperpublic interface NestedMapper { } }
The
NestedMapperImpl
will be generated in the following java file:MyMapper$NestedMapperImpl.java
- ๐ Make sure that only types belonging to