Skip to content

Update dependency graphql to v14

Warren Gifford requested to merge renovate/graphql-14.x into master

Created by: renovate[bot]

This PR contains the following updates:

Package Type Update New value References Sourcegraph
graphql dependencies major 14.0.2 source code search for "graphql"
@types/graphql devDependencies major 14.0.1 source code search for "@types/graphql"

Release Notes

graphql/graphql-js

v14.0.2

Compare Source

Fixes:

  • No longer presents warnings when used with node v7 and v9 (#​1508)
  • Added keywords to the NPM package (#​1501)
  • ValidationRule flow type is now exported (#​1505)
  • Improved schema validation reports directives without locations (#​1507)
  • Fixed potential infinite loop during introspection of some schema (#​1509)

v14.0.1

Compare Source

(Something went wrong during release, this version has been unpublished)

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)

v0.13.2

Compare Source

New:

  • Allow buildSchema() to take options (#​1249)
  • Update to Flow v0.68 (#​1290)

Fixes:

v0.13.1

Compare Source

New:

  • Publish .mjs files for module code to support native esmodules (#​1244)
  • Interface type definitions may now be extended with extendSchema (#​1222)
  • isValidNameError utility is now exported as a non-throwing alternative to assertValidName (#​1237)
  • ExectuableDefinitionNode Flow type is now exported (#​1241)

Fixes:

  • extendSchema now preserves (and allows extending) a list of legacy field names which would otherwise be considered invalid (#​1235)
  • Replaced a misplaced licensing header (7e68984)

Renovate configuration

📅 Schedule: "on the 1st through 7th day of the month" in timezone America/Los_Angeles.

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


This PR has been generated by Renovate Bot. View repository job log here.

Merge request reports

Loading