v17.0.0-alpha.2
版本发布时间: 2022-09-27 19:27:47
graphql/graphql-js最新发布版本:v17.0.0-alpha.7(2024-08-14 17:36:36)
v17.0.0-alpha.2 (2022-09-22)
Breaking Change 💥
-
#3622 fix: update remaining
GraphQLNonNull<GraphQLType>
codepoints toGraphQLNonNull<GraphQLNullableType>
(@yaacovCR) - #3621 change incorrect subscribe return type to a GraphQLError (@yaacovCR)
- #3620 align return types from execution and subscription (@yaacovCR)
- #3635 createSourceEventStream: remove deprecated positional argument overload (@yaacovCR)
- #3642 Remove 'devAssert' checks that duplicate TS types (@IvanGoncharov)
- #3643 Remove 'assertValidExecutionArguments' function (@IvanGoncharov)
- #3733 incrementalDelivery: remove singleResult wrapper (@yaacovCR)
New Feature 🚀
-
#3597 Fix typing for
isNonNullType
(@yaacovCR) - #3605 Add new 'GraphQLSchema.getField' method (@IvanGoncharov)
- #3634 createSourceEventStream: introduce named arguments and deprecate positional arguments (@yaacovCR)
- #2757 Support returning async iterables from resolver functions (@IvanGoncharov)
- #3418 [RFC] Client Controlled Nullability experiment implementation w/o execution (@twof)
- #3684 parser: limit maximum number of tokens (@IvanGoncharov)
- #3659 Reference implementation of defer and stream spec (@robrichard)
- #3361 deploy full ESM with "type": "module" in "latest-esm" npm tag (@PabloSzx)
Bug Fix 🐞
- #3618 extendSchema: Do not modify standard directives (@IvanGoncharov)
-
#3639 refactor: subscribe: introduce
buildPerEventExecutionContext
(@yaacovCR) - #3670 Fix: make public API compatible with 'exactOptionalPropertyTypes' (@IvanGoncharov)
- #3678 Parser: allow 'options' to explicitly accept undefined (@IvanGoncharov)
- #3720 Filter subsequent payloads when parent field is null (@robrichard)
- #3729 incrementalDelivery: fix iterable streaming with errors (@yaacovCR)
Docs 📝
Polish 💅
16 PRs were merged
-
#3598 Refactor
GraphQL*Type
TS types to be more DRY (@yaacovCR) - #3627 Reuse GraphQLWrappingType in 'GraphQLType' definition (@IvanGoncharov)
-
#3630 subscribe-test: extract
subscribeWithBadFn
function (@yaacovCR) -
#3636 move
subscribe
code toexecute
file (@yaacovCR) - #3638 refactor: small refactors within execute (@yaacovCR)
- #3641 ESLint: error on function accepting more than 5 parameters (@IvanGoncharov)
-
#3654 refactor: use
exeContext
strategically (@yaacovCR) - #3681 Fix coerceInputValue test name (@spawnia)
- #3680 validate: remove warning about throwing literal (@IvanGoncharov)
- #3683 polish: remove unnecessary Maybe (@yaacovCR)
-
#3688 Replace all instances of
ObjMap<boolean>
with ES6 Set (@IvanGoncharov) -
#3689 Remove superficial
.values()
and.entries()
calls (@IvanGoncharov) - #3690 Motivation: looked into this it as part of #3687 (@IvanGoncharov)
-
#3655 polish: add tests for
expectPromise
andexpectEqualPromisesOrValues
(@yaacovCR) - #3696 polish: mapAsyncIterator (@yaacovCR)
- #3736 promiseForObject: convert to be async function (@IvanGoncharov)
Internal 🏠
36 PRs were merged
- #3596 benchmark: test performance cost of re-creating schema (@IvanGoncharov)
- #3602 gen-changelog: fix crash due to 'git rev-list' returning empty string (@IvanGoncharov)
- #3604 benchmark: various improvments to benchmark (@IvanGoncharov)
-
#3608 Remove 'utf-8' as argument of
writeFileSync
(@IvanGoncharov) -
#3610 resources: add new
localRepoPath
utility function (@IvanGoncharov) - #3611 diff-npm-package: move report into shared 'reports' folder (@IvanGoncharov)
- #3612 github actions: switch embedded JS to ESM (@IvanGoncharov)
- #3613 GH actions: fix 'checkForCommonlyIgnoredFiles' (@IvanGoncharov)
- #3614 Lint GitHub Actions (@IvanGoncharov)
- #3615 Update GitHub actions dependencies (@IvanGoncharov)
- #3623 diff-npm-package: create reports folder (@yaacovCR)
- #3625 benchmark: replace failing on context switching with warning (@IvanGoncharov)
- #3624 diff-npm-package: fix reports dir creation (@yaacovCR)
- #3626 ci: Fix imports in 'actions/github-script' (@IvanGoncharov)
- #3631 ci: speed up 'ci' workflow by removing unneeded internal dependencies (@IvanGoncharov)
- #3628 benchmark: add Windows compatibility (@yaacovCR)
- #3134 Async benchmarks (@robrichard)
-
#3668 Cleanup words/files ignores in
cspell.yml
(@IvanGoncharov) - #3669 tsconfig: Explicitly list all type checking options (@IvanGoncharov)
-
#3692 gen-changelog: Use
fetch
instead ofhttp.request
(@IvanGoncharov) - #3695 benchmark: use 'execOutput' from 'util.ts' (@IvanGoncharov)
-
#3697 resources: Move
mkdirSync
intowriteGeneratedFile
(@IvanGoncharov) - #3698 resources: merge execOutput and exec into single function (@IvanGoncharov)
- #3699 ci: add dependency review workflow (@IvanGoncharov)
- #3704 resources: replace execSync with spawnSync (@IvanGoncharov)
- #3700 ci: Add CodeQL analysis (@IvanGoncharov)
- #3564 Fully switch to ESM (scripts, tests, etc.) (@IvanGoncharov)
- #3721 ci: Move 'integration-test.ts' into 'resources' (@IvanGoncharov)
- #3723 resources: add utility function to create tmp dir (@IvanGoncharov)
- #3724 resources/utils.ts: npm/git will inherit stdout by default (@IvanGoncharov)
- #3725 changelog: use top-level await to simplify code (@IvanGoncharov)
- #3735 resources: replace usage of deprecated ts function (@IvanGoncharov)
- #3738 Remove unused Babel config files (@IvanGoncharov)
- #3741 build-npm/deno: use TS to find all *.ts files (@IvanGoncharov)
- #3744 fix github actions lint (@robrichard)
- #3745 resources/util: spawn command fail on error (@IvanGoncharov)
Dependency 📦
4 PRs were merged
- #3607 Update deps (@IvanGoncharov)
- #3667 Update deps (@IvanGoncharov)
- #3693 Update deps (@IvanGoncharov)
- #3737 Update deps (@IvanGoncharov)
Committers: 6
- Alex Reilly(@twof)
- Benedikt Franke(@spawnia)
- Ivan Goncharov(@IvanGoncharov)
- Pablo Sáez(@PabloSzx)
- Rob Richard(@robrichard)
- Yaacov Rydzinski (@yaacovCR)