Releases: spring-projects/spring-graphql
Releases · spring-projects/spring-graphql
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
@Nullable
annotation 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
@EntityMapping
checks #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:
v1.3.5
⭐ New Features
- GraphQL Subscriptions + graphql-java-extended-validation directives throws IllegalStateException rather than validation error #1143
- GraphQlTester.Response should expose extensions #1131
🐞 Bug Fixes
- Use correct logger name in QuerydslDataFetcher #1185
- Allow non-nullable "edges" list type in GraphQL relay #1173
- Cancellation signal is not propagated from transports to reactive controller methods #1149
- HTTP request with invalid "Content-Type" header causes InvalidMimeTypeException and 500 response #1145
- GraphQlTester does not pass extensions for subscriptions #1135
📔 Documentation
- Documentation page about code generation is truncated #1188
🔨 Dependency Upgrades
- Upgrade to Context Propagation 1.1.3 #1194
- Upgrade to Micrometer 1.13.13 #1193
- Upgrade to Reactor 2023.0.17 #1192
- Upgrade to Spring Framework 6.1.19 #1191
❤️ Contributors
Thank you to all the contributors who worked on this release:
v1.4.0-M1
⭐ New Features
- Remove explicit checks in GraphQlHttpHandler if the Future is already completed #1152
- Align transports with GraphQL over HTTP specification #1117
- Introduce GraphQL response media type in spring-graphql #1110
- SchemaMappingInspector field resolution should check public fields to match PropertyFetchingImpl #1101
- Support DataLoader argument in
@EntityMapping
methods #1095 - Detect and report federated entities not covered by any
@EntityMapping
method #1088 - Support Keep-Alive for GraphQL Subscriptions over SSE with Spring WebFlux/WebMvc #1048
- Provide a WebGraphQlInterceptor that supports HTTP timeouts #450
🔨 Dependency Upgrades
- Upgrade to Apollo GraphQL Federation 5.3.0 #1161
- Upgrade to Micrometer 1.15.0-M3 and Tracing 1.5.0-M3 #1158
- Upgrade to Netflix GraphQL CodeGen 7.0.3 #1162
- Upgrade to Reactor 2024.0.4 #1157
- Upgrade to Spring Boot 3.4.x #1108
- Upgrade to Spring Data 2025.0.0-M2 #1159
- Upgrade to Spring Framework 6.2.3 #1156
- Upgrade to Spring Security 6.5.0-M3 #1160
❤️ Contributors
Thank you to all the contributors who worked on this release: