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 #1595

Merged
merged 3 commits into from Sep 2, 2018

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 31, 2018

This Pull Request updates peerDependency graphql (source) from 0.10.x - 0.13.x to 0.10.x - 14.0.x

Note: This PR was created on a configured schedule ("after 6pm every weekday,before 8am every weekday" in timezone America/Los_Angeles) 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 renovate bot added 🎄 dependencies Updates to dependencies, generally automatically managed by Renovate. 🛠 tooling Relates to tooling within the Apollo Server repository, not Apollo Server itself. labels Aug 31, 2018
@renovate renovate bot force-pushed the renovate/graphql-14.x branch 7 times, most recently from 771a25e to ebc2f18 Compare September 1, 2018 13:31
@renovate
Copy link
Contributor Author

renovate bot commented Sep 2, 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🎄 dependencies Updates to dependencies, generally automatically managed by Renovate. 🛠 tooling Relates to tooling within the Apollo Server repository, not Apollo Server itself.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants