graphql
17.1.0 · 4 Nov 2026MIT74.5M / weekRepositorynpmAtom feed
Upgrading graphql From 0.7.0 to 0.13.2
33 releases in betweennotes for 32
Reading releases, release notes and advisories…
- 11+
- changes to make
- 0
- advisories fixed
- 38+
- new
- 33+
- fixes
Counted from 32 of 33 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking0.12.1
- Breaking0.12.1
- Breaking0.12.0
- Breaking0.12.0
- Breaking0.11.0
- Breaking0.10.0
- Breaking0.10.0
- Breaking0.9.2
- Breaking0.7.2
- Breaking0.7.1
Release by release
- New
Allow buildSchema() to take options
- New
0.13.1nothing new or fixed in the note
- New
Allows parsing pre-spec object type SDL with
parse(text, {allowLegacySDLEmptyFields: true}) - New
Add
introspectionFromSchemautility function - New
Add
lexicographicSortSchemautility function - New
Allow use of legacy names during schema validation with
{allowedLegacyNames: ['__badName']}
- New
0.12.3nothing new or fixed in the note
- New
Support 5-year-old legacy GraphQL services
- New
- Breaking
Removed
experimental.const_paramsFlow option to ensure support for projects which do not enable this option (#1157, #1160) - Breaking
Changed
visit()to returnanyinstead ofmixedto reduce the scope of the breaking change of adding Flow types for this function.
- Breaking
- Breaking
As a result, there are a number of breaking changes to be aware of, especially for those building tools with GraphQL.js.
- Breaking
Detect breaking changes within directives
- Deprecated
A new function
getIntrospectionQuery()is exported, and the existingintrospectionQueryconstant is deprecated. This helps improve the flow types and allows for some flexibility and options. - New
Allow serializing scalars as null.
- Breaking
- Fixed
Fix an issue where flow typed resolvers would unnecessarily need to include
__proto__
- Fixed
74 other lines we could not sort, mostly version bumps
- 0.13.2
Update to Flow v0.68
- 0.13.2
Update iterall
- 0.13.2
buildSchema: Make options optional
- 0.13.1
Publish
.mjsfiles for module code to support native esmodules - 0.13.1
Interface type definitions may now be extended with
extendSchema - 0.13.1
isValidNameErrorutility is now exported as a non-throwing alternative toassertValidName - 0.13.1
ExectuableDefinitionNodeFlow type is now exported - 0.13.1
extendSchemanow preserves (and allows extending) a list of legacy field names which would otherwise be considered invalid - 0.13.1
Replaced a misplaced licensing header
- 0.13.0
Updated to latest spec for SDL for multiple interface implementations
2 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.