Releases: graphql/graphql-js
Releases · graphql/graphql-js
v16.5.0
v16.5.0 (2022-05-09)
New Feature 🚀
- #3565 Expose GraphQLErrorOptions type (#3554) (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v16.4.0
v16.4.0 (2022-04-25)
New Feature 🚀
- #3465 refactor: use object for GraphQLError constructor (@n1ru4l)
- #3487 feat: expose getArgumentValues (@saihaj)
Bug Fix 🐞
Docs 📝
2 PRs were merged
- #3505 correct outdated documentation (@Ginhing)
- #3512 Update documentation on deprecated formatError(..) (@dwelch2344)
Polish 💅
3 PRs were merged
- #3522 tests(execution): add missing new lines (@IvanGoncharov)
- #3524 tests(printSchema): test omitting schema of common names (@IvanGoncharov)
- #3537 ESLint: disallow using node globals in src/tests (@IvanGoncharov)
Internal 🏠
26 PRs were merged
- #3468 ci: add stub action for canary releases on PRs (@IvanGoncharov)
- #3470 ci: implement canary releases on PRs (@IvanGoncharov)
- #3472 ci: remove NPM caching on canary release script (@IvanGoncharov)
- #3473 ci: Pass 'GITHUB_TOKEN' to GitHub CLI (@IvanGoncharov)
- #3475 ci: checkout repo in canary workflow (@IvanGoncharov)
- #3477 ci: fix & cleanup script for modifying NPM package into canary (@IvanGoncharov)
- #3479 ci: Add missing require to canary script (@IvanGoncharov)
- #3481 ci: fix missing PR number in canary release workflow (@IvanGoncharov)
- #3483 ci: fix missing PR number in canary release workflow (@IvanGoncharov)
- #3484 ci: Moving GH Action template syntax to env variables (@IvanGoncharov)
- #3486 ci: improve comment on canary releases (@IvanGoncharov)
- #3488 ci: Extract branch publishing into separate workflow (@IvanGoncharov)
- #3489 ci: use '.node-version' file to configure node version used for CI (@IvanGoncharov)
- #3491 ci: use separate workflows for 'push' and 'pull_request' (@IvanGoncharov)
- #3493 ci: remove unused 'workflow_id' input (@IvanGoncharov)
- #3496 ci: fix deprecation of canary package (@IvanGoncharov)
- #3497 ci: use environments to track deployments (@IvanGoncharov)
- #3502 ci: fix deployments of npm & deno branches (@IvanGoncharov)
- #3503 ci: Add '@github-actions' bot (@IvanGoncharov)
- #3523 github-actions-bot: replace 'octokit/request-action' action (@IvanGoncharov)
- #3525 github-actions-bot: Fix collapsing of unrelated comments (@IvanGoncharov)
- #3530 integrationTests/node: fix crash on Mac with M1 by using docker (@IvanGoncharov)
- #3534 github-actions-bot: fix publishing of canary releases (@IvanGoncharov)
- #3536 github-actions-bot: fix usage of NPM_CANARY_PR_PUBLISH_TOKEN (@IvanGoncharov)
- #3538 github-actions-bot: fix reply on commands (@IvanGoncharov)
- #3543 pass valid value to codecov config (@is2ei)
Dependency 📦
2 PRs were merged
- #3485 Update deps (@IvanGoncharov)
- #3533 Update deps (@IvanGoncharov)
Committers: 7
- David Glasser(@glasser)
- David Welch(@dwelch2344)
- Ginhing(@Ginhing)
- Horie Issei(@is2ei)
- Ivan Goncharov(@IvanGoncharov)
- Laurin Quast(@n1ru4l)
- Saihajpreet Singh(@saihaj)
v16.3.0
v16.3.0 (2022-01-26)
New Feature 🚀
- #3454 feat: allow providing an object to the GraphQLError constructor (@n1ru4l)
- #3464 Expose
getArgumentValues
as public API (@IvanGoncharov)
Bug Fix 🐞
- #3442 Prevent Infinite Loop in OverlappingFieldsCanBeMergedRule (@nicolaslt)
- #3455 OverlappingFieldsCanBeMerged: sort argument values before comparing (@IvanGoncharov)
Docs 📝
2 PRs were merged
- #3269 feat: setup docs site (@saihaj)
- #3437 CONTRIBUTING.md: remove reference to Facebook bug bounty program (@IvanGoncharov)
Polish 💅
7 PRs were merged
- #3441 UniqueArgumentDefinitionNamesRule: Improve tests (@Cito)
- #3446 Use 'eslint-plugin-simple-import-sort' to sort imports (@IvanGoncharov)
- #3447 Fix index.ts files to be compatible with Typedoc (@IvanGoncharov)
- #3452 validation-test.ts: various grammar fixes (@spawnia)
- #3457 OverlappingFieldsCanBeMergedRule: simplify argument comparison (@IvanGoncharov)
- #3459 blockString-tests: remove duplicate test, fix grammar (@Cito)
- #3461 visit: simplify handling of root node (@IvanGoncharov)
Internal 🏠
5 PRs were merged
- #3433 gh/actions: refactor out action to deploy branches (@IvanGoncharov)
- #3434 gh/actions: remove 'npm dedupe' check since it unexpectadly do update (@IvanGoncharov)
- #3435 gh/actions: run benchmark & diff-npm-package only on PRs (@IvanGoncharov)
- #3436 gh/actions: make all cloned repo read-only (@IvanGoncharov)
- #3443 ci/checkPackageLock: update only package-lock.json (@IvanGoncharov)
Dependency 📦
4 PRs were merged
- #3438 Update deps (@IvanGoncharov)
- #3444 Update deps (@IvanGoncharov)
- #3462 Update deps (@IvanGoncharov)
- #3463 Update deps + fix 'npm audit' (@IvanGoncharov)
Committers: 6
- Benedikt Franke(@spawnia)
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
- Laurin Quast(@n1ru4l)
- Nicolas Lagoutte(@nicolaslt)
- Saihajpreet Singh(@saihaj)
v16.2.0
v16.2.0 (2021-12-17)
New Feature 🚀
- #3426 type/definition: export
resolve*Thunk
functions (@IvanGoncharov)
Docs 📝
Polish 💅
Internal 🏠
2 PRs were merged
- #3420 resources/utils: extract 'writeGeneratedFile' to utils (@IvanGoncharov)
- #3427 gh/actions: run benchmark and NPM diff on correct base commits (@IvanGoncharov)
Committers: 2
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
v16.1.0
v16.1.0 (2021-12-07)
New Feature 🚀
- #3355 Export GRAPHQL_MAX_INT and GRAPHQL_MIN_INT (@tofran)
- #3384 Preserve non-error values thrown from resolvers (@IvanGoncharov)
Bug Fix 🐞
- #3375 printSchema: handle descriptions that are non-printable as block strings (@IvanGoncharov)
Docs 📝
- #3393 Update doc examples to reflect the current API (@paulserraino)
Polish 💅
9 PRs were merged
- #3365 Add devAssert about removal of positional arguments (@IvanGoncharov)
- #3376 execute: fix spec section names in comments (@twof)
- #3377 lexer-tests: Use tildas as invalid characters (@twof)
- #3391 Enable '@typescript-eslint/switch-exhaustiveness-check' rule (@IvanGoncharov)
- #3392 Remove $FlowFixMe comments (@IvanGoncharov)
- #3396 typeFromAST: use exhaustive switch and remove invariant (@IvanGoncharov)
- #3400 expectJSON: improve readability (@IvanGoncharov)
- #3401 tests: Improve formating of strings with 'dedent' tag (@IvanGoncharov)
- #3406 Simplify code by replacing Object.entries with Object.keys (@IvanGoncharov)
Internal 🏠
9 PRs were merged
- #3386 Add support for Node17 (@IvanGoncharov)
- #3388 Drop "eslint-plugin-istanbul" and implement as internal ESLint rule (@IvanGoncharov)
- #3398 Switch coverage from nyc to c8 (@IvanGoncharov)
- #3403 ci: add check that 'package-lock.json' doesn't have conflicts (@IvanGoncharov)
- #3404 github/workflows: simplify npm cache setup (@IvanGoncharov)
- #3405 Use for '--ignore-scripts' for all
npm ci
&npm install
(@IvanGoncharov) - #3407 ci: add check for unnecessary duplicates in package-lock.json (@IvanGoncharov)
- #3416 fix c8 ignore decorator typos (@yaacovCR)
- #3417 package.json: Specify NPM release tag explicitly (@IvanGoncharov)
Dependency 📦
4 PRs were merged
- #3387 Update package-lock.json (@IvanGoncharov)
- #3389 package.json: Drop unused '@babel/eslint-parser' (@IvanGoncharov)
- #3390 Update deps (@IvanGoncharov)
- #3399 Update deps (@IvanGoncharov)
Committers: 5
- Alex Reilly(@twof)
- Francisco Marques(@tofran)
- Ivan Goncharov(@IvanGoncharov)
- Paul Serraino(@paulserraino)
- Yaacov Rydzinski (@yaacovCR)
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)