Skip to content

ASM-2050: Migrate data sync api sdk java to jackson 3 - #31

Draft
adeharrison-ch wants to merge 3 commits into
mainfrom
maint/ASM-2050-Migrate-data-sync-api-sdk-java-to-jackson-3
Draft

ASM-2050: Migrate data sync api sdk java to jackson 3#31
adeharrison-ch wants to merge 3 commits into
mainfrom
maint/ASM-2050-Migrate-data-sync-api-sdk-java-to-jackson-3

Conversation

@adeharrison-ch

@adeharrison-ch adeharrison-ch commented Apr 15, 2026

Copy link
Copy Markdown
Contributor

ASM-2050

Pull Request: Migrate to Jackson 3.x & Refactor Serialization

Motivation

This PR upgrades the project to use Jackson 3.x, ensuring long-term support, improved performance, and compatibility with the latest Java ecosystem. The migration addresses deprecation issues, leverages new features, and refactors serialization logic for maintainability and clarity.

Key Changes

  • Dependency Updates:

    • Upgraded all Jackson dependencies to 3.x in pom.xml.
    • Updated related plugins and ensured compatibility with Java version.
  • LocalDateDeserializer Refactor:

    • Refactored LocalDateDeserializer to use Jackson 3.x APIs.
    • Improved parsing logic and error handling for edge cases and invalid formats.
  • Error Handling:

    • Enhanced exception messages for serialization/deserialization failures.
    • Standardized error propagation to align with Jackson 3.x best practices.
  • Test Improvements:

    • Updated and expanded unit tests for LocalDateDeserializer and related serialization classes.
    • Added tests for new behaviors and edge cases introduced by Jackson 3.x.
  • Documentation:

    • Updated README.md and Javadoc to reflect Jackson 3.x usage and migration steps.
    • Added migration notes for consumers.

Breaking Changes

  • Consumers must use Jackson 3.x; Jackson 2.x is no longer supported.
  • Custom deserializers and modules must be compatible with Jackson 3.x APIs.
  • Some exception types and error messages may differ from previous versions.

Migration Notes

  • Ensure your project dependencies are updated to Jackson 3.x.
  • Review and update any custom Jackson modules or deserializers for API changes.
  • Test serialization and deserialization flows, especially for LocalDate and other custom types.
  • Refer to the Jackson 3.x migration guide for further details.

References

@adeharrison-ch
adeharrison-ch force-pushed the maint/ASM-2050-Migrate-data-sync-api-sdk-java-to-jackson-3 branch from 8cbc980 to d2000cc Compare April 16, 2026 14:16
@adeharrison-ch adeharrison-ch changed the title ASM2050: Migrate data sync api sdk java to jackson 3 ASM-2050: Migrate data sync api sdk java to jackson 3 Apr 17, 2026
@chsonarqubeprchecks

Copy link
Copy Markdown

Quality Gate failed Quality Gate failed

Failed conditions
1 New issue
79.5% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube

Catch issues before they fail your Quality Gate with our IDE extension SonarLint SonarLint

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.

1 participant