graphql-cli / graphql-cli-voyager

GraphQL Voyager plugin for graphql-cli
MIT License
21 stars 3 forks source link

chore(deps): update dependency @types/graphql to v14 #27

Open renovate[bot] opened 6 years ago

renovate[bot] commented 6 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@types/graphql 0.11.7 -> 14.2.3 age adoption passing confidence

Release Notes

graphql/graphql-js ### [`v14.2.1`](https://togithub.com/graphql/graphql-js/releases/tag/v14.2.1) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v14.2.0...v14.2.1) #### 14.2.1 (2019-03-31) ##### Bug Fix 🐞 - [#​1808](https://togithub.com/graphql/graphql-js/pull/1808) buildClientSchema: Revert breaking change introduced in [#​1677](https://togithub.com/graphql/graphql-js/issues/1677) ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) ### [`v14.2.0`](https://togithub.com/graphql/graphql-js/releases/tag/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 πŸš€ - [#​1331](https://togithub.com/graphql/graphql-js/pull/1331) Add 'toConfig' methods to all type system definitions objects ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1332](https://togithub.com/graphql/graphql-js/pull/1332) Allow to override default type resolver ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#​1792](https://togithub.com/graphql/graphql-js/pull/1792) Duplicate fields in deep inputs not validated properly ([#​1791](https://togithub.com/graphql/graphql-js/issues/1791)) ([@​Cito](https://togithub.com/Cito)) - [#​1724](https://togithub.com/graphql/graphql-js/pull/1724) Add missing toStringTag to GraphQLList and GraphQLNonNull ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1554](https://togithub.com/graphql/graphql-js/pull/1554) Improve error message for missing required argument in field or directive ([@​everdimension](https://togithub.com/everdimension)) - [#​1707](https://togithub.com/graphql/graphql-js/pull/1707) printSchema: Fix printing of empty types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1702](https://togithub.com/graphql/graphql-js/pull/1702) Add missing Flow typing for 'print' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1698](https://togithub.com/graphql/graphql-js/pull/1698) Fix missing schema's astNode when schema was defined inside extension ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1600](https://togithub.com/graphql/graphql-js/pull/1600) Inspect non-error types to produce helpful error messages for failing resolvers ([@​kommander](https://togithub.com/kommander)) ##### Docs πŸ“ - [#​1679](https://togithub.com/graphql/graphql-js/pull/1679) Documentation for explicitly mentioning ObjectTypes ([@​buoyantair](https://togithub.com/buoyantair)) ##### Polish πŸ’…
42 PRs were merged - [#​1798](https://togithub.com/graphql/graphql-js/pull/1798) Rename 'MaybePromise' to 'PromiseOrValue' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1785](https://togithub.com/graphql/graphql-js/pull/1785) Fix test case description ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1670](https://togithub.com/graphql/graphql-js/pull/1670) Remove year from LICENSE headers ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1782](https://togithub.com/graphql/graphql-js/pull/1782) Fix grammar in error message ([@​Cito](https://togithub.com/Cito)) - [#​1781](https://togithub.com/graphql/graphql-js/pull/1781) Add directive predicates tests and fix test names ([@​Cito](https://togithub.com/Cito)) - [#​1778](https://togithub.com/graphql/graphql-js/pull/1778) Minor spelling errors in PossibleTpyeExtensions ([@​Cito](https://togithub.com/Cito)) - [#​1772](https://togithub.com/graphql/graphql-js/pull/1772) fix out of range return check for charCodeAt in lexer (NaN instead of null) ([@​superhawk610](https://togithub.com/superhawk610)) - [#​1767](https://togithub.com/graphql/graphql-js/pull/1767) Use non-capturing group inside RegExp ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1764](https://togithub.com/graphql/graphql-js/pull/1764) Minor code simplification in validation rules ([@​Cito](https://togithub.com/Cito)) - [#​1765](https://togithub.com/graphql/graphql-js/pull/1765) Fix validator test names ([@​Cito](https://togithub.com/Cito)) - [#​1763](https://togithub.com/graphql/graphql-js/pull/1763) Fix typos in UniqueOperationTypes test ([@​Cito](https://togithub.com/Cito)) - [#​1758](https://togithub.com/graphql/graphql-js/pull/1758) Tests: 'expect(...).to.eql' => 'expect(...).to.deep.equal' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1757](https://togithub.com/graphql/graphql-js/pull/1757) GraphQLError: don't wrap single node in array ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1756](https://togithub.com/graphql/graphql-js/pull/1756) Speedup parser (~50%) by using 'slice' and 'charCodeAt' directly ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1736](https://togithub.com/graphql/graphql-js/pull/1736) Speedup visitor test on kitchenSinkQuery ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1735](https://togithub.com/graphql/graphql-js/pull/1735) Simplify checking of args inside visitor tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1734](https://togithub.com/graphql/graphql-js/pull/1734) Use AST abbreviation consistently ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1733](https://togithub.com/graphql/graphql-js/pull/1733) General cleanup of definition tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1730](https://togithub.com/graphql/graphql-js/pull/1730) Allow for long string literals inside tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1729](https://togithub.com/graphql/graphql-js/pull/1729) Remove useless positive isTypeOf tests, since this function is optional ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1728](https://togithub.com/graphql/graphql-js/pull/1728) Unwrap type definition tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1725](https://togithub.com/graphql/graphql-js/pull/1725) Group type definitions tests by type kind ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1723](https://togithub.com/graphql/graphql-js/pull/1723) Move 'Object.toString' tests to the appropriate files ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1722](https://togithub.com/graphql/graphql-js/pull/1722) Remove duplicating NonNull test ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1719](https://togithub.com/graphql/graphql-js/pull/1719) Move schema related test to "schema-test.js" + cleanup ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1718](https://togithub.com/graphql/graphql-js/pull/1718) Make all "not reachable" look and work the same ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1717](https://togithub.com/graphql/graphql-js/pull/1717) NonNull tests: Use SDL to create test schema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1711](https://togithub.com/graphql/graphql-js/pull/1711) tests: remove useless parseLiteral & parseValue callbacks ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1710](https://togithub.com/graphql/graphql-js/pull/1710) Simplify "Type Map: includes input types only used in directives" test ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1709](https://togithub.com/graphql/graphql-js/pull/1709) Parser: use "any" util fn to parse object literal ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1708](https://togithub.com/graphql/graphql-js/pull/1708) buildASTSchema: test building of empty types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1706](https://togithub.com/graphql/graphql-js/pull/1706) Cleanup unnecessary Query types from printSchema tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1705](https://togithub.com/graphql/graphql-js/pull/1705) Use isLeafType instead of isEnumType & isScalarType combo ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1697](https://togithub.com/graphql/graphql-js/pull/1697) Remove Flow workaround in buildASTSchema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1673](https://togithub.com/graphql/graphql-js/pull/1673) Disable coverage on deprecated 'isValidJSValue' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1686](https://togithub.com/graphql/graphql-js/pull/1686) Add polyfill for 'flatMap' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1684](https://togithub.com/graphql/graphql-js/pull/1684) extract flatMap function out of extendSchema implementation ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1681](https://togithub.com/graphql/graphql-js/pull/1681) Remove excessive cache inside lexicographicSortSchema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1678](https://togithub.com/graphql/graphql-js/pull/1678) buildClientSchema: move inner functions to follow return ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1677](https://togithub.com/graphql/graphql-js/pull/1677) Remove excessive cache inside buildClientSchema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1672](https://togithub.com/graphql/graphql-js/pull/1672) Remove useless if inside 'getAllSubNodes' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1547](https://togithub.com/graphql/graphql-js/pull/1547) Parser: Better names for parser util functions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov))
##### Internal 🏠
17 PRs were merged - [#​1795](https://togithub.com/graphql/graphql-js/pull/1795) Switch 'check-cover' to use Flow's 'batch-coverage' cmd ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1777](https://togithub.com/graphql/graphql-js/pull/1777) Prettier: normalize line ending to git standard ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1766](https://togithub.com/graphql/graphql-js/pull/1766) Update ESLint to 5.15 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1750](https://togithub.com/graphql/graphql-js/pull/1750) Simplify benchmark by using more low-level API from 'benchmark.js' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1748](https://togithub.com/graphql/graphql-js/pull/1748) Inline 'beautify-benchmark' + heavy refactoring ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1747](https://togithub.com/graphql/graphql-js/pull/1747) Use ESLint cache for local development ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1746](https://togithub.com/graphql/graphql-js/pull/1746) Use ESLint cache to speedup watch ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1745](https://togithub.com/graphql/graphql-js/pull/1745) Do not run duplicating parser step on watch ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1744](https://togithub.com/graphql/graphql-js/pull/1744) Remove 'yarn t' in favor of 'yarn mocha' or 'npm run mocha' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1743](https://togithub.com/graphql/graphql-js/pull/1743) Move Mocha config into .mocharc.yml ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1739](https://togithub.com/graphql/graphql-js/pull/1739) Move list of supported targets into separate file ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1737](https://togithub.com/graphql/graphql-js/pull/1737) Remove custom mocha timeout ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1694](https://togithub.com/graphql/graphql-js/pull/1694) Make codecov less spammy ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1693](https://togithub.com/graphql/graphql-js/pull/1693) Move coverage upload to .travis.yml ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1692](https://togithub.com/graphql/graphql-js/pull/1692) Run full CI only on node LTS ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1689](https://togithub.com/graphql/graphql-js/pull/1689) Improve code coverage reporting ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​1690](https://togithub.com/graphql/graphql-js/pull/1690) Temporary migrate tests from node 11.7 to 11.6 to fix codecov ([@​IvanGoncharov](https://togithub.com/IvanGoncharov))
##### Committers: 7 - Aaron Ross ([@​superhawk610](https://togithub.com/superhawk610)) - Christoph Zwerschke ([@​Cito](https://togithub.com/Cito)) - Ivan Goncharov ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - Matt Mahoney ([@​mjmahone](https://togithub.com/mjmahone)) - Sebastian Herrlinger ([@​kommander](https://togithub.com/kommander)) - [@​everdimension](https://togithub.com/everdimension) - buoyantair ([@​buoyantair](https://togithub.com/buoyantair)) ### [`v14.0.2`](https://togithub.com/graphql/graphql-js/releases/tag/v14.0.2) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v14.0.1...v14.0.2) Fixes: - No longer presents warnings when used with node v7 and v9 ([#​1508](https://togithub.com/graphql/graphql-js/issues/1508)) - Added keywords to the NPM package ([#​1501](https://togithub.com/graphql/graphql-js/issues/1501)) - `ValidationRule` flow type is now exported ([#​1505](https://togithub.com/graphql/graphql-js/issues/1505)) - Improved schema validation reports directives without locations ([#​1507](https://togithub.com/graphql/graphql-js/issues/1507)) - Fixed potential infinite loop during introspection of some schema ([#​1509](https://togithub.com/graphql/graphql-js/issues/1509)) ### [`v14.0.1`](https://togithub.com/graphql/graphql-js/releases/tag/v14.0.1) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v14.0.0...v14.0.1) (Something went wrong during release, this version has been unpublished) ### [`v14.0.0`](https://togithub.com/graphql/graphql-js/releases/tag/v14.0.0) Thanks to all contributors for the hard work put into this release, which complies with the latest June 2018 version of the [GraphQL Spec](http://facebook.github.io/graphql/June2018/) **Breaking:** - Drops support for node v4 and v9, makes sure node v10 is supported ([#​1338](https://togithub.com/graphql/graphql-js/issues/1338), [#​1445](https://togithub.com/graphql/graphql-js/issues/1445)) - Reject invalid scalar value coercion ([#​1365](https://togithub.com/graphql/graphql-js/issues/1365), [#​1336](https://togithub.com/graphql/graphql-js/issues/1336)) - Removes `VariablesDefaultValueAllowed` validation rule, and `ProvidedNonNullArguments` became `ProvidedRequiredArguments` ([#​1274](https://togithub.com/graphql/graphql-js/issues/1274)) - Stricter coercion of Scalar Types ([#​1382](https://togithub.com/graphql/graphql-js/issues/1382)) - Removes deprecated Introspection fields `onOperation`, `onFragment`, and `onField` ([#​1385](https://togithub.com/graphql/graphql-js/issues/1385), [#​1429](https://togithub.com/graphql/graphql-js/issues/1429)) - `GraphQL*Config` are now exact types ([#​1391](https://togithub.com/graphql/graphql-js/issues/1391), [#​1443](https://togithub.com/graphql/graphql-js/issues/1443)) - "Schema Change" keys in `BreakingChangeType` and `DangerousChangeType` for detecting adding args and input fields changed name ([#​1492](https://togithub.com/graphql/graphql-js/issues/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](https://togithub.com/graphql/graphql-js/issues/1314), [#​1323](https://togithub.com/graphql/graphql-js/issues/1323)) - Export SDL AST types ([#​1315](https://togithub.com/graphql/graphql-js/issues/1315)) - `extendSchema` extended with spec-compliant SDL extensions ([#​1373](https://togithub.com/graphql/graphql-js/issues/1373), [#​1392](https://togithub.com/graphql/graphql-js/issues/1392), [#​1441](https://togithub.com/graphql/graphql-js/issues/1441)) - `symbol.toStringTag` support ([#​1297](https://togithub.com/graphql/graphql-js/issues/1297)) - Expose `getOperationRootType(schema, operationAST)` ([#​1345](https://togithub.com/graphql/graphql-js/issues/1345)) - Package is marked as side-effect free ([#​1312](https://togithub.com/graphql/graphql-js/issues/1312)) - `validateSchema` works with Schema extensions ([#​1410](https://togithub.com/graphql/graphql-js/issues/1410)) - `validate` works on SDL definitions ([#​1438](https://togithub.com/graphql/graphql-js/issues/1438), [#​1383](https://togithub.com/graphql/graphql-js/issues/1383)) - directives can be added to variable definitions, behind `experimentalVariableDefinitionDirectives` flag ([#​1437](https://togithub.com/graphql/graphql-js/issues/1437), [#​1454](https://togithub.com/graphql/graphql-js/issues/1454)) - ASTNode predicates, like `isDefinitionNode` and `isTypeSystemDefinitionNode` ([#​1459](https://togithub.com/graphql/graphql-js/issues/1459)) - `isRequiredArgument` and `isRequiredInputField` predicates ([#​1463](https://togithub.com/graphql/graphql-js/issues/1463)) **Fixed:** - Fixes for custom enum types - Prettier, Flow and eslint upgrades ([#​1304](https://togithub.com/graphql/graphql-js/issues/1304), [#​1319](https://togithub.com/graphql/graphql-js/issues/1319)) - Babel 7 upgrade ([#​1350](https://togithub.com/graphql/graphql-js/issues/1350)) - Introspection query perf improved ([#​1329](https://togithub.com/graphql/graphql-js/issues/1329)) - `introspectionFromSchema` has default options ([#​1408](https://togithub.com/graphql/graphql-js/issues/1408)) - `buildSchema` memory leaks and infinite recursion fixed ([#​1417](https://togithub.com/graphql/graphql-js/issues/1417), [#​1427](https://togithub.com/graphql/graphql-js/issues/1427)) - `watch` command fixed ([#​1449](https://togithub.com/graphql/graphql-js/issues/1449)) - Benchmarking for `validation` ([#​1471](https://togithub.com/graphql/graphql-js/issues/1471)) **Deprecated:** These will be removed in v15 - `introspectionQuery`, use `getIntrospectionQuery` ([#​1386](https://togithub.com/graphql/graphql-js/issues/1386)) - `getDescription`, use the schema AST node to get descriptions ([#​1396](https://togithub.com/graphql/graphql-js/issues/1396)) - `isValidJSValue`, use `coerceValue` ([#​1386](https://togithub.com/graphql/graphql-js/issues/1386)) - `isValidLiteralValue`, use validation ([#​1386](https://togithub.com/graphql/graphql-js/issues/1386)) ### [`v0.13.2`](https://togithub.com/graphql/graphql-js/releases/tag/v0.13.2) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v0.13.1...v0.13.2) **New:** - Allow buildSchema() to take options ([#​1249](https://togithub.com/graphql/graphql-js/issues/1249)) - Update to Flow v0.68 ([#​1290](https://togithub.com/graphql/graphql-js/issues/1290)) **Fixes:** - Update iterall ([#​1254](https://togithub.com/graphql/graphql-js/issues/1254)) - buildSchema: Make options optional ([#​1270](https://togithub.com/graphql/graphql-js/issues/1270)) ### [`v0.13.1`](https://togithub.com/graphql/graphql-js/releases/tag/v0.13.1) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v0.13.0...v0.13.1) **New:** - Publish `.mjs` files for module code to support native esmodules ([#​1244](https://togithub.com/graphql/graphql-js/issues/1244)) - Interface type definitions may now be extended with `extendSchema` ([#​1222](https://togithub.com/graphql/graphql-js/issues/1222)) - `isValidNameError` utility is now exported as a non-throwing alternative to `assertValidName` ([#​1237](https://togithub.com/graphql/graphql-js/issues/1237)) - `ExectuableDefinitionNode` Flow type is now exported ([#​1241](https://togithub.com/graphql/graphql-js/issues/1241)) **Fixes:** - `extendSchema` now preserves (and allows extending) a list of legacy field names which would otherwise be considered invalid ([#​1235](https://togithub.com/graphql/graphql-js/issues/1235)) - Replaced a misplaced licensing header ([`7e68984`](https://togithub.com/graphql/graphql-js/commit/7e6898465131be522666bcbdf71d8c8f2d85e5d2)) ### [`v0.13.0`](https://togithub.com/graphql/graphql-js/releases/tag/v0.13.0) **Breaking:** - Updated to latest spec for SDL for multiple interface implementations ([#​1169](https://togithub.com/graphql/graphql-js/issues/1169)) > To continue to support the pre-spec variation, use `parse(text, {allowLegacySDLImplementsInterfaces: true})` - Internal module `'graphql/language/kinds'` no longer directly exports enum values [#​1221](https://togithub.com/graphql/graphql-js/issues/1221) > Not that you were relying on internal modules, were you :) **New:** - `getDescription` helper function is now exported ([#​1165](https://togithub.com/graphql/graphql-js/issues/1165)) - Allows parsing pre-spec object type SDL with `parse(text, {allowLegacySDLEmptyFields: true})` ([#​1171](https://togithub.com/graphql/graphql-js/issues/1171)) - Add `introspectionFromSchema` utility function ([#​1187](https://togithub.com/graphql/graphql-js/issues/1187)) - Add `lexicographicSortSchema` utility function ([#​1208](https://togithub.com/graphql/graphql-js/issues/1208)) ([#​1220](https://togithub.com/graphql/graphql-js/issues/1220)) - Allow use of legacy names during schema validation with `{allowedLegacyNames: ['__badName']}` ([#​1194](https://togithub.com/graphql/graphql-js/issues/1194)) **Fixed:** - Only trigger "one instance of graphql" error in DEV environments, removing false errors from minified bundles. ([#​1174](https://togithub.com/graphql/graphql-js/issues/1174)) - Fix 'astFromValue' to correctly handle integers and strings ([#​1181](https://togithub.com/graphql/graphql-js/issues/1181)) - Fix getTypeMap() not including input types used in directives ([#​1189](https://togithub.com/graphql/graphql-js/issues/1189)) - Support executeSync with mutations. ([#​1198](https://togithub.com/graphql/graphql-js/issues/1198)) - Fix block string printing edge cases ([#​1190](https://togithub.com/graphql/graphql-js/issues/1190), [#​1212](https://togithub.com/graphql/graphql-js/issues/1212)) - Fix SourceLocation incorrect export causing rollup bundling to fail ([#​1210](https://togithub.com/graphql/graphql-js/issues/1210)) - Preserve `allowedLegacyNames` when using `extendSchema` ([#​1226](https://togithub.com/graphql/graphql-js/issues/1226)) (added since v0.13.0-rc.1) ### [`v0.12.3`](https://togithub.com/graphql/graphql-js/releases/tag/v0.12.3) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v0.12.2...v0.12.3) **Fixes:** - Excluded lock files from deployed npm package ### [`v0.12.2`](https://togithub.com/graphql/graphql-js/releases/tag/v0.12.2) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v0.12.1...v0.12.2) **Fixes:** - Properly deploy a package on npm which contains es6-modules ([#​1161](https://togithub.com/graphql/graphql-js/issues/1161)) - Support 5-year-old legacy GraphQL services ([#​1162](https://togithub.com/graphql/graphql-js/issues/1162)) ### [`v0.12.1`](https://togithub.com/graphql/graphql-js/releases/tag/v0.12.1) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v0.12.0...v0.12.1) **Flow Type Fixes:** - Removed `experimental.const_params` Flow option to ensure support for projects which do not enable this option ([#​1157](https://togithub.com/graphql/graphql-js/issues/1157), [#​1160](https://togithub.com/graphql/graphql-js/issues/1160)) - Changed `visit()` to return `any` instead of `mixed` to reduce the scope of the breaking change of adding Flow types for this function. ### [`v0.12.0`](https://togithub.com/graphql/graphql-js/releases/tag/v0.12.0) 🎁 Happy Holidays, GraphQL.js v0.12.0 is brings some of the biggest new changes of the year πŸŽ‰ This release includes new spec-compliance to existing experimental features, dramatically improves the quality of flow types, and introduces a number of new features and improved behaviors. As a result, there are a number of breaking changes to be aware of, especially for those building tools with GraphQL.js. A huge thank you to everyone who contributes to and uses GraphQL.js. For a complete list of everything new, see the [comparison to the last release](https://togithub.com/graphql/graphql-js/compare/v0.11.7...v0.12.0#diff-1fdf421c05c1140f6d71444ea2b27638). **New and Potentially Breaking:** - Schema is now validated as part of a new exported function `validateSchema()` instead of during construction. ([#​1124](https://togithub.com/graphql/graphql-js/issues/1124)) This exciting change allows the creating GraphQLSchema instances which are not yet valid, for example: representing types which don't yet have fields. This is very useful for those building schema directly from the new schema definition language. The new function `validateSchema()`, much like the existing `validate()`, will return an Array of GraphQLError describing all issues with a schema. This also now includes blame sites in the original schema definition language, allowing much more helpful error messages when a schema is invalid. This might be breaking if your codebase relied on GraphQLSchema or any of the GraphQL type definition classes - Validation errors for value literals (and variable values) are greatly improved, doing so results in a change to the standard set of validation rules. ([#​1126](https://togithub.com/graphql/graphql-js/issues/1126), [#​1133](https://togithub.com/graphql/graphql-js/issues/1133), [#​1144](https://togithub.com/graphql/graphql-js/issues/1144), [#​1153](https://togithub.com/graphql/graphql-js/issues/1153)) Code which relied on repeating the standard validation rules, or filtered them down using whitelists or blacklists may need to be updated. The rules `ArgumentsOfCorrectTypeRule` and `DefaultValuesOfCorrectTypeRule` have been removed and are replaced with two new rules `ValuesOfCorrectTypeRule` and `VariablesDefaultValueAllowedRule`. While the quality of validation errors are improved by this change, this does not actually cause any existing valid documents to become invalid or vice-versa. - GraphQL can now execute synchronously if all resolvers are synchronous functions. This means `execute()` may no longer return a Promise if execution completed synchronously. The `graphql()` function will still always return a Promise, but a new `graphqlSync()` function guarantees synchronous completion (or throws if any resolver does not complete). This unlocks exciting new use cases for querying over static data-sets and caches. ([#​1115](https://togithub.com/graphql/graphql-js/issues/1115), [#​1120](https://togithub.com/graphql/graphql-js/issues/1120)) - Update to match Schema definition language latest specification. ([#​1102](https://togithub.com/graphql/graphql-js/issues/1102), [#​1117](https://togithub.com/graphql/graphql-js/issues/1117), [#​1139](https://togithub.com/graphql/graphql-js/issues/1139)) The schema definition language has some slight changes from the original experimental version through the standardization process. New `extend` forms were added and previously valid forms which omit fields like `type Foo {}` are now syntax errors and can be replaced with `type Foo` to indicate that fields are not yet defined. - Descriptions in the schema definition language are now represented as preceding strings rather than comments. ([#​927](https://togithub.com/graphql/graphql-js/issues/927)) This change follows the latest updates to the spec proposal ([https://github.com/facebook/graphql/pull/90](https://togithub.com/facebook/graphql/pull/90)) after a long discussion between the merits of comments vs. literals as descriptions. To ease the migration to this latest change, existing comment-descriptions can still be used by providing options to the relevant functions. To read a SDL that uses comments as descriptions, `buildASTSchema(document, { commentDescriptions: true })`; to write an SDL using comments as descriptions, `printSchema(schema, { commentDescriptions: true })`. - Allow serializing scalars as null. ([#​1104](https://togithub.com/graphql/graphql-js/issues/1104)) Since `null` is a potentially valid value for a scalar to serialize to in some rare conditions, this change ensures that scalars which serialize to `null` no longer produce errors. This is breaking since custom scalars which relied on returning `null` to indicate failure should now either return `undefined` or throw an Error. - Flow types for the parsed GraphQL AST and GraphQL Errors are now *read only*. This may result in new flow errors being detected in your codebase if you manipulate ASTs and Errors. ([#​1116](https://togithub.com/graphql/graphql-js/issues/1116), [#​1121](https://togithub.com/graphql/graphql-js/issues/1121), [#​1122](https://togithub.com/graphql/graphql-js/issues/1122)) **New & Improved:** - Flow types have been added to `visit()`. As with any flow type improvement, this could expose real issues with your existing codebase. ([#​1155](https://togithub.com/graphql/graphql-js/issues/1155)) - New predicate functions are exported for all GraphQL types. This should remove the need to use `instanceof` for any use of GraphQL.js ([#​1137](https://togithub.com/graphql/graphql-js/issues/1137)) - The Wrapping Types `GraphQLNonNull` and `GraphQLList` are now flow typed as covariant and operate like a function instead of a class. This means that you should no longer type `new GraphQLList(someType)` and instead favor `GraphQLList(someType)`. ([#​1136](https://togithub.com/graphql/graphql-js/issues/1136)) - A new function `printError()` is exported which highlights any blame lines from the original sources. Useful for printing errors to consoles. ([#​1129](https://togithub.com/graphql/graphql-js/issues/1129), [#​1131](https://togithub.com/graphql/graphql-js/issues/1131)) - Improved aggregate NullableType and InputType flow types. As with any flow type improvement, this could expose real issues with your existing codebase. ([#​1128](https://togithub.com/graphql/graphql-js/issues/1128)) - A new function `getIntrospectionQuery()` is exported, and the existing `introspectionQuery` constant is deprecated. This helps improve the flow types and allows for some flexibility and options. ([#​1113](https://togithub.com/graphql/graphql-js/issues/1113)) - Export ES6 modules so tools like Rollup and Webpack can use "tree shaking" for smaller builds. ([#​1105](https://togithub.com/graphql/graphql-js/issues/1105)) - More strict flow typing for Introspection results. ([#​1082](https://togithub.com/graphql/graphql-js/issues/1082)) - Improve error quality when receiving bad introspection data. ([#​1063](https://togithub.com/graphql/graphql-js/issues/1063)) - Ability to extend GraphQL errors with additional "extensions" properties. ([#​928](https://togithub.com/graphql/graphql-js/issues/928)) - New value literal "Block String" for writing long-form text ([#​926](https://togithub.com/graphql/graphql-js/issues/926)) - New predicate functions `isSpecifiedScalarType`, `isIntrospectionType`, and `isSpecifiedDirective` ([#​924](https://togithub.com/graphql/graphql-js/issues/924)). - Better coverage for `findBreakingChanges()` and `findDangerousChanges()` - Detect breaking changes within directives ([#​1152](https://togithub.com/graphql/graphql-js/issues/1152)) - Detect added nullable input field or added nullable argument. ([#​1096](https://togithub.com/graphql/graphql-js/issues/1096)) - Adding an interface to a type is a dangerous change. ([#​992](https://togithub.com/graphql/graphql-js/issues/992)) **Fixed:** - Fix path argument for `visit()` for leaving visitors. ([#​1149](https://togithub.com/graphql/graphql-js/issues/1149)) - Errors concerning multiple instances of GraphQL.js being in use at the same time are now reported much more clearly and in more scenarios. ([`73b804b`](https://togithub.com/graphql/graphql-js/commit/73b804bd46fcda4606a833cbdd9835d1ee917807)) - The `GraphQLArgs` flow type is now exported. ([#​1118](https://togithub.com/graphql/graphql-js/issues/1118)) - Fix a possible infinite loop during validation for invalid queries in the OverlappingFields rule. ([#​1111](https://togithub.com/graphql/graphql-js/issues/1111)) - Subscriptions now ensure resolver errors are reported properly during initialization. ([#​1106](https://togithub.com/graphql/graphql-js/issues/1106), [#​1107](https://togithub.com/graphql/graphql-js/issues/1107)) - Ensure uniform parsing of named queries and anonymous queries ([#​1094](https://togithub.com/graphql/graphql-js/issues/1094)) - Fix elasticsearch errors being mistaken for GraphQL errors. ([#​1090](https://togithub.com/graphql/graphql-js/issues/1090)) - Avoid process is undefined error when used in the browser. ([#​1058](https://togithub.com/graphql/graphql-js/issues/1058)) - Fix mistake in how TypeInfo handles inline fragments without type ([#​1041](https://togithub.com/graphql/graphql-js/issues/1041)) - Fix mistake in how TypeInfo collects input types ([#​1143](https://togithub.com/graphql/graphql-js/issues/1143)) - Check `isDeprecated` instead of `deprecationReason` in `printDeprecated()` ([#​1035](https://togithub.com/graphql/graphql-js/issues/1035)) - Fix flow types for 'path' & 'parentType' of GraphQLResolveInfo ([#​1033](https://togithub.com/graphql/graphql-js/issues/1033)) - Fix utilization of argument default values in `buildASTSchema()`, `extendSchema()` and `buildClientSchema()`. ([#​903](https://togithub.com/graphql/graphql-js/issues/903))

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

β™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.



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

renovate[bot] commented 1 year ago

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.