dgs-framework

GraphQL for Java with Spring Boot made easy.

APACHE-2.0 License

Stars
3.1K

Bot releases are visible (Hide)

dgs-framework - v6.0.0

Published by github-actions[bot] almost 2 years ago

What’s Changed

The latest 6.0.0 release now supports Spring Boot 3.0.0.
This is a breaking change and requires the application to be using Spring Boot 3.0.0 and JDK 17.
We will continue to maintain a separate 5.5.x release train for supporting Spring Boot 2.7 for the near future for any minor bug fixes and improvements.

Only update to 6.x if your application is on Spring Boot 3! If your application is on Spring Boot 2.7, use the 5.x release train!!!

The following versions are updated:

  • Spring Boot 3.0.0
  • Spring Framework 6.0.3
  • Spring Security 6.0.1
  • Spring Cloud 2022.0.0
  • JDK target 17

Other Breaking Changes

Use GraphQLContext instead of DgsContext for dataloaders

Previously, the DGS framework passed DgsContext to dataloaders as context.
CustomContext is contained in DgsContext, and is generally retrieved with a static helper.

MyContext context = DgsContext.getCustomContext(environment);

The helper DgsContext::getCustomContext is able to pull MyContext from GraphQLContext, so this is non-breaking for users that employ the recommended helper method.
This is potentially a breaking change for any user code that coerces dataloader context to DgsContext manually.
Updating to using the recommended getCustomContext should fix any resulting issues.

MyContext context = (DgsContext)environment.context;

Special thanks to @Stuckya for contributions towards this Spring Boot 3 release.

PRs

  • Use GraphQLContext instead of DgsContext for dataloaders (#1384) @fotoetienne
  • Update to Spring boot 3 (#1392) @srinivasankavitha
dgs-framework - v5.5.1

Published by github-actions[bot] almost 2 years ago

What’s Changed

  • Use dgs-examples-java-2.7 and dgs-examples-kotlin-2.7 for ci workflows. (#1370) @srinivasankavitha
  • Apply custom objectmapper toSpringResponse() (#1343) @wlsdnjs829
  • add null safety to type resolver (#1364) @nf-super-egg
  • [issue #1078] kotlin flow (#1301) @antholeole
dgs-framework - v5.5.0

Published by github-actions[bot] almost 2 years ago

What’s Changed

  • Update DGS framework to Spring Boot 2.7. (#1355) @srinivasankavitha
dgs-framework - v5.4.5

Published by github-actions[bot] almost 2 years ago

What’s Changed

  • Avoid using deprecated instrumentation parameters for metrics. (#1354) @srinivasankavitha
dgs-framework - v5.4.4

Published by github-actions[bot] almost 2 years ago

What’s Changed

  • Move away from the deprecated GraphQL Java Instrumentation methods. (#1334) @berngp
  • When an exception was thrown from a dataloader, it would be wrapped i… (#1330) @rreta04
  • Make session security context available for both WebSocket protocols (#1313) @HuseinJ
  • Have the ability to turn off the BigDecimal and BigInteger extended scalars (#1311) @berngp
  • Bump the nebula-release plugin to 17.1.0 (#1312) @berngp
dgs-framework - v5.4.3

Published by github-actions[bot] almost 2 years ago

What’s Changed

  • Fix mapping with Kotlin default arguments (#1302) @kilink
dgs-framework - v5.4.2

Published by github-actions[bot] almost 2 years ago

What’s Changed

  • Rework the API expressed by DgsExecutionResult (#1298) @berngp
  • Enable to set dgs.graphql.websocket.path in webflux (#1246) @jvalde
  • [Bugfix] Refactor Metrics (#1280) @antholeole
  • WebClientGraphQLClient RequestBodyUriCustomizer (#1290) @berngp
  • fix: GraphiQL may render broken and cannot be fully disabled (#1183) @foo4u
  • Move to net.datafaker:javafaker :1.6.0 to avoid the snakeyaml 1.30-android issue (#1285) @berngp
dgs-framework - v5.4.1

Published by github-actions[bot] about 2 years ago

What’s Changed

  • DGS BOM is expresses stronger version constraints for GraphQL Java (#1284) @berngp
  • Dependency Lock Update (#1282) @berngp
  • [regresion] Allow Spock Stubs to be used as Data Fetchers (#1279) @berngp
dgs-framework - v5.4.0

Published by github-actions[bot] about 2 years ago

What’s Changed

  • Bump actions/cache from 3.0.10 to 3.0.11 (#1274) @dependabot
  • Bump log4j-to-slf4j from 2.18.0 to 2.19.0 (#1245) @dependabot
  • Bump mockk from 1.12.4 to 1.13.2 (#1256) @dependabot
  • Upgrade to graphql-java 19.0 & Federation 2.1.0 (#1270) @berngp
  • Bump actions/checkout from 2 to 3.1.0 (#1266) @dependabot
  • Bump actions/cache from 3.0.4 to 3.0.10 (#1267) @dependabot
  • BUG FIX (#1083): Complex InputArgument serialized as Optional List of Complex Type (#1254) @antholeole
dgs-framework - v5.3.0

Published by github-actions[bot] about 2 years ago

What’s Changed

  • Added mechanism for mvc to add response headers using extensions. (#1261) @paulbakker
  • Added ability to configure log level in subscription error (#1247) @nkonev
dgs-framework - v5.2.4

Published by github-actions[bot] about 2 years ago

What’s Changed

  • Upgrading to graphql-java 18.3 (#1239) @berngp
dgs-framework - v5.2.2

Published by github-actions[bot] about 2 years ago

What’s Changed

  • Fix excess methods leading to schema duplicate in case mocked DataFecher (#1216) @nkonev
  • fix: updating to use location to fetch data (#1220) @ClaudenirFreitas
  • Fix bugs in setting up cleanup task, and handling of connections for websocket subscriptions (#1213) @srinivasankavitha
dgs-framework - v5.2.1

Published by github-actions[bot] about 2 years ago

What’s Changed

  • fix the DGS graphql path (#1204) @1zg12
  • Implement graphql-transport-ws protocol for websocket subscriptions (webmvc & webflux) (#1200) @srinivasankavitha
  • Add duplicate data fetcher validation (#1202) @willemmanuel
  • Make fed resolver always apply configured exception handler (#1197) @raptros
dgs-framework - v5.1.1

Published by github-actions[bot] about 2 years ago

What’s Changed

  • Consume and produce bytes in DgsRestController (#1188) @kilink
  • Bump datafaker from 1.4.0 to 1.5.0 (#1178) @dependabot
dgs-framework - v5.1.0

Published by github-actions[bot] about 2 years ago

What’s Changed

New

  • Context contribution implementation via instrumentation (#1145) @theJC
  • feat: customize the subscription endpoint for sse (#1137) @Ancient-Dragon
  • feat: adding pagination description (#1129) @ClaudenirFreitas

Fixes

  • fix: Update Interface DgsReactiveQueryExecutor based on late (but great) f… (#1174) @theJC
  • Use registered dataloader name (instead of annotation's name) consistently. (#1144) @srinivasankavitha

Others

  • Bump mockk from 1.12.4 to 1.12.5 (#1179) @dependabot
  • Update README.md (#1173) @MayCXC
  • Update Gradle Wrapper from 7.4.1 to 7.5 (#1152) @github-actions
  • Bump log4j-to-slf4j from 2.17.2 to 2.18.0 (#1133) @dependabot
  • Bump log4j-api from 2.17.2 to 2.18.0 (#1132) @dependabot
dgs-framework - v5.0.5

Published by github-actions[bot] over 2 years ago

What’s Changed

New Features

  • SSE Request can now be done via GETs (#1122) @Ancient-Dragon
  • The subscription endpoint can now be customized via the dgs.graphql.websocket.path configuration property (#1117) @TYzzt
  • The GraphiQL Title can now be configured via the dgs.graphql.graphiql.title configuration property. (#1116) @springmonster

Other

  • Improve exception message for InvalidTypeResolverException (#1118) @springmonster
  • Bump actions/setup-python from 3 to 4 (#1107) @dependabot
  • Bump actions/cache from 3.0.3 to 3.0.4 (#1109) @dependabot

⭐ Special Thanks ⭐

  • @Ancient-Dragon
  • @TYzzt
  • @springmonster
dgs-framework - v5.0.4

Published by github-actions[bot] over 2 years ago

What’s Changed

Enhancements

  • DGS annotations now declare @Inherited so that they can be used along CGLIB proxies. (#1113) @noemielb
  • Allow filtering of DgsComponents in DgsSchemaProvider (#1101) @OskarKjellin

Other Chagnes

  • Bump actions/cache from 3.0.2 to 3.0.3 (#1093) @dependabot
  • Upgrade dependency locks to prepare for a release. (#1112) @berngp
dgs-framework - v4.10.5

Published by berngp over 2 years ago

What's Changed

Consider migrating to 5.x. We are not planning on back-porting additional fixes that will be applied to the 5.x branch.

Fixes

  • Addressing DgsGraphQLMetricsInstrumentation Latency increase by @berngp in (#1096)
  • Pass MultipartFile class to StdSerializer base class in MultipartFileSerializer by @berngp in (#1097)
  • Input argument without @InputArgument("input") stopped working by @berngp (#1103)

Full Changelog: https://github.com/Netflix/dgs-framework/compare/v4.10.4...v4.10.5

dgs-framework - v5.0.3

Published by github-actions[bot] over 2 years ago

What’s Changed

Fixes

  • Input argument without @InputArgument("input") stopped working (#1102) @berngp
  • Pass MultipartFile class to StdSerializer base class in MultipartFileSerializer (#1095) @kilink
dgs-framework - v5.0.2

Published by github-actions[bot] over 2 years ago

What’s Changed

Fixes

  • Addressing DgsGraphQLMetricsInstrumentation Latency increase (#1092) @berngp
  • DgsSchemaProvider API to expose resolved Datafetchers & field instrumentation (#1090) @berngp

Chores

  • Removed unsued LogEvent class (#1086) @berngp
  • Adopt Gradle JVM Toolchain (#1085) @berngp
  • Refactor InputArgumentTest (#1084) @berngp
  • chore(deps): Bump graphql-java-extended-validation to 18.1-hibernate-validator-6.2.0.Final (#1080) @setchy