gramps-graphql / gramps--legacy

The core data source combination engine of GrAMPS.
https://gramps.js.org
MIT License
197 stars 13 forks source link

Update graphql to the latest version πŸš€ #99

Closed greenkeeper[bot] closed 5 years ago

greenkeeper[bot] commented 6 years ago

Version 14.0.0-rc.1 of graphql was just published.

Dependency graphql
Current Version 0.13.2
Type devDependency

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.1

NOTE
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:

  • Drops support for node v4, makes sure node v10 is supported (#1338)
  • Reject invalid scalar value coercion (#1365, #1336)
  • Removes VariablesDefaultValueAllowed validation rule, and ProvidedNonNullArguments became ProvidedRequiredArguments (#1274)

New:

  • Parse new schema extensions (#1314, #1323)
  • Export SDL AST types (#1315)
  • extendSchema extended with spec-compliant SDL extensions (#1373)
  • symbol.toStringTag support (#1297)
  • Expose getOperationRootType(schema, operationAST) (#1345)
  • Package is marked as side-effect free (#1312)

Fixed:

  • Fixes for custom enum types
  • Prettier, Flow and eslint upgrades (#1304, #1319)
  • Babel 7 upgrade (#1350)
  • Introspection query perf improved (#1329)
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:

greenkeeper[bot] commented 6 years ago

Version 14.0.0-rc.2 just got published.

Update to this version instead πŸš€

Release Notes v14.0.0-rc.2

Breaking change reverted:

  • Allows Interfaces to have no implementing Objects (#1376)
Commits

The new version differs by 2 commits.

  • 9925e50 Allow interfaces to have no implementors (#1376)
  • 409d6dd Bump RC version to publish on npm (#1374)

See the full diff

greenkeeper[bot] commented 6 years ago

Version 14.0.0 just got published.

Update to this version instead πŸš€

Release Notes v14.0.0

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:

  • Fixes for custom enum types
  • Prettier, Flow and eslint upgrades (#1304, #1319)
  • Babel 7 upgrade (#1350)
  • Introspection query perf improved (#1329)
  • introspectionFromSchema has default options (#1408)
  • buildSchema memory leaks and infinite recursion fixed (#1417, #1427)
  • watch command fixed (#1449)
  • Benchmarking for validation (#1471)

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)
greenkeeper[bot] commented 6 years ago

Version 14.0.1 just got published.

Update to this version instead πŸš€

Release Notes v14.0.1

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

greenkeeper[bot] commented 6 years ago

Version 14.0.2 just got published.

Update to this version instead πŸš€

Release Notes v14.0.2

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)
Commits

The new version differs by commits.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v14.1.0

New:

  • Added assertSchema and assertDirective (#1580)
  • Adds additional type extension validation (#1643)

Fixes:

  • Improves flow type definitions
  • Adds back in support for node 9, and tests for node 11. node >= 6 is currently supported.
  • Allows custom node inspect (#1605)
  • Correctly handles newlines in block strings (#1637)
Commits

The new version differs by 109 commits.

  • da61380 14.1.0
  • 4de99f7 Merge branch 'OneCyrus-feat_listTypeForError'
  • 0a731a5 Prettier and fix tests
  • a6676dc Merge branch 'feat_listTypeForError' of https://github.com/OneCyrus/graphql-js into OneCyrus-feat_listTypeForError
  • 37c022d buildClientSchema: add missing tests for introspection validations (#1666)
  • 3fef0d4 Enable Flow on buildClientSchema tests (#1665)
  • 6876587 Move $DisableFlowOnNegativeTest to more precise locations (#1664)
  • b747bb4 changed type error message
  • 8d7a5fd Merge schema validation tests with other schema tests (#1663)
  • 6741ac2 Add tests for GraphQLDirective (#1662)
  • d48e481 Move isInputType & isOutputType test to rest of predicates test (#1661)
  • 4cdc8e2 Update Flow to 0.90.0 (#1660)
  • 9f85d51 Remove excessive invariants (#1658)
  • 0818c18 ignore .nyc_output dir (#1657)
  • 9e40465 Move polyfills into separate dir and exclude them from coverage (#1656)

There are 109 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 3 commits.

  • 7dd2b2b 14.1.1
  • 51c67dc Update travis api_key for npm deploys (#1667)
  • 7fe9985 Remove usage of Flow placeholder argument + cleanup (#1669)

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v14.2.0

14.2.0 (2019-03-26)

Note: Updating to this release can cause new Flow errors since it adds Flow typing for print function that was missing in previous versions.

New Feature πŸš€

Bug Fix 🐞

Docs πŸ“

Polish πŸ’…

42 PRs were merged

Internal 🏠

17 PRs were merged

Committers: 7

Commits

The new version differs by 114 commits.

  • 1321858 v14.2.0
  • 0b5e955 Tiny simplification in the parser code (#1801)
  • 0d2c01d Update deps (#1800)
  • 329f357 Rename 'MaybePromise' to 'PromiseOrValue' (#1798)
  • 84ea1c9 Update to Babel 7.4.1 (#1797)
  • fe0705f Update deps (#1796)
  • c83412f Switch 'check-cover' to use Flow's 'batch-coverage' cmd (#1795)
  • 26da75e Update Flow to v0.95 (#1794)
  • ffccf3f inspect: Add test for circular object as result of custom inspect
  • 1375776 inspect: detect circular objects
  • 97a2e98 inspect: Correctly handle custom inspect returning this
  • ad35c41 inspect: Limit maximum depth of printed objects
  • 68058b2 inspect: move implementation into formatValue
  • b3d9a5c inspect: Limit maximum number of printed items to 10
  • b699cfc Update deps (#1793)

There are 114 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Release Notes for v14.2.1

14.2.1 (2019-03-31)

Bug Fix 🐞

Commits

The new version differs by 4 commits.

  • d2ffd7c v14.2.1
  • 3c79bed buildClientSchema: Revert breaking change introduced in #1677 (#1808)
  • f289555 Update to ESLint 5.16 (#1807)
  • c1376e3 Enable Flow on more test files (#1806)

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

Commits

The new version differs by 37 commits.

  • 4bd1a11 v14.3.0
  • 972a150 Update Flow to 0.98.1 (#1852)
  • e90a5ca nyc: Switch config from JSON to YAML and move args from package.json (#1851)
  • d69c533 Add comment to make test better understandable (#1850)
  • 9ab5dfb Update deps (#1849)
  • e0fbf90 Remove Flow workaround for const arguments (#1848)
  • ccbbb29 isSpecifiedDirective should not assume Directive type (#1837)
  • d6c973a Adapt benchmark to the new build script (#1845)
  • 316e24e Correctly trap errors in shell scripts (#1844)
  • 22f0719 Fix "npm run build" on Node 10 (#1843)
  • ec206fc Terminate shell scripts if any subcomand terminated (#1842)
  • c11ccba Make single 'build.js' to handle NPM package build (#1841)
  • 1023264 ESLint: enable 'arrow-body-style' rule (#1840)
  • cd80f94 ESLint: enable all low-hanging rules and mark rest as TODO (#1839)
  • ce832ee Mark all ESLint rules that conflict with Prettier (#1838)

There are 37 commits in total.

See the full diff

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€

greenkeeper[bot] commented 5 years ago

Update to this version instead πŸš€