chore(deps): update dependency graphql to v14 #795
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This Pull Request updates devDependency
graphql
(source) fromv0.13.2
tov14.0.0
Note: This PR was created on a configured schedule ("after 11pm every weekday,before 6am every weekday" in timezone
Europe/Warsaw
) and will not receive updates outside those times.Release Notes
v14.0.0
Compare Source
Thanks to all contributors for the hard work put into this release, which complies with the latest June 2018 version of the GraphQL Spec
Breaking:
Drops support for node v4 and v9, makes sure node v10 is supported (#1338, #1445)
Reject invalid scalar value coercion (#1365, #1336)
Removes
VariablesDefaultValueAllowed
validation rule, andProvidedNonNullArguments
becameProvidedRequiredArguments
(#1274)Stricter coercion of Scalar Types (#1382)
Removes deprecated Introspection fields
onOperation
,onFragment
, andonField
(#1385, #1429)GraphQL*Config
are now exact types (#1391, #1443)"Schema Change" keys in
BreakingChangeType
andDangerousChangeType
for detecting adding args and input fields changed name (#1492)formatError
API changed for error message extensions. To upgrade without changing existing server responses, wrapgraphql
'sformatError
: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
andisTypeSystemDefinitionNode
(#1459)isRequiredArgument
andisRequiredInputField
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
introspectionQuery
, usegetIntrospectionQuery
(#1386)getDescription
, use the schema AST node to get descriptions (#1396)isValidJSValue
, usecoerceValue
(#1386)isValidLiteralValue
, use validation (#1386)This PR has been generated by Renovate Bot.