tailrocks / graphql-java-datetime

GraphQL ISO Date is a set of RFC 3339 compliant date/time scalar types to be used with graphql-java.
Apache License 2.0
147 stars 28 forks source link

Update dependency com.netflix.graphql.dgs:graphql-dgs-platform-dependencies to v9 #194

Closed renovate[bot] closed 3 months ago

renovate[bot] commented 11 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
com.netflix.graphql.dgs:graphql-dgs-platform-dependencies 7.6.0 -> 9.0.4 age adoption passing confidence

Release Notes

Netflix/dgs-framework (com.netflix.graphql.dgs:graphql-dgs-platform-dependencies) ### [`v9.0.4`](https://togithub.com/Netflix/dgs-framework/releases/tag/v9.0.4) #### What's Changed - Update Gradle Wrapper from 8.7 to 8.8 by [@​github-actions](https://togithub.com/github-actions) in [https://github.com/Netflix/dgs-framework/pull/1930](https://togithub.com/Netflix/dgs-framework/pull/1930) - Bump org.springframework.graphql:spring-graphql-test from 1.2.6 to 1.3.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Netflix/dgs-framework/pull/1941](https://togithub.com/Netflix/dgs-framework/pull/1941) - Update dependency locks by [@​kilink](https://togithub.com/kilink) in [https://github.com/Netflix/dgs-framework/pull/1952](https://togithub.com/Netflix/dgs-framework/pull/1952) - GraphQLResponse.getRequestDetails should return nullable by [@​Emily](https://togithub.com/Emily) in [https://github.com/Netflix/dgs-framework/pull/1957](https://togithub.com/Netflix/dgs-framework/pull/1957) **PLEASE NOTE:** the nullability fix on `GraphQLResponse.getRequestDetails` is technically a breaking change for any Kotlin usages. You will need to either properly handle the null checks, or add `!!` wherever you use the method to keep the same (potentially incorrect) behavior. **Full Changelog**: https://github.com/Netflix/dgs-framework/compare/v9.0.3...v9.0.4 ### [`v9.0.3`](https://togithub.com/Netflix/dgs-framework/releases/tag/v9.0.3) #### What’s Changed - Register jdk8 module in DgsSSESubscriptionHandler ([#​1950](https://togithub.com/Netflix/dgs-framework/issues/1950)) [@​kailyak](https://togithub.com/kailyak) ### [`v9.0.2`](https://togithub.com/Netflix/dgs-framework/releases/tag/v9.0.2) #### What’s Changed - Fix conversion of input objects with Optional fields ([#​1951](https://togithub.com/Netflix/dgs-framework/issues/1951)) [@​kilink](https://togithub.com/kilink) - Fix some warnings and deprecations ([#​1948](https://togithub.com/Netflix/dgs-framework/issues/1948)) [@​kilink](https://togithub.com/kilink) - Conditionally instantiate bean for ServerWebExchangeContextFilter. ([#​1949](https://togithub.com/Netflix/dgs-framework/issues/1949)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Add getSourceOrThrow helper method to DgsDataFetchingEnvironment ([#​1947](https://togithub.com/Netflix/dgs-framework/issues/1947)) [@​kilink](https://togithub.com/kilink) - Pin to graphql-java 22.1, fix compilation errors ([#​1945](https://togithub.com/Netflix/dgs-framework/issues/1945)) [@​kilink](https://togithub.com/kilink) - Disable sdl comments in executable schema ([#​1935](https://togithub.com/Netflix/dgs-framework/issues/1935)) [@​kailyak](https://togithub.com/kailyak) - Update to Spring Boot 3.3.1 ([#​1940](https://togithub.com/Netflix/dgs-framework/issues/1940)) [@​kilink](https://togithub.com/kilink) - Fix deserialization of GraphQLErrorDebugInfo ([#​1939](https://togithub.com/Netflix/dgs-framework/issues/1939)) [@​kilink](https://togithub.com/kilink) - Bump actions/checkout from 4.1.6 to 4.1.7 ([#​1938](https://togithub.com/Netflix/dgs-framework/issues/1938)) [@​dependabot](https://togithub.com/dependabot) ### [`v9.0.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v9.0.1) #### What’s Changed - Ignore unknown Json properties. ([#​1934](https://togithub.com/Netflix/dgs-framework/issues/1934)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Add mapping for dgs graphql path property to spring-graphql integration ([#​1933](https://togithub.com/Netflix/dgs-framework/issues/1933)) [@​kailyak](https://togithub.com/kailyak) ### [`v9.0.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v9.0.0): Spring Boot 3.3 and GraphQL Java 22 This release builds against [Spring Boot 3.3](https://togithub.com/spring-projects/spring-boot/wiki/Spring-Boot-3.3-Release-Notes), [Spring GraphQL 1.3](https://togithub.com/spring-projects/spring-graphql/releases/tag/v1.3.0) and [GraphQL Java 22](https://togithub.com/graphql-java/graphql-java/releases/tag/v22.0) 🎉 This is a major release because the upgrade to Boot 3.3 and GraphQL Java 22 are significant, and may require changes in your application code. There are no breaking changes in DGS itself though. The changes in DGS itself are minimal: [https://github.com/Netflix/dgs-framework/pull/1920](https://togithub.com/Netflix/dgs-framework/pull/1920) The most likely source of incompatibility are the [changes in Instrumentation in GraphQL Java](https://togithub.com/graphql-java/graphql-java/releases/tag/v22.0). DGS 9.x is no longer compatible with Spring Boot 3.2 or below. It is however possible to use DGS 9 with Spring Boot 3.3 but with GraphQL Java 21 (the previous version). ### [`v8.7.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.7.1) #### What’s Changed - Fixing release ([#​1927](https://togithub.com/Netflix/dgs-framework/issues/1927)) [@​paulbakker](https://togithub.com/paulbakker) - Replace ByteBuddy with Java Proxy ([https://github.com/Netflix/dgs-framework/pull/1904](https://togithub.com/Netflix/dgs-framework/pull/1904)) [@​AyushChaubey](https://togithub.com/AyushChaubey) - Reconfigure BOM usage to use Spring Dependency Recommender plugin ([https://github.com/Netflix/dgs-framework/pull/1918](https://togithub.com/Netflix/dgs-framework/pull/1918)) [@​paulbakker](https://togithub.com/paulbakker) - Add a null check for errorType since this could be null for custom errors. ([https://github.com/Netflix/dgs-framework/pull/1919](https://togithub.com/Netflix/dgs-framework/pull/1919)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Attempt to upgrade to Gradle 8.7 ([https://github.com/Netflix/dgs-framework/pull/1917](https://togithub.com/Netflix/dgs-framework/pull/1917)) [@​paulbakker](https://togithub.com/paulbakker) ### [`v8.6.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.6.1) #### What’s Changed - Convert execution aborted errors to a bad request. ([#​1916](https://togithub.com/Netflix/dgs-framework/issues/1916)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Bump actions/upload-artifact from 3 to 4 ([#​1748](https://togithub.com/Netflix/dgs-framework/issues/1748)) [@​dependabot](https://togithub.com/dependabot) - Bump release-drafter/release-drafter from 5 to 6 ([#​1810](https://togithub.com/Netflix/dgs-framework/issues/1810)) [@​dependabot](https://togithub.com/dependabot) - Bump actions/checkout from 4.1.5 to 4.1.6 ([#​1915](https://togithub.com/Netflix/dgs-framework/issues/1915)) [@​dependabot](https://togithub.com/dependabot) - Update to Kotlin 1.9.24 ([#​1912](https://togithub.com/Netflix/dgs-framework/issues/1912)) [@​kilink](https://togithub.com/kilink) - Bump actions/checkout from 4.1.3 to 4.1.5 ([#​1908](https://togithub.com/Netflix/dgs-framework/issues/1908)) [@​dependabot](https://togithub.com/dependabot) - Add the path if it exists in the error for datafetching execptions. ([#​1910](https://togithub.com/Netflix/dgs-framework/issues/1910)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) ### [`v8.6.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.6.0) #### What’s Changed This PR converts errors from graphql-java thrown prior to data fetcher processing, such as various Validation errors to use the TypedGraphQLError format to be consistent with the other errors handled in the DGS framework. The main change is to add additional `errorDetail` and `errorType` fields as part of extensions. The `message`, `location`, `classification` are all preserved as is. We expect this will not be a breaking change unless users are depending on the exact string formatted error. An example of the updated error is shown below: ``` { "errors": [ { "message": "Validation error (FieldUndefined@[hellos]) : Field 'hellos' in type 'Query' is undefined", "locations": [ { "line": 2, "column": 3 } ], "path": [ "hellos" ], "extensions": { "classification": "ValidationError", "errorType": "BAD_REQUEST", "errorDetail": "FIELD_NOT_FOUND" } } ] } ``` - Convert graphql-java validation errors to TypedGraphQL error ([#​1905](https://togithub.com/Netflix/dgs-framework/issues/1905)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) ### [`v8.5.8`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.8) #### What’s Changed - Disable compiler warnings from javadoc ([#​1896](https://togithub.com/Netflix/dgs-framework/issues/1896)) [@​paulbakker](https://togithub.com/paulbakker) - Add stacktrace to exception log. ([#​1895](https://togithub.com/Netflix/dgs-framework/issues/1895)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) ### [`v8.5.7`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.7) #### What’s Changed - Update to Spring Boot 3.2.5 ([#​1893](https://togithub.com/Netflix/dgs-framework/issues/1893)) [@​kilink](https://togithub.com/kilink) - Bump actions/checkout from 4.1.2 to 4.1.3 ([#​1890](https://togithub.com/Netflix/dgs-framework/issues/1890)) [@​dependabot](https://togithub.com/dependabot) - Add flag for collecting metadata information for native image ([#​1891](https://togithub.com/Netflix/dgs-framework/issues/1891)) [@​AyushChaubey](https://togithub.com/AyushChaubey) ### [`v8.5.6`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.6) ##### What’s Changed - Set InputArgumentResolver to highest priority so it is matched first ([#​1884](https://togithub.com/Netflix/dgs-framework/issues/1884)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Introduce optional log level property on DgsException ([#​1881](https://togithub.com/Netflix/dgs-framework/issues/1881)) [@​paulbakker](https://togithub.com/paulbakker) - Fix DgsDataLoaderRegistryConsumer when wrapped with Micrometer ([#​1859](https://togithub.com/Netflix/dgs-framework/issues/1859)) [@​prokop7](https://togithub.com/prokop7) ### [`v8.5.5`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.5) ##### What’s Changed - optional-context-propagation ([#​1878](https://togithub.com/Netflix/dgs-framework/issues/1878)) [@​paulbakker](https://togithub.com/paulbakker) ### [`v8.5.4`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.4) #### What’s Changed - Update multipart-spring-graphql dependency ([#​1877](https://togithub.com/Netflix/dgs-framework/issues/1877)) [@​paulbakker](https://togithub.com/paulbakker) - Expose errorType in TypedGraphQLError ([#​1867](https://togithub.com/Netflix/dgs-framework/issues/1867)) [@​kilink](https://togithub.com/kilink) - Use micrometer context propagation for virtual thread executor ([#​1875](https://togithub.com/Netflix/dgs-framework/issues/1875)) [@​paulbakker](https://togithub.com/paulbakker) - Disable problematic autoconfigs from spring-graphql by default ([#​1874](https://togithub.com/Netflix/dgs-framework/issues/1874)) [@​paulbakker](https://togithub.com/paulbakker) - Fix missing response in DgsContext ([#​1870](https://togithub.com/Netflix/dgs-framework/issues/1870)) [@​paulbakker](https://togithub.com/paulbakker) ### [`v8.5.3`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.3) #### What’s Changed - Rework DgsDataLoaderRegistry to avoid some overhead ([#​1842](https://togithub.com/Netflix/dgs-framework/issues/1842)) [@​kilink](https://togithub.com/kilink) - Bump actions/cache from 4.0.1 to 4.0.2 ([#​1855](https://togithub.com/Netflix/dgs-framework/issues/1855)) [@​dependabot](https://togithub.com/dependabot) - Update to Spring Boot 3.2.4 ([#​1851](https://togithub.com/Netflix/dgs-framework/issues/1851)) [@​kilink](https://togithub.com/kilink) - Switch to using measureTimedValue ([#​1843](https://togithub.com/Netflix/dgs-framework/issues/1843)) [@​kilink](https://togithub.com/kilink) - Remove deprecated fields from TypedGraphQLError ([#​1824](https://togithub.com/Netflix/dgs-framework/issues/1824)) [@​kilink](https://togithub.com/kilink) ### [`v8.5.2`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.2) #### What’s Changed - Fix bug in Spring query executors ([#​1864](https://togithub.com/Netflix/dgs-framework/issues/1864)) [@​kilink](https://togithub.com/kilink) ### [`v8.5.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.5.0) The DGS and Spring GraphQL teams are super excited to introduce deep integration between the DGS framework and Spring GraphQL. This will bring the community together, and we can continue building the best possible GraphQL framework for Spring Boot in the future. Special thanks to [@​kilink](https://togithub.com/kilink) for being our first early adopter and contributing many bug fixes and performance improvements as part of this effort, and to [@​rstoyanchev](https://togithub.com/rstoyanchev) and [@​bclozel](https://togithub.com/bclozel) from the Spring GraphQL team for partnering with us closely on integration between the frameworks. ##### Getting Started with DGS/Spring GraphQL You can opt-in to use DGS/Spring GraphQL by replacing the starter dependency. Replace `implementation "com.netflix.graphql.dgs:graphql-dgs-spring-boot-starter"` with `implementation "com.netflix.graphql.dgs:graphql-dgs-spring-graphql-starter"`. You also need to add either Spring WebMVC or Spring WebFlux explicitly. With this integration, it is technically possible to mix and match the DGS/Spring GraphQL programming models. However, to maintain consistency in your codebase and to take full advantage of DGS features, we recommend sticking with the DGS programming model. Additional features from Spring GraphQL will be available via existing Spring GraphQL extensions, such as [multipart-spring-graphql](https://togithub.com/nkonev/multipart-spring-graphql) and the [https://github.com/apollographql/federation-jvm/pull/354](https://togithub.com/apollographql/federation-jvm/pull/354) in the JVM Federation library. ##### Background - Two competing frameworks The DGS Framework provides Java developers with a programming model on top of Spring Boot to create GraphQL services. Netflix open-sourced the DGS framework in 2021, and has been the widely adopted GraphQL Java framework by many companies. Soon after we open-sourced the DGS framework, we learned about parallel efforts by the Spring team to develop a GraphQL framework for Spring Boot. The Spring GraphQL project was in the early stages at the time and provided a low-level of integration with graphql-java. Over the past year, however, Spring GraphQL has matured and is mostly at feature parity with the DGS Framework. We now have 2 competing frameworks that solve the same problems for our users. Today, new users must choose between the DGS Framework or Spring GraphQL, thus missing out on features available in one framework but not the other. This is not an ideal situation for the GraphQL Java community. For the maintainers of DGS and Spring GraphQL, it would be far more effective to collaborate on features and improvements instead of having to solve the same problem independently. Finally, a unified community would provide us with better channels for feedback. ##### Technical implementation The details of the implementation are discussed in detail [in the documentation](https://netflix.github.io/dgs/spring-graphql-integration/). ##### Required Changes The good news is that the new integration has been mostly a drop-in replacement, not requiring any major code changes for the user. ##### Async Dispatch By default, Spring GraphQL uses async dispatch for handling HTTP GraphQL Requests when using WebMVC. In this DGS Framework we have turned off this behavior by default to preserve existing functionality, since it requires existing code to be async aware. This implies servlet filters, tests etc. need to be also async aware. You can turn on async behavior by setting the `dgs.graphql.spring.webmvc.asyncdispatch.enabled` to true. It is worth noting that with the Spring GraphQL integration, your MockMVC test set up does need to be updated. Since web request processing is now based on async dispatching mechanism, we now [require explicit handling for this](https://docs.spring.io/spring-framework/reference/testing/spring-mvc-test-framework/async-requests.html) in the test setup. ##### File Uploads Support for file uploads will no longer be available by default in the DGS framework. This is supported using an external dependency for Spring GraphQL via [multipart-spring-graphql](https://togithub.com/nkonev/multipart-spring-graphql). ##### Schema Inspection You can now inspect your schema using Spring GraphQL's \[schema inspection] (https://docs.spring.io/spring-graphql/reference/request-execution.html#execution.graphqlsource.schema-mapping-inspection) feature for DGS data fetchers as well. You can now inspect schema fields and validate existing DGS data fetcher/and or Spring GraphQL data fetcher registrations, to check if all schema fields are covered either by an explicitly registered DataFetcher, or a matching Java object property. The inspection also performs a reverse check looking for DataFetcher registrations against schema fields that don't exist. ##### Performance At Netflix, we tested the DGS/Spring GraphQL integration on some of our largest services. We have worked hard to make performance of the new integration on-par with the existing implementation. Performance (CPU, memory, latency) is now the same or better on all the services we have tested. ##### Known Gaps At this time, we are lacking support for SSE based subscriptions. This is on the roadmap and will be made available depending on support in Spring GraphQL. ##### Configuration There is some overlap between configuration properties for DGS and Spring GraphQL. Where properties overlap, we use the DGS property for the best backward compatibility. The following list is the overlapping properties. | *DGS property* | *Spring GraphQL property* | *What to use* | |----|----| ----- | | `dgs.graphql.schema-locations` | `spring.graphql.schema.locations` | Use `dgs.graphql.schema-locations` | | N/A | `spring.graphql.schema.fileExtensions` | Not applicable, because `dgs.graphql.schema-locations` includes the path | | `dgs.graphql.graphiql.enabled` | `spring.graphql.graphiql.enabled` | Use `dgs.graphql.graphiql.enabled` | | `dgs.graphql.graphiql.path` | `spring.graphql.graphiql.path` | Use `dgs.graphql.graphiql.path` | | `dgs.graphql.websocket.connection-init-timeout` | `spring.graphql.websocket.connection-init-timeout` | DGS property sets the Spring GraphQL property | New properties for Spring GraphQl integration are: | *DGS Property* | *Description* | |---|-----| `dgs.graphql.spring.webmvc.asyncdispatch.enabled` | To enable async dispatching for GraphQL requests | ### [`v8.4.4`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.4.4) ##### What’s Changed - Update graphql-java to 21.5 ([#​1861](https://togithub.com/Netflix/dgs-framework/issues/1861)) [@​spellew](https://togithub.com/spellew) ### [`v8.4.3`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.4.3) ##### What’s Changed - Add logging for exceptions when encountering internal server error. ([#​1858](https://togithub.com/Netflix/dgs-framework/issues/1858)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Bump actions/checkout from 4.1.1 to 4.1.2 ([#​1847](https://togithub.com/Netflix/dgs-framework/issues/1847)) [@​dependabot](https://togithub.com/dependabot) ### [`v8.4.2`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.4.2) #### What’s Changed - Update graphql-java to 21.4 ([#​1850](https://togithub.com/Netflix/dgs-framework/issues/1850)) [@​kailyak](https://togithub.com/kailyak) ### [`v8.4.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.4.1) ##### What’s Changed - Bump actions/cache from 4.0.0 to 4.0.1 ([#​1828](https://togithub.com/Netflix/dgs-framework/issues/1828)) [@​dependabot](https://togithub.com/dependabot) - Bump org.apache.logging.log4j:log4j-to-slf4j from 2.23.0 to 2.23.1 ([#​1838](https://togithub.com/Netflix/dgs-framework/issues/1838)) [@​dependabot](https://togithub.com/dependabot) - Bump org.apache.logging.log4j:log4j-api from 2.23.0 to 2.23.1 ([#​1837](https://togithub.com/Netflix/dgs-framework/issues/1837)) [@​dependabot](https://togithub.com/dependabot) - Optimize conversion in DefaultInputObjectMapper ([#​1835](https://togithub.com/Netflix/dgs-framework/issues/1835)) [@​kilink](https://togithub.com/kilink) - Update to Kotlin 1.9.23 ([#​1840](https://togithub.com/Netflix/dgs-framework/issues/1840)) [@​kilink](https://togithub.com/kilink) - Update to Spring Boot 3.2.3 ([#​1834](https://togithub.com/Netflix/dgs-framework/issues/1834)) [@​kilink](https://togithub.com/kilink) ### [`v8.4.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.4.0) #### What's Changed - Bump org.apache.logging.log4j:log4j-to-slf4j from 2.22.1 to 2.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Netflix/dgs-framework/pull/1823](https://togithub.com/Netflix/dgs-framework/pull/1823) - Bump org.apache.logging.log4j:log4j-api from 2.22.1 to 2.23.0 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Netflix/dgs-framework/pull/1822](https://togithub.com/Netflix/dgs-framework/pull/1822) - Handle explicit nulls in response JSON by [@​kilink](https://togithub.com/kilink) in [https://github.com/Netflix/dgs-framework/pull/1825](https://togithub.com/Netflix/dgs-framework/pull/1825) - add new hooks for instrumenting dataloaders by [@​Emily](https://togithub.com/Emily) in [https://github.com/Netflix/dgs-framework/pull/1818](https://togithub.com/Netflix/dgs-framework/pull/1818) **Full Changelog**: https://github.com/Netflix/dgs-framework/compare/v8.3.1...v8.4.0 ### [`v8.3.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.3.1) #### What’s Changed - Increment error metric ([#​1816](https://togithub.com/Netflix/dgs-framework/issues/1816)) [@​spellew](https://togithub.com/spellew) - Avoid overhead in loading DataLoaderInstrumentationExtensionProviders ([#​1814](https://togithub.com/Netflix/dgs-framework/issues/1814)) [@​kilink](https://togithub.com/kilink) ### [`v8.3.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.3.0) #### What’s Changed This release updates the framework to use a new major version of the federation library: `federation-graphql-java-support` to `4.4.0`(https://github.com/apollographql/federation-jvm/releases/tag/v4.4.0) from the previous `3.0.0`. There are changes to how the federated-tracing context is set up since deprecated API support for this is now dropped in the library. Besides this change, this release should be backwards compatible for DGS users. Please refer to their [release notes](https://togithub.com/apollographql/federation-jvm/releases/tag/v4.0.0) for more details. - Update to latest federation-graphql-java-support lib 4.4.0. ([#​1813](https://togithub.com/Netflix/dgs-framework/issues/1813)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Make all timer threads daemonic in subscription handlers ([#​1811](https://togithub.com/Netflix/dgs-framework/issues/1811)) [@​kilink](https://togithub.com/kilink) - Remove kotlinx-coroutines-jdk8 dependency ([#​1807](https://togithub.com/Netflix/dgs-framework/issues/1807)) [@​kilink](https://togithub.com/kilink) - fix: cancel timer thread after websocket connection init task runs ([#​1808](https://togithub.com/Netflix/dgs-framework/issues/1808)) [@​mikefischetti](https://togithub.com/mikefischetti) ### [`v8.2.5`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.2.5) #### What's Changed - Add Kotlin Coroutine Flow support for Subscriptions by [@​kilink](https://togithub.com/kilink) in [https://github.com/Netflix/dgs-framework/pull/1800](https://togithub.com/Netflix/dgs-framework/pull/1800) - Fix classification type in GraphQLErrorExtensions by [@​kilink](https://togithub.com/kilink) in [https://github.com/Netflix/dgs-framework/pull/1802](https://togithub.com/Netflix/dgs-framework/pull/1802) - Provide consistent support for dynamically registered DataFetchers by [@​ivanasen](https://togithub.com/ivanasen) in [https://github.com/Netflix/dgs-framework/pull/1770](https://togithub.com/Netflix/dgs-framework/pull/1770) - Add mock provider support for interface, union, and enum types by [@​kilink](https://togithub.com/kilink) in [https://github.com/Netflix/dgs-framework/pull/1803](https://togithub.com/Netflix/dgs-framework/pull/1803) - Add ability to override logging in DefaultDataFetcherExceptionHandler by [@​kilink](https://togithub.com/kilink) in [https://github.com/Netflix/dgs-framework/pull/1804](https://togithub.com/Netflix/dgs-framework/pull/1804) - Adding the ability to call input object setter methods if they exist, falling back to direct field access. by [@​ehardy](https://togithub.com/ehardy) in [https://github.com/Netflix/dgs-framework/pull/1094](https://togithub.com/Netflix/dgs-framework/pull/1094) #### New Contributors - [@​ivanasen](https://togithub.com/ivanasen) made their first contribution in [https://github.com/Netflix/dgs-framework/pull/1770](https://togithub.com/Netflix/dgs-framework/pull/1770) - [@​ehardy](https://togithub.com/ehardy) made their first contribution in [https://github.com/Netflix/dgs-framework/pull/1094](https://togithub.com/Netflix/dgs-framework/pull/1094) **Full Changelog**: https://github.com/Netflix/dgs-framework/compare/v8.2.4...v8.2.5 ### [`v8.2.4`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.2.4) ##### What’s Changed - Add back getters returning Optional to MetricsInstrumentationState ([#​1801](https://togithub.com/Netflix/dgs-framework/issues/1801)) [@​kilink](https://togithub.com/kilink) ### [`v8.2.3`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.2.3) #### What’s Changed - Fix DGS Micrometer timer configuration ([#​1799](https://togithub.com/Netflix/dgs-framework/issues/1799)) [@​kilink](https://togithub.com/kilink) - Allow connection directive to be applied to Unions and Interfaces ([#​1798](https://togithub.com/Netflix/dgs-framework/issues/1798)) [@​kilink](https://togithub.com/kilink) - Use Jackson2ObjectMapperBuilder to construct Jackson mapper ([#​1796](https://togithub.com/Netflix/dgs-framework/issues/1796)) [@​kilink](https://togithub.com/kilink) - Update to JsonPath 2.9.0 ([#​1795](https://togithub.com/Netflix/dgs-framework/issues/1795)) [@​kilink](https://togithub.com/kilink) - Use QueryComplexityCalculator from graphql-java ([#​1797](https://togithub.com/Netflix/dgs-framework/issues/1797)) [@​kilink](https://togithub.com/kilink) - Minor cleanup in DgsPaginationTypeDefinitionRegistry ([#​1792](https://togithub.com/Netflix/dgs-framework/issues/1792)) [@​kilink](https://togithub.com/kilink) - Update to spring-cloud-dependencies BOM compatible with Spring Boot 3.2.x ([#​1790](https://togithub.com/Netflix/dgs-framework/issues/1790)) [@​kilink](https://togithub.com/kilink) - Update to Spring Boot 3.2.2 ([#​1789](https://togithub.com/Netflix/dgs-framework/issues/1789)) [@​kilink](https://togithub.com/kilink) - Bump actions/cache from 3.3.3 to 4.0.0 ([#​1791](https://togithub.com/Netflix/dgs-framework/issues/1791)) [@​dependabot](https://togithub.com/dependabot) - Clean up DefaultDgsFederationResolver ([#​1787](https://togithub.com/Netflix/dgs-framework/issues/1787)) [@​kilink](https://togithub.com/kilink) - Avoid wrapping checked Exceptions in DataFetcherInvoker ([#​1788](https://togithub.com/Netflix/dgs-framework/issues/1788)) [@​kilink](https://togithub.com/kilink) - Fix deprecation warnings ([#​1781](https://togithub.com/Netflix/dgs-framework/issues/1781)) [@​kilink](https://togithub.com/kilink) - Consistently handle proxied beans in DgsSchemaProvider ([#​1786](https://togithub.com/Netflix/dgs-framework/issues/1786)) [@​kilink](https://togithub.com/kilink) - Don't allow unchecked exception to propagate ([#​1785](https://togithub.com/Netflix/dgs-framework/issues/1785)) [@​kilink](https://togithub.com/kilink) - Update to reactor 3.6.1 ([#​1784](https://togithub.com/Netflix/dgs-framework/issues/1784)) [@​kilink](https://togithub.com/kilink) - Bump actions/cache from 3.3.2 to 3.3.3 ([#​1778](https://togithub.com/Netflix/dgs-framework/issues/1778)) [@​dependabot](https://togithub.com/dependabot) ### [`v8.2.2`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.2.2) #### What’s Changed - Update to Spring Boot 3.2.1 ([#​1773](https://togithub.com/Netflix/dgs-framework/issues/1773)) [@​kilink](https://togithub.com/kilink) ### [`v8.2.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.2.1) ##### What’s Changed - Update to Kotlin 1.9.22 ([#​1761](https://togithub.com/Netflix/dgs-framework/issues/1761)) [@​kilink](https://togithub.com/kilink) - Fix handling of UnknownOperationException ([#​1760](https://togithub.com/Netflix/dgs-framework/issues/1760)) [@​kilink](https://togithub.com/kilink) - Fix various deprecation and compiler warnings ([#​1769](https://togithub.com/Netflix/dgs-framework/issues/1769)) [@​kilink](https://togithub.com/kilink) - Delegate to ConversionService in DefaultInputObjectMapper ([#​1735](https://togithub.com/Netflix/dgs-framework/issues/1735)) [@​kilink](https://togithub.com/kilink) - Bump com.netflix.spectator:spectator-api from 1.6.+ to 1.7.4 ([#​1745](https://togithub.com/Netflix/dgs-framework/issues/1745)) [@​dependabot](https://togithub.com/dependabot) - Bump org.apache.logging.log4j:log4j-api from 2.22.0 to 2.22.1 ([#​1757](https://togithub.com/Netflix/dgs-framework/issues/1757)) [@​dependabot](https://togithub.com/dependabot) - Bump org.apache.logging.log4j:log4j-to-slf4j from 2.22.0 to 2.22.1 ([#​1758](https://togithub.com/Netflix/dgs-framework/issues/1758)) [@​dependabot](https://togithub.com/dependabot) - Add support for custom object mapper in GraphQLResponse ([#​1737](https://togithub.com/Netflix/dgs-framework/issues/1737)) [@​gabbigum](https://togithub.com/gabbigum) - Allow websocketSubscriptionHandler Bean to be overridden. ([#​1744](https://togithub.com/Netflix/dgs-framework/issues/1744)) [@​hwhh](https://togithub.com/hwhh) - Bump nebula.netflixoss from 11.3.2 to 11.4.0 ([#​1746](https://togithub.com/Netflix/dgs-framework/issues/1746)) [@​dependabot](https://togithub.com/dependabot) - Conditional on bean name for dgsAsyncTaskExecutor ([#​1743](https://togithub.com/Netflix/dgs-framework/issues/1743)) [@​paulbakker](https://togithub.com/paulbakker) - Return NoOp InstrumentationContext where possible ([#​1590](https://togithub.com/Netflix/dgs-framework/issues/1590)) [@​kilink](https://togithub.com/kilink) - Fix various warnings ([#​1741](https://togithub.com/Netflix/dgs-framework/issues/1741)) [@​kilink](https://togithub.com/kilink) - Avoid allocating intermediate collections in some cases ([#​1645](https://togithub.com/Netflix/dgs-framework/issues/1645)) [@​kilink](https://togithub.com/kilink) - Update dependencies and regenerate lock file ([#​1740](https://togithub.com/Netflix/dgs-framework/issues/1740)) [@​kilink](https://togithub.com/kilink) - Update to Kotlin 1.9.21 ([#​1724](https://togithub.com/Netflix/dgs-framework/issues/1724)) [@​kilink](https://togithub.com/kilink) - Compare against HttpMethod enum in DgsGraphQLCSRFInstrumentation ([#​1691](https://togithub.com/Netflix/dgs-framework/issues/1691)) [@​kilink](https://togithub.com/kilink) - Fix typo ([#​1718](https://togithub.com/Netflix/dgs-framework/issues/1718)) [@​kilink](https://togithub.com/kilink) - Bump actions/cache from 3.3.1 to 3.3.2 ([#​1631](https://togithub.com/Netflix/dgs-framework/issues/1631)) [@​dependabot](https://togithub.com/dependabot) - Bump actions/setup-java from 3 to 4 ([#​1729](https://togithub.com/Netflix/dgs-framework/issues/1729)) [@​dependabot](https://togithub.com/dependabot) - Bump actions/setup-python from 4 to 5 ([#​1738](https://togithub.com/Netflix/dgs-framework/issues/1738)) [@​dependabot](https://togithub.com/dependabot) - Bump actions/stale from 8.0.0 to 9.0.0 ([#​1739](https://togithub.com/Netflix/dgs-framework/issues/1739)) [@​dependabot](https://togithub.com/dependabot) ### [`v8.2.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.2.0) ##### What's Changed - disabling more SSE tests by [@​paulbakker](https://togithub.com/paulbakker) in [https://github.com/Netflix/dgs-framework/pull/1721](https://togithub.com/Netflix/dgs-framework/pull/1721) - Bump actions/checkout from 3.5.3 to 4.1.1 by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/Netflix/dgs-framework/pull/1678](https://togithub.com/Netflix/dgs-framework/pull/1678) - Update to Spring Boot 3.2 and added a RestClient based GraphQLClient by [@​paulbakker](https://togithub.com/paulbakker) in [https://github.com/Netflix/dgs-framework/pull/1726](https://togithub.com/Netflix/dgs-framework/pull/1726) - Autoconfigure after Spring boot scheduler autoconfig by [@​paulbakker](https://togithub.com/paulbakker) in [https://github.com/Netflix/dgs-framework/pull/1722](https://togithub.com/Netflix/dgs-framework/pull/1722) - add easily enabled/configured PrecachedDocumentProvider implementation by [@​Emily](https://togithub.com/Emily) in [https://github.com/Netflix/dgs-framework/pull/1732](https://togithub.com/Netflix/dgs-framework/pull/1732) - update to prefer graphql-java 21.3, fixes [#​1733](https://togithub.com/Netflix/dgs-framework/issues/1733) by [@​Emily](https://togithub.com/Emily) in [https://github.com/Netflix/dgs-framework/pull/1734](https://togithub.com/Netflix/dgs-framework/pull/1734) **Full Changelog**: https://github.com/Netflix/dgs-framework/compare/v8.1.1...v8.2.0 ### [`v8.1.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.1.1) ##### What’s Changed - Add new config setting for dataloader properties and a property for setting the schedule duration ([#​1720](https://togithub.com/Netflix/dgs-framework/issues/1720)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Update to Kotlin 1.9.20 ([#​1695](https://togithub.com/Netflix/dgs-framework/issues/1695)) [@​kilink](https://togithub.com/kilink) ### [`v8.1.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.1.0) ##### What’s Changed This release introduces a new configuration to enable ticker mode in the ScheduledExecutorService via `dgs.graphql.dataloaderTickerModeEnabled` . This uses the new ticker mode feature introduced in the [`3.2.1` release](https://togithub.com/graphql-java/java-dataloader/releases/tag/v3.2.1) of java-dataloader and additional fixes in `3.2.2`. This change allows the usage of chained dataloaders without the need to manually dispatch the loader calls using the [ScheduledDataLoaderRegistry with ticker mode enabled](https://togithub.com/graphql-java/java-dataloader/blob/master/README.md#scheduleddataloaderregistry-ticker-mode). - Update set up for ScheduledExecutorService. ([#​1705](https://togithub.com/Netflix/dgs-framework/issues/1705)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Update to gradle 8.0.2 ([#​1715](https://togithub.com/Netflix/dgs-framework/issues/1715)) [@​kilink](https://togithub.com/kilink) - Disable SSE Subscription tests ([#​1714](https://togithub.com/Netflix/dgs-framework/issues/1714)) [@​paulbakker](https://togithub.com/paulbakker) ### [`v8.0.3`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.0.3) #### What’s Changed - fix issue 1569 -- parse custom scalars in \_entities representations ([#​1710](https://togithub.com/Netflix/dgs-framework/issues/1710)) [@​Emily](https://togithub.com/Emily) ### [`v8.0.2`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.0.2) ##### What’s Changed - Undo switch to ScheduledDataLoaderRegistry and revert to DgsDataLoaderRegistry ([#​1709](https://togithub.com/Netflix/dgs-framework/issues/1709)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Update ci.yml ([#​1707](https://togithub.com/Netflix/dgs-framework/issues/1707)) [@​paulbakker](https://togithub.com/paulbakker) - feat: Improve IntelliJ support for json fields ([#​1683](https://togithub.com/Netflix/dgs-framework/issues/1683)) [@​rahulsom](https://togithub.com/rahulsom) - Update ci.yml ([#​1703](https://togithub.com/Netflix/dgs-framework/issues/1703)) [@​paulbakker](https://togithub.com/paulbakker) - Update ci.yml to only run on "push" not also "pull_request" ([#​1701](https://togithub.com/Netflix/dgs-framework/issues/1701)) [@​paulbakker](https://togithub.com/paulbakker) - Use KotlinDetector in DataFetcherInvoker ([#​1696](https://togithub.com/Netflix/dgs-framework/issues/1696)) [@​kilink](https://togithub.com/kilink) - Add coverage for non-nested enum input ([#​1698](https://togithub.com/Netflix/dgs-framework/issues/1698)) [@​kailyak](https://togithub.com/kailyak) ### [`v8.0.1`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.0.1) ##### What’s Changed - Fix issue where java datafetcher methods were incorrectly called as Kotlin function ([#​1694](https://togithub.com/Netflix/dgs-framework/issues/1694)) [@​paulbakker](https://togithub.com/paulbakker) - Fix handling of concrete type data fetchers for interface fields. ([#​1693](https://togithub.com/Netflix/dgs-framework/issues/1693)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - Inject DataLoaderOptionsProvider bean, if custom is provided. ([#​1688](https://togithub.com/Netflix/dgs-framework/issues/1688)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) ### [`v8.0.0`](https://togithub.com/Netflix/dgs-framework/releases/tag/v8.0.0) This release updates the graphql-java version to 21.2. The main breaking change affects the usage of the already deprecated `DefaultExceptionHandler::onException` method. If you have defined your own custom exception handlers, you will need to switch to using `handleException` instead of `onException`. ##### What’s Changed - Update to graphql-java 21.2 ([#​1667](https://togithub.com/Netflix/dgs-framework/issues/1667)) [@​srinivasankavitha](https://togithub.com/srinivasankavitha) - fix: in an input object a nested scalar is not mapped ([#​1660](https://togithub.com/Netflix/dgs-framework/issues/1660)) [@​gilteplitsky](https://togithub.com/gilteplitsky) - set kotlin.daemon.jvmargs ([#​1675](https://togithub.com/Netflix/dgs-framework/issues/1675)) [@​paulbakker](https://togithub.com/paulbakker) - chore: Update kotlin to 1.9.10 ([#​1668](https://togithub.com/Netflix/dgs-framework/issues/1668)) [@​rahulsom](https://togithub.com/rahulsom) - feat: Add [@​Language](https://togithub.com/Language)("graphql") to all method params that accept graphql ([#​1670](https://togithub.com/Netflix/dgs-framework/issues/1670)) [@​rahulsom](https://togithub.com/rahulsom)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.