Bump com.graphql-java:graphql-java from 22.3 to 24.0
Type: Pull Request
State: Open
Association: Contributor
Comments: 0
(about 1 year ago)
(about 1 year ago)
dependencies java
Bumps com.graphql-java:graphql-java from 22.3 to 24.0.
Release notes
Sourced from com.graphql-java:graphql-java's releases.
24.0 is a breaking change
This release is an unexpected breaking change release. It was made to help propagate a fix in the DataLoader library
In DataLoader version 4.0.0 we introduced immutability into the
DataLoaderOptionsclass, which was a good thing.However it left the old mutative
setXXXmethods in place and made them immutable. This was a mistake. This leads to bugs at runtime for exampleDataLoaderOptions options = DataLoaderOptions.newOptions(); if (maxBatchSize != BatchLoader.UNSET_BATCH_SIZE) { options.setMaxBatchSize(maxBatchSize); } return options.setCacheMap(cache);The above code would continue to compile but the
setMaxBatchSize()would never take affected at runtime with the immutable support.So to help address this bug a DataLoader version 5.0.0 was released and it has removed the
setXXXmethods and requires theBuildermethods to be used to ensure that code that relied on the old mutative methods now break at compile time and not at runtime.In turn we have released this new version of graphql-java - we have designated it a breaking change because of this transitive DataLoader breaking change
We consider v23.x poisoned and we don't recommend you use it because of the latent bug above.
But the release notes of 23 are still relevant when you upgrade from 22: https://github.com/graphql-java/graphql-java/releases/tag/v23.0
Small performance fixes
There are also a set of small performance oriented fixes that have gone out in this release.
What's Changed
- 24.x Cherry pick JSpecify OSGI config by
@dondonzin graphql-java/graphql-java#3960- 24.x Backport of avoid wrapping materialised value by
@dondonzin graphql-java/graphql-java#3962- Upgrade to DataLoader 5.0.0 by
@dondonzin graphql-java/graphql-java#3961- Cherry pick DataFetcherResult helpers by
@dondonzin graphql-java/graphql-java#3965- Cherry pick PR 3942 To add singleton to factory method by
@dondonzin graphql-java/graphql-java#3968- Cherry pick PR 3935 by
@dondonzin graphql-java/graphql-java#3969- Cherry pick 3934 for execution step info builder changes by
@dondonzin graphql-java/graphql-java#3970- Cherry pick 3932 to remove streams from FPKit by
@dondonzin graphql-java/graphql-java#3971- Cherry pick 3931 imperative filters by
@dondonzin graphql-java/graphql-java#3972- Cherry pick 3930 remove optional streams by
@dondonzin graphql-java/graphql-java#3973- Cherry pick PR 3929 reduce nonnullablefieldvalidator allocations by
@dondonzin graphql-java/graphql-java#3974Full Changelog: https://github.com/graphql-java/graphql-java/compare/v23.1...v24.0
23.1
Do Not Use
... (truncated)
Commits
cab5b9fMerge pull request #3974 from graphql-java/Cherry-pick-3929-dont-allocate-non...861050aMerge pull request #3973 from graphql-java/Cherry-pick-3930-remove-optional-s...f8858eaMerge pull request #3972 from graphql-java/Cherry-pick-3931-imperative-filter...fbb0fd1Cherry pick PR 3929 reduce nonnullablefieldvalidator allocations697298eCherry pick 3930 remove optional streams306c66aMerge pull request #3971 from graphql-java/Cherry-pick-3932-remove-streams-fr...53a5215Merge pull request #3970 from graphql-java/Cherry-pick-3934-execution-step-in...fb68283Cherry pick 3931 imperative filterse20dad9Merge pull request #3969 from graphql-java/Cherry-pick-3935-skip-builder-on-esp5676eb9Merge pull request #3968 from graphql-java/Cherry-pick-3942-fix-singleton-to-...- Additional commits viewable in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Pull Request Statistics
1
1
+1
-1
Package Dependencies
Technical Details
| ID: | 475162 |
| UUID: | 2529248701 |
| Node ID: | PR_kwDOCQKvds6WwUW9 |
| Host: | GitHub |
| Repository: | graphql-java/graphql-java-extended-scalars |
| Merge State: | Unknown |