Skip to content

Releases: spring-projects/spring-graphql

v1.2.0

16 May 12:44
Compare
Choose a tag to compare

⭐ New Features

  • Adapt to API changes in Spring Data Commons' ScrollPosition API #682
  • Update schema mappings inspection to produce more detailed logs for unexpected Java types #678
  • Support GraphQlExceptionHandler methods in AOT mode #677
  • Schema mapping inspection support for @BatchMapping methods #673
  • Provide hook with access to schema mappings inspection report #672
  • Schema mapping inspection to report DataFetcher registrations against fields that don't exist #671
  • Support nested paths in GraphQlTester #457

🪲 Bug Fixes

  • NPE in CompositeConnectionAdapter when data fetcher returns null #707
  • KeysetScrollPosition with a non-simple type does not deserialize back to the same type #684
  • False positives in Schema inspection when using Lists in CompletableFuture #674

📔 Documentation

  • Add section on GraphiQL to the documentation including advice on customizations #403

🔨 Dependency Upgrades

  • Upgrade to Context Propagation 1.0.2 #689
  • Upgrade to Jackson 2.15.0 #704
  • Upgrade to Micrometer 1.11.0 #702
  • Upgrade to Micrometer Tracing 1.1.1 #703
  • Upgrade to Reactor 2022.0.7 #705
  • Upgrade to Spring Data 2023.0.0 #679
  • Upgrade to Spring Framework 6.0.9 #701
  • Upgrade to Spring Security 6.1.0 #706

❤️ Contributors

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

@odrotbohm

v1.1.4

16 May 11:45
Compare
Choose a tag to compare

⭐ New Features

  • Pass attributes from ClientGraphQlRequest to WebClient request #659

🪲 Bug Fixes

  • DataFetcher observations have incorrect hierarchy #676
  • Request observation has no parent observation #675
  • Auto-registration of @GraphQlRepository doesn't work if the returned list is declared not null #661

📔 Documentation

  • Update documentation to refer to the Apollo Federation example with Spring for GraphQL #384

🔨 Dependency Upgrades

  • Upgrade to GraphQL Java 19.5 #696
  • Upgrade to Micrometer 1.10.7 #700
  • Upgrade to Reactor 2022.0.7 #699
  • Upgrade to Spring Data 2022.0.6 #697
  • Upgrade to Spring Framework 6.0.9 #695
  • Upgrade to Spring Security 6.0.3 #698

v1.2.0-RC1

19 Apr 16:32
Compare
Choose a tag to compare
v1.2.0-RC1 Pre-release
Pre-release

⭐ New Features

  • Update SchemaMappingInspector to support Connection types #656
  • Support option for @Argument binding to fall back on direct field access #599
  • Pagination Support with Querydsl and Query By Example #597
  • Avoid need for wrapper around single argument GraphQL input types with Querydsl and Query By Example #216
  • Pagination and Sorting Support #103

📔 Documentation

  • Add documentation for GraphQL schema mappings inspection #662

🔨 Dependency Upgrades

  • Upgrade to Spring Framework 6.0.8 #670
  • Upgrade to GraphQL Java 20.2 #669
  • Upgrade to Jackson 2.15.0-rc3 #668
  • Upgrade to Micrometer Tracing 1.1.0-RC1 #667
  • Upgrade to Context Propagation 1.1.0-M2 #666
  • Upgrade to Micrometer 1.11.0-RC1 #665
  • Upgrade to Spring Security 6.1.0-RC1 #664
  • Upgrade to Spring Data 2023.0.0-RC1 #663

v1.2.0-M1

21 Mar 16:41
Compare
Choose a tag to compare
v1.2.0-M1 Pre-release
Pre-release

⭐ New Features

  • Support pagination return values and pagination requests in @SchemaMapping methods #620
  • Auto-generate Connection, PageInfo, and Edge schema type definitions #619
  • Support custom HandlerMethodArgumentResolver #603
  • Upgrade GraphQL Java baseline to 20.0 #596
  • Drop special behavior for @Argument Map in favor of doing the same via @Arguments Map #548
  • Support inspection of schema mappings on startup #386
  • Annotated exception handler methods #160

🔨 Dependency Upgrades

  • Upgrade to Kotlin 1.8.10 #652
  • Upgrade to Micrometer 1.11.0-M2 #649
  • Upgrade to Micrometer Tracing 1.11.0-M2 #650
  • Upgrade to Spring Data 2023.0.0-M3 #648
  • Upgrade to Spring Security 6.1.0-M2 #651

v1.1.3

21 Mar 10:45
Compare
Choose a tag to compare

⭐ New Features

  • Access request attributes in WebGraphQlInterceptor #633
  • Access cookies in WebGraphQlInterceptor #626

🪲 Bug Fixes

  • @Valid on method parameter does not apply validation in 1.1.2 #624
  • Controller method cannot return CompletableFuture if any method argument is Mono #604

🔨 Dependency Upgrades

  • Upgrade to GraphQL Java 19.3 #642
  • Upgrade to Micrometer 1.10.5 #644
  • Upgrade to Micrometer Tracing 1.0.3 #645
  • Upgrade to Reactor 2022.0.5 #643
  • Upgrade to Spring Data 2022.0.3 #646
  • Upgrade to Spring Framework 6.0.7 #641
  • Upgrade to Spring Security 6.0.2 #647

❤️ Contributors

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

@koenpunt and @timtebeek

v1.0.4

21 Mar 11:37
Compare
Choose a tag to compare

⭐ New Features

  • ContextDataFetcherDecorator ignores subscriptions when "subscription" type is renamed #593

🪲 Bug Fixes

  • Controller method cannot return CompletableFuture if any method argument is Mono #628

🔨 Dependency Upgrades

  • Upgrade to Reactor 2020.0.30 #638
  • Upgrade to Spring Data 2021.2.10 #639
  • Upgrade to Spring Framework 5.3.26 #637
  • Upgrade to Spring Security 5.7.7 #640

v1.1.2

21 Feb 11:06
Compare
Choose a tag to compare

⭐ New Features

  • Allow configuring ExecutionInput in ExecutionGraphQlServiceTester #615
  • ContextDataFetcherDecorator ignores subscriptions when "subscription" type is renamed #590
  • Support @Validated on method parameter #571

🪲 Bug Fixes

  • Observation instrumentation incorrectly manages parent observations #611

📔 Documentation

  • Improve discoverability of starter documentation by adding a dedicate Boot Starter section in the reference #598
  • Document Micrometer Observability support #595
  • Update reference documentation with a link to "GraphQL Server" Getting Started Guide #551

🔨 Dependency Upgrades

  • Upgrade to Context Propagation 1.0.2 #613
  • Upgrade to Micrometer 1.10.4 #612
  • Upgrade to Micrometer Tracing 1.0.2 #614
  • Upgrade to Reactor 2022.0.3 #616
  • Upgrade to Spring Data 2022.0.2 #617

v1.1.1

20 Dec 10:25
Compare
Choose a tag to compare

⭐ New Features

  • Displaying the number of loaded schema files on boot #566
  • Adapt to official media type changes in GraphQL over HTTP spec #563
  • Introduce DataFetcher builder customizers for Querydsl and Query by Example repositories #559
  • Relax generic type checks when @Argument binding to a map with an undeclared value type #554
  • Allow custom ExecutionStrategy to use DataFetcherExceptionResolver chain #552
  • Refine ProjectedPayload argument handling for an optional input argument #550

🪲 Bug Fixes

  • GraphQlClient query documents and test documents are missing from native image #575
  • RSocket client fails in native when using the WebSocket transport #574
  • @ContextValue resolver cannot determine method parameter name on @BatchMapping methods #562
  • Native websocket applications fail on GraphQlWebSocketMessage reflection #560
  • Align observation convention with Micrometer best practices #558
  • ArgumentValue incorrectly returns false from isOmitted() for an omitted argument #553
  • Tracing support fails with NullPointerException when propagation information is missing #547

📔 Documentation

  • Document GraalVM Native support in reference documentation #581
  • Use ClientResponseField instead of ResponseField in documentation samples #573

🔨 Dependency Upgrades

  • Upgrade to Micrometer 1.10.2 #556
  • Upgrade to Reactor 2022.0.1 #586
  • Upgrade to Spring Framework 6.0.3 #555
  • Upgrade to Spring Security 6.0.1 #587

❤️ Contributors

We'd like to thank all the contributors who worked on this release!

v1.1.0

22 Nov 13:02
Compare
Choose a tag to compare

⭐ New Features

  • Improve support for GraphQLSchema transformation #536
  • Refine null handling for toEntity and toEntityList in ClientResponseField #525
  • Support default DataLoaderOptions in DefaultBatchLoaderRegistry #522
  • Add maxBatchSize attribute to @BatchMapping #520
  • Support checks if GraphQL argument was set to null or omitted entirely #518
  • Replace use of DataBinder for binding GraphQL arguments #516
  • Ahead Of Time support #495
  • Cannot use Set as property in GraphQL argument input object #394
  • Cannot use GraphQL argument object whose generic type is declared on @SchemaMapping method #349

🔨 Dependency Upgrades

  • Upgrade to Context Propagation 1.0.0 #542
  • Upgrade to Micrometer 1.10.1 #539
  • Upgrade to Reactor 2022.0.0 #538
  • Upgrade to Spring Data 2022.0.0 #540
  • Upgrade to Spring Framework 6.0.0 #543
  • Upgrade to Spring Security 6.0.0 #541

v1.0.3

22 Nov 11:09
Compare
Choose a tag to compare

⭐ New Features

  • Add actual elements to message of containsAll #507
  • Wrapping a projected payload in optional returns IllegalStateException #506
  • Adds the option to use a pre configured RSocketRequester #498
  • @Argument doesn't support Map as a target type at any level #449

🪲 Bug Fixes

  • GraphQlClient#retrieve does not raise FieldAccessException for failures at a path nested below the target field #499

❤️ Contributors

We'd like to thank all the contributors who worked on this release!