Enhancements
Bugs
- Generic
@AfterMapping
does not consider@MappingTarget
properly in 1.5 (#3036) - Method annotated with
@AfterMapping
is not called (#2955) - Ignored unknown source property error, but property exist (#2743)
SubclassMapping
doesn't honourmappingControl
(#3018)- Upgrade from 1.4.1 to 1.5.2 broke primitive to wrapper classes mapping (#2921)
- Conversion of
BigDecimal
to primitivedouble
wrong with 1.5.2 (#2913) - Ambiguous mapping methods when upgrading to MapStruct 1.5.0.RC1 (#2840)
SubclassMapping
stackoverflow exception (#2825)Optional
wrapping pattern broken in 1.5.2.Final (#2925)- Missing import in generated mapper when referencing a nested enum from an unrelated class (#2945)
- Unused import warning of nested classes (#2907)
- Compilation error in generated code for
@Conditional
and collection (#2937) - Missing import of nested class (#2897)
- Ignoring unmapped source properties in inverse inheritance (#2949)
- Compilation error when mapping fields with the same type due to not wrapping in a
try-catch
block (#2839) - Using
@TargetType
as a parameter for@Condition
causes NPE during compiling (#2882) - Cannot map from a covariant (extends) generic type (#2677)
Documentation
- Add IntelliJ and Eclipse plugin to the documentation (#2928)
- Fix typos in documentation (#2974, #2982, #2989)
- Update Typos in javadoc (#2958)
- Polish comments, javadoc and documentation (#3026)
- Improve documentation for
BeanMapping#ignoreByDefault
(#2929)
Build
- Build fails when running mvn test on an M1 Mac (#2922)