Releases: spring-projects/spring-graphql
Releases Β· spring-projects/spring-graphql
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!
v1.1.0-RC1
v1.1.0-M1
β New Features
- Integrate with the Micrometer Context Propagation library #459
- Upgrade to GraphQL Java 19.2 #444
- Upgrade baseline to Java 17 and Jakarta APIs #426
πͺ² Bug Fixes
- Make the context propagation dependency mandatory #482
π¨ Dependency Upgrades
- Upgrade to Micrometer context-propagation 1.0 M5 #477
v1.0.2
β New Features
- Support
@Arguments
with Map #493 - Fix NPE when GraphQL argument is a list with a null element #486
- Support controller method parameter annotations on an interface #480
- Controller's with CompletableFuture return bad error messages or no error at all #479
- Support path variables for redirect to GraphiQL path #478
- Allow custom scalar, parsed to different types, to bind onto
java.lang.Object
#447 - Introspect controller methods on startup to determine if they need validation #445
- Do not ignore a DataFetcher with a DataFetcherFactories wrapper #440
πͺ² Bug Fixes
- Target collection type is not used in argument binding #485
- Java classes with Optional constructor args for GraphQL input types fail with InaccessibleObjectException #470
π Documentation
- Improve reference docs on how to find schema files acorss multiple modules #489
- Document how to customize global, request validation errors that prevent execution #487
π¨ Dependency Upgrades
- Upgrade to GraphQL Java 18.3 #456
β€οΈ Contributors
We'd like to thank all the contributors who worked on this release!