Releases: spring-projects/spring-graphql
Releases Β· spring-projects/spring-graphql
v1.2.6
β New Features
- Avoid
graphql.AssertException
for persisted query #930 - Use either
first
orafter
to determine forward pagination #929
πͺ² Bug Fixes
- Pagination with "after" cursor results in
ScrollPosition
that skips one extra item #925 - Observation instrumentation assumes local context is a GraphQLContext #918
- WebSocketGraphQlInterceptor is not notified when idle connection is closed #872
π Documentation
- Updated documentation with guidance on using virtual threads #907
π¨ Dependency Upgrades
v1.3.0-M1
β New Features
- Create optimized RequestPredicate for GraphQL endpoints #906
- Support for Apollo Federation #864
- Record response errors as events in Request Observations #859
- Simplify use of DGS Codegen with GraphQlClient #846
- Provide a synchronous GraphQL client without spring-webflux #771
- ContextDataFetcherDecorator should capture from global and local GraphQLContext #688
- Subscription with SSE #309
π¨ Dependency Upgrades
- Upgrade to federation-jvm 4.4.0 #898
- Upgrade to GraphQL Java 21.3 #884
- Upgrade to Kotlin 1.9.22 #889
- Upgrade to Micrometer 1.13.0-M1 #886
- Upgrade to Micrometer Tracing 1.2.3 #890
- Upgrade to Reactor 2023.0.3 #885
- Upgrade to Spring Data 2023.1.3 #887
- Upgrade to Spring Framework 6.1.4 #883
- Upgrade to Spring Security 6.3.0-M2 #888
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
v1.2.5
β New Features
- Revise default ScrollSubrange support for QueryDsl and QBE DataFetcher's #917
- Avoid changing default DataLoaderRegistry when there are no registrations #915
- Decode GraphQL request body to higher level object #905
- Avoid async handling in WebMvc if not necessary to wait #904
- Allow passing Map of DataFetcher registrations to SchemaMappingInspector as alternative to RuntimeWiring #894
- Provide access to SchemaMappingInspector #881
πͺ² Bug Fixes
- Adjust offset based pagination to be exclusive of reference position #916
- Multiple ControlledAdvice is not working properly #901
- Verify errors in GraphQlTester nested path check with Consumer #891
- Ensure schema inspection always runs once even if the builder is used again #878
- Schema inspection ignores types wrapped by Optional #875
@SubscriptionMapping
missing AuthenticationPrincipal #861
π¨ Dependency Upgrades
- Upgrade to Kotlin 1.9.22 #908
- Upgrade to Micrometer 1.11.9 and Tracing 1.1.10 #911
- Upgrade to Reactor 2022.0.16 #910
- Upgrade to Spring Data 2023.0.9 #912
- Upgrade to Spring Framework 6.0.17 #909
- Upgrade to Spring Security 6.1.7 #913
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
v1.2.4
β New Features
- Lenient parsing of SourceLocation's line and column in ResponseMapGraphQlResponse #849
- Use isOmitted rather than isPresent in ValueExtractor to allow validation of null arguments #842
- Allow use of custom DataLoaderRegistry instance #836
- ConnectionDataFetcher should handle data wrapped with DataFetcherResult #835
πͺ² Bug Fixes
- Fix logic for hasPrevious/hasNext with keyset scrolling #843
- Offset pagination with "last N before X" should not include the item at offset X #840
- ControllerAdvice order is not preserved in AnnotatedControllerExceptionResolver #830
- WebSocketGraphQlClient unable to reconnect after the first reconnect failure #826
- AOT: No JSON Encoder error using GraphlQL client #825
π Documentation
- Add section on code generation to the documentation #847
- Use ScrollPosition.offset() to get initial scroll position #839
- Add Search in All Spring Docs #824
π¨ Dependency Upgrades
- Upgrade to Context Propagation 1.0.6 #857
- Upgrade to GraphQL Java 20.7 #852
- Upgrade to Micrometer 1.11.6 #853
- Upgrade to Micrometer Tracing 1.1.7 #854
- Upgrade to Reactor 2022.0.13 #858
- Upgrade to Spring Data 2023.0.6 #855
- Upgrade to Spring Framework 6.0.14 #851
- Upgrade to Spring Security 6.1.5 #856
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@Stmated, @koenpunt, @nilshartmann, and @rwinch
v1.2.3
β New Features
- ConnectionTypeDefinitionConfigurer should consider object type extensions #816
- Raise AuthenticationCredentialsNotFoundException if Principal is not present and declared as not optional #790
- Add Explorer plugin in GraphiQL embedded integration #777
- Support CSRF protection in GraphiQL with cookie-to-header strategy #758
- Support using DataLoader from suspend function #653
πͺ² Bug Fixes
- TEXT_PARTIAL_WRITING exception #793
- Observation Instrumentation will double-wrap CompletionExceptions #780
- ConnectionFieldTypeVisitor.ConnectionDataFetcher.adapt throws IndexOutOfBoundsException when container is empty #775
- Inherit local context in observation instrumentation instead of overwriting it #761
- Wrong current observation is set during DataFetcher execution #757
π Documentation
π¨ Dependency Upgrades
- Upgrade to Context Propagation 1.0.5 #815
- Upgrade to GraphQL Java 20.6 #810
- Upgrade to Micrometer 1.11.4 and Tracing 1.1.5 #812
- Upgrade to React 18 in GraphiQL embedded integration #776
- Upgrade to Reactor 2022.0.11 #811
- Upgrade to Spring Data 2023.0.4 #813
- Upgrade to Spring Framework 6.0.12 #809
- Upgrade to Spring Security 6.1.3 #814
β€οΈ Contributors
Thank you to all the contributors who worked on this release:
@SimonVerhoeven, @esivakumar18, @koenpunt, @roksui, and @rwinch
v1.1.7
v1.1.6
πͺ² Bug Fixes
- Observation Instrumentation will double-wrap CompletionExceptions #784
- Local context is overwritten by Observation instrumentation #774
- Wrong current observation is set during DataFetcher execution #764
π Documentation
- Update documentation with advice on multipart support #749
π¨ Dependency Upgrades
v1.0.6
v1.0.5
v1.2.2
β New Features
πͺ² Bug Fixes
- Correctly retrieve operation name from the body of the request #742
π Documentation
- Update documentation with advice on multipart support #747
- Document how to cancel a subscription stream from the client side #724
π¨ Dependency Upgrades
- Upgrade to Context Propagation 1.0.4 #756
- Upgrade to Micrometer 1.11.2 and Tracing 1.1.2 #752
- Upgrade to Reactor 2022.0.9 #751
- Upgrade to RSocket 1.1.4 #755
- Upgrade to Spring Data 2023.0.2 #753
- Upgrade to Spring Security 6.1.1 #754
β€οΈ Contributors
Thank you to all the contributors who worked on this release: