v18.1
版本发布时间: 2022-05-03 12:51:36
graphql-java/graphql-java最新发布版本:v22.3(2024-09-05 11:15:52)
This bug fix release contains an important fix
https://github.com/graphql-java/graphql-java/pull/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 https://github.com/graphql-java/graphql-java/pull/2770
- Improve NonNullableValueCoercedAsNullException message by @dondonz in https://github.com/graphql-java/graphql-java/pull/2774
- Make public static fields immutable in DirectiveInfo by @kilink in https://github.com/graphql-java/graphql-java/pull/2781
- Replace usage of Stack with Deque / ArrayDeque by @kilink in https://github.com/graphql-java/graphql-java/pull/2780
- Fix argument / format string mismatches by @kilink in https://github.com/graphql-java/graphql-java/pull/2779
- Fixing the missing description for enum values for introspection to schema conversion by @ashpak-shaikh in https://github.com/graphql-java/graphql-java/pull/2778
- Fix
TypeRuntimeWiring.enumValues()
error message by @martinbonnin in https://github.com/graphql-java/graphql-java/pull/2782 - GraphQL Specification link updated by @firatkucuk in https://github.com/graphql-java/graphql-java/pull/2785
- Variable document compilation now handles enums properly AND also null input values by @bbakerman in https://github.com/graphql-java/graphql-java/pull/2784
- Add ParserOption to ignore single-line comments by @jord1e in https://github.com/graphql-java/graphql-java/pull/2788
- Add missing annotations in DelegatingDataFetchingEnvironment by @kilink in https://github.com/graphql-java/graphql-java/pull/2797
- Fix instances of incorrectly sized Maps and Sets by @kilink in https://github.com/graphql-java/graphql-java/pull/2798
- Use jetbrains annotations by @bbakerman in https://github.com/graphql-java/graphql-java/pull/2801
- Make some inner classes static by @kilink in https://github.com/graphql-java/graphql-java/pull/2804
- Fix
AstPrinter
to print field descriptions by @david-castaneda in https://github.com/graphql-java/graphql-java/pull/2808 - Make some static fields final by @kilink in https://github.com/graphql-java/graphql-java/pull/2803
- Max query depth called later in beginExecuteOperation by @bbakerman in https://github.com/graphql-java/graphql-java/pull/2773
New Contributors
- @kilink made their first contribution in https://github.com/graphql-java/graphql-java/pull/2770
- @ashpak-shaikh made their first contribution in https://github.com/graphql-java/graphql-java/pull/2778
- @martinbonnin made their first contribution in https://github.com/graphql-java/graphql-java/pull/2782
- @firatkucuk made their first contribution in https://github.com/graphql-java/graphql-java/pull/2785
- @david-castaneda made their first contribution in https://github.com/graphql-java/graphql-java/pull/2808
Full Changelog: https://github.com/graphql-java/graphql-java/compare/v18.0...v18.1