Skip to content

Releases: spring-projects/spring-graphql

v1.3.2

16 Jul 12:20
Compare
Choose a tag to compare

⭐ New Features

  • Field mapped to Kotlin function reported as unmapped by SchemaMappingInspector #995

🐞 Bug Fixes

  • DataLoader registrations via BatchLoaderRegistry not used at runtime #1020
  • @EntityMapping method cannot resolve Kotlin List argument #1018
  • Exception not logged at DEBUG level when handled by annotated controller method #996

📔 Documentation

  • Update reference doc links to Spring Boot 3.3 #1016
  • Document setting up library with Spring, without using spring boot #606

🔨 Dependency Upgrades

  • Upgrade to Micrometer 1.13.2 and Tracing 1.3.2 #1030
  • Upgrade to Reactor 2023.0.8 #1029
  • Upgrade to Spring Data 2024.0.2 #1031
  • Upgrade to Spring Framework 6.1.11 #1028

❤️ Contributors

Thank you to all the contributors who worked on this release:

@hantsy

v1.2.8

16 Jul 09:58
Compare
Choose a tag to compare

🐞 Bug Fixes

  • Exception not logged at DEBUG level when handled by annotated controller method #1027
  • DataLoader registrations via BatchLoaderRegistry not used at runtime #1021

v1.3.1

18 Jun 16:11
Compare
Choose a tag to compare

⭐ New Features

  • Support returning Flux of entities from @EntityMapping methods #991
  • Do not apply ContextDataFetcherDecorator to TrivialDataFetcher instances #983
  • Support fragments in GraphQlTester #964

🪲 Bug Fixes

  • TypeMismatchError if controller method returning Flow is declared without suspend keyword #988
  • UNKNOWN uri value in web observations for GraphQL endpoints #987
  • @AuthenticationPrincipal resolver should have precedence over Principal resolver #982

🔨 Dependency Upgrades

  • Upgrade to Micrometer 1.13.1 and Tracing 1.13.1 #1010
  • Upgrade to Reactor 2023.0.7 #1009
  • Upgrade to Spring Data 2024.0.1 #1011
  • Upgrade to Spring Framework 6.1.9 #1008
  • Upgrade to Spring Security 6.3.1 #1012

❤️ Contributors

Thank you to all the contributors who worked on this release:

@github-actions[bot] and @osi

v1.2.7

18 Jun 15:40
Compare
Choose a tag to compare

⭐ New Features

  • Allow use of GraphQL Java 21.x in Spring for GraphQL 1.2.x #974
  • Support client requests with content-type "application/graphql" #948

🪲 Bug Fixes

  • @AuthenticationPrincipal resolver should have precedence over Principal resolver #990
  • InvocableHandlerMethodSupport#adaptCallable does not unwrap InvocationTargetException #973

📔 Documentation

  • Update documentation with advice on how to achieve schema namespacing #863
  • Document how to configure custom ExecutionStrategy #832

🔨 Dependency Upgrades

  • Upgrade to Micrometer 1.11.12 #1005
  • Upgrade to Reactor 2022.0.20 #1004
  • Upgrade to Spring Data 2023.0.12 #1006
  • Upgrade to Spring Framework 6.0.22 #1003
  • Upgrade to Spring Security 6.1.9 #1007

❤️ Contributors

Thank you to all the contributors who worked on this release:

@github-actions[bot]

v1.3.0

21 May 13:26
Compare
Choose a tag to compare

⭐ New Features

  • Allow passing Map of variables in GraphQlTester #969
  • Allow use of GraphQL Java 21.x with Spring for GraphQL 1.3.x #963
  • SchemaMappingInspector should look in controller package if return type for a union is Object #960
  • Prepare HTTP handlers for Incremental Delivery support #959
  • Async execution of blocking controller methods on Java 21+ #958
  • Enable use of Kotlin Flow as return value #954
  • SchemaMappingBeanFactoryInitializationAotProcessor should register hints for @EnityMapping methods #928
  • Support accepting interceptors in WebSocketGraphQlTester #823
  • Support GraphQL over WebSocket authentication via "connect_init" message #268

🪲 Bug Fixes

  • Concrete types of union and interface fields should not be skipped if concrete use elsewhere provides more information #962
  • Duplicate reporting of unmapped union or interface fields #961

🔨 Dependency Upgrades

  • Upgrade to federation-jvm 5.0.0 #972
  • Upgrade to GraphQL Java 22.1 #975
  • Upgrade to Micrometer 1.13.0 #977
  • Upgrade to Spring Data 2024.0.0 #978
  • Upgrade to Spring Framework 6.1.7 #976
  • Upgrade to Spring Security 6.3.0 #979

❤️ Contributors

Thank you to all the contributors who worked on this release:

@dariuszkuc and @kutlueren

v1.3.0-RC1

16 Apr 09:53
Compare
Choose a tag to compare
v1.3.0-RC1 Pre-release
Pre-release

⭐ New Features

  • Adapt offset scroll calculations to changes in Spring Data 2024.0 #946
  • Add Remote Address to WebGraphQlRequest #945
  • Schema mapping should inspect fields that have a matching class property #934
  • Schema inspection support for interface and union types #924
  • Support returning list of entities from @EntityMapping methods #922
  • Allow use of specific ContextSnapshotFactory instance #919
  • Support @SchemaMapping and @BatchMapping for schema interface types #871
  • Configure Jackson codec specifically for GraphQL HTTP endpoints #860
  • Enhance schema introspection to report @Argument name mismatch #740
  • Replace DataFetcher registrations to match custom root operation type names #708
  • Support keep-alive pings in WebSocketGraphQlClient #608
  • Support keep-alive pings in GraphQlWebSocketHandler #534

🐞 Bug Fixes

  • SSE complete event should have a "data:" field #940

🔨 Dependency Upgrades

  • Upgrade to Context Propagation 1.1.1 #952
  • Upgrade to Spring Security 6.3.0-RC1 #951
  • Upgrade to Micrometer 1.13.0-RC1 #950
  • Upgrade to Spring Data 2024.0-RC1 #947
  • Upgrade to GraphQL Java 22 release candidate #932
  • Upgrade to GraphQL Java 22 #931

❤️ Contributors

Thank you to all the contributors who worked on this release:

@qeeqez and @toby200

v1.2.6

28 Mar 13:45
Compare
Choose a tag to compare

⭐ New Features

  • Avoid graphql.AssertException for persisted query #930
  • Use either first or after 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

  • Upgrade to GraphQL Java 20.9 #936
  • Upgrade to Spring Framework 6.0.18 #938

v1.3.0-M1

21 Feb 10:11
Compare
Choose a tag to compare
v1.3.0-M1 Pre-release
Pre-release

⭐ 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:

@dariuszkuc

v1.2.5

21 Feb 09:08
Compare
Choose a tag to compare

⭐ 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:

@erichaagdev and @nilshartmann

v1.2.4

21 Nov 14:07
Compare
Choose a tag to compare

⭐ 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