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)