Skip to content

Drop Jackson 2.19 and 2.20 and add 2.21 and 2.22 to validation testing - #50982

Merged
Alan Zimmer (alzimmermsft) merged 1 commit into
mainfrom
UpdateJacksonVersionValidationTesting
Oct 26, 2026
Merged

Alan Zimmer (alzimmermsft) merged 1 commit into
mainfrom
UpdateJacksonVersionValidationTesting

Conversation

@alzimmermsft

Copy link
Copy Markdown
Member

Description

Drops Jackson 2.19 and 2.20 and adds 2.21 and 2.22 to Jackson version support validation matrix.

2.19 and 2.20 were dropped as 2.21 is a Jackson LTS version and 2.19 and 2.20 are no longer supported. 2.22 was added as it is the latest release version in support.

New support window going forward will be the key versions in support history for our code, 2.10 as the initial version of Jackson we used, 2.12 and 2.15 as they have specific checks for those versions in our code for runtime changes that have broken functionality for us, 2.18 and 2.21 as LTS versions, and whatever is the latest supported non-LTS versions. When a new version is released, it will be added to the support matrix and any versions that no longer are supported will be dropped, including LTS versions is they go out of support.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
35 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The matrix and override definitions are consistent, and the reviews found no remaining consumers of removed presets or blocking issues.

No open issues 🎉

What changed in this PR

Updates the Azure SDK for Java’s Jackson compatibility testing matrix to reflect the revised support window while retaining key historical versions.

Changes:

  • Replaces Jackson 2.19 and 2.20 validation with 2.21 and 2.22.
  • Adds matching dependency overrides for the new versions.
  • Removes unused Gson and older Jackson override presets.
File Description
sdk/​core/​version-overrides-matrix.json Selects Jackson 2.21 and 2.22 for compatibility testing.
eng/​versioning/​supported_external_dependency_versions.json Defines the new Jackson overrides and removes unused presets.

Review effort: Balanced

@alzimmermsft
Alan Zimmer (alzimmermsft) merged commit f9c2949 into main Oct 26, 2026
45 checks passed
@alzimmermsft
Alan Zimmer (alzimmermsft) deleted the UpdateJacksonVersionValidationTesting branch October 26, 2026 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Azure.Core azure-core

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants