Closed greenkeeper[bot] closed 5 years ago
Update to this version instead ๐
Breaking change reverted:
Update to this version instead ๐
Breaking:
VariablesDefaultValueAllowed
validation rule, and ProvidedNonNullArguments
became ProvidedRequiredArguments
(#1274)onOperation
, onFragment
, and onField
(#1385, #1429)GraphQL*Config
are now exact types (#1391, #1443)BreakingChangeType
and DangerousChangeType
for detecting adding args and input fields changed name (#1492)formatError
API changed for error message extensions. To upgrade without changing existing server responses, wrap graphql
's formatError
:import { formatError as baseFormatError, /* ... */ } from 'graphql';
{
// other options
formatError(error) {
const { extensions, ...rest } = baseFormatError(error);
return { ...extensions, ...rest };
},
}
New:
extendSchema
extended with spec-compliant SDL extensions (#1373, #1392, #1441)symbol.toStringTag
support (#1297)getOperationRootType(schema, operationAST)
(#1345)validateSchema
works with Schema extensions (#1410)validate
works on SDL definitions (#1438, #1383)experimentalVariableDefinitionDirectives
flag (#1437, #1454)isDefinitionNode
and isTypeSystemDefinitionNode
(#1459)isRequiredArgument
and isRequiredInputField
predicates (#1463)Fixed:
introspectionFromSchema
has default options (#1408)buildSchema
memory leaks and infinite recursion fixed (#1417, #1427)watch
command fixed (#1449)validation
(#1471)Deprecated:
These will be removed in v15
Update to this version instead ๐
(Something went wrong during release, this version has been unpublished)
Update to this version instead ๐
Fixes:
ValidationRule
flow type is now exported (#1505)
Version 14.0.0-rc.1 of graphql was just published.
graphql
The version 14.0.0-rc.1 is not covered by your current version range.
If you donโt accept this pull request, your project will work just like it did before. However, you might be missing out on a bunch of new features, fixes and/or performance improvements from the dependency update.
It might be worth looking into these changes and trying to get this project onto the latest version of graphql.
If you have a solid test suite and good coverage, a passing build is a strong indicator that you can take advantage of these changes directly by merging the proposed change into your project. If the build fails or you donโt have such unconditional trust in your tests, this branch is a great starting point for you to work on the update.
Release Notes
v14.0.0-rc.1NOTE
This is a pre-release. There is a high likelihood there will be more breaking changes introduced prior to the
14.0.0
release.Breaking:
VariablesDefaultValueAllowed
validation rule, andProvidedNonNullArguments
becameProvidedRequiredArguments
(#1274)New:
extendSchema
extended with spec-compliant SDL extensions (#1373)symbol.toStringTag
support (#1297)getOperationRootType(schema, operationAST)
(#1345)Fixed:
Commits
The new version differs by 56 commits.
84f41aa
14.0.0-rc.1 (#1364)
45ecb53
Merge extendType functionality changes from #1322 (#1373)
43c0d46
fix imports (#1372)
f9b0bae
Add simple test for
instanceOf
. (#1370)ae23c90
Handle NaN as input value (#1369)
85971a2
Add test for enum custom values as input args (#1267)
3473ca5
Reject Infinity supplied as Int or Float value (#1365)
85b4f58
__allowedLegacyNames: Use empty array instead of undefined properties (#1259)
e79faaa
Add support for Symbol.toStringTag (#1297)
10e80d0
instanceOf: Check that one of the names in non-empty string (#1357)
bc03768
Upgrade babel and associated plugins to v7 (#1350)
6857707
Scalars: reject array serialization/coercion (#1336)
ddb3ffc
Updated Flow, Prettier and other dependencies (#1362)
eb8ef7a
Babel 7 preparation: Switch babel config to JS (#1348)
324768a
Errors: fix how error messages represent arrays (#1333)
There are 56 commits in total.
See the full diff
FAQ and help
There is a collection of [frequently asked questions](https://greenkeeper.io/faq.html). If those donโt help, you can always [ask the humans behind Greenkeeper](https://github.com/greenkeeperio/greenkeeper/issues/new).Your Greenkeeper bot :palm_tree: