Bump com.graphql-java:graphql-java from 22.0 to 24.1
Type: Pull Request
State: Closed
Association: None
Comments: 1
(12 months ago)
(11 months ago)
(11 months ago)
dependencies java
Bumps com.graphql-java:graphql-java from 22.0 to 24.1.
Release notes
Sourced from com.graphql-java:graphql-java's releases.
24.1
This is bugfix release for 24.
Main change is #3994: If you have defer enabled (an experimental feature) and use data loaders for mutations your requests would hang, because the data loaders are not dispatched correctly.
Additionally this release contains #3995.
Cheers
What's Changed
- bugfix: fix mutations data loading dispatching when defer is enabled by
@andimarekin graphql-java/graphql-java#3994- Deterministic source location backport 24 by
@andimarekin graphql-java/graphql-java#3995Full Changelog: https://github.com/graphql-java/graphql-java/compare/v24.0...v24.1
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
... (truncated)
Commits
fcb48baMerge pull request #3995 from graphql-java/deterministic-source-location-back...e72fddcupdate gradle wrapper validationa66c594tidy9ba39f3deterministically serialize SourceLocation1db8cf4Merge pull request #3994 from graphql-java/mutation-with-defer-enabled-v2437aa318fix mutations data loading dispatching when defer is enabledcab5b9fMerge 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 allocations- 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: | 1986228 |
| UUID: | 2609385770 |
| Node ID: | PR_kwDODD_M4c6biBEq |
| Host: | GitHub |
| Repository: | graphql-java/graphql-java-extended-validation |
| Mergeable: | Yes |
| Merge State: | Clean |