# GraphQL.js v17.0.0-beta.2 - Product: GraphQL.js (https://whatsnew.fyi/product/graphql-js) - Vendor: GraphQL Foundation - Date: 2026-06-01 - Version: v17.0.0-beta.2 - Original notes: https://github.com/graphql/graphql-js/releases/tag/v17.0.0-beta.2 - Permalink: https://whatsnew.fyi/product/graphql-js/releases/v17.0.0-beta.2 - Labels: Pre-release What's New is an index, not a publisher: every entry below links to the vendor's own release notes, which are the authoritative source. Entries are labelled where they are hand-curated sample data, pre-releases, or drawn from a secondary source such as a developer blog. Reuse: release facts (products, versions, dates, links, CVE ids and flags) are open data under CC BY 4.0, from the API at https://whatsnew.fyi/api/v1 or the nightly dataset at https://github.com/whatsnew-fyi/dataset. The summaries, labels and curation are © What's New: quote freely with attribution and a link back; wholesale republication of them is not permitted — terms: https://whatsnew.fyi/terms. The vendors' own release notes remain their publishers'. --- - **removed** — Strip private discriminator from package types - **changed** — Discriminate between GraphQLNonNull and GraphQLList - **changed** — Extract ExecutionArgs types to separate file - **added** — Adopt Error.cause in favor of originalError - **added** — Export VariableValues - **added** — Export ValidationOptions - **added** — Export SchemaChange - **added** — Export defer and stream validation rules - **added** — Export legacy incremental execution functions and helpers - **fixed** — Development declaration stubs - **fixed** — FragmentVariableValueSource.value can be non-constant - **fixed** — Remove unnecessary native promise coercion ##### v17.0.0-beta.2 (2026-06-02) ###### Breaking Change 💥 * [#4751](https://github.com/graphql/graphql-js/pull/4751) build: strip private discriminator from package types ([@yaacovCR](https://github.com/yaacovCR)) * [#4752](https://github.com/graphql/graphql-js/pull/4752) fix: discriminate between GraphQLNonNull and GraphQLList ([@yaacovCR](https://github.com/yaacovCR)) * [#4770](https://github.com/graphql/graphql-js/pull/4770) refactor: extract ExecutionArgs types to separate file ([@yaacovCR](https://github.com/yaacovCR)) ###### New Feature 🚀 * [#4485](https://github.com/graphql/graphql-js/pull/4485) Adopt Error.cause in favor of originalError ([@Malien](https://github.com/Malien)) ###### Bug Fix 🐞 * [#4739](https://github.com/graphql/graphql-js/pull/4739) chore(tests): add test for directive extensions without flag enabled (#4738) ([@yaacovCR](https://github.com/yaacovCR)) * [#4743](https://github.com/graphql/graphql-js/pull/4743) api: export VariableValues ([@yaacovCR](https://github.com/yaacovCR)) * [#4744](https://github.com/graphql/graphql-js/pull/4744) api: export ValidationOptions ([@yaacovCR](https://github.com/yaacovCR)) * [#4745](https://github.com/graphql/graphql-js/pull/4745) api: export SchemaChange ([@yaacovCR](https://github.com/yaacovCR)) * [#4746](https://github.com/graphql/graphql-js/pull/4746) api: export defer and stream validation rules ([@yaacovCR](https://github.com/yaacovCR)) * [#4747](https://github.com/graphql/graphql-js/pull/4747) api: export legacy incremental execution functions and helpers ([@yaacovCR](https://github.com/yaacovCR)) * [#4753](https://github.com/graphql/graphql-js/pull/4753) fix(build): development declaration stubs ([@yaacovCR](https://github.com/yaacovCR)) * [#4773](https://github.com/graphql/graphql-js/pull/4773) fix: FragmentVariableValueSource.value can be non-constant ([@yaacovCR](https://github.com/yaacovCR)) * [#4775](https://github.com/graphql/graphql-js/pull/4775) fix: remove unnecessary native promise coercion ([@yaacovCR](https://github.com/yaacovCR)) ###### Docs 📝
3 PRs were merged * [#4742](https://github.com/graphql/graphql-js/pull/4742) docs: add v17 API docs lint coverage ([@yaacovCR](https://github.com/yaacovCR)) * [#4756](https://github.com/graphql/graphql-js/pull/4756) docs: hide private internals `schema.__validationErrors` and `inputValue._memoizedCoercedDefaultValue` ([@yaacovCR](https://github.com/yaacovCR)) * [#4758](https://github.com/graphql/graphql-js/pull/4758) docs: fix inline examples, deprecation descriptions, type category ([@yaacovCR](https://github.com/yaacovCR))
###### Polish 💅 * [#4774](https://github.com/graphql/graphql-js/pull/4774) test: restore GraphQLError no-stack coverage ([@yaacovCR](https://github.com/yaacovCR)) ###### Internal 🏠
3 PRs were merged * [#4771](https://github.com/graphql/graphql-js/pull/4771) internal: drop node 20 integration tests ([@yaacovCR](https://github.com/yaacovCR)) * [#4772](https://github.com/graphql/graphql-js/pull/4772) internal: add deno 2.8.x to CI ([@yaacovCR](https://github.com/yaacovCR)) * [#4777](https://github.com/graphql/graphql-js/pull/4777) fix: preserve generated version documentation ([@yaacovCR](https://github.com/yaacovCR))
###### Committers: 2 * Yaacov Rydzinski ([@yaacovCR](https://github.com/yaacovCR)) * Yaroslav Petryk([@Malien](https://github.com/Malien))