Nested source null check calls method twice instead of using intermediate variable (#2245)
Mapper create invalid implementation - variable is already defined in method (#2251)
Stack Trace instead of Message on Missing Mapping (#2263)
Wrong reporting for unmapped source properties when source source is implicitly mapped (#2253)
Getting either "Unknown property" or "Unmapped target property" (#2301)
@InheritInverseConfiguration and @Mapping(target:"bean.childProperty", ignore=true) do not play together (#2278)
Mappings are ignored when @InheritConfiguration defines a mapping for a sub-field (#2318)
Documentation
Vague documentation and code samples of @Default annotation as of 1.4.X (#2258)
Example uses wrong maven plugin configuration (#2307)
Typo in @MapperConfig annotation in documentation (#2293)
1.4.1.Final
Bugs
@InheritConfiguration is broken when using multiple source parameters of the same type (#2221)
@Mapping with defaultValue and method argument where is missing source does nothing (#2220)
NPE when running MapStruct from IntelliJ 2020.3 EAP (#2215) - 1.4.1.Final is the first MapStruct version that supports the new improved IntelliJ experience for annotation processor compiling. In order to avoid the NPE in older MapStruct releases you'll have to build your project with -Djps.track.ap.dependencies=false. More info about this is in IDEA-250718
@Mapping needs to define source parameter with defaultValue if you have two arguments in 1.4.0.Final (#2214)
Mapping with qualifying and only target defined should implicitly look for a matching property in one of the parameters (#2206)
Deep cloning creates intermediate methods for primitive arrays (#2213)
1.4.0.Final
For full upgrade instructions please read the release notes for the previous 1.4 releases:
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps mapstruct from 1.3.1.Final to 1.4.2.Final.
Release notes
Sourced from mapstruct's releases.
... (truncated)
Commits
1ca7c7b
[maven-release-plugin] prepare release 1.4.2.Final7d20cf2
#2346 Update documentation and readme about MapStruct and Gradlebef3482
#2250, #2324 Do not throw error when qualifier is missing on iterable mapping0c51f7a
#2278 inherited property ignored due to ignore on nested level (#2332)15b3469
#2301 Implicitly ignore forward inherited mappings from different method typese6479dc
#2293 Use MapperConfig instead of MappingConfig in the documentation24ac2f3
Update chapter-2-set-up.asciidoc164535e
Add Lombok subsection in the documentation (#2266)628ff17
#2253 remove unmapped source properties when source parameter is directly mapped934d096
#2263 Fix IndexOutOfBoundsException when resolving TypeVar to a TypeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)