Releases: graphql/graphql-js
Releases · graphql/graphql-js
v15.7.0
v15.7.0 (2021-10-26)
New Feature 🚀
- #3327 Change type of error extensions from anonymous Record to named interfaces (@IvanGoncharov)
- #3333 GraphQLError: major refactoring to be more in line with v16 (@IvanGoncharov)
- #3334 GraphQLError: keep extensions always present (@IvanGoncharov)
Bug Fix 🐞
- #3332 GraphQLError: fix empty
locations
if error got nodes without locations (@IvanGoncharov) - #3335 GraphQLError: restore order of enumerable fields (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v16.0.0-rc.6
v16.0.0-rc.6 (2021-10-23)
Breaking Change 💥
- #3326 GraphQLError: enumerate only spec prescribed properties (@IvanGoncharov)
- #3328 GraphQLField: relax default value of TArgs to
any
(@IvanGoncharov)
Bug Fix 🐞
- #3278 lexer: fix expression to decode surrogate pairs (@Cito)
- #3325 GraphQLError: fix empty
locations
if error got nodes without locations (@IvanGoncharov)
Polish 💅
2 PRs were merged
- #3322 Lexer: use standard JS functions to handle Unicode (@IvanGoncharov)
- #3324 GraphQLError-test: merge check of source with rest of the properties (@IvanGoncharov)
Internal 🏠
Committers: 2
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
v16.0.0-rc.5
v16.0.0-rc.5 (2021-10-18)
Breaking Change 💥
- #3317 Convert const "enum-like" maps to TS enums (@IvanGoncharov)
- #3319 Add message that we only support TS >= 4.1.0 (@IvanGoncharov)
Deprecation ⚠
- #3318 Deprecate 'ASTKindToNode' (@IvanGoncharov)
New Feature 🚀
- #3315 Change type of error extensions from anonymous Record to named interfaces (@IvanGoncharov)
Bug Fix 🐞
Dependency 📦
- #3320 Update deps (@IvanGoncharov)
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Yaacov Rydzinski (@yaacovCR)
v16.0.0-rc.4
v16.0.0-rc.4 (2021-10-13)
Breaking Change 💥
- #3311 GraphQLError: use enumerable properties (@IvanGoncharov)
Deprecation ⚠
New Feature 🚀
- #3208 Add 'UniqueArgumentDefinitionNamesRule' validation rule (@IvanGoncharov)
- #3305 Added 'GraphQLSchema.getRootType' and deprecate
getOperationRootType
(@IvanGoncharov) - #3306 Deprecate SubscriptionArgs and broaden ExecutionArgs (@yaacovCR)
- #3312 language: change OperationTypeNode to enum (@lekoaf)
- #3313 GraphQLError: keep extensions always present (@IvanGoncharov)
Bug Fix 🐞
- #3308 execute: Correctly report missing root type error (@IvanGoncharov)
Polish 💅
6 PRs were merged
- #2984 refactor(language/ast.d.ts): use Kind enum type (@jjangga0214)
- #3290 Remove unnecessary Promise.resolve and Promise.reject (@IvanGoncharov)
- #3293 Align calls of buildExecutionContext (@yaacovCR)
- #3307 Reuse
groupBy
in validation rules (@IvanGoncharov) - #3309 Move deprecated
SubscriptionArgs
to 'src/subscription' (@IvanGoncharov) - #3310 expectJSON: return custom object instead of
expect
(@IvanGoncharov)
Internal 🏠
2 PRs were merged
- #3289 integrationTests/ts: Simplify extensions tests (@IvanGoncharov)
- #3304 README: remove credits for
*.d.ts
files (@IvanGoncharov)
Committers: 4
- Ivan Goncharov(@IvanGoncharov)
- null(@jjangga0214)
- Martin Trobäck(@lekoaf)
- Yaacov Rydzinski (@yaacovCR)
v16.0.0-rc.3
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)
v15.6.1
v15.6.1 (2021-10-05)
Bug Fix 🐞
- #3275 type/introspection: add missing
__Directive.args(includeDeprecated:)
(@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v15.6.0
v15.6.0 (2021-09-20)
New Feature 🚀
- #3267 Depreacate 'VisitorKeyMap' and backported 'ASTVisitorKeyMap' type (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v15.5.3
v15.5.3 (2021-09-06)
Bug Fix 🐞
- #3254 Parser: fix function definition of parseArguments and parseArgument (@n1ru4l)
- #3260 backport: Preserve
deprecationReason
onGraphQLInputField
s (@IvanGoncharov)
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Laurin Quast(@n1ru4l)