Releases: mapstruct/mapstruct-idea
Releases · mapstruct/mapstruct-idea
1.8.0
1.7.0
Features
- New
@Mapping
Inspections (#153)- No source defined
- More than one source defined. Quick fixes:
- Remove
source
- Remove
constant
- Remove
expression
- Use
constant
asdefaultValue
- Use
expression
asdefaultExpression
- Remove
- More than one default source defined
- Remove
defaultValue
- Remove
defaultExpression
- Remove
Enhancements
- Align
@InheritConfiguration
with MapStruct core and support auto inheritance (#151) - Support collection getters as viable target setter (#149)
- Support java expression in
conditionExpression
(#154) - Align expression support with MapStruct core (#164, #170)
- Disable unmapped target property warnings when implicitly mapping from a map (#167)
- Support java text blocks for expressions (#188)
Bug fixes
- Code completion doesn't work with Lombok
@SuperBuilder
annotation #159
Minimum Supported Intellij
- 2022.2
1.6.1
1.6.0
Features
- Support
@InheritConfiguration
for unmapped target properties inspection (#65)
Enhancements
- Use
unmappedTargetPolicy
for severity for unmapped target properties inspection
Bug fixes
- Missing completion and go to declaration for
Mapping#qualifiedByName
in `MapperConfig (#136) - Incorrect unmapped target property when using Mapping Composition within Mapping Composition (#125)
- Autocompletion for nested records (#117)
- Incorrect unmapped target property when
Mapping#target
contains a dot (#123) - Incorrect unmapped target property with fluent setters (#121)
Minimum Supported Intellij
- 2021.2
1.5.0
1.4.0
Enhancements
- Support for Java records (#99)
- Suppress redundant default parameter value assignment warning (#93)
- Suggest only missing constants for
ValueMapping#source
(#5) - Find disabled builder in
@MapperConfig
(#97)
Bugs
- No language injection for expressions when target is a field (#95)
Build
- Improve build/test infrastructure to support IDEA 2022.2/2022.3 and Java 17 (#113)
Minimum Supported Intellij
- 2021.2
1.3.1
1.3.0
Features
- Code completion for
BeanMapping#ignoreUnmappedSourceProperties
(#77) - Quick Fix: support for configuring the order of source and target in
@Mapping
for "Add unmapped property" fix (#51) - Support for Mapstruct explicit Builder disable (#67)
Bugs
- Code completion for generic builder not working (#78)
- Code completion uses builder constructor parameters (#78)
Minimum Supported Intellij
- 2020.1