Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency graphql to v14 #795

Merged
merged 2 commits into from
Aug 31, 2018

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 30, 2018

This Pull Request updates devDependency graphql (source) from v0.13.2 to v14.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, and ProvidedNonNullArguments became ProvidedRequiredArguments (#​1274)

  • Stricter coercion of Scalar Types (#​1382)

  • Removes deprecated Introspection fields onOperation, onFragment, and onField (#​1385, #​1429)

  • GraphQL*Config are now exact types (#​1391, #​1443)

  • "Schema Change" keys in 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:

  • Parse new schema extensions (#​1314, #​1323)
  • Export SDL AST types (#​1315)
  • extendSchema extended with spec-compliant SDL extensions (#​1373, #​1392, #​1441)
  • symbol.toStringTag support (#​1297)
  • Expose getOperationRootType(schema, operationAST) (#​1345)
  • Package is marked as side-effect free (#​1312)
  • validateSchema works with Schema extensions (#​1410)
  • validate works on SDL definitions (#​1438, #​1383)
  • directives can be added to variable definitions, behind experimentalVariableDefinitionDirectives flag (#​1437, #​1454)
  • ASTNode predicates, like isDefinitionNode and isTypeSystemDefinitionNode (#​1459)
  • isRequiredArgument and isRequiredInputField predicates (#​1463)

Fixed:

Deprecated:

These will be removed in v15

  • introspectionQuery, use getIntrospectionQuery (#​1386)
  • getDescription, use the schema AST node to get descriptions (#​1396)
  • isValidJSValue, use coerceValue (#​1386)
  • isValidLiteralValue, use validation (#​1386)


This PR has been generated by Renovate Bot.

@renovate
Copy link
Contributor Author

renovate bot commented Aug 31, 2018

PR has been edited

As this PR has been edited, Renovate will stop updating it in order to not cause any conflicts or other problems. If you wish to abandon your edits and have Renovate recreate this PR then you should rename this PR and then close it.

@kamilkisiela kamilkisiela merged commit 3fa3a66 into master Aug 31, 2018
@kamilkisiela kamilkisiela deleted the renovate/graphql-14.x branch August 31, 2018 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants