dgs-framework

GraphQL for Java with Spring Boot made easy.

APACHE-2.0 License

Stars
3.1K

Bot releases are visible (Hide)

dgs-framework - v9.1.1 Latest Release

Published by github-actions[bot] about 1 month ago

What’s Changed

  • Fix: Close the scheduled data loader registry upon completion of request (#2007) @srinivasankavitha
  • Delete old code. (#2006) @srinivasankavitha
  • added codeowners file (#2002) @paulbakker
  • Added api dependency to org.springframework.graphql:spring-graphql-test (#1999) @paulbakker
  • Update to Spring Boot 3.3.3 (#1992) @kilink
  • Use slf4j logger in DgsSpringGraphQLSourceAutoConfiguration (#1990) @kilink
  • Update Gradle Wrapper from 8.9 to 8.10 (#1988) @github-actions
dgs-framework - v9.1.0

Published by github-actions[bot] 2 months ago

What’s Changed

  • Add new DgsDataFetchingEnvironment.isArgumentSet (#1987) @paulbakker
  • Remove locking from DgsSchemaProvider (#1984) @kilink
  • Remove unused VirtualThreadTaskExecutor class (#1983) @kilink
  • Use SimpleAsyncTaskExecutor for virtual threads (#1981) @kilink
  • Update to Kotlinter 4.4.1 (#1982) @kilink
  • Support mapping to record classes (#1980) @kilink
  • Handling Serialization Errors (#1970) @mrvaruntandon
  • Support Kotlin value class parameters to data fetchers (#1979) @kilink
  • Fix warnings in TrivialDataFetcherTest (#1978) @kilink
  • Fix warning in DgsSpringGraphQLEnvironmentPostProcessor (#1977) @kilink
  • Support conversions involving Kotlin value classes (#1976) @kilink
  • Update Gradle Wrapper from 8.8 to 8.9 (#1958) @github-actions
  • Update dependency locks (#1975) @kilink
  • Bump io.spring.dependency-management from 1.1.5 to 1.1.6 (#1960) @dependabot
  • Bump org.springframework.graphql:spring-graphql-test from 1.3.1 to 1.3.2 (#1966) @dependabot
  • Add ability to supply custom ObjectMapper to clients (#1973) @kilink
  • Remove custom VirtualThreadTaskExecutor (#1972) @kilink
  • Legacy (non Spring GraphQL) starters now show a deprecation warning (#1971) @paulbakker
  • Update to Spring Boot 3.3.2 (#1965) @kilink
  • Update to Kotlin 1.9.25 (#1964) @kilink
  • Make GraphQLContextContributor a functional interface (#1961) @kilink
  • Add trivial field to DgsData / DgsQuery annotations for marking trivial data fetcher methods (#1955) @kilink
  • Enable toggling introspection via spring property (#1956) @kailyak
dgs-framework - v9.0.4

Published by Emily 3 months ago

What's Changed

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

dgs-framework - v9.0.3

Published by github-actions[bot] 4 months ago

What’s Changed

  • Register jdk8 module in DgsSSESubscriptionHandler (#1950) @kailyak
dgs-framework - v9.0.2

Published by github-actions[bot] 4 months ago

What’s Changed

  • Fix conversion of input objects with Optional fields (#1951) @kilink
  • Fix some warnings and deprecations (#1948) @kilink
  • Conditionally instantiate bean for ServerWebExchangeContextFilter. (#1949) @srinivasankavitha
  • Add getSourceOrThrow helper method to DgsDataFetchingEnvironment (#1947) @kilink
  • Pin to graphql-java 22.1, fix compilation errors (#1945) @kilink
  • Disable sdl comments in executable schema (#1935) @kailyak
  • Update to Spring Boot 3.3.1 (#1940) @kilink
  • Fix deserialization of GraphQLErrorDebugInfo (#1939) @kilink
  • Bump actions/checkout from 4.1.6 to 4.1.7 (#1938) @dependabot
dgs-framework - v9.0.1

Published by github-actions[bot] 4 months ago

What’s Changed

  • Ignore unknown Json properties. (#1934) @srinivasankavitha
  • Add mapping for dgs graphql path property to spring-graphql integration (#1933) @kailyak
dgs-framework - v9.0.0 Spring Boot 3.3 and GraphQL Java 22

Published by paulbakker 5 months ago

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: https://github.com/Netflix/dgs-framework/pull/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).

dgs-framework - v8.8.0-rc.1

Published by paulbakker 5 months ago

dgs-framework - v8.7.1

Published by github-actions[bot] 5 months ago

What’s Changed

dgs-framework - v8.7.0

Published by srinivasankavitha 5 months ago

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
dgs-framework - v8.6.3

Published by srinivasankavitha 5 months ago

What's Changed

Full Changelog: https://github.com/Netflix/dgs-framework/compare/v8.6.1...v8.6.3

dgs-framework - v8.6.2

Published by srinivasankavitha 5 months ago

What's Changed

Full Changelog: https://github.com/Netflix/dgs-framework/compare/v8.6.1...v8.6.2

dgs-framework - v8.7.0-rc.1

Published by github-actions[bot] 5 months ago

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
dgs-framework - v8.6.1

Published by github-actions[bot] 5 months ago

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
dgs-framework - v8.6.0

Published by github-actions[bot] 5 months ago

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
dgs-framework - v8.5.8

Published by github-actions[bot] 6 months ago

What’s Changed

  • Disable compiler warnings from javadoc (#1896) @paulbakker
  • Add stacktrace to exception log. (#1895) @srinivasankavitha
dgs-framework - v8.5.7

Published by github-actions[bot] 6 months ago

What’s Changed

  • Update to Spring Boot 3.2.5 (#1893) @kilink
  • Bump actions/checkout from 4.1.2 to 4.1.3 (#1890) @dependabot
  • Add flag for collecting metadata information for native image (#1891) @AyushChaubey
dgs-framework - v8.5.7-rc.1

Published by kailyak 6 months ago

Release candidate for internally testing additional metrics.

dgs-framework - v8.5.6

Published by github-actions[bot] 6 months ago

What’s Changed

  • Set InputArgumentResolver to highest priority so it is matched first (#1884) @srinivasankavitha
  • Introduce optional log level property on DgsException (#1881) @paulbakker
  • Fix DgsDataLoaderRegistryConsumer when wrapped with Micrometer (#1859) @prokop7
dgs-framework - v8.5.6-rc.1

Published by kailyak 6 months ago

Release candidate for testing adding request and response metrics