Download Latest Version v14.3.0 source code.zip (189.9 kB) Google Add to Preferred Sources
Home / v14.2.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-10 4.3 kB
v14.2.0 source code.tar.gz 2026-10-10 88.9 kB
v14.2.0 source code.zip 2026-10-10 146.6 kB
Totals: 3 Items   239.7 kB 0

Behaviour changes

  • Generic superclasses (#825, fixes [#460] and [#218]): type variables are now resolved against the most specific class. Methods inherited from a generic superclass keep their resolved type arguments, so two subclasses that bind them differently (e.g. Page<A> and Page<B>) can no longer share one GraphQL type. Schema parsing fails with "Two different classes used for type" in that case.
  • Plain futures (#839, fixes [#203]): a resolver that returns a Future graphql-java can't wait on (anything that isn't a CompletionStage, e.g. a FutureTask or RxJava's toFuture()) now fails the field with an error that says what to return instead. Before, the future itself reached graphql-java as the field value.
  • Generic wrapper results (#836, fixes [#371]): a generic wrapper transformer that returns null now resolves the field to null instead of falling back to the wrapper object.
  • Suspend resolvers (#831, fixes [#419]): they now start undispatched and run on the calling thread until their first suspension, so DataLoader loads are queued before graphql-java dispatches them.
  • Directive wirings (#830, [#834]): several wirings on the same element now chain, each one starting from the previous one's output. Applied directives now include arguments that have a default value in the directive definition.

Deprecations

  • Passing a CoroutineScope as the context object is deprecated and logs a warning. Put it in the GraphQLContext under the CoroutineScope class key instead. Support for the context object will be removed in the next major release.
  • getDirective(), getDirectives() and getDirective(name) on SchemaDirectiveWiringEnvironmentImpl are deprecated in favour of getAppliedDirective(), getAppliedDirectives() and getAppliedDirective(name).

What's Changed

Full Changelog: https://github.com/graphql-java-kickstart/graphql-java-tools/compare/v14.1.0...v14.2.0

Source: README.md, updated 2026-10-10