graphql
17.1.0 · 4 Nov 2026MIT74.5M / weekRepositorynpmAtom feed
14.7.0 is the newest release of 14.x.
In short
9 new5 fixed24 changed41 internal
Release note
New Feature
Use 'Object.freeze' consistently on all exported Array/Object constants (@IvanGoncharov)
Add "version" string and parsed "versionInfo" (@IvanGoncharov)
Export "SubscriptionArgs" type (@IvanGoncharov)
GraphQLScalarType: Make 'serialize' optional with 'identityFunc' as default (@IvanGoncharov)
validateSchema: Validate Input Objects self-references (@IvanGoncharov)
Make 'parseLiteral' optional and use wrapped 'parseValue' by default (@IvanGoncharov)
Extract 'printLocation' & 'printSourceLocation' functions (@IvanGoncharov)
Bug Fix
findBreakingChanges: Use string representation to compare default values (@IvanGoncharov)
Accept normal object as 'variableValues' arg of 'graphql' function (@IvanGoncharov)
Accept normal object as 'variableValues' arg of subscribe functions (@IvanGoncharov)
Docs
2 PRs were merged
Polish
40 PRs were merged
findBreakingChanges: Extract 'findByName' utility function (@IvanGoncharov)
findBreakingChanges: Simplify type to string conversion (@IvanGoncharov)
findBreakingChanges: Add missing dots to descriptions (@IvanGoncharov)
findBreakingChanges-test: Unify changes snapshots (@IvanGoncharov)
findBreakingChanges: Simplify schema iteration (@IvanGoncharov)
findBreakingChanges: Unify how changes are collected (@IvanGoncharov)
findBreakingChanges: Extract "diff" utility function (@IvanGoncharov)
findBreakingChanges: Reduce duplication by merging some functions (@IvanGoncharov)
Replace some "for" cycles with "for of" (@IvanGoncharov)
findBreakingChanges: Merge funcs and remove duplicated iteration logic (@IvanGoncharov)
findBreakingChanges: Sort functions in logical order (@IvanGoncharov)
ESLint: Forbid unnecessary backticks (@IvanGoncharov)
validation-tests: Remove useless parseValue & parseLiteral (@IvanGoncharov)
Remove dead code since args are always present on fields and directives (@IvanGoncharov)
Simplify args handling in 'graphql', 'subscribe' and 'execute' funcs (@IvanGoncharov)
Extract "didYouMean" util function (@IvanGoncharov)
Extract 'identityFunc' function to be used instead of 'x => x' (@IvanGoncharov)
validateSchema: Use 'astNode' from fields/args instead of type's subnodes (@IvanGoncharov)
parser: Remove unused token that was returned from keyword match (@IvanGoncharov)
buildASTSchema-test: Inline SDL in 'buildSchema' calls (@IvanGoncharov)
Simplify SDLs used in 'buidSchema'/`extendSchema' tests (@IvanGoncharov)
inspect: Handle 'null' explicitly (@IvanGoncharov)
buildClientSchema: Add dev check for invalid introspection argument (@IvanGoncharov)
inspect-test: Improve coverage (@IvanGoncharov)
inspect-test: Remove $FlowFixMe (@IvanGoncharov)
buildClientSchema: Improve coverage (@IvanGoncharov)
Flow: Switch to new '...' syntax for inexact objects (@IvanGoncharov)
Correct imports to use direct paths instead of relying on 'index.js' (@IvanGoncharov)
printError: Improve coverage (@IvanGoncharov)
Improve Flow typing for 'memoize3' (@IvanGoncharov)
Internal
19 PRs were merged
Dependency
8 PRs were merged
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.