Releases: spring-projects/spring-graphql
Releases · spring-projects/spring-graphql
v1.2.0
⭐ 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:
v1.1.4
⭐ 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
v1.2.0-RC1
⭐ New Features
- Update
SchemaMappingInspector
to supportConnection
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
⭐ 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
v1.1.3
⭐ 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
v1.1.2
⭐ 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
v1.1.1
⭐ 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 useDataFetcherExceptionResolver
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
⭐ New Features
- Improve support for GraphQLSchema transformation #536
- Refine
null
handling fortoEntity
andtoEntityList
inClientResponseField
#525 - Support default
DataLoaderOptions
inDefaultBatchLoaderRegistry
#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
v1.0.3
⭐ 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 supportMap
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!