github graphql-java/graphql-java v18.1
18.1

latest releases: v22.0, v21.5, v20.9...
23 months ago

This bug fix release contains an important fix

#2773

The latest 18.0 version of graphql-java changed the way raw values are resolved to canonical values.

However this revealed a bug in MaxQueryXXX instrumentation where invalid values (null being present for non nullable input values) caused an exception rather than generating a graphql error. This is not a behavior we intended.

The bug is only present if you use graphql.analysis.MaxQueryDepthInstrumentation and graphql.analysis.MaxQueryDepthInstrumentation

What's Changed

  • Make public static fields immutable in ScalarInfo by @kilink in #2770
  • Improve NonNullableValueCoercedAsNullException message by @dondonz in #2774
  • Make public static fields immutable in DirectiveInfo by @kilink in #2781
  • Replace usage of Stack with Deque / ArrayDeque by @kilink in #2780
  • Fix argument / format string mismatches by @kilink in #2779
  • Fixing the missing description for enum values for introspection to schema conversion by @ashpak-shaikh in #2778
  • Fix TypeRuntimeWiring.enumValues() error message by @martinbonnin in #2782
  • GraphQL Specification link updated by @firatkucuk in #2785
  • Variable document compilation now handles enums properly AND also null input values by @bbakerman in #2784
  • Add ParserOption to ignore single-line comments by @jord1e in #2788
  • Add missing annotations in DelegatingDataFetchingEnvironment by @kilink in #2797
  • Fix instances of incorrectly sized Maps and Sets by @kilink in #2798
  • Use jetbrains annotations by @bbakerman in #2801
  • Make some inner classes static by @kilink in #2804
  • Fix AstPrinter to print field descriptions by @david-castaneda in #2808
  • Make some static fields final by @kilink in #2803
  • Max query depth called later in beginExecuteOperation by @bbakerman in #2773

New Contributors

Full Changelog: v18.0...v18.1

Don't miss a new graphql-java release

NewReleases is sending notifications on new releases.