Skip to content

Releases: graphql-java/graphql-java

25.0.beta-5

01 Aug 00:17
Compare
Choose a tag to compare
25.0.beta-5 Pre-release
Pre-release

This is another beta release for the upcoming version 25.

This beta-5 release includes improvements to the Profiler to make it easier to use and analyse. More documentation on the Profiler is to come.

A word of warning

While all features are tested and we consider them ready to be used, we don't guarantee that this is a stable version: this means there will be more breaking changes until we reach 25.0.

This version is intended for testing and providing feedback to the GraphQL Java team.

What's Changed

Full Changelog: v25.0.beta-4...v25.0.beta-5

25.0.beta-4

28 Jul 01:51
Compare
Choose a tag to compare
25.0.beta-4 Pre-release
Pre-release

This is another beta release for the upcoming version 25.

The key change in this beta-4 release is a change to "Delayed" DataLoaders to greatly simplify the use of this feature. In an earlier beta release we tried out a "batch window" for DataLoaders depending on an async function, but in testing we've found this adds complexity, particularly if a server is not already using a ScheduledExecutorService. Note this does not affect the "Chained" DataLoader case where one DataLoader is dependent on another DataLoader in the same DataFetcher. More documentation is to come.

A word of warning

While all features are tested and we consider them ready to be used, we don't guarantee that this is a stable version: this means there will be more breaking changes until we reach 25.0.

This version is intended for testing and providing feedback to the GraphQL Java team.

What's Changed

Full Changelog: v25.0-beta-3...v25.0.beta-4

24.2

28 Jul 03:44
383095c
Compare
Choose a tag to compare

This is a small bugfix release, to use the latest version of DataLoader that includes nullability annotation improvements. Thanks to the community to providing feedback.

See https://github.com/graphql-java/java-dataloader/releases/tag/v5.0.2 and https://github.com/graphql-java/java-dataloader/releases/tag/v5.0.1 for the details

What's Changed

  • Update to DataLoader 5.0.2 - backport for 24.2 by @dondonz in #4060

Full Changelog: v24.1...v24.2

25.0.beta-3

21 Jul 04:44
Compare
Choose a tag to compare
25.0.beta-3 Pre-release
Pre-release

This is another beta release for the upcoming version 25.

The key change in this beta-3 release is the addition of the Profiler, which will track interesting execution information such as DataLoader dispatch points, DataFetcher usage, and count of materialised values. You can opt into this via ExecutionInput. We'll have more documentation available ahead of the official release of v25.

A word of warning

While all features are tested and we consider them ready to be used, we don't guarantee that this is a stable version: this means there will be more breaking changes until we reach 25.0.

This version is intended for testing and providing feedback to the GraphQL Java team.

What's Changed

Full Changelog: v25.0.beta-2...v25.0-beta-3

25.0.beta-2

10 Jul 03:14
Compare
Choose a tag to compare
25.0.beta-2 Pre-release
Pre-release

This is a beta release for the upcoming version 25.

A word of warning

While all features are tested and we consider them ready to be used, we don't guarantee that this is a stable version: this means there will be more breaking changes until we reach 25.0.

This version is intended for testing and providing feedback to the GraphQL Java team.

This 2nd beta release includes a few more commits than the 1st beta release, notably a nullability bugfix for DataLoader

What's Changed

Full Changelog: 25.0.beta-1...v25.0.beta-2

25.0.beta-1

07 Jul 22:49
Compare
Choose a tag to compare
25.0.beta-1 Pre-release
Pre-release

This is a beta release for the upcoming version 25.

A word of warning

While all features are tested and we consider them ready to be used, we don't guarantee that this is a stable version: this means there will be more breaking changes until we reach 25.0.

This version is intended for testing and providing feedback to the GraphQL Java team.

Changes

What's Changed

Read more

24.1

30 May 04:41
fcb48ba
Compare
Choose a tag to compare

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 @andimarek in #3994
  • Deterministic source location backport 24 by @andimarek in #3995

Full Changelog: v24.0...v24.1

24.0

16 May 03:14
cab5b9f
Compare
Choose a tag to compare

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 DataLoaderOptions class, which was a good thing.

However it left the old mutative setXXX methods in place and made them immutable. This was a mistake. This leads to bugs at runtime for example

DataLoaderOptions 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 setXXX methods and requires the Builder methods 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

Full Changelog: v23.1...v24.0

22.4

13 May 09:11
059a0ff
Compare
Choose a tag to compare

A very small release that backports an improvement to avoid wrapping materialized fieldValueObject in a CompletableFuture #3943

This change will shortly be released in the new 24.0 release. This is only a backport.

What's Changed

  • avoid wrapping materialized fieldValueObject in a completable future by @samuelAndalon in #3944

Full Changelog: v22.3...v22.4

23.1

15 Apr 07:08
6ff6f7d
Compare
Choose a tag to compare

Do Not Use

Version 23.x is considered poisoned and we don't recommend you upgrade to it

See the release notes of v24 for more details on what this is the case.

Previous release notes

This reverts a bug in 23.0 introduced in #3871.

Please use 23.1, and not 23.0.

Update: we will shortly release 24.0, which replaces the 23 line of releases. Please do not use any v23 releases going forward.