react-apollo-form
react-apollo-form copied to clipboard
chore(deps): update dependency @types/graphql to v14
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| @types/graphql | ^0.13.1 -> ^14.0.0 |
Release Notes
graphql/graphql-js (@types/graphql)
v14.5.0
v14.5.0 (2019-08-22)
New Feature 🚀
- #2062 Limits errors in getVariableValues() (@IvanGoncharov)
- #2074 [validation] Add "onError" option to allow for custom error handling behavior when performing validation (@skevy)
- #2097 Add 'extensions' to all Type System objects (@IvanGoncharov)
- #2102 Add TS typings. All credits goes to original authors of '*.d.ts' files: @TonyPythoneer @calebmer @intellix @firede @kepennar @freiksenet @IvanGoncharov @DxCx @rportugal @tgriesser @dyst5422 @adnsio @divyenduz @bradzacher @clayne11 @JCMais @langpavel @mc0 @martijnwalraven @jedmao
Bug Fix 🐞
- #1467 Make error handling consistent in createSourceEventStream (@taion)
- #2047 coerceValues: correctly handle NaN and similar values (@IvanGoncharov)
- #2075 inspect: correctly handle custom objects without class name (@IvanGoncharov)
- #2082 Convert type definitions subtypes to be exact (@IvanGoncharov)
- #2091 definitions: make constructed fields non-optional (@IvanGoncharov)
- #2099 Switch all 'for..of' loops to assume they iterating only arrays (@IvanGoncharov)
Docs 📝
- #2103 Add README for 'tstypes' folder (@IvanGoncharov)
Polish 💅
42 PRs were merged
- #2014 Fix build after #1467 (@IvanGoncharov)
- #2015 Flow: Remove some of the 'existential type' usages (@IvanGoncharov)
- #2023 parser: simplify 'many' utility function (@IvanGoncharov)
- #2024 parser: Remove unnecessary export on internal function (@IvanGoncharov)
- #2025 Move 'getTokenDesc' into parser (@IvanGoncharov)
- #2027 Flow: Remove unnecessary type annotations (@IvanGoncharov)
- #2028 Parser: group internal methods into a class to share lexer & options (@IvanGoncharov)
- #2031 Remove use of existential type in validation tests (@IvanGoncharov)
- #2033 Run prettier on all files in repo (@IvanGoncharov)
- #2042 Add tests for parseValue & parseLiteral of std scalars (@IvanGoncharov)
- #2045 test: Fully cover 'coerceValue' function with tests (@IvanGoncharov)
- #2046 Enable 'flowlint deprecated-type' (@IvanGoncharov)
- #2049 Remove useless check since args are always array (can be empty) (@IvanGoncharov)
- #2050 Simplify coercion algorithm in getVariableValues/getArgumentValues (@IvanGoncharov)
- #2051 Make getArgumentValues/getVariableValues algorithm linear (@IvanGoncharov)
- #2052 coerceValue: Simplify path printing (@IvanGoncharov)
- #2053 jsutils: Add generic Path implementation (@IvanGoncharov)
- #2054 buildExecutionContext: simplify errors handling (@IvanGoncharov)
- #2058 flow: Enable 'uninitialized-instance-property' lint (@IvanGoncharov)
- #2059 Sort imports in all JS files (@IvanGoncharov)
- #2060 Using direct imports in test files (@IvanGoncharov)
- #2061 change 'CoercedVariableValues' to disjoint union (@IvanGoncharov)
- #2063 Remove useless invariant since 'serialize' is always exist (@IvanGoncharov)
- #2064 invariant: improve code that babel outputs (@IvanGoncharov)
- #2065 Remove 'invariant' calls from 'stripIgnoredCharacters' tests (@IvanGoncharov)
- #2066 Use 'invariant' only for real invariants, add 'devAssert' for the rest (@IvanGoncharov)
- #2067 Convert all non-reachable exceptions into invariants (@IvanGoncharov)
- #2068 parser: Extract 'optionalMany' utility function (@IvanGoncharov)
- #2069 parser: Inline 'parseExecutableDefinition' to simplify code (@IvanGoncharov)
- #2073 Simplify parser, avoid extra function call (@Cito)
- #2076 coverage: remove not essential 'istanbul ignore's (@IvanGoncharov)
- #2077 validation-test: remove unneeded 'specifiedRules' (@IvanGoncharov)
- #2078 getVariableValues: improve coverage of 'maxErrors' (@IvanGoncharov)
- #2079 Add benchmark for validating invalid query (@IvanGoncharov)
- #2083 GraphQLSchema: Remove unneeded recursion during type collection (@IvanGoncharov)
- #2085 starWarsIntrospection-test: cleanup + add explanation comment (@IvanGoncharov)
- #2086 GraphQLSchema: simplify
getPossibleTypes&isPossibleType(@IvanGoncharov) - #2089 definition: replace object spread with explicit assignments (@IvanGoncharov)
- #2090 type definitions: Use consistent order for public fields (@IvanGoncharov)
- #2094 tests: use consistent order of fields in snapshots (@IvanGoncharov)
- #2095 extendSchema-test: replace 'GraphQL*' types with SDL (@IvanGoncharov)
- #2100 Convert more cycles to 'for..of' (@IvanGoncharov)
Internal 🏠
14 PRs were merged
- #2013 Mark as private to prevent accidential publishing of root 'package.json' (@IvanGoncharov)
- #2016 Travis: Run gitdeploy only on pushes to master (@IvanGoncharov)
- #2019 Benchmark: Inline code from benchmark.js (@IvanGoncharov)
- #2021 Benchmark: simplify code (@IvanGoncharov)
- #2026 Flow: Remove unussed '$FlowIssue' (@IvanGoncharov)
- #2032 ESLint: Enable flowtype/no-existential-type rule (@IvanGoncharov)
- #2034 Cleanup leftovers of CI publishing (@IvanGoncharov)
- #2035 gen-changelog: remove hardcoded GitHub org and repo (@IvanGoncharov)
- #2039 benchmark: improve reproducibility (@IvanGoncharov)
- #2070 coverage: Fixed coverage bug introduced in #2067 (@IvanGoncharov)
- #2071 coverage: Fixed coverage bug introduced in #2067 (@IvanGoncharov)
- #2072 Make npm scripts for prettier run on Windows (@Cito)
- #2087 benchmark: use version specific babel (@IvanGoncharov)
- #2088 benchmark: collect memory usage per operation (@IvanGoncharov)
Dependency 📦
7 PRs were merged
- #2022 Update deps (@IvanGoncharov)
- #2030 Update deps (@IvanGoncharov)
- #2040 Update Babel (@IvanGoncharov)
- #2043 Update deps (@IvanGoncharov)
- #2057 Update Flow to 0.104 (@IvanGoncharov)
- #2080 Update Flow to 0.105 (@IvanGoncharov)
- #2101 Update deps (@IvanGoncharov)
Committers: 4
- Adam Miskiewicz(@skevy)
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
- Jimmy Jia(@taion)
v14.2.1
14.2.1 (2019-03-31)
Bug Fix 🐞
- #1808 buildClientSchema: Revert breaking change introduced in #1677 (@IvanGoncharov)
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 Add 'toConfig' methods to all type system definitions objects (@IvanGoncharov)
- #1332 Allow to override default type resolver (@IvanGoncharov)
Bug Fix 🐞
- #1792 Duplicate fields in deep inputs not validated properly (#1791) (@Cito)
- #1724 Add missing toStringTag to GraphQLList and GraphQLNonNull (@IvanGoncharov)
- #1554 Improve error message for missing required argument in field or directive (@everdimension)
- #1707 printSchema: Fix printing of empty types (@IvanGoncharov)
- #1702 Add missing Flow typing for 'print' function (@IvanGoncharov)
- #1698 Fix missing schema's astNode when schema was defined inside extension (@IvanGoncharov)
- #1600 Inspect non-error types to produce helpful error messages for failing resolvers (@kommander)
Docs 📝
- #1679 Documentation for explicitly mentioning ObjectTypes (@buoyantair)
Polish 💅
42 PRs were merged
- #1798 Rename 'MaybePromise' to 'PromiseOrValue' (@IvanGoncharov)
- #1785 Fix test case description (@IvanGoncharov)
- #1670 Remove year from LICENSE headers (@IvanGoncharov)
- #1782 Fix grammar in error message (@Cito)
- #1781 Add directive predicates tests and fix test names (@Cito)
- #1778 Minor spelling errors in PossibleTpyeExtensions (@Cito)
- #1772 fix out of range return check for charCodeAt in lexer (NaN instead of null) (@superhawk610)
- #1767 Use non-capturing group inside RegExp (@IvanGoncharov)
- #1764 Minor code simplification in validation rules (@Cito)
- #1765 Fix validator test names (@Cito)
- #1763 Fix typos in UniqueOperationTypes test (@Cito)
- #1758 Tests: 'expect(...).to.eql' => 'expect(...).to.deep.equal' (@IvanGoncharov)
- #1757 GraphQLError: don't wrap single node in array (@IvanGoncharov)
- #1756 Speedup parser (~50%) by using 'slice' and 'charCodeAt' directly (@IvanGoncharov)
- #1736 Speedup visitor test on kitchenSinkQuery (@IvanGoncharov)
- #1735 Simplify checking of args inside visitor tests (@IvanGoncharov)
- #1734 Use AST abbreviation consistently (@IvanGoncharov)
- #1733 General cleanup of definition tests (@IvanGoncharov)
- #1730 Allow for long string literals inside tests (@IvanGoncharov)
- #1729 Remove useless positive isTypeOf tests, since this function is optional (@IvanGoncharov)
- #1728 Unwrap type definition tests (@IvanGoncharov)
- #1725 Group type definitions tests by type kind (@IvanGoncharov)
- #1723 Move 'Object.toString' tests to the appropriate files (@IvanGoncharov)
- #1722 Remove duplicating NonNull test (@IvanGoncharov)
- #1719 Move schema related test to "schema-test.js" + cleanup (@IvanGoncharov)
- #1718 Make all "not reachable" look and work the same (@IvanGoncharov)
- #1717 NonNull tests: Use SDL to create test schema (@IvanGoncharov)
- #1711 tests: remove useless parseLiteral & parseValue callbacks (@IvanGoncharov)
- #1710 Simplify "Type Map: includes input types only used in directives" test (@IvanGoncharov)
- #1709 Parser: use "any" util fn to parse object literal (@IvanGoncharov)
- #1708 buildASTSchema: test building of empty types (@IvanGoncharov)
- #1706 Cleanup unnecessary Query types from printSchema tests (@IvanGoncharov)
- #1705 Use isLeafType instead of isEnumType & isScalarType combo (@IvanGoncharov)
- #1697 Remove Flow workaround in buildASTSchema (@IvanGoncharov)
- #1673 Disable coverage on deprecated 'isValidJSValue' function (@IvanGoncharov)
- #1686 Add polyfill for 'flatMap' (@IvanGoncharov)
- #1684 extract flatMap function out of extendSchema implementation (@IvanGoncharov)
- #1681 Remove excessive cache inside lexicographicSortSchema (@IvanGoncharov)
- #1678 buildClientSchema: move inner functions to follow return (@IvanGoncharov)
- #1677 Remove excessive cache inside buildClientSchema (@IvanGoncharov)
- #1672 Remove useless if inside 'getAllSubNodes' function (@IvanGoncharov)
- #1547 Parser: Better names for parser util functions (@IvanGoncharov)
Internal 🏠
17 PRs were merged
- #1795 Switch 'check-cover' to use Flow's 'batch-coverage' cmd (@IvanGoncharov)
- #1777 Prettier: normalize line ending to git standard (@IvanGoncharov)
- #1766 Update ESLint to 5.15 (@IvanGoncharov)
- #1750 Simplify benchmark by using more low-level API from 'benchmark.js' (@IvanGoncharov)
- #1748 Inline 'beautify-benchmark' + heavy refactoring (@IvanGoncharov)
- #1747 Use ESLint cache for local development (@IvanGoncharov)
- #1746 Use ESLint cache to speedup watch (@IvanGoncharov)
- #1745 Do not run duplicating parser step on watch (@IvanGoncharov)
- #1744 Remove 'yarn t' in favor of 'yarn mocha' or 'npm run mocha' (@IvanGoncharov)
- #1743 Move Mocha config into .mocharc.yml (@IvanGoncharov)
- #1739 Move list of supported targets into separate file (@IvanGoncharov)
- #1737 Remove custom mocha timeout (@IvanGoncharov)
- #1694 Make codecov less spammy (@IvanGoncharov)
- #1693 Move coverage upload to .travis.yml (@IvanGoncharov)
- #1692 Run full CI only on node LTS (@IvanGoncharov)
- #1689 Improve code coverage reporting (@IvanGoncharov)
- #1690 Temporary migrate tests from node 11.7 to 11.6 to fix codecov (@IvanGoncharov)
Committers: 7
- Aaron Ross (@superhawk610)
- Christoph Zwerschke (@Cito)
- Ivan Goncharov (@IvanGoncharov)
- Matt Mahoney (@mjmahone)
- Sebastian Herrlinger (@kommander)
- @everdimension
- buoyantair (@buoyantair)
v14.0.2
Fixes:
- No longer presents warnings when used with node v7 and v9 (#1508)
- Added keywords to the NPM package (#1501)
ValidationRuleflow 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
(Something went wrong during release, this version has been unpublished)
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
Breaking:
- Drops support for node v4 and v9, makes sure node v10 is supported (#1338, #1445)
- Reject invalid scalar value coercion (#1365, #1336)
- Removes
VariablesDefaultValueAllowedvalidation rule, andProvidedNonNullArgumentsbecameProvidedRequiredArguments(#1274) - Stricter coercion of Scalar Types (#1382)
- Removes deprecated Introspection fields
onOperation,onFragment, andonField(#1385, #1429) GraphQL*Configare now exact types (#1391, #1443)- "Schema Change" keys in
BreakingChangeTypeandDangerousChangeTypefor detecting adding args and input fields changed name (#1492) formatErrorAPI changed for error message extensions. To upgrade without changing existing server responses, wrapgraphql'sformatError:
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)
extendSchemaextended with spec-compliant SDL extensions (#1373, #1392, #1441)symbol.toStringTagsupport (#1297)- Expose
getOperationRootType(schema, operationAST)(#1345) - Package is marked as side-effect free (#1312)
validateSchemaworks with Schema extensions (#1410)validateworks on SDL definitions (#1438, #1383)- directives can be added to variable definitions, behind
experimentalVariableDefinitionDirectivesflag (#1437, #1454) - ASTNode predicates, like
isDefinitionNodeandisTypeSystemDefinitionNode(#1459) isRequiredArgumentandisRequiredInputFieldpredicates (#1463)
Fixed:
- Fixes for custom enum types
- Prettier, Flow and eslint upgrades (#1304, #1319)
- Babel 7 upgrade (#1350)
- Introspection query perf improved (#1329)
introspectionFromSchemahas default options (#1408)buildSchemamemory leaks and infinite recursion fixed (#1417, #1427)watchcommand fixed (#1449)- Benchmarking for
validation(#1471)
Deprecated:
These will be removed in v15
introspectionQuery, usegetIntrospectionQuery(#1386)getDescription, use the schema AST node to get descriptions (#1396)isValidJSValue, usecoerceValue(#1386)isValidLiteralValue, use validation (#1386)
v0.13.2
New:
Fixes:
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.
- [ ] If you want to rebase/retry this PR, check this box
This PR was generated by Mend Renovate. View the repository job log.