Releases: graphql/graphql-js
Releases · graphql/graphql-js
v15.0.0-alpha.1
v15.0.0-alpha.1 (2019-10-14)
Breaking Change 💥
- #1827 Update built-in scalar's parseLiteral method to throw TypeError (@danielrearden)
- #2084 RFC: Allow interfaces to implement other interfaces (@mike-marcacci)
- #2117 Removes non-standard properties from field objects (@IvanGoncharov)
- #2121 Drop Support for Node 6 (@IvanGoncharov)
- #2124 Remove deprecated 'introspectionQuery' constant (@IvanGoncharov)
- #2126 Remove deprecated 'isValidJSValue' function (@IvanGoncharov)
- #2127 Remove deprecated 'isValidLiteralValue' function (@IvanGoncharov)
- #2128 Remove deprecated 'coerceValue' function (@IvanGoncharov)
- #2129 Remove deprecated 'allowedLegacyNames' property of 'GraphQLSchema' (@IvanGoncharov)
- #2130 ValidationContext: Remove deprecated 'getErrors' and make 'onError' r… (@IvanGoncharov)
- #2132 GraphQLArgument: make 'description' undefined by default (@IvanGoncharov)
- #2148 GraphQLEnumType: Drop support for 'undefined' custom value (@IvanGoncharov)
- #2149 Errors if empty string is provided as operationName (@IvanGoncharov)
- #2164 RFC: Number lexer lookahead restriction (@leebyron)
- #2184 toConfig: allows 'extensionASTNodes' to be undefined (@IvanGoncharov)
- #2196 Change 'isSpecified*' & 'isIntrospectionType' accept only correct types (@IvanGoncharov)
- #2209 Lexer: remove passthrough options (@IvanGoncharov)
- #2210 Switch Lexer to be a proper class, remove 'createLexer' (@IvanGoncharov)
Bug Fix 🐞
- #2160 Validation: unify error messages (@IvanGoncharov)
- #2161 Unify rest of error messages (@IvanGoncharov)
- #2167 Allow empty string as valid 'deprecationReason' (@IvanGoncharov)
- #2175 parser: Convert error messages to match common standard of this lib (@IvanGoncharov)
- #2176 parser: Show empty strings in error messages (@IvanGoncharov)
- #2177 printSchema: support empty descriptions (@IvanGoncharov)
- #2178 Fix bunch of edge cases with empty strings (@IvanGoncharov)
- #2187 Scalars: convert errors from 'TypeError' to 'GraphQLError' (@IvanGoncharov)
- #2192 Fixes variable values of non-null type with default value (@IvanGoncharov)
- #2202 tstypes: Synchronise TS typings for
GraphQL*types (@IvanGoncharov) - #2204 findBreakingChanges: better message for removing standard scalar (@IvanGoncharov)
Docs 📝
Polish 💅
15 PRs were merged
- #2125 Move 'introspectionQuery.js' to 'getIntrospectionQuery.js' (@IvanGoncharov)
- #2147 Use consistent naming for config arguments (@IvanGoncharov)
- #2158 validation: Simplify 'ValuesOfCorrectType' rule (@IvanGoncharov)
- #2159 Validation: Remove internal functions for error messages (@IvanGoncharov)
- #2165 didYouMean: quote suggested values (@IvanGoncharov)
- #2173 Use explicit comparisons instead of using
Booleanconstructor (@IvanGoncharov) - #2174 Switch lexer and parser tests to exact match of error messages (@IvanGoncharov)
- #2193 Remove unussed 'ABORT_VALIDATION' constant (@IvanGoncharov)
- #2198 Add two more tests to KnownArgumentNames validation rule (@Cito)
- #2200 tests: simplify 'includes interface's thunk subtypes in the type map' (@IvanGoncharov)
- #2201 Synchronise 'GraphQLDirective' formatting with other definitions (@IvanGoncharov)
- #2205 Document private functions with @internal tag (@craicoverflow)
- #2208 Simplify 'validateObjectInterfaces' function (@IvanGoncharov)
- #2211 Remove unused 'ABORT_VALIDATION' constant (@IvanGoncharov)
- #2212 Fix minor typos in gen-changelog.js (@solon)
Internal 🏠
2 PRs were merged
- #2218 build: Add support for 'alpha' and 'beta' tags (@IvanGoncharov)
- #2219 version: Fix version test for alpha & beta releases (@IvanGoncharov)
Dependency 📦
4 PRs were merged
- #2122 Update deps (@IvanGoncharov)
- #2123 Update ESLint (@IvanGoncharov)
- #2146 Update ESLint to 6.3 + other deps (@IvanGoncharov)
- #2166 Update deps (@IvanGoncharov)
Committers: 8
- Brian Solon(@solon)
- Christoph Zwerschke(@Cito)
- Daniel Rearden(@danielrearden)
- Enda(@craicoverflow)
- Ivan Goncharov(@IvanGoncharov)
- Lee Byron(@leebyron)
- Mike Marcacci(@mike-marcacci)
- Wojtek Trocki(@wtrocki)
v14.5.8
v14.5.8 (2019-09-25)
Bug Fix 🐞
- #2195 tstypes: fix typings for 'isSpecifiedDirective'/'isSpecifiedScalarType' (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v14.5.7
v14.5.7 (2019-09-20)
Bug Fix 🐞
- #2191 Fixes variable values of non-null type with default value (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v14.5.6
v14.5.6 (2019-09-15)
Bug Fix 🐞
- #2169 Make onError optional in SDLValidationContext (@Cito)
- #2171 tstypes: Add missing 'abstractType' argument to
GraphQLTypeResolver(@IvanGoncharov)
Committers: 2
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)
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=>undefinedin Path.d.ts (@JacksonKearl) - #2135 tstypes: Use
anyas BREAK type. (@JacksonKearl) - #2137 Flow: fix errors in 'flatMap.js' on old Flow versions (@IvanGoncharov)
- #2138 Add missing
toObjMap' conversion forextensions` inside directive args (@IvanGoncharov) - #2140 TypeScript: Backport v15 .d.ts fixes to v14 (@JacksonKearl)
- #2142 tstypes: Mark
optionsproperty 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...