Skip to content

Introduce JacksonV2 dependency object - #746

Merged
alexander-yevsyukov merged 3 commits into
masterfrom
jackson-v2-dependency-object
Aug 10, 2026
Merged

Introduce JacksonV2 dependency object#746
alexander-yevsyukov merged 3 commits into
masterfrom
jackson-v2-dependency-object

Conversation

@alexander-yevsyukov

@alexander-yevsyukov alexander-yevsyukov commented Aug 9, 2026

Copy link
Copy Markdown
Contributor

This PR introduces the JacksonV2 dependency object which is needed for forcing transitive dependencies on previous major version of Jackson.

Other notable changes

  • Log4j2 dependency object got the property slf4j2Bridge. The version was also bumped to 2.26.1.

@alexander-yevsyukov alexander-yevsyukov self-assigned this Aug 9, 2026
@alexander-yevsyukov alexander-yevsyukov moved this to In Review in v2.0 Aug 9, 2026
alexander-yevsyukov and others added 2 commits August 9, 2026 19:28
Routes the SLF4J calls of third-party libraries to the Log4j2 backend.
Shares the version of the object, so the binding cannot drift from `core`.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alexander-yevsyukov
alexander-yevsyukov merged commit 02824c3 into master Aug 10, 2026
2 checks passed
@alexander-yevsyukov
alexander-yevsyukov deleted the jackson-v2-dependency-object branch August 10, 2026 00:06
@github-project-automation github-project-automation Bot moved this from In Review to ✅ Done in v2.0 Aug 10, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6cadea0daf

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

*/
object Optional {
val jackson = Jackson.bom
val jackson = JacksonV2.bom

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Keep the Jackson 3 BOM under the existing name

When a consumer applies platform(Boms.Optional.jackson) and then declares versionless Jackson 3 modules such as Jackson.databind or Jackson.moduleKotlin, this now imports the com.fasterxml.jackson 2.x BOM, which provides no constraints for their tools.jackson.* coordinates. Those constants remain versionless because Jackson.kt states they are covered by its BOM, so dependency resolution will fail for this supported usage. Keep jackson pointing to Jackson.bom and expose the 2.x BOM under a separate name, or otherwise ensure both major-version BOMs are available.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

2 participants