v16.0.0-rc.3
版本发布时间: 2021-10-06 01:12:45
graphql/graphql-js最新发布版本:v17.0.0-alpha.7(2024-08-14 17:36:36)
v16.0.0-rc.3 (2021-10-05)
Breaking Change 💥
-
#3250 Bring
visitorKeys
back (@ardatan) - #3261 Error.toStringTag change return string from 'Object' to 'GraphQLError' (@IvanGoncharov)
- #3270 visitor: speed up visitInParallel by dropping support for unknown nodes (@IvanGoncharov)
-
#3271 isNode: check exact value of node's
kind
(@IvanGoncharov) - #3283 validation: restrict maximum number of errors to 100 by default (@IvanGoncharov)
-
#3288 Move validation of names into
GraphQL*
constructors (@IvanGoncharov)
Deprecation ⚠
- #3252 Deprecate 'printError' function (@IvanGoncharov)
New Feature 🚀
- #3255 Add TResult to GraphQLFieldResolver signature (@tgriesser)
- #3259 Deprecate 'formatError' and added 'GraphQLError.toJSON' instead (@IvanGoncharov)
- #3272 collectFields/collectSubfields cleanup prototype (@IvanGoncharov)
- #3279 Make 'extensions' non-optional in schema types (@IvanGoncharov)
Bug Fix 🐞
-
#3257 fix: Preserve
deprecationReason
onGraphQLInputField
s (@trevor-scheer) -
#3273 type/introspection: add missing
__Directive.args(includeDeprecated:)
(@IvanGoncharov)
Docs 📝
- #3285 Improve documentation of validation rules (@IvanGoncharov)
Polish 💅
4 PRs were merged
-
#3264 lexer: Remove superfluous statement in
readDigits
(@Cito) - #3277 ESLint: enable some of the rules previously blocked by TS conversion (@IvanGoncharov)
- #3284 VariablesAreInputTypesRule: add test for ignoring unknown types (@IvanGoncharov)
- #3287 assertValidName: share character classes with lexer (@IvanGoncharov)
Internal 🏠
3 PRs were merged
- #3262 integrationTests: small refactoring (@IvanGoncharov)
- #3263 integrationTests: increase timeout to 60s (@IvanGoncharov)
- #3280 integrationTests/ts: split tests into separate files (@IvanGoncharov)
Dependency 📦
- #3276 Update deps (@IvanGoncharov)
Committers: 5
- Arda TANRIKULU(@ardatan)
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
- Tim Griesser(@tgriesser)
- Trevor Scheer(@trevor-scheer)