Releases: spring-projects/spring-graphql
Releases · spring-projects/spring-graphql
v2.0.0-RC1
⭐ New Features
- Refine nullness checks in schema report inspection #1344
- Allow
ConnectionAdapterto create an extendedConnection#1343 - Skip nullness check for Map-like return types of
@BatchMappingmethods #1334 - Add
GraphQlClientandGraphQlTesterKotlin extensions #1331 - Add UUID support to JsonKeysetCursorStrategy #1328
- Built-in support for HTTP header to GraphQLContext copying #1313
- Support virtual threads in
webmvc.GraphQlWebSocketHandler#1287
🐞 Bug Fixes
- NullPointerException in SchemaMappingInspector for null field definition #1333
📔 Documentation
- Document transaction management variants #1305
🔨 Dependency Upgrades
- Downgrade to GraphQL Java 24.3 #1348
- Upgrade to GraphQL Java 25.0-beta-9 #1316
- Upgrade to Jackson 3.0.0 #1338
- Upgrade to JUnit 6.0.0 #1342
- Upgrade to Micrometer 1.16.0-RC1 and Tracing 1.6.0-RC1 #1337
- Upgrade to Reactor 2025.0.0-RC1 #1339
- Upgrade to Spring Data 2025.1.0-RC1 #1340
- Upgrade to Spring Framework 7.0.0-RC1 #1336
- Upgrade to Spring Security 7.0.0-RC1 #1341
❤️ Contributors
Thank you to all the contributors who worked on this release:
@heruan, @jbj338033, and @mp911de
v1.4.3
⭐ New Features
- SchemaMappingInspector doesn't recognize Boolean methods named
is*instead ofget*#1332 - Support virtual threads in
webmvc.GraphQlWebSocketHandler#1326 - Allow configuring AnnotatedControllerConfigurer for custom controller stereotype #1275
🐞 Bug Fixes
- High cardinality on server request observations due to
graphql.operation#1322
🔨 Dependency Upgrades
- Upgrade to GraphQL Java 24.3 #1321
v2.0.0-M3
⭐ New Features
- Update generated types for Pagination / cursor connection support #1296
- Schema inspection should detect nullness mismatch between schema fields/arguments and application Controllers #1220
- Align cancelling behavior to graphql-java request execution #1171
📔 Documentation
- Add documentation for GraphQlArgumentBinder customizations #1294
- fix: docs for graphQlTester & constructor for documentSource #1285
- Add better documentation for handling batch mappings with parameters #1168
🔨 Dependency Upgrades
- Upgrade to Jackson 3.0.0-rc9 #1311
- Upgrade to Kotlin 2.2.20 #1312
- Upgrade to Micrometer 1.16.0-M3 and Tracing 1.6.0-M3 #1301
- Upgrade to Reactor 2025.0.0-M7 #1300
- Upgrade to Spring Data 2025.1.0-M6 #1302
- Upgrade to Spring Framework 7.0.0-M9 #1292
- Upgrade to Spring Security 7.0.0-M3 #1303
❤️ Contributors
Thank you to all the contributors who worked on this release:
v1.4.2
⭐ New Features
- ConnectionFieldTypeVisitor should support returning null Connection types #1295
- Support Kotlin inline value classes for argument binding #1186
🐞 Bug Fixes
- PropertySelection does not support NonNull Connection types #1298
- Binder performance degradation after 1.4.1 #1284
- Missing response body in exceptions thrown by HttpSyncGraphQlClient #1259
🔨 Dependency Upgrades
v2.0.0-M2
⭐ New Features
- Methods that access the response should raise GraphQlException consistently #1219
🐞 Bug Fixes
- Missing
@Nullableannotation on GraphiQlHandler #1276
🔨 Dependency Upgrades
- Upgrade to GraphQL Java 25.0.beta-5 #1282
- Upgrade to Jackson 2.20.0-rc1 and 3.0.0-rc8 #1288
- Upgrade to Micrometer 1.16.0-M2 and Tracing 1.6.0-M2 #1279
- Upgrade to Reactor 2025.0.0-M6 #1278
- Upgrade to Spring Data 2025.1.0-M5 #1280
- Upgrade to Spring Framework 7.0.0-M8 #1277
- Upgrade to Spring Security 7.0.0-M2 #1281
❤️ Contributors
Thank you to all the contributors who worked on this release:
v2.0.0-M1
⭐ New Features
- Add Jackson module to serialize ArgumentValue for client requests #1264
- Reinstate Jackson 2.x support as fallback #1236
- DgsGraphQlClient support for GraphQLMultiQueryRequest #1221
- Mapping fields for Input Types with different names between schema and Java Object #1146
- Migrate to JSpecify Annotations for nullability constraints #1132
🔨 Dependency Upgrades
- Upgrade to Jackson 3.0.0-rc6 and 2.19.2 #1273
- Upgrade to Kotlin 2.1 #1203
- Upgrade to Kotlin 2.2.0 #1267
- Upgrade to Micrometer 1.16.0-M1 and Micrometer Tracing 1.6.0-M1 #1269
- Upgrade to Reactor 2025.0.0-M3 #1207
- Upgrade to Reactor 2025.0.0-M5 #1268
- Upgrade to Spring Data 2025.1.0-M3 #1205
- Upgrade to Spring Data 2025.1.0-M4 #1270
- Upgrade to Spring Framework 7.0.0-M6 #1202
- Upgrade to Spring Framework 7.0.0-M7 #1266
- Upgrade to Spring Security 7.0.0-M1 #1271
v1.4.1
⭐ New Features
- Refine cancellation support to avoid performance overhead #1242
- Add toString() method in ArgumentValue #1196
🐞 Bug Fixes
- Charset is not set on index.html for GraphiQL #1230
- Exempt unresolvable federated entities from
@EntityMappingchecks #1225 - QuerydslDataFetcher does not preserve the full path prefix for nested parameters #1215
📔 Documentation
- fixed typo in controllers.adoc #1234
🔨 Dependency Upgrades
- Upgade to GraphiQL v5.0.0 #1209
- Upgrade to GraphQL Java 24.1 #1229
- Upgrade to Micrometer 1.15.1 #1255
- Upgrade to Reactor 2024.0.7 #1254
- Upgrade to Spring Data 2025.0.1 #1256
- Upgrade to Spring Framework 6.2.8 #1253
- Upgrade to Spring Security 6.5.1 #1257
❤️ Contributors
Thank you to all the contributors who worked on this release:
v1.3.6
⭐ New Features
- Refine cancellation support to avoid performance overhead #1246
- Add toString() method in ArgumentValue #1227
- Add toString() method in ArgumentValue #1224
- More lenient handling of non-Publisher values for subscriptions #1213
- Support GraphQLErrorBuilder as controller method argument #1200
🐞 Bug Fixes
- Charset is not set on index.html for GraphiQL #1231
- QuerydslDataFetcher does not preserve the full path prefix for nested parameters #1226
- Fix dropping of extensions in ContextDataFetcherDecorator #1199
🔨 Dependency Upgrades
- Upgade to GraphiQL v5.0.0 #1245
- Upgrade to GraphQL Java 22.4 #1248
- Upgrade to Micrometer 1.13.15 #1250
- Upgrade to Reactor 2023.0.19 #1249
- Upgrade to Spring Data 2024.0.13 #1251
- Upgrade to Spring Framework 6.1.21 #1247
- Upgrade to Spring Security 6.3.10 #1252
❤️ Contributors
Thank you to all the contributors who worked on this release:
@kilink and @theHacker
v1.4.0
⭐ New Features
- Set DataLoader names when registering them #1211
🔨 Dependency Upgrades
- Upgrade to Apollo GraphQL Federation 5.4.0 #1216
- Upgrade to DGS Codegen 8.0.4 #1217
- Upgrade to GraphQL Java 24.0 #1210
- Upgrade to Micrometer 1.15.0 #1182
- Upgrade to Reactor 2024.0.6 #1212
- Upgrade to Spring Data 2025.0.0 #1181
- Upgrade to Spring Framework 6.2.7 #1214
- Upgrade to Spring Security 6.5.0 #1183
v1.4.0-RC1
⭐ New Features
- Add batch loading information to SelfDescribingDataFetcher #1176
- Reduce the number of memory allocations for empty argument values #1175
- Add additional methods to interact with an ArgumentValue #1172
- Support for both constructor and setter argument binding #1163
- Prevent further invocation of data fetchers when GraphQL request is cancelled #1153
- Make it easier to create a custom
GraphQlSource#1086 - Add DataLoader observability support #1034
📔 Documentation
- Document use of DataFetcherResult for injecting values in local context #1167
🔨 Dependency Upgrades
- Upgrade to GraphQL Java 23.1 #1169
- Upgrade to Micrometer 1.15.0-RC1 #1180
- Upgrade to Reactor 2024.0.5 #1179
- Upgrade to Spring Framework 6.2.6 #1178
❤️ Contributors
Thank you to all the contributors who worked on this release: