Releases: Netflix/dgs-framework
v9.0.1
What’s Changed
- Ignore unknown Json properties. (#1934) @srinivasankavitha
- Add mapping for dgs graphql path property to spring-graphql integration (#1933) @kailyak
v9.0.0 Spring Boot 3.3 and GraphQL Java 22
This release builds against Spring Boot 3.3, Spring GraphQL 1.3 and GraphQL Java 22 🎉
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: #1920
The most likely source of incompatibility are the changes in Instrumentation in GraphQL Java.
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.8.0-rc.1
Format
v8.7.1
What’s Changed
- Fixing release (#1927) @paulbakker
- Replace ByteBuddy with Java Proxy (#1904) @AyushChaubey
- Reconfigure BOM usage to use Spring Dependency Recommender plugin (#1918) @paulbakker
- Add a null check for errorType since this could be null for custom errors. (#1919) @srinivasankavitha
- Attempt to upgrade to Gradle 8.7 (#1917) @paulbakker
v8.7.0-rc.1
What’s Changed
- Replace ByteBuddy with Java Proxy (#1904) @AyushChaubey
- Reconfigure BOM usage to use Spring Dependency Recommender plugin (#1918) @paulbakker
- Add a null check for errorType since this could be null for custom errors. (#1919) @srinivasankavitha
- Attempt to upgrade to Gradle 8.7 (#1917) @paulbakker
v8.6.3
What's Changed
- Attempt to upgrade to Gradle 8.7 by @paulbakker in #1917
- Add a null check for errorType since this could be null for custom errors. by @srinivasankavitha in #1919
- Reconfigure BOM usage to use Spring Dependency Recommender plugin by @paulbakker in #1918
Full Changelog: v8.6.1...v8.6.3
v8.6.2
What's Changed
- Attempt to upgrade to Gradle 8.7 by @paulbakker in #1917
- Add a null check for errorType since this could be null for custom errors. by @srinivasankavitha in #1919
- Reconfigure BOM usage to use Spring Dependency Recommender plugin by @paulbakker in #1918
Full Changelog: v8.6.1...v8.6.2
v8.6.1
What’s Changed
- Convert execution aborted errors to a bad request. (#1916) @srinivasankavitha
- Bump actions/upload-artifact from 3 to 4 (#1748) @dependabot
- Bump release-drafter/release-drafter from 5 to 6 (#1810) @dependabot
- Bump actions/checkout from 4.1.5 to 4.1.6 (#1915) @dependabot
- Update to Kotlin 1.9.24 (#1912) @kilink
- Bump actions/checkout from 4.1.3 to 4.1.5 (#1908) @dependabot
- Add the path if it exists in the error for datafetching execptions. (#1910) @srinivasankavitha
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) @srinivasankavitha
v8.5.8
What’s Changed
- Disable compiler warnings from javadoc (#1896) @paulbakker
- Add stacktrace to exception log. (#1895) @srinivasankavitha