Skip to content

Update dependency com.netflix.graphql.dgs:graphql-dgs-platform-dependencies to v12#301

Open
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-dgs
Open

Update dependency com.netflix.graphql.dgs:graphql-dgs-platform-dependencies to v12#301
renovate[bot] wants to merge 1 commit intomainfrom
renovate/major-dgs

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Apr 27, 2026

This PR contains the following updates:

Package Change Age Confidence
com.netflix.graphql.dgs:graphql-dgs-platform-dependencies 11.1.012.0.0 age confidence

Release Notes

Netflix/dgs-framework (com.netflix.graphql.dgs:graphql-dgs-platform-dependencies)

v12.0.0

Jackson 3 support

DGS now supports Jackson 3 (tools.jackson.*) alongside the existing Jackson 2 (com.fasterxml.jackson.*) integration. Jackson 3 is the auto-configured default while Jackson 2 remains supported as an opt-in.

Core Changes (autoconfigured)
  • New DgsJsonMapper (com.netflix.graphql.dgs.json.DgsJsonMapper) — a Jackson-agnostic abstraction the framework uses internally for serialization, deserialization, and JSON-Path configuration.
  • DgsSpringGraphQLAutoConfiguration registers a Jackson3DgsJsonMapper bean by default when tools.jackson.databind.json.JsonMapper is on the classpath.
  • New property dgs.graphql.preferred-json-mapper (jackson3 | jackson2) lets you force a mapper when both versions are available on the classpath.
  • New graphql-dgs-jackson2 opt-in module — pull this in to restore Jackson-2-based auto-configuration on apps not ready to move.
  • Obvious failure mode when no mapper is on the classpath: DgsJsonMapperMissingException + DgsMapperFailureAnalyzer
graphql-dgs-client (new client classes)

A parallel set of Dgs* client classes/interfaces that program against DgsJsonMapper instead of a Jackson 2 ObjectMapper.

The existing GraphQLClient / MonoGraphQLClient / ReactiveGraphQLClient and CustomGraphQLClient / WebClientGraphQLClient / RestClientGraphQLClient types are deprecated but kept for binary compatibility — they now extend the new interfaces via bridge defaults so libraries compiled against older versions continue to link.

New surface:

  • Interfaces: DgsGraphQLClient, DgsMonoGraphQLClient, DgsReactiveGraphQLClient.
  • Response: DgsGraphQLResponse, DefaultDgsGraphQLResponse.
  • Concrete clients: DgsCustomGraphQLClient, DgsCustomMonoGraphQLClient, DgsWebClientGraphQLClient, DgsRestClientGraphQLClient,DgsGraphqlSSESubscriptionGraphQLClient.
  • Options: DgsGraphQLRequestOptions (Jackson-agnostic; replaces GraphQLRequestOptions.createCustomObjectMapper).
  • Adapters: Jackson3DgsJsonMapperAdapter (default) and Jackson2DgsJsonMapperAdapter for callers still on Jackson 2.
Migration
  • No action required for existing apps — Jackson 2 client classes continue to work and the bridge keeps old library bytecode linkable.
  • New code should target the Dgs* interfaces and pass a DgsJsonMapper instead of an ObjectMapper.
  • Apps that want to stay having Jackson 2 autoconfigured can add graphql-dgs-jackson2 to their classpath.
  • Following the precedent set by Spring Boot 4, apps wishing to use jackson2 and not to have jackson3 on the classpath at all should exclude jackson3 dependencies from their classpath.
What's Changed

Full Changelog: Netflix/dgs-framework@v11.1.0...v12.0.0


Configuration

📅 Schedule: (UTC)

  • 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.

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