Releases: graphql/graphql-js
Releases · graphql/graphql-js
v15.8.0
v15.8.0 (2021-12-07)
New Feature 🚀
- #3410 Refine getNamedType() for Input and Output types (@IvanGoncharov)
Internal 🏠
2 PRs were merged
- #3411 publish 15.x.x packages only under '15.x.x' tag (@IvanGoncharov)
- #3412 cspell: do not show progress (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v16.0.1
v16.0.1 (2021-11-01)
Bug Fix 🐞
- #3354 Lexer: fix line & column for multiline BLOCK_STRING tokens (@IvanGoncharov)
Polish 💅
- #3348 GraphQLError-test: text how extensions is inherited from originalError (@IvanGoncharov)
Internal 🏠
- #3347 checkgit.sh: Added a check for local modifications (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v16.0.0
v16.0.0 (2021-10-28)
Breaking Change 💥
- #2896 Remove deprecated rule aliases (@IvanGoncharov)
- #2897 Remove 'findDeprecatedUsages' that was previously deprecated (@IvanGoncharov)
- #2898 Remove 'GraphQLSchema::isPossibleType' that was previously deprecated (@IvanGoncharov)
- #2900 Drop support for long deprecated comments as descriptions (@IvanGoncharov)
- #2902 Remove deprecated {GraphQLEnumValue, GraphQLField}::isDeprecated (@IvanGoncharov)
- #2903 Removed parser support for legacy syntax (@IvanGoncharov)
- #2904 Remove support for positional args in graphql/execute/subscribe func (@IvanGoncharov)
- #2905 resolveType: remove support for returning GraphQLObjectType (@IvanGoncharov)
- #2906 Convert GraphQLList and GraphQLNonNull into proper classes (@IvanGoncharov)
- #2907 Remove 'find' polyfill (@IvanGoncharov)
- #2911 Remove 'isFinite' & 'isInteger' polyfills (@IvanGoncharov)
- #2912 Drop 'Array.from' polyfill (@IvanGoncharov)
- #2913 Remove polyfills for Symbol (@IvanGoncharov)
- #2914 Remove Node's custom inspect function (@IvanGoncharov)
- #2915 Drop support for TS before 3.7 (@IvanGoncharov)
- #2916 refactor: replace default exports with named exports (@IvanGoncharov)
- #2917 Drop support for non-iteratable ArrayLike objects (@IvanGoncharov)
- #2918 Drop support for older browsers (@IvanGoncharov)
- #2919 Remove polyfills for 'Object.values' & 'Object.entries' (@IvanGoncharov)
- #2920 Deprecate fragments with variables and reflect that in naming (@IvanGoncharov)
- #2921 Deprecate 'getFieldDefFn' arg of 'TypeInfo' and move it last (@IvanGoncharov)
- #2923 Drop support for Node10 (@IvanGoncharov)
- #2930 visitor: remove
visitorKeys
argument (@IvanGoncharov) - #2931 visit: remove template arguments for possible nodes (@IvanGoncharov)
- #2951 Forbid null & undefined as return value of 'interfaces' thunk (@IvanGoncharov)
- #2952 Restrict Thunks to support only ObjMap and Array (@IvanGoncharov)
- #2955 feat: convert Thunk to ThunkArray and ThunkObjMap (@saihaj)
- #2957 visitor: remove 4th form of visitor (@IvanGoncharov)
- #2997 print/printSchema: remove trailing new line (@IvanGoncharov)
- #3003 TS: use
unknown
(TS) formixed
(flow) (@saihaj) - #3006 ts: Switch extension values to unknown to match Flow types (@IvanGoncharov)
- #3027 subscribe: drop mapping of AsyncIterable errors (@IvanGoncharov)
- #3031 Drop experimental online parser (@IvanGoncharov)
- #3032 Use specifiedBy instead of specifiedByUrl (@Code-Hex)
- #3055 Drop Node v15 (@IvanGoncharov)
- #3110 Switch entire codebase to TypeScript (@IvanGoncharov)
- #3114 Drop support for TS 3.7 (@IvanGoncharov)
- #3131 TS: Drop template argument from GraphQLFormattedError (@IvanGoncharov)
- #3132 Synchronise
*.d.ts
with sources converted to TS (@IvanGoncharov) - #3182 Switch schema types to use ReadonlyArrays (@IvanGoncharov)
- #3228 Add type params to GraphQLScalar (@IvanGoncharov)
- #3231 execute: Forbid to return
null
fromserialize
function (@IvanGoncharov) - #3239 execute: Forbid to return
null
fromserialize
function (@IvanGoncharov) - #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) - #3311 GraphQLError: use enumerable properties (@IvanGoncharov)
- #3317 Convert const "enum-like" maps to TS enums (@IvanGoncharov)
- #3319 Add message that we only support TS >= 4.1.0 (@IvanGoncharov)
- #3326 GraphQLError: enumerate only spec prescribed properties (@IvanGoncharov)
- #3328 GraphQLField: relax default value of TArgs to
any
(@IvanGoncharov)
Deprecation ⚠
- #3252 Deprecate 'printError' function (@IvanGoncharov)
- #3292 Deprecate 'graphql/subscriptions' and move code to 'execution' (@yaacovCR)
- #3318 Deprecate 'ASTKindToNode' (@IvanGoncharov)
New Feature 🚀
- #2932 print: remove indentation inside of block strings (@IvanGoncharov)
- #2996 extensionASTNodes: always populate with empty array (@IvanGoncharov)
- #3059 Refine parse and AST to represent ConstValue (@leebyron)
- #3063 Refine getNamedType() for Input and Output types (@leebyron)
- #3117 RFC: Support full Unicode in lexer (@leebyron)
- #3170 Add 'Symbol.toStringTag' into every public...
v15.7.2
v16.0.0-rc.7
v16.0.0-rc.7 (2021-10-27)
Bug Fix 🐞
- #3339 Fix TS error caused by importing internal files directly (@IvanGoncharov)
Polish 💅
- #3336 GraphQLError: Add test to check order of fields in JSON.stringify (@IvanGoncharov)
Internal 🏠
3 PRs were merged
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Yaacov Rydzinski (@yaacovCR)
v15.7.1
v15.7.1 (2021-10-27)
Bug Fix 🐞
- #3341 GraphQLError: revert
originalError
to be nullable (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
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)