graphql
17.1.0 · 4 Nov 2026MIT74.5M / weekRepositorynpmAtom feed
Upgrading graphql From 0.4.18 to 0.5.0
1 release in betweenevery note read
Reading releases, release notes and advisories…
- 2
- changes to make
- 0
- advisories fixed
- 0
- new
- 0
- fixes
Before you upgrade
Tick each one off as you go- Breaking0.5.0
- Breaking0.5.0
9 other lines we could not sort, mostly version bumps
- 0.5.0
The
graphqlandexecutefunctions now accept acontextparameter which is distinct fromrootValueand available as the third argument to allresolvefunctions. The additional information is now the fourth argument toresolvefunctions. Anyresolvefunction which currently uses the third argument will need to be updated in order to use this version of graphql-js. - 0.5.0
Types can now be explicitly provided to
new GraphQLSchema({ types: [...] }). Types which implement an interface but are otherwise not referenced as a field return type are no longer automatically added to the Schema! Provide types like this directly tonew GraphQLSchemato ensure they are included in order to use this version of graphql-js. This fixes a long-standing bug which made it difficult to build multiple related Schema with the same type instances. - 0.5.0
Spec compliance: Directives are now defined and introspected with an array of locations they can be legally placed, rather than a set of booleans.
- 0.5.0
Spec compliance: Overlapping fields must have compatible response shapes (c034de9)
- 0.5.0
More support for the experimental schema IDL: (#325) (#323) (fdafe32)
- 0.5.0
Spec compliance:
@skipand@includeare now commutative. (#335) (47f87fa) - 0.5.0
No longer sends incorrect error messages when a response name is not provided
- 0.5.0
Visitor now correctly encounters both
enterandleavewhen editing the root node in an AST - 0.5.0
Visitor helpers are now directly exported (5ea2ff1)
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.