issues
search
4Catalyzer
/
graphql-validation-complexity
Query complexity validation for GraphQL.js
MIT License
342
stars
24
forks
source link
chore(deps): update dependency graphql to v16
#295
Open
renovate[bot]
opened
1 year ago
renovate[bot]
commented
1 year ago
This PR contains the following updates:
Package
Change
Age
Adoption
Passing
Confidence
graphql
^15.4.0
->
^16.9.0
Release Notes
graphql/graphql-js (graphql)
### [`v16.9.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.9.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.8.2...v16.9.0) #### v16.9.0 (2024-06-21) ##### New Feature 🚀 - [#4119](https://redirect.github.com/graphql/graphql-js/pull/4119) backport\[v16]: Introduce "recommended" validation rules ([@benjie](https://redirect.github.com/benjie)) - [#4122](https://redirect.github.com/graphql/graphql-js/pull/4122) backport\[v16]: Enable passing values configuration to GraphQLEnumType as a thunk ([@benjie](https://redirect.github.com/benjie)) - [#4124](https://redirect.github.com/graphql/graphql-js/pull/4124) backport\[v16]: Implement OneOf Input Objects via `@oneOf` directive ([@benjie](https://redirect.github.com/benjie)) ##### Committers: 1 - Benjie([@benjie](https://redirect.github.com/benjie)) ### [`v16.8.2`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.8.2) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.8.1...v16.8.2) #### v16.8.2 (2024-06-12) ##### Bug Fix 🐞\* [#4022](https://redirect.github.com/graphql/graphql-js/pull/4022) fix: remove `globalThis` check and align with what bundlers can accept ([@JoviDeCroock](https://redirect.github.com/JoviDeCroock)) ##### Internal 🏠\* [#4104](https://redirect.github.com/graphql/graphql-js/pull/4104) Fix publish scripts ([@benjie](https://redirect.github.com/benjie)) ##### Committers: 2 - Benjie([@benjie](https://redirect.github.com/benjie)) - Jovi De Croock([@JoviDeCroock](https://redirect.github.com/JoviDeCroock)) ### [`v16.8.1`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.8.1) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.8.0...v16.8.1) ##### v16.8.1 (2023-09-19) ##### Bug Fix 🐞 - [#3967](https://redirect.github.com/graphql/graphql-js/pull/3967) OverlappingFieldsCanBeMergedRule: Fix performance degradation ([@AaronMoat](https://redirect.github.com/AaronMoat)) ##### Committers: 1 - Aaron Moat([@AaronMoat](https://redirect.github.com/AaronMoat)) ### [`v16.8.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.8.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.7.1...v16.8.0) #### v16.8.0 (2023-08-14) ##### New Feature 🚀 - [#3950](https://redirect.github.com/graphql/graphql-js/pull/3950) Support fourfold nested lists ([@gschulze](https://redirect.github.com/gschulze)) ##### Committers: 1 - Gunnar Schulze([@gschulze](https://redirect.github.com/gschulze)) ### [`v16.7.1`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.7.1) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.7.0...v16.7.1) #### v16.7.1 (2023-06-22) :loudspeaker: Big shout out to [@phryneas](https://redirect.github.com/phryneas), who managed to reproduce this issue and come up with this fix. ##### Bug Fix 🐞 - [#3923](https://redirect.github.com/graphql/graphql-js/pull/3923) instanceOf: workaround bundler issue with `process.env` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 1 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ### [`v16.7.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.7.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.6.0...v16.7.0) ##### v16.7.0 (2023-06-21) ##### New Feature 🚀 - [#3887](https://redirect.github.com/graphql/graphql-js/pull/3887) check "globalThis.process" before accessing it ([@kettanaito](https://redirect.github.com/kettanaito)) ##### Bug Fix 🐞 - [#3707](https://redirect.github.com/graphql/graphql-js/pull/3707) Fix crash in node when mixing sync/async resolvers (backport of [#3706](https://redirect.github.com/graphql/graphql-js/issues/3706)) ([@chrskrchr](https://redirect.github.com/chrskrchr)) - [#3838](https://redirect.github.com/graphql/graphql-js/pull/3838) Fix/invalid error propagation custom scalars (backport for 16.x.x) ([@stenreijers](https://redirect.github.com/stenreijers)) ##### Committers: 3 - Artem Zakharchenko([@kettanaito](https://redirect.github.com/kettanaito)) - Chris Karcher([@chrskrchr](https://redirect.github.com/chrskrchr)) - Sten Reijers([@stenreijers](https://redirect.github.com/stenreijers)) ### [`v16.6.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.6.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.5.0...v16.6.0) #### v16.6.0 (2022-08-16) ##### New Feature 🚀 - [#3645](https://redirect.github.com/graphql/graphql-js/pull/3645) createSourceEventStream: introduce named arguments and deprecate positional arguments ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3702](https://redirect.github.com/graphql/graphql-js/pull/3702) parser: limit maximum number of tokens ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#3686](https://redirect.github.com/graphql/graphql-js/pull/3686) Workaround for codesandbox having bug with TS enums ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3701](https://redirect.github.com/graphql/graphql-js/pull/3701) Parser: allow 'options' to explicitly accept undefined ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 2 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - Yaacov Rydzinski ([@yaacovCR](https://redirect.github.com/yaacovCR)) ### [`v16.5.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.5.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.4.0...v16.5.0) #### v16.5.0 (2022-05-09) ##### New Feature 🚀 - [#3565](https://redirect.github.com/graphql/graphql-js/pull/3565) Expose GraphQLErrorOptions type ([#3554](https://redirect.github.com/graphql/graphql-js/issues/3554)) ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 1 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ### [`v16.4.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.4.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.3.0...v16.4.0) #### v16.4.0 (2022-04-25) ##### New Feature 🚀 - [#3465](https://redirect.github.com/graphql/graphql-js/pull/3465) refactor: use object for GraphQLError constructor ([@n1ru4l](https://redirect.github.com/n1ru4l)) - [#3487](https://redirect.github.com/graphql/graphql-js/pull/3487) feat: expose getArgumentValues ([@saihaj](https://redirect.github.com/saihaj)) ##### Bug Fix 🐞 - [#3514](https://redirect.github.com/graphql/graphql-js/pull/3514) GraphQLError: switch constructor overload order ([@glasser](https://redirect.github.com/glasser)) ##### Docs 📝
2 PRs were merged
- [#3505](https://redirect.github.com/graphql/graphql-js/pull/3505) correct outdated documentation ([@Ginhing](https://redirect.github.com/Ginhing)) - [#3512](https://redirect.github.com/graphql/graphql-js/pull/3512) Update documentation on deprecated formatError(..) ([@dwelch2344](https://redirect.github.com/dwelch2344))
##### Polish 💅
3 PRs were merged
- [#3522](https://redirect.github.com/graphql/graphql-js/pull/3522) tests(execution): add missing new lines ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3524](https://redirect.github.com/graphql/graphql-js/pull/3524) tests(printSchema): test omitting schema of common names ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3537](https://redirect.github.com/graphql/graphql-js/pull/3537) ESLint: disallow using node globals in src/tests ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Internal 🏠
26 PRs were merged
- [#3468](https://redirect.github.com/graphql/graphql-js/pull/3468) ci: add stub action for canary releases on PRs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3470](https://redirect.github.com/graphql/graphql-js/pull/3470) ci: implement canary releases on PRs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3472](https://redirect.github.com/graphql/graphql-js/pull/3472) ci: remove NPM caching on canary release script ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3473](https://redirect.github.com/graphql/graphql-js/pull/3473) ci: Pass 'GITHUB_TOKEN' to GitHub CLI ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3475](https://redirect.github.com/graphql/graphql-js/pull/3475) ci: checkout repo in canary workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3477](https://redirect.github.com/graphql/graphql-js/pull/3477) ci: fix & cleanup script for modifying NPM package into canary ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3479](https://redirect.github.com/graphql/graphql-js/pull/3479) ci: Add missing require to canary script ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3481](https://redirect.github.com/graphql/graphql-js/pull/3481) ci: fix missing PR number in canary release workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3483](https://redirect.github.com/graphql/graphql-js/pull/3483) ci: fix missing PR number in canary release workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3484](https://redirect.github.com/graphql/graphql-js/pull/3484) ci: Moving GH Action template syntax to env variables ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3486](https://redirect.github.com/graphql/graphql-js/pull/3486) ci: improve comment on canary releases ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3488](https://redirect.github.com/graphql/graphql-js/pull/3488) ci: Extract branch publishing into separate workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3489](https://redirect.github.com/graphql/graphql-js/pull/3489) ci: use '.node-version' file to configure node version used for CI ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3491](https://redirect.github.com/graphql/graphql-js/pull/3491) ci: use separate workflows for 'push' and 'pull_request' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3493](https://redirect.github.com/graphql/graphql-js/pull/3493) ci: remove unused 'workflow_id' input ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3496](https://redirect.github.com/graphql/graphql-js/pull/3496) ci: fix deprecation of canary package ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3497](https://redirect.github.com/graphql/graphql-js/pull/3497) ci: use environments to track deployments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3502](https://redirect.github.com/graphql/graphql-js/pull/3502) ci: fix deployments of npm & deno branches ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3503](https://redirect.github.com/graphql/graphql-js/pull/3503) ci: Add '[@github-actions](https://redirect.github.com/github-actions)' bot ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3523](https://redirect.github.com/graphql/graphql-js/pull/3523) github-actions-bot: replace 'octokit/request-action' action ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3525](https://redirect.github.com/graphql/graphql-js/pull/3525) github-actions-bot: Fix collapsing of unrelated comments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3530](https://redirect.github.com/graphql/graphql-js/pull/3530) integrationTests/node: fix crash on Mac with M1 by using docker ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3534](https://redirect.github.com/graphql/graphql-js/pull/3534) github-actions-bot: fix publishing of canary releases ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3536](https://redirect.github.com/graphql/graphql-js/pull/3536) github-actions-bot: fix usage of NPM_CANARY_PR_PUBLISH_TOKEN ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3538](https://redirect.github.com/graphql/graphql-js/pull/3538) github-actions-bot: fix reply on commands ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3543](https://redirect.github.com/graphql/graphql-js/pull/3543) pass valid value to codecov config ([@is2ei](https://redirect.github.com/is2ei))
##### Dependency 📦
2 PRs were merged
- [#3485](https://redirect.github.com/graphql/graphql-js/pull/3485) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3533](https://redirect.github.com/graphql/graphql-js/pull/3533) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Committers: 7 * David Glasser([@glasser](https://redirect.github.com/glasser)) * David Welch([@dwelch2344](https://redirect.github.com/dwelch2344)) * Ginhing([@Ginhing](https://redirect.github.com/Ginhing)) * Horie Issei([@is2ei](https://redirect.github.com/is2ei)) * Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) * Laurin Quast([@n1ru4l](https://redirect.github.com/n1ru4l)) * Saihajpreet Singh([@saihaj](https://redirect.github.com/saihaj)) ### [`v16.3.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.3.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.2.0...v16.3.0) #### v16.3.0 (2022-01-26) ##### New Feature 🚀 - [#3454](https://redirect.github.com/graphql/graphql-js/pull/3454) feat: allow providing an object to the GraphQLError constructor ([@n1ru4l](https://redirect.github.com/n1ru4l)) - [#3464](https://redirect.github.com/graphql/graphql-js/pull/3464) Expose `getArgumentValues` as public API ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#3442](https://redirect.github.com/graphql/graphql-js/pull/3442) Prevent Infinite Loop in OverlappingFieldsCanBeMergedRule ([@nicolaslt](https://redirect.github.com/nicolaslt)) - [#3455](https://redirect.github.com/graphql/graphql-js/pull/3455) OverlappingFieldsCanBeMerged: sort argument values before comparing ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Docs 📝
2 PRs were merged
- [#3269](https://redirect.github.com/graphql/graphql-js/pull/3269) feat: setup docs site ([@saihaj](https://redirect.github.com/saihaj)) - [#3437](https://redirect.github.com/graphql/graphql-js/pull/3437) CONTRIBUTING.md: remove reference to Facebook bug bounty program ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Polish 💅
7 PRs were merged
- [#3441](https://redirect.github.com/graphql/graphql-js/pull/3441) UniqueArgumentDefinitionNamesRule: Improve tests ([@Cito](https://redirect.github.com/Cito)) - [#3446](https://redirect.github.com/graphql/graphql-js/pull/3446) Use 'eslint-plugin-simple-import-sort' to sort imports ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3447](https://redirect.github.com/graphql/graphql-js/pull/3447) Fix index.ts files to be compatible with Typedoc ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3452](https://redirect.github.com/graphql/graphql-js/pull/3452) validation-test.ts: various grammar fixes ([@spawnia](https://redirect.github.com/spawnia)) - [#3457](https://redirect.github.com/graphql/graphql-js/pull/3457) OverlappingFieldsCanBeMergedRule: simplify argument comparison ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3459](https://redirect.github.com/graphql/graphql-js/pull/3459) blockString-tests: remove duplicate test, fix grammar ([@Cito](https://redirect.github.com/Cito)) - [#3461](https://redirect.github.com/graphql/graphql-js/pull/3461) visit: simplify handling of root node ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Internal 🏠
5 PRs were merged
- [#3433](https://redirect.github.com/graphql/graphql-js/pull/3433) gh/actions: refactor out action to deploy branches ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3434](https://redirect.github.com/graphql/graphql-js/pull/3434) gh/actions: remove 'npm dedupe' check since it unexpectadly do update ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3435](https://redirect.github.com/graphql/graphql-js/pull/3435) gh/actions: run benchmark & diff-npm-package only on PRs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3436](https://redirect.github.com/graphql/graphql-js/pull/3436) gh/actions: make all cloned repo read-only ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3443](https://redirect.github.com/graphql/graphql-js/pull/3443) ci/checkPackageLock: update only package-lock.json ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Dependency 📦
4 PRs were merged
- [#3438](https://redirect.github.com/graphql/graphql-js/pull/3438) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3444](https://redirect.github.com/graphql/graphql-js/pull/3444) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3462](https://redirect.github.com/graphql/graphql-js/pull/3462) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3463](https://redirect.github.com/graphql/graphql-js/pull/3463) Update deps + fix 'npm audit' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Committers: 6 * Benedikt Franke([@spawnia](https://redirect.github.com/spawnia)) * Christoph Zwerschke([@Cito](https://redirect.github.com/Cito)) * Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) * Laurin Quast([@n1ru4l](https://redirect.github.com/n1ru4l)) * Nicolas Lagoutte([@nicolaslt](https://redirect.github.com/nicolaslt)) * Saihajpreet Singh([@saihaj](https://redirect.github.com/saihaj)) ### [`v16.2.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.2.0): v16.2.0 [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.1.0...v16.2.0) #### v16.2.0 (2021-12-17) ##### New Feature 🚀 - [#3426](https://redirect.github.com/graphql/graphql-js/pull/3426) type/definition: export `resolve*Thunk` functions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Docs 📝 - [#3422](https://redirect.github.com/graphql/graphql-js/pull/3422) Minor grammar fixes in collectFields documentation ([@Cito](https://redirect.github.com/Cito)) ##### Polish 💅 - [#3423](https://redirect.github.com/graphql/graphql-js/pull/3423) assertName-test: test new instead of deprecated function ([@Cito](https://redirect.github.com/Cito)) ##### Internal 🏠
2 PRs were merged
- [#3420](https://redirect.github.com/graphql/graphql-js/pull/3420) resources/utils: extract 'writeGeneratedFile' to utils ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3427](https://redirect.github.com/graphql/graphql-js/pull/3427) gh/actions: run benchmark and NPM diff on correct base commits ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Committers: 2 * Christoph Zwerschke([@Cito](https://redirect.github.com/Cito)) * Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ### [`v16.1.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.1.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.0.1...v16.1.0) #### v16.1.0 (2021-12-07) ##### New Feature 🚀 - [#3355](https://redirect.github.com/graphql/graphql-js/pull/3355) Export GRAPHQL_MAX_INT and GRAPHQL_MIN_INT ([@tofran](https://redirect.github.com/tofran)) - [#3384](https://redirect.github.com/graphql/graphql-js/pull/3384) Preserve non-error values thrown from resolvers ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#3375](https://redirect.github.com/graphql/graphql-js/pull/3375) printSchema: handle descriptions that are non-printable as block strings ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Docs 📝 - [#3393](https://redirect.github.com/graphql/graphql-js/pull/3393) Update doc examples to reflect the current API ([@paulserraino](https://redirect.github.com/paulserraino)) ##### Polish 💅
9 PRs were merged
- [#3365](https://redirect.github.com/graphql/graphql-js/pull/3365) Add devAssert about removal of positional arguments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3376](https://redirect.github.com/graphql/graphql-js/pull/3376) execute: fix spec section names in comments ([@twof](https://redirect.github.com/twof)) - [#3377](https://redirect.github.com/graphql/graphql-js/pull/3377) lexer-tests: Use tildas as invalid characters ([@twof](https://redirect.github.com/twof)) - [#3391](https://redirect.github.com/graphql/graphql-js/pull/3391) Enable '[@typescript-eslint/switch-exhaustiveness-check](https://redirect.github.com/typescript-eslint/switch-exhaustiveness-check)' rule ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3392](https://redirect.github.com/graphql/graphql-js/pull/3392) Remove $FlowFixMe comments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3396](https://redirect.github.com/graphql/graphql-js/pull/3396) typeFromAST: use exhaustive switch and remove invariant ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3400](https://redirect.github.com/graphql/graphql-js/pull/3400) expectJSON: improve readability ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3401](https://redirect.github.com/graphql/graphql-js/pull/3401) tests: Improve formating of strings with 'dedent' tag ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3406](https://redirect.github.com/graphql/graphql-js/pull/3406) Simplify code by replacing Object.entries with Object.keys ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Internal 🏠
9 PRs were merged
- [#3386](https://redirect.github.com/graphql/graphql-js/pull/3386) Add support for Node17 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3388](https://redirect.github.com/graphql/graphql-js/pull/3388) Drop "eslint-plugin-istanbul" and implement as internal ESLint rule ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3398](https://redirect.github.com/graphql/graphql-js/pull/3398) Switch coverage from nyc to c8 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3403](https://redirect.github.com/graphql/graphql-js/pull/3403) ci: add check that 'package-lock.json' doesn't have conflicts ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3404](https://redirect.github.com/graphql/graphql-js/pull/3404) github/workflows: simplify npm cache setup ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3405](https://redirect.github.com/graphql/graphql-js/pull/3405) Use for '--ignore-scripts' for all `npm ci` & `npm install` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3407](https://redirect.github.com/graphql/graphql-js/pull/3407) ci: add check for unnecessary duplicates in package-lock.json ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3416](https://redirect.github.com/graphql/graphql-js/pull/3416) fix c8 ignore decorator typos ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3417](https://redirect.github.com/graphql/graphql-js/pull/3417) package.json: Specify NPM release tag explicitly ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Dependency 📦
4 PRs were merged
- [#3387](https://redirect.github.com/graphql/graphql-js/pull/3387) Update package-lock.json ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3389](https://redirect.github.com/graphql/graphql-js/pull/3389) package.json: Drop unused '[@babel/eslint-parser](https://redirect.github.com/babel/eslint-parser)' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3390](https://redirect.github.com/graphql/graphql-js/pull/3390) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3399](https://redirect.github.com/graphql/graphql-js/pull/3399) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Committers: 5 * Alex Reilly([@twof](https://redirect.github.com/twof)) * Francisco Marques([@tofran](https://redirect.github.com/tofran)) * Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) * Paul Serraino([@paulserraino](https://redirect.github.com/paulserraino)) * Yaacov Rydzinski ([@yaacovCR](https://redirect.github.com/yaacovCR)) ### [`v16.0.1`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.0.1) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.0.0...v16.0.1) #### v16.0.1 (2021-11-01) ##### Bug Fix 🐞 - [#3354](https://redirect.github.com/graphql/graphql-js/pull/3354) Lexer: fix line & column for multiline BLOCK_STRING tokens ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Polish 💅 - [#3348](https://redirect.github.com/graphql/graphql-js/pull/3348) GraphQLError-test: text how extensions is inherited from originalError ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Internal 🏠 - [#3347](https://redirect.github.com/graphql/graphql-js/pull/3347) checkgit.sh: Added a check for local modifications ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 1 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ### [`v16.0.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.0.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v15.9.0...v16.0.0) #### v16.0.0 (2021-10-28) ##### Breaking Change 💥 - [#2896](https://redirect.github.com/graphql/graphql-js/pull/2896) Remove deprecated rule aliases ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2897](https://redirect.github.com/graphql/graphql-js/pull/2897) Remove 'findDeprecatedUsages' that was previously deprecated ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2898](https://redirect.github.com/graphql/graphql-js/pull/2898) Remove 'GraphQLSchema::isPossibleType' that was previously deprecated ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2900](https://redirect.github.com/graphql/graphql-js/pull/2900) Drop support for long deprecated comments as descriptions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2902](https://redirect.github.com/graphql/graphql-js/pull/2902) Remove deprecated {GraphQLEnumValue, GraphQLField}::isDeprecated ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2903](https://redirect.github.com/graphql/graphql-js/pull/2903) Removed parser support for legacy syntax ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2904](https://redirect.github.com/graphql/graphql-js/pull/2904) Remove support for positional args in graphql/execute/subscribe func ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2905](https://redirect.github.com/graphql/graphql-js/pull/2905) resolveType: remove support for returning GraphQLObjectType ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2906](https://redirect.github.com/graphql/graphql-js/pull/2906) Convert GraphQLList and GraphQLNonNull into proper classes ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2907](https://redirect.github.com/graphql/graphql-js/pull/2907) Remove 'find' polyfill ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2911](https://redirect.github.com/graphql/graphql-js/pull/2911) Remove 'isFinite' & 'isInteger' polyfills ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2912](https://redirect.github.com/graphql/graphql-js/pull/2912) Drop 'Array.from' polyfill ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2913](https://redirect.github.com/graphql/graphql-js/pull/2913) Remove polyfills for Symbol ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2914](https://redirect.github.com/graphql/graphql-js/pull/2914) Remove Node's custom inspect function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2915](https://redirect.github.com/graphql/graphql-js/pull/2915) Drop support for TS before 3.7 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2916](https://redirect.github.com/graphql/graphql-js/pull/2916) refactor: replace default exports with named exports ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2917](https://redirect.github.com/graphql/graphql-js/pull/2917) Drop support for non-iteratable ArrayLike objects ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2918](https://redirect.github.com/graphql/graphql-js/pull/2918) Drop support for older browsers ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2919](https://redirect.github.com/graphql/graphql-js/pull/2919) Remove polyfills for 'Object.values' & 'Object.entries' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2920](https://redirect.github.com/graphql/graphql-js/pull/2920) Deprecate fragments with variables and reflect that in naming ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2921](https://redirect.github.com/graphql/graphql-js/pull/2921) Deprecate 'getFieldDefFn' arg of 'TypeInfo' and move it last ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2923](https://redirect.github.com/graphql/graphql-js/pull/2923) Drop support for Node10 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2930](https://redirect.github.com/graphql/graphql-js/pull/2930) visitor: remove `visitorKeys` argument ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2931](https://redirect.github.com/graphql/graphql-js/pull/2931) visit: remove template arguments for possible nodes ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2951](https://redirect.github.com/graphql/graphql-js/pull/2951) Forbid null & undefined as return value of 'interfaces' thunk ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2952](https://redirect.github.com/graphql/graphql-js/pull/2952) Restrict Thunks to support only ObjMap and Array ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2955](https://redirect.github.com/graphql/graphql-js/pull/2955) feat: convert Thunk to ThunkArray and ThunkObjMap ([@saihaj](https://redirect.github.com/saihaj)) - [#2957](https://redirect.github.com/graphql/graphql-js/pull/2957) visitor: remove 4th form of visitor ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2997](https://redirect.github.com/graphql/graphql-js/pull/2997) print/printSchema: remove trailing new line ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3003](https://redirect.github.com/graphql/graphql-js/pull/3003) TS: use `unknown` (TS) for `mixed` (flow) ([@saihaj](https://redirect.github.com/saihaj)) - [#3006](https://redirect.github.com/graphql/graphql-js/pull/3006) ts: Switch extension values to unknown to match Flow types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3027](https://redirect.github.com/graphql/graphql-js/pull/3027) subscribe: drop mapping of AsyncIterable errors ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3031](https://redirect.github.com/graphql/graphql-js/pull/3031) Drop experimental online parser ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3032](https://redirect.github.com/graphql/graphql-js/pull/3032) Use specifiedBy instead of specifiedByUrl ([@Code-Hex](https://redirect.github.com/Code-Hex)) - [#3055](https://redirect.github.com/graphql/graphql-js/pull/3055) Drop Node v15 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3110](https://redirect.github.com/graphql/graphql-js/pull/3110) Switch entire codebase to TypeScript ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3114](https://redirect.github.com/graphql/graphql-js/pull/3114) Drop support for TS 3.7 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3131](https://redirect.github.com/graphql/graphql-js/pull/3131) TS: Drop template argument from GraphQLFormattedError ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3132](https://redirect.github.com/graphql/graphql-js/pull/3132) Synchronise `*.d.ts` with sources converted to TS ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3182](https://redirect.github.com/graphql/graphql-js/pull/3182) Switch schema types to use ReadonlyArrays ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3228](https://redirect.github.com/graphql/graphql-js/pull/3228) Add type params to GraphQLScalar ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3231](https://redirect.github.com/graphql/graphql-js/pull/3231) execute: Forbid to return `null` from `serialize` function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3239](https://redirect.github.com/graphql/graphql-js/pull/3239) execute: Forbid to return `null` from `serialize` function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3250](https://redirect.github.com/graphql/graphql-js/pull/3250) Bring `visitorKeys` back ([@ardatan](https://redirect.github.com/ardatan)) - [#3261](https://redirect.github.com/graphql/graphql-js/pull/3261) Error.toStringTag change return string from 'Object' to 'GraphQLError' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3270](https://redirect.github.com/graphql/graphql-js/pull/3270) visitor: speed up visitInParallel by dropping support for unknown nodes ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3271](https://redirect.github.com/graphql/graphql-js/pull/3271) isNode: check exact value of node's `kind` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3283](https://redirect.github.com/graphql/graphql-js/pull/3283) validation: restrict maximum number of errors to 100 by default ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3288](https://redirect.github.com/graphql/graphql-js/pull/3288) Move validation of names into `GraphQL*` constructors ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3311](https://redirect.github.com/graphql/graphql-js/pull/3311) GraphQLError: use enumerable properties ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3317](https://redirect.github.com/graphql/graphql-js/pull/3317) Convert const "enum-like" maps to TS enums ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3319](https://redirect.github.com/graphql/graphql-js/pull/3319) Add message that we only support TS >= 4.1.0 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3326](https://redirect.github.com/graphql/graphql-js/pull/3326) GraphQLError: enumerate only spec prescribed properties ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3328](https://redirect.github.com/graphql/graphql-js/pull/3328) GraphQLField: relax default value of TArgs to `any` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Deprecation ⚠ - [#3252](https://redirect.github.com/graphql/graphql-js/pull/3252) Deprecate 'printError' function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3292](https://redirect.github.com/graphql/graphql-js/pull/3292) Deprecate 'graphql/subscriptions' and move code to 'execution' ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3318](https://redirect.github.com/graphql/graphql-js/pull/3318) Deprecate 'ASTKindToNode' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### New Feature 🚀 - [#2932](https://redirect.github.com/graphql/graphql-js/pull/2932) print: remove indentation inside of block strings ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2996](https://redirect.github.com/graphql/graphql-js/pull/2996) extensionASTNodes: always populate with empty array ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3059](https://redirect.github.com/graphql/graphql-js/pull/3059) Refine parse and AST to represent ConstValue ([@leebyron](https://redirect.github.com/leebyron)) - [#3063](https://redirect.github.com/graphql/graphql-js/pull/3063) Refine getNamedType() for Input and Output types ([@leebyron](https://redirect.github.com/leebyron)) - [#3117](https://redirect.github.com/graphql/graphql-js/pull/3117) RFC: Support full Unicode in lexer ([@leebyron](https://redirect.github.com/leebyron)) - [#3170](https://redirect.github.com/graphql/graphql-js/pull/3170) Add 'Symbol.toStringTag' into every publicly exported class ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3208](https://redirect.github.com/graphql/graphql-js/pull/3208) Add 'UniqueArgumentDefinitionNamesRule' validation rule ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3242](https://redirect.github.com/graphql/graphql-js/pull/3242) parser: add specialized error for extension with descriptions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3255](https://redirect.github.com/graphql/graphql-js/pull/3255) Add TResult to GraphQLFieldResolver signature ([@tgriesser](https://redirect.github.com/tgriesser)) - [#3259](https://redirect.github.com/graphql/graphql-js/pull/3259) Deprecate 'formatError' and added 'GraphQLError.toJSON' instead ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3272](https://redirect.github.com/graphql/graphql-js/pull/3272) collectFields/collectSubfields cleanup prototype ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3279](https://redirect.github.com/graphql/graphql-js/pull/3279) Make 'extensions' non-optional in schema types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3305](https://redirect.github.com/graphql/graphql-js/pull/3305) Added 'GraphQLSchema.getRootType' and deprecate `getOperationRootType` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3306](https://redirect.github.com/graphql/graphql-js/pull/3306) Deprecate SubscriptionArgs and broaden ExecutionArgs ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3312](https://redirect.github.com/graphql/graphql-js/pull/3312) language: change OperationTypeNode to enum ([@lekoaf](https://redirect.github.com/lekoaf)) - [#3313](https://redirect.github.com/graphql/graphql-js/pull/3313) GraphQLError: keep extensions always present ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3315](https://redirect.github.com/graphql/graphql-js/pull/3315) Change type of error extensions from anonymous Record to named interfaces ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#2852](https://redirect.github.com/graphql/graphql-js/pull/2852) introspectionFromSchema: enable 'specifiedByUrl' by default ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2855](https://redirect.github.com/graphql/graphql-js/pull/2855) introspection: Add missing support for deprecated input values ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2859](https://redirect.github.com/graphql/graphql-js/pull/2859) separateOperations: distinguish query and fragment names ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2861](https://redirect.github.com/graphql/graphql-js/pull/2861) RFC: Assert subscription field is not introspection. ([@benjie](https://redirect.github.com/benjie)) - [#2876](https://redirect.github.com/graphql/graphql-js/pull/2876) Replace 'localeCompare' with function independent from locale ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2959](https://redirect.github.com/graphql/graphql-js/pull/2959) ASTVisitor: use type intersection instead of type union ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2987](https://redirect.github.com/graphql/graphql-js/pull/2987) Synchronise TS typings for graphql.js/execute.js/subscribe.js ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2991](https://redirect.github.com/graphql/graphql-js/pull/2991) fix: update introspection types ([@saihaj](https://redirect.github.com/saihaj)) - [#3001](https://redirect.github.com/graphql/graphql-js/pull/3001) fix: discrepancies between Flow and TS types ([@saihaj](https://redirect.github.com/saihaj)) - [#3009](https://redirect.github.com/graphql/graphql-js/pull/3009) TS: use proper type for async generator ([@saihaj](https://redirect.github.com/saihaj)) - [#3129](https://redirect.github.com/graphql/graphql-js/pull/3129) definition.d.ts: correct types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3172](https://redirect.github.com/graphql/graphql-js/pull/3172) Avoid relying on constructor.name for instanceOf error check. ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3178](https://redirect.github.com/graphql/graphql-js/pull/3178) Export TypeKind as value ([@janicduplessis](https://redirect.github.com/janicduplessis)) - [#3223](https://redirect.github.com/graphql/graphql-js/pull/3223) Disallow "true", "false", and "null" as enum values ([@Yogu](https://redirect.github.com/Yogu)) - [#3248](https://redirect.github.com/graphql/graphql-js/pull/3248) Parser: allow classes that extend Parser to access the instance attributes ([@n1ru4l](https://redirect.github.com/n1ru4l)) - [#3257](https://redirect.github.com/graphql/graphql-js/pull/3257) fix: Preserve `deprecationReason` on `GraphQLInputField`s ([@trevor-scheer](https://redirect.github.com/trevor-scheer)) - [#3273](https://redirect.github.com/graphql/graphql-js/pull/3273) type/introspection: add missing `__Directive.args(includeDeprecated:)` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3278](https://redirect.github.com/graphql/graphql-js/pull/3278) lexer: fix expression to decode surrogate pairs ([@Cito](https://redirect.github.com/Cito)) - [#3308](https://redirect.github.com/graphql/graphql-js/pull/3308) execute: Correctly report missing root type error ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3316](https://redirect.github.com/graphql/graphql-js/pull/3316) Export OperationTypeNode as value ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3325](https://redirect.github.com/graphql/graphql-js/pull/3325) GraphQLError: fix empty `locations` if error got nodes without locations ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3339](https://redirect.github.com/graphql/graphql-js/pull/3339) Fix TS error caused by importing internal files directly ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3344](https://redirect.github.com/graphql/graphql-js/pull/3344) version: force proper typing on version literals ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Docs 📝
5 PRs were merged
- [#2849](https://redirect.github.com/graphql/graphql-js/pull/2849) README: add instructions on using experimental features ([@robrichard](https://redirect.github.com/robrichard)) - [#3121](https://redirect.github.com/graphql/graphql-js/pull/3121) `*.d.ts`: Switch comments to comment to TSDoc ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3146](https://redirect.github.com/graphql/graphql-js/pull/3146) build: add eslint-plugin-tsdoc ([@saihaj](https://redirect.github.com/saihaj)) - [#3240](https://redirect.github.com/graphql/graphql-js/pull/3240) docs(buildASTSchema): add Subscription to list of root types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3285](https://redirect.github.com/graphql/graphql-js/pull/3285) Improve documentation of validation rules ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))
##### Polish 💅
119 PRs were merged
- [#2847](https://redirect.github.com/graphql/graphql-js/pull/2847) Add tests for supporting Iterable collections across the lib ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2851](https://redirect.github.com/graphql/graphql-js/pull/2851) tests: update 'getIntrospectionQuery' tests to use custom matchers ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2858](https://redirect.github.com/graphql/graphql-js/pull/2858) separateOperations-test: refactor tests to look like snapshots ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2868](https://redirect.github.com/graphql/graphql-js/pull/2868) Extract types for normalized configs into named types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2878](https://redirect.github.com/graphql/graphql-js/pull/2878) fix: type annotation cannot appear on a constructor declaration ([@saihaj](https://redirect.github.com/saihaj)) - [#2879](https://redirect.github.com/graphql/graphql-js/pull/2879) fix: no need to mark param optional if default value is given ([@saihaj](https://redirect.github.com/saihaj)) - [#2889](https://redirect.github.com/graphql/graphql-js/pull/2889) Simplify isAsyncIterable ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2928](https://redirect.github.com/graphql/graphql-js/pull/2928) refactor: use regexp-exec ([@saihaj](https://redirect.github.com/saihaj)) - [#2933](https://redirect.github.com/graphql/graphql-js/pull/2933) printer: remove 'addDescription' wrapper ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2934](https://redirect.github.com/graphql/graphql-js/pull/2934) printer: use `wrap` util function in more places ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2935](https://redirect.github.com/graphql/graphql-js/pull/2935) VariablesAreInputTypesRule: remove incorrect return type ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2936](https://redirect.github.com/graphql/graphql-js/pull/2936) schema-test: use chai's `keys` instead of undocumented `key` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2937](https://redirect.github.com/graphql/graphql-js/pull/2937) validateSchema: inline 'getAllNodes' function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2938](https://redirect.github.com/graphql/graphql-js/pull/2938) inspect: improve typings for `toJSON` call ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2947](https://redirect.github.com/graphql/graphql-js/pull/2947) valueFromAST-test: correct typings ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2948](https://redirect.github.com/graphql/graphql-js/pull/2948) scalars-test: improve typings of function calls ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2953](https://redirect.github.com/graphql/graphql-js/pull/2953) type-validate: inline getAllNodes function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2956](https://redirect.github.com/graphql/graphql-js/pull/2956) buildClientSchema-test: correctly wrap test case ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2963](https://redirect.github.com/graphql/graphql-js/pull/2963) printer: simplify printing of query short form ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2964](https://redirect.github.com/graphql/graphql-js/pull/2964) Simplified memoize3 and improve type checking ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2965](https://redirect.github.com/graphql/graphql-js/pull/2965) parser: improve type checking of 'parseTypeReference' function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2966](https://redirect.github.com/graphql/graphql-js/pull/2966) blockString-fuzz: improve `lexValue` typing ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2967](https://redirect.github.com/graphql/graphql-js/pull/2967) flow: improve typings of exported definitions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2977](https://redirect.github.com/graphql/graphql-js/pull/2977) dedent-test: change test data to pass spell check ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2981](https://redirect.github.com/graphql/graphql-js/pull/2981) printSourceLocation: simplifying by using `padStart` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2984](https://redirect.github.com/graphql/graphql-js/pull/2984) refactor(language/ast.d.ts): use Kind enum type ([@jjangga0214](https://redirect.github.com/jjangga0214)) - [#2988](https://redirect.github.com/graphql/graphql-js/pull/2988) Replace 'Array.reduce' with 'for of' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2989](https://redirect.github.com/graphql/graphql-js/pull/2989) Switch `indexOf` to `includes` whenever possible ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2990](https://redirect.github.com/graphql/graphql-js/pull/2990) Switch instanceOf to be named export ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2992](https://redirect.github.com/graphql/graphql-js/pull/2992) flow: Improve typings for exported definitions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2995](https://redirect.github.com/graphql/graphql-js/pull/2995) introspection-test: fix test to correctly check for exceptions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2998](https://redirect.github.com/graphql/graphql-js/pull/2998) Simplify testing AST nodes in buildSchema/extendedSchema tests ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2999](https://redirect.github.com/graphql/graphql-js/pull/2999) tests: replace 'invariant' with 'expect' assertion whenever possible ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3002](https://redirect.github.com/graphql/graphql-js/pull/3002) feat: add types for internal Parser class ([@saihaj](https://redirect.github.com/saihaj)) - [#3004](https://redirect.github.com/graphql/graphql-js/pull/3004) GraphQLGrammarType: no need to code in `d.ts` can just export type ([@saihaj](https://redirect.github.com/saihaj)) - [#3005](https://redirect.github.com/graphql/graphql-js/pull/3005) ts: switch to use ObjMap utility type ([@saihaj](https://redirect.github.com/saihaj)) - [#3008](https://redirect.github.com/graphql/graphql-js/pull/3008) ESLint: enable 'func-names' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3010](https://redirect.github.com/graphql/graphql-js/pull/3010) testUtils: refactor out dedentString from dedent ([@saihaj](https://redirect.github.com/saihaj)) - [#3011](https://redirect.github.com/graphql/graphql-js/pull/3011) mapAsyncIterator: add default value for 'rejectCallback' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3012](https://redirect.github.com/graphql/graphql-js/pull/3012) mapAsyncIterator: allow 'rejectCallback' to only be synchronous ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3013](https://redirect.github.com/graphql/graphql-js/pull/3013) mapAsyncIterator: simplify mapResult ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3014](https://redirect.github.com/graphql/graphql-js/pull/3014) mapAsyncIterator: simplify abruptClose ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3015](https://redirect.github.com/graphql/graphql-js/pull/3015) printer-test: switch to dedentString ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3016](https://redirect.github.com/graphql/graphql-js/pull/3016) printer-test: do more check on kitchen sink tests ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3022](https://redirect.github.com/graphql/graphql-js/pull/3022) memoize3: remove unnecessary `mixed` type ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3023](https://redirect.github.com/graphql/graphql-js/pull/3023) predicate-test: improve typecheck ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3024](https://redirect.github.com/graphql/graphql-js/pull/3024) subscribe: simplify by rewriting as async functions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3025](https://redirect.github.com/graphql/graphql-js/pull/3025) subscribe: simplify root field extraction ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3026](https://redirect.github.com/graphql/graphql-js/pull/3026) Switch some of 'Object.keys' to more modern ES6 constructs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3028](https://redirect.github.com/graphql/graphql-js/pull/3028) mapAsyncIterator: move promise resolution into `mapResult` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3034](https://redirect.github.com/graphql/graphql-js/pull/3034) visitor-test: cleanup test for nodes with unknown kinds ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3035](https://redirect.github.com/graphql/graphql-js/pull/3035) printSchema: replace array concat with spead + update comment ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3038](https://redirect.github.com/graphql/graphql-js/pull/3038) TS: improve types mapAsyncIterator-
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/4Catalyzer/graphql-validation-complexity).
This PR contains the following updates:
^15.4.0
->^16.9.0
Release Notes
graphql/graphql-js (graphql)
### [`v16.9.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.9.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.8.2...v16.9.0) #### v16.9.0 (2024-06-21) ##### New Feature 🚀 - [#4119](https://redirect.github.com/graphql/graphql-js/pull/4119) backport\[v16]: Introduce "recommended" validation rules ([@benjie](https://redirect.github.com/benjie)) - [#4122](https://redirect.github.com/graphql/graphql-js/pull/4122) backport\[v16]: Enable passing values configuration to GraphQLEnumType as a thunk ([@benjie](https://redirect.github.com/benjie)) - [#4124](https://redirect.github.com/graphql/graphql-js/pull/4124) backport\[v16]: Implement OneOf Input Objects via `@oneOf` directive ([@benjie](https://redirect.github.com/benjie)) ##### Committers: 1 - Benjie([@benjie](https://redirect.github.com/benjie)) ### [`v16.8.2`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.8.2) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.8.1...v16.8.2) #### v16.8.2 (2024-06-12) ##### Bug Fix 🐞\* [#4022](https://redirect.github.com/graphql/graphql-js/pull/4022) fix: remove `globalThis` check and align with what bundlers can accept ([@JoviDeCroock](https://redirect.github.com/JoviDeCroock)) ##### Internal 🏠\* [#4104](https://redirect.github.com/graphql/graphql-js/pull/4104) Fix publish scripts ([@benjie](https://redirect.github.com/benjie)) ##### Committers: 2 - Benjie([@benjie](https://redirect.github.com/benjie)) - Jovi De Croock([@JoviDeCroock](https://redirect.github.com/JoviDeCroock)) ### [`v16.8.1`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.8.1) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.8.0...v16.8.1) ##### v16.8.1 (2023-09-19) ##### Bug Fix 🐞 - [#3967](https://redirect.github.com/graphql/graphql-js/pull/3967) OverlappingFieldsCanBeMergedRule: Fix performance degradation ([@AaronMoat](https://redirect.github.com/AaronMoat)) ##### Committers: 1 - Aaron Moat([@AaronMoat](https://redirect.github.com/AaronMoat)) ### [`v16.8.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.8.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.7.1...v16.8.0) #### v16.8.0 (2023-08-14) ##### New Feature 🚀 - [#3950](https://redirect.github.com/graphql/graphql-js/pull/3950) Support fourfold nested lists ([@gschulze](https://redirect.github.com/gschulze)) ##### Committers: 1 - Gunnar Schulze([@gschulze](https://redirect.github.com/gschulze)) ### [`v16.7.1`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.7.1) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.7.0...v16.7.1) #### v16.7.1 (2023-06-22) :loudspeaker: Big shout out to [@phryneas](https://redirect.github.com/phryneas), who managed to reproduce this issue and come up with this fix. ##### Bug Fix 🐞 - [#3923](https://redirect.github.com/graphql/graphql-js/pull/3923) instanceOf: workaround bundler issue with `process.env` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 1 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ### [`v16.7.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.7.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.6.0...v16.7.0) ##### v16.7.0 (2023-06-21) ##### New Feature 🚀 - [#3887](https://redirect.github.com/graphql/graphql-js/pull/3887) check "globalThis.process" before accessing it ([@kettanaito](https://redirect.github.com/kettanaito)) ##### Bug Fix 🐞 - [#3707](https://redirect.github.com/graphql/graphql-js/pull/3707) Fix crash in node when mixing sync/async resolvers (backport of [#3706](https://redirect.github.com/graphql/graphql-js/issues/3706)) ([@chrskrchr](https://redirect.github.com/chrskrchr)) - [#3838](https://redirect.github.com/graphql/graphql-js/pull/3838) Fix/invalid error propagation custom scalars (backport for 16.x.x) ([@stenreijers](https://redirect.github.com/stenreijers)) ##### Committers: 3 - Artem Zakharchenko([@kettanaito](https://redirect.github.com/kettanaito)) - Chris Karcher([@chrskrchr](https://redirect.github.com/chrskrchr)) - Sten Reijers([@stenreijers](https://redirect.github.com/stenreijers)) ### [`v16.6.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.6.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.5.0...v16.6.0) #### v16.6.0 (2022-08-16) ##### New Feature 🚀 - [#3645](https://redirect.github.com/graphql/graphql-js/pull/3645) createSourceEventStream: introduce named arguments and deprecate positional arguments ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3702](https://redirect.github.com/graphql/graphql-js/pull/3702) parser: limit maximum number of tokens ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#3686](https://redirect.github.com/graphql/graphql-js/pull/3686) Workaround for codesandbox having bug with TS enums ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3701](https://redirect.github.com/graphql/graphql-js/pull/3701) Parser: allow 'options' to explicitly accept undefined ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 2 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - Yaacov Rydzinski ([@yaacovCR](https://redirect.github.com/yaacovCR)) ### [`v16.5.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.5.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.4.0...v16.5.0) #### v16.5.0 (2022-05-09) ##### New Feature 🚀 - [#3565](https://redirect.github.com/graphql/graphql-js/pull/3565) Expose GraphQLErrorOptions type ([#3554](https://redirect.github.com/graphql/graphql-js/issues/3554)) ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ##### Committers: 1 - Ivan Goncharov([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) ### [`v16.4.0`](https://redirect.github.com/graphql/graphql-js/releases/tag/v16.4.0) [Compare Source](https://redirect.github.com/graphql/graphql-js/compare/v16.3.0...v16.4.0) #### v16.4.0 (2022-04-25) ##### New Feature 🚀 - [#3465](https://redirect.github.com/graphql/graphql-js/pull/3465) refactor: use object for GraphQLError constructor ([@n1ru4l](https://redirect.github.com/n1ru4l)) - [#3487](https://redirect.github.com/graphql/graphql-js/pull/3487) feat: expose getArgumentValues ([@saihaj](https://redirect.github.com/saihaj)) ##### Bug Fix 🐞 - [#3514](https://redirect.github.com/graphql/graphql-js/pull/3514) GraphQLError: switch constructor overload order ([@glasser](https://redirect.github.com/glasser)) ##### Docs 📝2 PRs were merged
- [#3505](https://redirect.github.com/graphql/graphql-js/pull/3505) correct outdated documentation ([@Ginhing](https://redirect.github.com/Ginhing)) - [#3512](https://redirect.github.com/graphql/graphql-js/pull/3512) Update documentation on deprecated formatError(..) ([@dwelch2344](https://redirect.github.com/dwelch2344))3 PRs were merged
- [#3522](https://redirect.github.com/graphql/graphql-js/pull/3522) tests(execution): add missing new lines ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3524](https://redirect.github.com/graphql/graphql-js/pull/3524) tests(printSchema): test omitting schema of common names ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3537](https://redirect.github.com/graphql/graphql-js/pull/3537) ESLint: disallow using node globals in src/tests ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))26 PRs were merged
- [#3468](https://redirect.github.com/graphql/graphql-js/pull/3468) ci: add stub action for canary releases on PRs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3470](https://redirect.github.com/graphql/graphql-js/pull/3470) ci: implement canary releases on PRs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3472](https://redirect.github.com/graphql/graphql-js/pull/3472) ci: remove NPM caching on canary release script ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3473](https://redirect.github.com/graphql/graphql-js/pull/3473) ci: Pass 'GITHUB_TOKEN' to GitHub CLI ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3475](https://redirect.github.com/graphql/graphql-js/pull/3475) ci: checkout repo in canary workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3477](https://redirect.github.com/graphql/graphql-js/pull/3477) ci: fix & cleanup script for modifying NPM package into canary ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3479](https://redirect.github.com/graphql/graphql-js/pull/3479) ci: Add missing require to canary script ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3481](https://redirect.github.com/graphql/graphql-js/pull/3481) ci: fix missing PR number in canary release workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3483](https://redirect.github.com/graphql/graphql-js/pull/3483) ci: fix missing PR number in canary release workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3484](https://redirect.github.com/graphql/graphql-js/pull/3484) ci: Moving GH Action template syntax to env variables ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3486](https://redirect.github.com/graphql/graphql-js/pull/3486) ci: improve comment on canary releases ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3488](https://redirect.github.com/graphql/graphql-js/pull/3488) ci: Extract branch publishing into separate workflow ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3489](https://redirect.github.com/graphql/graphql-js/pull/3489) ci: use '.node-version' file to configure node version used for CI ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3491](https://redirect.github.com/graphql/graphql-js/pull/3491) ci: use separate workflows for 'push' and 'pull_request' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3493](https://redirect.github.com/graphql/graphql-js/pull/3493) ci: remove unused 'workflow_id' input ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3496](https://redirect.github.com/graphql/graphql-js/pull/3496) ci: fix deprecation of canary package ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3497](https://redirect.github.com/graphql/graphql-js/pull/3497) ci: use environments to track deployments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3502](https://redirect.github.com/graphql/graphql-js/pull/3502) ci: fix deployments of npm & deno branches ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3503](https://redirect.github.com/graphql/graphql-js/pull/3503) ci: Add '[@github-actions](https://redirect.github.com/github-actions)' bot ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3523](https://redirect.github.com/graphql/graphql-js/pull/3523) github-actions-bot: replace 'octokit/request-action' action ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3525](https://redirect.github.com/graphql/graphql-js/pull/3525) github-actions-bot: Fix collapsing of unrelated comments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3530](https://redirect.github.com/graphql/graphql-js/pull/3530) integrationTests/node: fix crash on Mac with M1 by using docker ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3534](https://redirect.github.com/graphql/graphql-js/pull/3534) github-actions-bot: fix publishing of canary releases ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3536](https://redirect.github.com/graphql/graphql-js/pull/3536) github-actions-bot: fix usage of NPM_CANARY_PR_PUBLISH_TOKEN ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3538](https://redirect.github.com/graphql/graphql-js/pull/3538) github-actions-bot: fix reply on commands ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3543](https://redirect.github.com/graphql/graphql-js/pull/3543) pass valid value to codecov config ([@is2ei](https://redirect.github.com/is2ei))2 PRs were merged
- [#3485](https://redirect.github.com/graphql/graphql-js/pull/3485) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3533](https://redirect.github.com/graphql/graphql-js/pull/3533) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))2 PRs were merged
- [#3269](https://redirect.github.com/graphql/graphql-js/pull/3269) feat: setup docs site ([@saihaj](https://redirect.github.com/saihaj)) - [#3437](https://redirect.github.com/graphql/graphql-js/pull/3437) CONTRIBUTING.md: remove reference to Facebook bug bounty program ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))7 PRs were merged
- [#3441](https://redirect.github.com/graphql/graphql-js/pull/3441) UniqueArgumentDefinitionNamesRule: Improve tests ([@Cito](https://redirect.github.com/Cito)) - [#3446](https://redirect.github.com/graphql/graphql-js/pull/3446) Use 'eslint-plugin-simple-import-sort' to sort imports ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3447](https://redirect.github.com/graphql/graphql-js/pull/3447) Fix index.ts files to be compatible with Typedoc ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3452](https://redirect.github.com/graphql/graphql-js/pull/3452) validation-test.ts: various grammar fixes ([@spawnia](https://redirect.github.com/spawnia)) - [#3457](https://redirect.github.com/graphql/graphql-js/pull/3457) OverlappingFieldsCanBeMergedRule: simplify argument comparison ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3459](https://redirect.github.com/graphql/graphql-js/pull/3459) blockString-tests: remove duplicate test, fix grammar ([@Cito](https://redirect.github.com/Cito)) - [#3461](https://redirect.github.com/graphql/graphql-js/pull/3461) visit: simplify handling of root node ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))5 PRs were merged
- [#3433](https://redirect.github.com/graphql/graphql-js/pull/3433) gh/actions: refactor out action to deploy branches ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3434](https://redirect.github.com/graphql/graphql-js/pull/3434) gh/actions: remove 'npm dedupe' check since it unexpectadly do update ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3435](https://redirect.github.com/graphql/graphql-js/pull/3435) gh/actions: run benchmark & diff-npm-package only on PRs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3436](https://redirect.github.com/graphql/graphql-js/pull/3436) gh/actions: make all cloned repo read-only ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3443](https://redirect.github.com/graphql/graphql-js/pull/3443) ci/checkPackageLock: update only package-lock.json ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))4 PRs were merged
- [#3438](https://redirect.github.com/graphql/graphql-js/pull/3438) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3444](https://redirect.github.com/graphql/graphql-js/pull/3444) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3462](https://redirect.github.com/graphql/graphql-js/pull/3462) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3463](https://redirect.github.com/graphql/graphql-js/pull/3463) Update deps + fix 'npm audit' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))2 PRs were merged
- [#3420](https://redirect.github.com/graphql/graphql-js/pull/3420) resources/utils: extract 'writeGeneratedFile' to utils ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3427](https://redirect.github.com/graphql/graphql-js/pull/3427) gh/actions: run benchmark and NPM diff on correct base commits ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))9 PRs were merged
- [#3365](https://redirect.github.com/graphql/graphql-js/pull/3365) Add devAssert about removal of positional arguments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3376](https://redirect.github.com/graphql/graphql-js/pull/3376) execute: fix spec section names in comments ([@twof](https://redirect.github.com/twof)) - [#3377](https://redirect.github.com/graphql/graphql-js/pull/3377) lexer-tests: Use tildas as invalid characters ([@twof](https://redirect.github.com/twof)) - [#3391](https://redirect.github.com/graphql/graphql-js/pull/3391) Enable '[@typescript-eslint/switch-exhaustiveness-check](https://redirect.github.com/typescript-eslint/switch-exhaustiveness-check)' rule ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3392](https://redirect.github.com/graphql/graphql-js/pull/3392) Remove $FlowFixMe comments ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3396](https://redirect.github.com/graphql/graphql-js/pull/3396) typeFromAST: use exhaustive switch and remove invariant ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3400](https://redirect.github.com/graphql/graphql-js/pull/3400) expectJSON: improve readability ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3401](https://redirect.github.com/graphql/graphql-js/pull/3401) tests: Improve formating of strings with 'dedent' tag ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3406](https://redirect.github.com/graphql/graphql-js/pull/3406) Simplify code by replacing Object.entries with Object.keys ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))9 PRs were merged
- [#3386](https://redirect.github.com/graphql/graphql-js/pull/3386) Add support for Node17 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3388](https://redirect.github.com/graphql/graphql-js/pull/3388) Drop "eslint-plugin-istanbul" and implement as internal ESLint rule ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3398](https://redirect.github.com/graphql/graphql-js/pull/3398) Switch coverage from nyc to c8 ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3403](https://redirect.github.com/graphql/graphql-js/pull/3403) ci: add check that 'package-lock.json' doesn't have conflicts ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3404](https://redirect.github.com/graphql/graphql-js/pull/3404) github/workflows: simplify npm cache setup ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3405](https://redirect.github.com/graphql/graphql-js/pull/3405) Use for '--ignore-scripts' for all `npm ci` & `npm install` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3407](https://redirect.github.com/graphql/graphql-js/pull/3407) ci: add check for unnecessary duplicates in package-lock.json ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3416](https://redirect.github.com/graphql/graphql-js/pull/3416) fix c8 ignore decorator typos ([@yaacovCR](https://redirect.github.com/yaacovCR)) - [#3417](https://redirect.github.com/graphql/graphql-js/pull/3417) package.json: Specify NPM release tag explicitly ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))4 PRs were merged
- [#3387](https://redirect.github.com/graphql/graphql-js/pull/3387) Update package-lock.json ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3389](https://redirect.github.com/graphql/graphql-js/pull/3389) package.json: Drop unused '[@babel/eslint-parser](https://redirect.github.com/babel/eslint-parser)' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3390](https://redirect.github.com/graphql/graphql-js/pull/3390) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3399](https://redirect.github.com/graphql/graphql-js/pull/3399) Update deps ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))5 PRs were merged
- [#2849](https://redirect.github.com/graphql/graphql-js/pull/2849) README: add instructions on using experimental features ([@robrichard](https://redirect.github.com/robrichard)) - [#3121](https://redirect.github.com/graphql/graphql-js/pull/3121) `*.d.ts`: Switch comments to comment to TSDoc ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3146](https://redirect.github.com/graphql/graphql-js/pull/3146) build: add eslint-plugin-tsdoc ([@saihaj](https://redirect.github.com/saihaj)) - [#3240](https://redirect.github.com/graphql/graphql-js/pull/3240) docs(buildASTSchema): add Subscription to list of root types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3285](https://redirect.github.com/graphql/graphql-js/pull/3285) Improve documentation of validation rules ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov))119 PRs were merged
- [#2847](https://redirect.github.com/graphql/graphql-js/pull/2847) Add tests for supporting Iterable collections across the lib ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2851](https://redirect.github.com/graphql/graphql-js/pull/2851) tests: update 'getIntrospectionQuery' tests to use custom matchers ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2858](https://redirect.github.com/graphql/graphql-js/pull/2858) separateOperations-test: refactor tests to look like snapshots ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2868](https://redirect.github.com/graphql/graphql-js/pull/2868) Extract types for normalized configs into named types ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2878](https://redirect.github.com/graphql/graphql-js/pull/2878) fix: type annotation cannot appear on a constructor declaration ([@saihaj](https://redirect.github.com/saihaj)) - [#2879](https://redirect.github.com/graphql/graphql-js/pull/2879) fix: no need to mark param optional if default value is given ([@saihaj](https://redirect.github.com/saihaj)) - [#2889](https://redirect.github.com/graphql/graphql-js/pull/2889) Simplify isAsyncIterable ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2928](https://redirect.github.com/graphql/graphql-js/pull/2928) refactor: use regexp-exec ([@saihaj](https://redirect.github.com/saihaj)) - [#2933](https://redirect.github.com/graphql/graphql-js/pull/2933) printer: remove 'addDescription' wrapper ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2934](https://redirect.github.com/graphql/graphql-js/pull/2934) printer: use `wrap` util function in more places ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2935](https://redirect.github.com/graphql/graphql-js/pull/2935) VariablesAreInputTypesRule: remove incorrect return type ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2936](https://redirect.github.com/graphql/graphql-js/pull/2936) schema-test: use chai's `keys` instead of undocumented `key` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2937](https://redirect.github.com/graphql/graphql-js/pull/2937) validateSchema: inline 'getAllNodes' function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2938](https://redirect.github.com/graphql/graphql-js/pull/2938) inspect: improve typings for `toJSON` call ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2947](https://redirect.github.com/graphql/graphql-js/pull/2947) valueFromAST-test: correct typings ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2948](https://redirect.github.com/graphql/graphql-js/pull/2948) scalars-test: improve typings of function calls ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2953](https://redirect.github.com/graphql/graphql-js/pull/2953) type-validate: inline getAllNodes function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2956](https://redirect.github.com/graphql/graphql-js/pull/2956) buildClientSchema-test: correctly wrap test case ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2963](https://redirect.github.com/graphql/graphql-js/pull/2963) printer: simplify printing of query short form ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2964](https://redirect.github.com/graphql/graphql-js/pull/2964) Simplified memoize3 and improve type checking ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2965](https://redirect.github.com/graphql/graphql-js/pull/2965) parser: improve type checking of 'parseTypeReference' function ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2966](https://redirect.github.com/graphql/graphql-js/pull/2966) blockString-fuzz: improve `lexValue` typing ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2967](https://redirect.github.com/graphql/graphql-js/pull/2967) flow: improve typings of exported definitions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2977](https://redirect.github.com/graphql/graphql-js/pull/2977) dedent-test: change test data to pass spell check ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2981](https://redirect.github.com/graphql/graphql-js/pull/2981) printSourceLocation: simplifying by using `padStart` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2984](https://redirect.github.com/graphql/graphql-js/pull/2984) refactor(language/ast.d.ts): use Kind enum type ([@jjangga0214](https://redirect.github.com/jjangga0214)) - [#2988](https://redirect.github.com/graphql/graphql-js/pull/2988) Replace 'Array.reduce' with 'for of' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2989](https://redirect.github.com/graphql/graphql-js/pull/2989) Switch `indexOf` to `includes` whenever possible ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2990](https://redirect.github.com/graphql/graphql-js/pull/2990) Switch instanceOf to be named export ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2992](https://redirect.github.com/graphql/graphql-js/pull/2992) flow: Improve typings for exported definitions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2995](https://redirect.github.com/graphql/graphql-js/pull/2995) introspection-test: fix test to correctly check for exceptions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2998](https://redirect.github.com/graphql/graphql-js/pull/2998) Simplify testing AST nodes in buildSchema/extendedSchema tests ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#2999](https://redirect.github.com/graphql/graphql-js/pull/2999) tests: replace 'invariant' with 'expect' assertion whenever possible ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3002](https://redirect.github.com/graphql/graphql-js/pull/3002) feat: add types for internal Parser class ([@saihaj](https://redirect.github.com/saihaj)) - [#3004](https://redirect.github.com/graphql/graphql-js/pull/3004) GraphQLGrammarType: no need to code in `d.ts` can just export type ([@saihaj](https://redirect.github.com/saihaj)) - [#3005](https://redirect.github.com/graphql/graphql-js/pull/3005) ts: switch to use ObjMap utility type ([@saihaj](https://redirect.github.com/saihaj)) - [#3008](https://redirect.github.com/graphql/graphql-js/pull/3008) ESLint: enable 'func-names' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3010](https://redirect.github.com/graphql/graphql-js/pull/3010) testUtils: refactor out dedentString from dedent ([@saihaj](https://redirect.github.com/saihaj)) - [#3011](https://redirect.github.com/graphql/graphql-js/pull/3011) mapAsyncIterator: add default value for 'rejectCallback' ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3012](https://redirect.github.com/graphql/graphql-js/pull/3012) mapAsyncIterator: allow 'rejectCallback' to only be synchronous ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3013](https://redirect.github.com/graphql/graphql-js/pull/3013) mapAsyncIterator: simplify mapResult ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3014](https://redirect.github.com/graphql/graphql-js/pull/3014) mapAsyncIterator: simplify abruptClose ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3015](https://redirect.github.com/graphql/graphql-js/pull/3015) printer-test: switch to dedentString ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3016](https://redirect.github.com/graphql/graphql-js/pull/3016) printer-test: do more check on kitchen sink tests ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3022](https://redirect.github.com/graphql/graphql-js/pull/3022) memoize3: remove unnecessary `mixed` type ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3023](https://redirect.github.com/graphql/graphql-js/pull/3023) predicate-test: improve typecheck ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3024](https://redirect.github.com/graphql/graphql-js/pull/3024) subscribe: simplify by rewriting as async functions ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3025](https://redirect.github.com/graphql/graphql-js/pull/3025) subscribe: simplify root field extraction ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3026](https://redirect.github.com/graphql/graphql-js/pull/3026) Switch some of 'Object.keys' to more modern ES6 constructs ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3028](https://redirect.github.com/graphql/graphql-js/pull/3028) mapAsyncIterator: move promise resolution into `mapResult` ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3034](https://redirect.github.com/graphql/graphql-js/pull/3034) visitor-test: cleanup test for nodes with unknown kinds ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3035](https://redirect.github.com/graphql/graphql-js/pull/3035) printSchema: replace array concat with spead + update comment ([@IvanGoncharov](https://redirect.github.com/IvanGoncharov)) - [#3038](https://redirect.github.com/graphql/graphql-js/pull/3038) TS: improve types mapAsyncIterator-