Repository navigation
Releases
Upgrade to Spring Boot 4.2 GA
v12.2.0-rc.2
RC build on Spring Boot 4.2.0-RC1
What's Changed
🐞 Bug Fixes
- restore instrumentation for programmatic fetchers by @iuliiasobolevska in #2374
🔨 Dependency Upgrades
- Bump me.champeau.jmh from 0.7.3 to 0.7.4 by @dependabot[bot] in #2372
- Bump org.slf4j:slf4j-api from 2.0.19 to 2.0.20 by @dependabot[bot] in #2354
- Bump gradle-wrapper from 9.7.1 to 9.9.0 by @dependabot[bot] in #2364
- Bump com.netflix.nebula.dependency-recommender from 14.1.0 to 14.3.0 by @dependabot[bot] in #2365
- Bump release-drafter/release-drafter from 6 to 7 by @dependabot[bot] in #2287
Other Changes
- Baseline dependencies on Spring Boot 4.1.1 by @iparadiso in #2359
- Use the canonical constructor when mapping Java record inputs by @sebxt in #2361
- Dispatch loaders registered without a predicate by @jjacobs44 in #2362
- fix ci python version by @jjacobs44 in #2368
- categorize generated release notes by @iuliiasobolevska in #2375
New Contributors
Full Changelog: v12.2.0-rc.1...v12.2.0-rc.2
v12.1.1
Bug Fixes
- Use the canonical constructor when mapping Java record inputs by @sebxt in #2361
- Dispatch loaders registered without a predicate by @jjacobs44 in #2362
- restore instrumentation for programmatic fetchers by @iuliiasobolevska in #2374
Improvements
- Prepare graphql java 26 nullability by @jiholee17 in #2356
Dependency Upgrades
- Baseline dependencies on Spring Boot 4.1.1 by @iparadiso in #2359
- Bump me.champeau.jmh from 0.7.3 to 0.7.4 by @dependabot[bot] in #2372
- Bump org.slf4j:slf4j-api from 2.0.19 to 2.0.20 by @dependabot[bot] in #2354
- Bump gradle-wrapper from 9.7.1 to 9.9.0 by @dependabot[bot] in #2364
- Bump com.netflix.nebula.dependency-recommender from 14.1.0 to 14.3.0 by @dependabot[bot] in #2365
- Bump release-drafter/release-drafter from 6 to 7 by @dependabot[bot] in #2287
Build and CI
- fix ci python version by @jjacobs44 in #2368
New Contributors
- @jiholee17 made their first contribution in #2356
- @sebxt made their first contribution in #2361
Full Changelog: v12.1.0...v12.1.1
Upgrade to Spring Boot 4.2.0-M2
v12.2.0-rc.1 Upgrade to Spring Boot 4.2.0-M2, graphql-java 26, spring-graphql 2.1.…
v12.1.0
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
- Bump actions/setup-python from 6 to 7 by @dependabot[bot] in #2328
- Bump actions/setup-java from 5 to 6 by @dependabot[bot] in #2344
- Bump actions/checkout from 6.0.2 to 7.0.1 by @dependabot[bot] in #2327
- Bump actions/cache from 5.0.5 to 6.1.0 by @dependabot[bot] in #2325
- Bump actions/stale from 10.3.0 to 10.4.0 by @dependabot[bot] in #2326
- Bump org.apache.logging.log4j:log4j-api from 2.25.3 to 2.26.0 by @dependabot[bot] in #2313
- Bump actions/stale from 10.4.0 to 11.0.0 by @dependabot[bot] in #2334
- Bump org.apache.logging.log4j:log4j-api from 2.26.0 to 2.26.1 by @dependabot[bot] in #2333
- Bump org.slf4j:slf4j-api from 2.0.17 to 2.0.18 by @dependabot[bot] in #2317
- Bump org.junit:junit-bom from 5.13.4 to 6.1.0 by @dependabot[bot] in #2320
- Upgrading reactor-core to be in consistency by @dokkaraman in #2261
- Bump org.junit:junit-bom from 6.1.0 to 6.1.3 by @dependabot[bot] in #2336
- Bump com.netflix.nebula.dependency-recommender from 14.0.0 to 14.1.0 by @dependabot[bot] in #2337
- Bump gradle-wrapper from 9.5.1 to 9.7.1 by @dependabot[bot] in #2340
- Bump org.slf4j:slf4j-api from 2.0.18 to 2.0.19 by @dependabot[bot] in #2349
New Contributors
- @snuderl made their first contribution in #2331
- @dokkaraman made their first contribution in #2261
- @tanvir-ux made their first contribution in #2339
- @eyesofish made their first contribution in #2341
- @goingforstudying-ctrl made their first contribution in #2343
- @voidstackloop made their first contribution in #2348
Full Changelog: v12.0.1...v12.1.0
v12.0.1
What's Changed
- Bump actions/cache from 5.0.4 to 5.0.5 by @dependabot[bot] in #2301
- Bump gradle-wrapper from 9.4.1 to 9.5.0 by @dependabot[bot] in #2309
- Exclude dgsCoroutineDispatcher from being injected unless explicitly qualified for by @jjacobs44 in #2310
- Bump actions/stale from 10.2.0 to 10.3.0 by @dependabot[bot] in #2318
- Bump gradle-wrapper from 9.5.0 to 9.5.1 by @dependabot[bot] in #2316
Full Changelog: v12.0.0...v12.0.1
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. DgsSpringGraphQLAutoConfigurationregisters aJackson3DgsJsonMapperbean by default whentools.jackson.databind.json.JsonMapperis 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-jackson2opt-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; replacesGraphQLRequestOptions.createCustomObjectMapper). - Adapters:
Jackson3DgsJsonMapperAdapter(default) andJackson2DgsJsonMapperAdapterfor 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 aDgsJsonMapperinstead of anObjectMapper. - Apps that want to stay having Jackson 2 autoconfigured can add
graphql-dgs-jackson2to 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
- Add a Spring Boot version check for version compatibility by @paulbakker in #2256
- Bump actions/checkout from 5.0.0 to 6.0.1 by @dependabot[bot] in #2243
- Bump actions/stale from 9.1.0 to 10.1.1 by @dependabot[bot] in #2241
- Bump actions/cache from 4.2.4 to 5.0.1 by @dependabot[bot] in #2244
- Bump actions/upload-artifact from 4 to 6 by @dependabot[bot] in #2245
- Bump org.jlleitschuh.gradle.ktlint from 13.1.0 to 14.0.1 by @dependabot[bot] in #2240
- Update Gradle Wrapper from 8.14.1 to 8.14.3 by @github-actions[bot] in #2189
- Bump actions/cache from 5.0.1 to 5.0.2 by @dependabot[bot] in #2264
- Bump org.apache.logging.log4j:log4j-api from 2.25.2 to 2.25.3 by @dependabot[bot] in #2262
- Add flag to turn off apollo federation transform on the schema by @jjacobs44 in #2258
- Bump actions/checkout from 6.0.1 to 6.0.2 by @dependabot[bot] in #2269
- Avoid expensive lookup in DefaultDgsDataLoaderProvider by @kilink in #2273
- Various clean up by @kilink in #2274
- Bump actions/cache from 5.0.2 to 5.0.3 by @dependabot[bot] in #2271
- Bump actions/stale from 10.1.1 to 10.2.0 by @dependabot[bot] in #2278
- Bump org.jetbrains:annotations from 26.0.2-1 to 26.1.0 by @dependabot[bot] in #2279
- Update nebula and gradle wrapper by @jjacobs44 in #2268
- Bump gradle-wrapper from 8.14.3 to 9.4.0 by @dependabot[bot] in #2286
- Bump org.jlleitschuh.gradle.ktlint from 14.0.1 to 14.1.0 by @dependabot[bot] in #2285
- Bump actions/cache from 5.0.3 to 5.0.4 by @dependabot[bot] in #2292
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #2282
- Bump dorny/test-reporter from 2 to 3 by @dependabot[bot] in #2291
- Jackson3 support with opt-in jackson2 support by @jjacobs44 in #2299
- Update publish workflow file to use java 17 by @jjacobs44 in #2307
Full Changelog: v11.1.0...v12.0.0
v10.6.0
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
Merge pull request #2255 from Netflix/fix/dgsdataloaderprovider-aot Use concrete DefaultDgsDataLoaderProvider type in @bean definition for AOT to detect correctly.
v10.5.0
Use concrete DefaultDgsDataLoaderProvider type in @bean definition fo…