Netflix / dgs-federation-example

Apache License 2.0
108 stars 43 forks source link

Bump graphql-dgs-platform-dependencies from 5.4.3 to 6.0.0 in /reviews-dgs #260

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Bumps graphql-dgs-platform-dependencies from 5.4.3 to 6.0.0.

Release notes

Sourced from graphql-dgs-platform-dependencies's releases.

v6.0.0

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.x.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

v5.5.1

What’s Changed

v5.5.0

What’s Changed

v5.4.5

What’s Changed

... (truncated)

Commits
  • 8265632 Use GraphQLContext instead of DgsContext for dataloaders (#1384)
  • b6481e7 Merge pull request #1392 from Netflix/spring-boot-3-candidate
  • cd385d7 Refresh dependencies.
  • 21e625a feat: Bumps major spring versions.
  • 1cfbacf Merge pull request #1370 from Netflix/update-ci-example-projects
  • 75cc9a0 Use dgs-examples-java-2.7 and dgs-examples-kotlin-2.7 for ci workflows.
  • 3526dd4 Merge pull request #1343 from wlsdnjs829/bugfix/custom-object-mapper
  • 514a9d4 Merge branch 'master' into bugfix/custom-object-mapper
  • 03f90f1 Merge pull request #1364 from nf-super-egg/jshin/null-safety-type-resolver
  • 1466288 Merge branch 'master' into jshin/null-safety-type-resolver
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 1 year ago

Superseded by #277.