v17.0.0-alpha.1
版本发布时间: 2022-05-20 03:51:09
graphql/graphql-js最新发布版本:v17.0.0-alpha.7(2024-08-14 17:36:36)
v17.0.0-alpha.1 (2022-05-19)
Breaking Change 💥
- #3546 Drop support for node 12 and 17, update rest to latest minor version (@IvanGoncharov)
- #3547 Set TS 4.4 as minimal supported version (@IvanGoncharov)
- #3456 print: add spaces inside input object (@IvanGoncharov)
- #3552 Switch NPM package to support only ESM (@IvanGoncharov)
- #3570 Delete deprecated 'graphql/subscription' module (@IvanGoncharov)
-
#3571 Remove deprecated
getOperationRootType
(@IvanGoncharov) -
#3572 Remove deprecated
assertValidName
&isValidNameError
(@IvanGoncharov) -
#3574 Remove deprecated
TypeInfo
argument ofvalidate
function (@IvanGoncharov) -
#3575 Remove deprecate
getFieldDefFn
argument ofTypeInfo
constructor (@IvanGoncharov) - #3577 Drop deprecated positional arguments on GraphQLError (@IvanGoncharov)
- #3578 Remove dev asserts added temporary for v15 to v16 migration (@IvanGoncharov)
-
#3579 Remove deprecated
*Enum
types (@IvanGoncharov) -
#3580 Remove deprecated
getVisitFn
function (@IvanGoncharov) - #3582 Remove deprecate printError/formatError methods (@IvanGoncharov)
-
#3594 Revert "Remove deprecate
getFieldDefFn
argument ofTypeInfo
const… (@IvanGoncharov) -
#3595 Revert "Remove deprecated
TypeInfo
argument ofvalidate
function" (@IvanGoncharov)
Deprecation ⚠
- #3581 ASTVisitorKeyMap: drop deprecation notice (@IvanGoncharov)
New Feature 🚀
- #3554 Expose GraphQLErrorOptions type (@IvanGoncharov)
- #3453 fix(validate): no reusing root types (@thomasheyenbrock)
Bug Fix 🐞
Polish 💅
6 PRs were merged
- #3566 validateSchema: unify check of root types (@IvanGoncharov)
- #3567 validation-test: Test root type validation with multiple types (@IvanGoncharov)
-
#3568 Refactor out
AccumulatorMap
fromgroupBy
(@IvanGoncharov) -
#3569 invariant/devAssert: make typings of
condition
stricter (@IvanGoncharov) -
#3583 tests: Use chai's
assert
instead ofinvariant
(@IvanGoncharov) -
#3584 Speedup tests by ~15% by moving some
stripIgnoredCharacters
tests to fuzzing (@IvanGoncharov)
Internal 🏠
18 PRs were merged
- #3544 internal: add node@18 to supported versions and test it (@IvanGoncharov)
- #3545 package.json: Switch to alpha tag on NPM (@IvanGoncharov)
- #3548 ci: disable Codecov and measure test coverage on every run (@IvanGoncharov)
- #3549 ESLint: add 'shared-node-browser' environment (@IvanGoncharov)
- #3551 Add test watch script (@yaacovCR)
-
#3555 Switch from shell's
cp
to 'fs.cpSync' in scripts (@IvanGoncharov) -
#3557 Fully switch to
tsc
and removebabel
(@IvanGoncharov) - #3558 integrationTests: switch tests to TS (@IvanGoncharov)
- #3559 benchmark: rewrite benchmark in TS (@IvanGoncharov)
- #3560 diff-npm-packages: fix crash with ENOBUFS (@IvanGoncharov)
- #3562 resources: switch internal scripts to TS (@IvanGoncharov)
-
#3585 internal: move
benchmark.ts
into resources folder (@IvanGoncharov) - #3586 Fix performance issue with ESLint (@IvanGoncharov)
- #3587 resources: mark node's modules with 'node:' prefix (@IvanGoncharov)
- #3588 Remove superficial ESLint config (@IvanGoncharov)
- #3589 Remove superficial ESLint config (@IvanGoncharov)
-
#3590 resources: remove all usages of
require.main
(@IvanGoncharov) - #3591 Initial support of mutation testing with stryker-js (@IvanGoncharov)
Dependency 📦
2 PRs were merged
- #3553 Update deps (@IvanGoncharov)
- #3563 Update deps (@IvanGoncharov)
Committers: 4
- Ivan Goncharov(@IvanGoncharov)
- Laurin Quast(@n1ru4l)
- Thomas Heyenbrock(@thomasheyenbrock)
- Yaacov Rydzinski (@yaacovCR)