Skip to content

Releases

Upgrade to Spring Boot 4.2 GA

Pre-release

Choose a tag to compare

@iparadiso iparadiso released this 21 Nov 00:39

v12.2.0-rc.2

v12.2.0-rc.2 Pre-release
Pre-release

Choose a tag to compare

@iparadiso iparadiso released this 12 Nov 19:21

RC build on Spring Boot 4.2.0-RC1

What's Changed

🐞 Bug Fixes

🔨 Dependency Upgrades

Other Changes

New Contributors

Full Changelog: v12.2.0-rc.1...v12.2.0-rc.2

v12.1.1

Choose a tag to compare

@iuliiasobolevska iuliiasobolevska released this 11 Nov 02:24
413e54b

Bug Fixes

Improvements

Dependency Upgrades

Build and CI

New Contributors

Full Changelog: v12.1.0...v12.1.1

Upgrade to Spring Boot 4.2.0-M2

Pre-release

Choose a tag to compare

@jiholee17 jiholee17 released this 13 Oct 22:39
v12.2.0-rc.1

Upgrade to Spring Boot 4.2.0-M2, graphql-java 26, spring-graphql 2.1.…

v12.1.0

Choose a tag to compare

@jjacobs44 jjacobs44 released this 16 Sep 20:42
0f3f258

What's Changed

  • fix: preserve user spring.autoconfigure.exclude lists by @tanvir-ux in #2339
  • Update Java toolchain requirement in contributor guide by @eyesofish in #2341
  • fix: skip pre-ack messages during WebSocketGraphQLClient handshake by @goingforstudying-ctrl in #2343
  • feat(extended-scalars): bump graphql-java-extended-scalars to 24.0 and register new scalars by @voidstackloop in #2348
  • fix: close the data loader registry in SpringGraphQLDgsQueryExecutor by @snuderl in #2331

Dependency Upgrades

New Contributors

Full Changelog: v12.0.1...v12.1.0

v12.0.1

Choose a tag to compare

@jjacobs44 jjacobs44 released this 26 May 19:37
dc7b086

What's Changed

Full Changelog: v12.0.0...v12.0.1

v12.0.0

Choose a tag to compare

@jjacobs44 jjacobs44 released this 27 Apr 22:09
e55521b

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: v11.1.0...v12.0.0

v10.6.0

Choose a tag to compare

@jjacobs44 jjacobs44 released this 27 Apr 22:50
22472e4

What's Changed

  • Spring Boot version compatibility check for DGS 10/Spring Boot 3 by @paulbakker in #2257
  • Add flag to turn off federation transform on the schema by @jjacobs44 in #2267
  • Backport new client changes to 10.x by @jjacobs44 in #2300
  • Add necessary environment field that exists on master to 10.x by @jjacobs44 in #2308

Full Changelog: v10.5.0...v10.6.0

v11.1.0

Choose a tag to compare

@paulbakker paulbakker released this 10 Jan 00:02
f14263f
Merge pull request #2255 from Netflix/fix/dgsdataloaderprovider-aot

Use concrete DefaultDgsDataLoaderProvider type in @bean definition for AOT to detect correctly.

v10.5.0

Choose a tag to compare

@paulbakker paulbakker released this 10 Jan 00:00
Use concrete DefaultDgsDataLoaderProvider type in @bean definition fo…