Skip to content

Conversation

@pull
Copy link

@pull pull bot commented May 11, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

dependabot bot and others added 2 commits May 11, 2025 15:57
Bumps [com.google.protobuf:protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.21.7 to 3.25.5.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/protobuf_release.bzl)
- [Commits](protocolbuffers/protobuf@v3.21.7...v3.25.5)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@pull pull bot added the ⤵️ pull label May 11, 2025
zyberzebra and others added 27 commits May 11, 2025 19:59
…egy for `@SubclassMapping`

---------

Signed-off-by: TangYang <tangyang9464@163.com>
…nested update mappings

Signed-off-by: TangYang <tangyang9464@163.com>
…ith inheritance

Add compiler option `mapstruct.disableLifecycleOverloadDeduplicateSelector` to disable the deduplication if needed.

Signed-off-by: TangYang <tangyang9464@163.com>
Signed-off-by: TangYang <tangyang9464@163.com>
…ollections / maps without setters

Signed-off-by: TangYang <tangyang9464@163.com>
Signed-off-by: TangYang <tangyang9464@163.com>
Signed-off-by: TangYang <tangyang9464@163.com>
Bumps [org.springframework:spring-context](https://github.com/spring-projects/spring-framework) from 6.2.2 to 6.2.7.
- [Release notes](https://github.com/spring-projects/spring-framework/releases)
- [Commits](spring-projects/spring-framework@v6.2.2...v6.2.7)

---
updated-dependencies:
- dependency-name: org.springframework:spring-context
  dependency-version: 6.2.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
…lizes empty collection/map when target is null

Signed-off-by: TangYang <tangyang9464@163.com>
…entries (#3906)

Adds compiler warning / error when properties listed in `ignoreUnmappedSourceProperties` are actually mapped.
Respects `unmappedSourcePolicy` and includes tests for redundant and valid ignore cases.
filiphr and others added 30 commits January 26, 2026 11:35
* Properly handle single field data classes
* Properly handle multi constructor data classes
* Properly handle all defaults constructor data classes

Fixes #2281, #2577, #3031
Fix errors which are now reported.
Run only on Java 21 or later for integration tests module
MapStruct now fully supports Optional as both source and target types:
* `Optional` to `Optional` - Both source and target wrapped in `Optional`
* `Optional` to Non-`Optional` - Unwrapping `Optional` values
* Non-`Optional` to `Optional` - Wrapping values in `Optional`
* Always assume that optionals are not `null`, i.e. we can always call `isPresent()` / `isEmpty()` on an `Optional`
* Add support for conversions e.g. `Optional<String>` -> `String`, `Optional<Long>` -> `String` etc.

---------

Co-authored-by: Ken Wang <khkwang@gmail.com>
* Upgrade Maven Wrapper and Maven
* Upgrade build plugins
* Upgrade AssertJ
* Upgrade Spring to 7.x and enable integration tests for Java EA
* Adjust processor tests to use Spring with Jakarta Inject instead of Javax Inject since Spring 7 does not support Javax Inject
The processor test module is compiled using Java 21.
Therefore, all tests that were configured to run prior Java 21
are no longer executed and can be safely removed
`@DisabledOnJre(JRE.OTHER)` no longer disables the test if the JRE is unknown.
…r-plugin

The last release of the plugin was in April 2024.
In addition to that, the maven-compiler-plugin is de-facto the standard for compiling Java.
Therefore, we are removing testing with the maven-processor-plugin.
Using this strategy will clear target collections / maps when the source property is null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.