Skip to content

fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.3 #66

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 13, 2022

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.mapstruct:mapstruct-processor (source) 1.5.2.Final -> 1.6.3 age adoption passing confidence

Release Notes

mapstruct/mapstruct (org.mapstruct:mapstruct-processor)

v1.6.3

Compare Source

Bugs
  • Redundant if condition in Java record mapping with RETURN_DEFAULT strategy (#​3747)
  • Stackoverflow with Immutables custom builder (#​3370)
  • Unused import of java.time.LocalDate when mapping source LocalDateTime to target LocalDate (#​3732)
Documentation
  • Add section to README.md comparing mapstruct with Java Records (#​3751)

v1.6.2

Compare Source

Bugs
  • Regression from 1.6.1: ClassCastException when using records (#​3717)

v1.6.1

Compare Source

Enhancements
  • Use Java LinkedHashSet and LinkedHashMap new factory method with known capacity when on Java 19 or later (#​3113)
Bugs
  • Inverse Inheritance Strategy not working for ignored mappings only with target (#​3652)
  • Inconsistent ambiguous mapping method error when using SubclassMapping: generic vs raw types (#​3668)
  • Fix regression when using InheritInverseConfiguration with nested target properties and reversing target = "." (#​3670)
  • Deep mapping with multiple mappings broken in 1.6.0 (#​3667)
  • Two different constants are ignored in 1.6.0 (#​3673)
  • Inconsistent ambiguous mapping method error: generic vs raw types in 1.6.0 (#​3668)
  • Fix cross module records with interfaces not recognizing accessors (#​3661)
  • @AfterMapping methods are called twice when using target with builder (#​3678)
  • Compile error when using @AfterMapping method with Builder and TargetObject (#​3703)
Behaviour change
Inverse Inheritance Strategy not working for ignored mappings only with target

Prior to this fix @Mapping(target = "myProperty", ignore = true) was being ignored when using @InheritInverseConfiguration.

e.g.

@​Mapper
public interface ModelMapper {

    @​Mapping(target = "creationDate", ignore = true)
    Entity toEntity(Model model);    

    @​InheritInverseConfiguration
    Model toModel(Entity entity);
}

In the example above prior 1.6.1 the Model toModel(Entity entity) was going to map the id property. In order to keep that behavior you'll need to explicitly do the mapping for it.

@​Mapper
public interface ModelMappe {
    @​Mapping(target = "creationDate", ignore = true) // NOTE: Handled by JPA.
    Entity toEntity(Model model);    

    @​InheritInverseConfiguration
    @​Mapping(target = "creationDate", source = "creationDate") // Allow reading from Entity
    Model toModel(Entity entity);
}

v1.6.0

Compare Source

Previous Release Notes

v1.5.5.Final

Compare Source

Enhancements
  • Add support for Jakarta XML Binding (#​2730)
Bugs
  • BeanMappingOptions#ignoreUnmappedSourceProperties are not inherited via @InheritConfiguration (#​3248) - Regression from 1.5.3
Documentation
  • jakarta-cdi component model not in docs (#​3236)
  • Polish links in docs (#​3214)

v1.5.4.Final

Compare Source

Enhancements
  • Support for Jakarta @ApplicationScoped is missing (#​2950)
Bugs
  • Exceptions declared to be thrown by a mapping method, are not declared in generated mapping methods for nested types (#​3142)
  • DeepClone mapping control not generating third tier functions to clone (#​3135)
  • missing throws clauses when mapping enum with checked exceptions (#​3110)
  • Version 1.5.3 doesn't consider Mapping annotations for nested objects (worked with 1.5.2) (#​3057)
  • Cannot use only BeanMapping#mappingControl (#​3040)
Documentation
  • Document <THROW_EXCEPTION> in the reference guide (#​3112)

v1.5.3.Final

Compare Source

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 honour mappingControl (#​3018)
  • Upgrade from 1.4.1 to 1.5.2 broke primitive to wrapper classes mapping (#​2921)
  • Conversion of BigDecimal to primitive double 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
Build
  • Build fails when running mvn test on an M1 Mac (#​2922)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from a451753 to a8d7fdb Compare October 14, 2022 09:57
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.3.final Update dependency org.mapstruct:mapstruct-processor to v1.5.3.Final Dec 17, 2022
@renovate renovate bot changed the title Update dependency org.mapstruct:mapstruct-processor to v1.5.3.Final fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.3.final Dec 17, 2022
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from a8d7fdb to 86ed933 Compare January 17, 2023 20:06
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from 86ed933 to b06cbea Compare April 3, 2023 15:55
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.3.final fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.4.final Apr 14, 2023
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from b06cbea to 2d74075 Compare April 14, 2023 00:40
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.4.final fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.4.final - autoclosed Apr 20, 2023
@renovate renovate bot closed this Apr 20, 2023
@renovate renovate bot deleted the renovate/mapstruct-monorepo branch April 20, 2023 01:32
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.4.final - autoclosed fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.4.final Apr 20, 2023
@renovate renovate bot reopened this Apr 20, 2023
@renovate renovate bot restored the renovate/mapstruct-monorepo branch April 20, 2023 05:25
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from 2d74075 to 175058c Compare April 20, 2023 09:52
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.4.final fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.5.final Apr 23, 2023
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from 175058c to 5a32977 Compare April 23, 2023 21:18
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from 5a32977 to 1b86b87 Compare May 3, 2023 07:57
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from 1b86b87 to dc2a977 Compare August 12, 2024 22:21
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.5.5.final fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.0 Aug 12, 2024
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from dc2a977 to bd9fdad Compare September 15, 2024 19:01
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.0 fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.1 Sep 15, 2024
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from bd9fdad to 64a74c7 Compare September 16, 2024 11:18
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.1 fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.2 Sep 16, 2024
@renovate renovate bot force-pushed the renovate/mapstruct-monorepo branch from 64a74c7 to 8760afd Compare November 9, 2024 12:01
@renovate renovate bot changed the title fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.2 fix(deps): update dependency org.mapstruct:mapstruct-processor to v1.6.3 Nov 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants