Releases: graphql/graphql-js
Releases · graphql/graphql-js
v14.5.5
v14.5.5 (2019-09-13)
Bug Fix 🐞
- #2151 findDangerousChanges: sort fields inside 'defaultValue' (@IvanGoncharov)
- #2162 printLocation: Remove trailing whitespace from empty lines (@leebyron)
- #2163 RFC: Lexing is Greedy (@leebyron)
Polish 💅
Committers: 3
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
- Lee Byron(@leebyron)
v14.5.4
v14.5.4 (2019-08-29)
Bug Fix 🐞
- #2131 fix: added FlowFixMe on Array.prototype.flatMap (@Michael-M-Judd)
- #2134
void
=>undefined
in Path.d.ts (@JacksonKearl) - #2135 tstypes: Use
any
as BREAK type. (@JacksonKearl) - #2137 Flow: fix errors in 'flatMap.js' on old Flow versions (@IvanGoncharov)
- #2138 Add missing
toObjMap' conversion for
extensions` inside directive args (@IvanGoncharov) - #2140 TypeScript: Backport v15 .d.ts fixes to v14 (@JacksonKearl)
- #2142 tstypes: Mark
options
property optional ingetVariableValues
(@JacksonKearl) - #2143 Fix 'isFinite' polyfill resulting in infinite recursion (@IvanGoncharov)
Polish 💅
- #2133 Flow: fix warning about unused $FlowFixMe (@IvanGoncharov)
Committers: 3
- Ivan Goncharov(@IvanGoncharov)
- Jackson Kearl(@JacksonKearl)
- Michael Judd(@Michael-M-Judd)
v14.5.3
v14.5.3 (2019-08-24)
Bug Fix 🐞
- #2120 Fix relative imports inside TypeScript definitions (@JacksonKearl)
Committers: 1
- Jackson Kearl(@JacksonKearl)
v14.5.2
v14.5.2 (2019-08-24)
Bug Fix 🐞
- #2109 Sync type TS definitions with Flow (@JacksonKearl)
- #2113 Sync tstypes/graphql.d.ts with flow (@JacksonKearl)
- #2115 Sync utilities TS definitions with flow (@JacksonKearl)
- #2116 Copy non-standard properites from field's config (@IvanGoncharov)
- #2118 Fixup index.d.ts files to reflect Flow (@JacksonKearl)
- #2119 Sync validation TS definitions with flow (@JacksonKearl)
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Jackson Kearl(@JacksonKearl)
v14.5.1
v14.5.1 (2019-08-23)
Bug Fix 🐞
- #2105 Sync tstypes/errors with flow (@JacksonKearl)
- #2106 Sync execution TS definitions with Flow. (@JacksonKearl)
- #2107 Sync language TS definitions with Flow (@JacksonKearl)
- #2108 Sync subscription TS definitions with Flow (@JacksonKearl)
- #2111 Flow lint disable 'deprecated-type' rule (@IvanGoncharov)
Dependency 📦
- #2112 Update deps (@IvanGoncharov)
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Jackson Kearl(@JacksonKearl)
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)
- [#20...
v14.4.2
v14.4.2 (2019-07-03)
Bug Fix 🐞
- #2009 Defensively verify that Symbol.for is available (@jaynetics)
Polish 💅
2 PRs were merged
- #2006 buildClientSchema: add test for missing standard scalar (@IvanGoncharov)
- #2008 Flow: Remove deprecated 'Function' type (@IvanGoncharov)
Internal 🏠
- #2011 Correctly add modified 'version.js' to release commit (@IvanGoncharov)
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Janosch Müller(@jaynetics)
v14.4.1
v14.4.1 (2019-06-29)
Bug Fix 🐞
- #2001 Switch some of arguments from
Array
to$ReadOnlyArray
(@IvanGoncharov) - #2002 Mark user-provided 'variableValues' as read-only (@IvanGoncharov)
Polish 💅
- #2000 dedent: Simplify and remove unused features (@IvanGoncharov)
Internal 🏠
4 PRs were merged
- #1998 Add "postversion" step to commit changed files (@IvanGoncharov)
- #1999 changelog: Remove duplicate PRs (@IvanGoncharov)
- #2003 Travis: Disable automatic publishing on NPM (@IvanGoncharov)
- #2004 Travis: remove Node.js v11 from test matrix (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v14.4.0
v14.4.0 (2019-06-26)
New Feature 🚀
- #1906 Use 'Object.freeze' consistently on all exported Array/Object constants (@IvanGoncharov)
- #1878 Add "version" string and parsed "versionInfo" (@IvanGoncharov)
- #1942 Export "SubscriptionArgs" type (@IvanGoncharov)
- #1946 GraphQLScalarType: make 'serialize' optional with 'identityFunc' as default (@IvanGoncharov)
- #1359 validateSchema: validate Input Objects self-references (@IvanGoncharov)
- #1949 [printError] Make location formatting IDE friendly (@alloy)
- #1955 Make 'parseLiteral' optional and use wrapped 'parseValue' by default (@IvanGoncharov)
- #1965 Added partial support for repeatable directives (@IvanGoncharov)
- #1984 Extract 'printLocation' & 'printSourceLocation' functions (@IvanGoncharov)
- #1985 Print minified location (@IvanGoncharov)
Bug Fix 🐞
- #1916 findBreakingChanges: use string representation to compare default values (@IvanGoncharov)
- #1920 Remove trailing spaces from 'Int' and 'Float' descriptions (@IvanGoncharov)
- #1937 Accept normal object as 'variableValues' arg of 'graphql' function (@IvanGoncharov)
- #1938 Allow null value on 'data' property of 'ExecutionResult' type (@IvanGoncharov)
- #1939 Accept normal object as 'variableValues' arg of subscribe functions (@IvanGoncharov)
- #1983 printError shouldn't return trailing new line (@IvanGoncharov)
Docs 📝
2 PRs were merged
- #1923 Copy 'site/graphql-js' folder from 'graphql.github.io' repo (@IvanGoncharov)
- #1959 Fix URLs to the GraphQL Specification and its repository (@IvanGoncharov)
Polish 💅
40 PRs were merged
- #1901 findBreakingChanges: extract 'findByName' utility function (@IvanGoncharov)
- #1902 findBreakingChanges: Simplify type to string conversion (@IvanGoncharov)
- #1903 findBreakingChanges: add missing dots to descriptions (@IvanGoncharov)
- #1904 findBreakingChanges-test: Unify changes snapshots (@IvanGoncharov)
- #1905 findBreakingChanges: simplify schema iteration (@IvanGoncharov)
- #1907 findBreakingChanges: unify how changes are collected (@IvanGoncharov)
- #1908 findBreakingChanges: extract "diff" utility function (@IvanGoncharov)
- #1909 findBreakingChanges: reduce duplication by merging some functions (@IvanGoncharov)
- #1910 Replace some "for" cycles with "for of" (@IvanGoncharov)
- #1911 findBreakingChanges: merge funcs and remove duplicated iteration logic (@IvanGoncharov)
- #1912 findBreakingChanges: sort functions in logical order (@IvanGoncharov)
- #1914 ESLint: Forbid unnecessary backticks (@IvanGoncharov)
- #1918 tests: replace 'printNode' with more high-level 'printASTNode' (@IvanGoncharov)
- #1921 Manually concat all static strings (@IvanGoncharov)
- #1927 validation-tests: remove useless parseValue & parseLiteral (@IvanGoncharov)
- #1934 Add typings to introspection resolvers (@IvanGoncharov)
- #1936 Remove dead code since args are always present on fields and directives (@IvanGoncharov)
- #1943 Simplify args handling in 'graphql', 'subscribe' and 'execute' funcs (@IvanGoncharov)
- #1944 Extract "didYouMean" util function (@IvanGoncharov)
- #1945 Extract 'identityFunc' function to be used instead of 'x => x' (@IvanGoncharov)
- #1950 validateSchema: use 'astNode' from fields/args instead of type's subnodes (@IvanGoncharov)
- #1952 tests: replace
invariant
withassertEnumType
(@IvanGoncharov) - #1957 Remove unnecessary concatenations from template strings (@IvanGoncharov)
- #1962 parser: remove unused token that was returned from keyword match (@IvanGoncharov)
- #1963 buildASTSchema-test: inline SDL in 'buildSchema' calls (@IvanGoncharov)
- #1964 Simplify SDLs used in 'buidSchema'/`extendSchema' tests (@IvanGoncharov)
- #1960 Update LICENSE and remove license header from source files (@IvanGoncharov)
- #1972 inspect: Handle 'null' explicitly (@IvanGoncharov)
- #1973 Extract 'isObjectLike' utility function (@IvanGoncharov)
- #1974 buildClientSchema: add dev check for invalid introspection argument (@IvanGoncharov)
- #1975 inspect-test: Improve coverage (@IvanGoncharov)
- #1976 inspect-test: remove $FlowFixMe (@IvanGoncharov)
- #1977 buildClientSchema: improve coverage (@IvanGoncharov)
- #1978 Flow: switch to new '...' syntax for inexact objects (@IvanGoncharov)
- #1980 Correct imports to use direct paths instead of relying on 'index.js' (@IvanGoncharov)
- #1981 Move TokenKind into separate file to solve cycle import (@IvanGoncharov)
- #1982 printError: improve coverage (@IvanGoncharov)
- #1988 Add test for didYouMean with sub-message (@Cito)
- #1994 Improve Flow typing for 'memoize3' (@IvanGoncharov)
- #1995 Improve typings for 'toJSONDeep' function (@IvanGoncharov)
Internal 🏠
19 PRs were merged
- #1915 Travis: don't duplicate testing on Node's...
v14.3.1
14.3.1 (2019-05-23)
Bug Fix 🐞
- #1809 buildClientSchema: include standard type only if it is used (@IvanGoncharov)
Polish 💅
19 PRs were merged
- #1899 findBreakingChanges: Add new tests to improve coverage (@IvanGoncharov)
- #1898 findBreakingChanges: simplify checking of wrapped types (@IvanGoncharov)
- #1897 findBreakingChanges-test: Remove unnecessary fields (@IvanGoncharov)
- #1896 findBreakingChanges: Correctly document not reachable statement (@IvanGoncharov)
- #1895 findBreakingChanges: Remove 'export' from internal functions (@IvanGoncharov)
- #1893 findBreakingChanges: test only functions that are part of public API (@IvanGoncharov)
- #1891 findBreakingChanges-test: remove unneeded 'Query' types (@IvanGoncharov)
- #1888 Enable 'no-prototype-builtins' ESLint rule (@IvanGoncharov)
- #1887 Enable "no-case-declarations" ESLint rule (@IvanGoncharov)
- #1885 Explicitly create Promise using "Promise.resolve" (@IvanGoncharov)
- #1884 memoize3: Explicitly pass arguments (@IvanGoncharov)
- #1883 Enable "no-sequences" ESLint rule (@IvanGoncharov)
- #1882 Enable 'prefer-promise-reject-errors' ESLint rule (@IvanGoncharov)
- #1881 Partly fix results of "sketchy-null-mixed" Flow check (@IvanGoncharov)
- #1880 Enable "sketchy-null-mixed" Flow check (@IvanGoncharov)
- #1879 Use "isPromise" instead of testing for 'then' property (@IvanGoncharov)
- #1866 Enable Flow in "visitor-test.js" (@IvanGoncharov)
- #1865 Enable Flow on "subscribe-test.js" (@IvanGoncharov)
- #1863 Fix some typos in stripIgnoredCharacters docs+tests (@Cito)
Internal 🏠
15 PRs were merged
- #1892 build: Add new lines to ".js" and ".mjs" files (@IvanGoncharov)
- #1886 Remove TODO on "no-warning-comments" ESLint rule (@IvanGoncharov)
- #1877 Rename 'fs-utils.js' to 'utils.js' (@IvanGoncharov)
- #1875 Enable prettier for "resources/*.js" files (@IvanGoncharov)
- #1876 inline-invariant: use template instead of AST (@IvanGoncharov)
- #1874 Enable "no-inner-declarations" rule on "resources/*.js" files (@IvanGoncharov)
- #1873 Fix lint issues in 'resources/*.js' files (@IvanGoncharov)
- #1872 Replace all "var" with "const" & "let" in "resources/*.js" files (@IvanGoncharov)
- #1871 Lint JS files inside "resources" folder (@IvanGoncharov)
- #1870 Add missing "use strict" (@IvanGoncharov)
- #1869 ESLint: remove useless "parserOptions" options (@IvanGoncharov)
- #1868 Add missing "@noflow" (@IvanGoncharov)
- #1867 ESLint: Simplify exclude for "no-restricted-syntax" rule (@IvanGoncharov)
- #1864 Drop parser option since Prettier supports Flow by default (@IvanGoncharov)
- #1855 Add 'yarn check --integrity' to CI tests (@IvanGoncharov)
Committers: 2
- Christoph Zwerschke (@Cito)
- Ivan Goncharov (@IvanGoncharov)