You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Breaking Change] Report ignored source properties which are missing (Report ignored source properties which are missing #2481) - Previously unknown properties in BeanMapping#ignoreUnmappedSourceProperties were ignored, now there will be a compile error as it is most likely a mistake. To fix the error the unknown properties should be removed from BeanMapping#ignoreUnmappedSourceProperties
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Features
Map<String, ???>
to Bean (Support for Mapping from Map<String, ???> to Bean #1075)Iterable<?>
object to an object instead of collection (Mapping Iterable<?> object to an object instead of collection #607)String
<->StringBuilder
(Support Built-In conversion between String<->StringBuilder #597)UUID
to aString
(Map a UUID to a String #2391)Enhancement
componentModel
inMappingConstants.ComponentModel
(Add constants for componentModel #2255)INSTANCE
(if it exists) in mapper references when using the default component model (Runtime dependency on mapstruct.jar with default component model #2277)@ObjectFactory
unmappedTargetPolicy
for@BeanMapping
(unmappedTargetPolicy for @BeanMapping #2132)java.time.format.DateTimeFormatter
instances final members (Optimization: Make java.time.format.DateTimeFormatter instances final members #2329)BeanMapping#ignoreUnmappedSourceProperties
were ignored, now there will be a compile error as it is most likely a mistake. To fix the error the unknown properties should be removed fromBeanMapping#ignoreUnmappedSourceProperties
Bugs
defaultExpression
lead to unnecessary null checks and unexpected code (Multiple source properties with defaultExpression lead to unnecessary null checks and unexpected code #2023)@ValueMapping
string-to-enum mapping results in no cases in switch (When using @ValueMapping string-to-enum mapping results in no cases in switch #2350)@InheritInverseConfiguration
(Passing of mapping method argument to a property and using @InheritInverseConfiguration #2356)Enum[]
to String, the mapping processor throws NPE (With wrong config like Enum[] to String, the mapping processor throw NPE #2439)Documentation
@Mapping
(Make target the first parameter in all the uses of @Mapping #2368)Build
Codebase Enhancements
This discussion was created from the release 1.5.0.Beta1.
Beta Was this translation helpful? Give feedback.
All reactions