Releases: graphql/graphql-js
Releases · graphql/graphql-js
v14.6.0
v14.6.0 (2020-01-27)
New Feature 🚀
- #2400 validation: Add missing rule exports (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v15.0.0-rc.1
v15.0.0-rc.1 (2020-01-06)
Breaking Change 💥
- #2328 Removes default values for required fields in GraphQL*Config types (@IvanGoncharov)
- #2334 enum: 'parseLiteral/parseValue/serialize' now throw on invalid values (@IvanGoncharov)
Bug Fix 🐞
- #2337 Flow: add missing typings on exports (@IvanGoncharov)
Polish 💅
11 PRs were merged
- #2321 tests: in expect chains use '.to.not.' instead of '.not.to.' (@IvanGoncharov)
- #2322 separateOperations: simplify algorithm (@IvanGoncharov)
- #2324 validateSchema: remove validation arguments uniqueness (@IvanGoncharov)
- #2325 Extract 'formatError' tests into separate file + improve coverage (@IvanGoncharov)
- #2326 Clearly mark not reachable places in the code (@IvanGoncharov)
- #2327 coverage: ignore uncovered branches caused by #2203 (@IvanGoncharov)
- #2329 coverage: mark ignore statements (@IvanGoncharov)
- #2330 Simplify findDeprecatedUsages since "deprecationReason" is always present (@IvanGoncharov)
- #2331 OverlappingFieldsCanBeMerged: arguments always have value (@IvanGoncharov)
- #2332 Improve coverage of the entire codebase (@IvanGoncharov)
- #2333 Unify arguments naming for parseValue/serialize methods (@IvanGoncharov)
Internal 🏠
- #2323 tests: Transpile tests less aggressively (@IvanGoncharov)
Dependency 📦
2 PRs were merged
- #2335 Update Flow to v0.115 (@IvanGoncharov)
- #2336 Update deps (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v15.0.0-alpha.2
v15.0.0-alpha.2 (2019-12-29)
Breaking Change 💥
- #2223 printSchema: don't break description lines (@IvanGoncharov)
- #2233 parser: convert Location to be an ES6 class (@IvanGoncharov)
- #2234 lexer: convert Token to be an ES6 class (@IvanGoncharov)
- #2274 Resolve import cycle by moving 'visitWithTypeInfo' into 'TypeInfo.js' (@IvanGoncharov)
- #2284 Replace all instances of Flow existential type (@IvanGoncharov)
- #2290 Drop Support for Node 8 (@IvanGoncharov)
New Feature 🚀
- #2229 Convert AST nodes types to be exact objects (@IvanGoncharov)
- #2248 buildSchema/extendSchema: add support for extensions (@IvanGoncharov)
Bug Fix 🐞
- #2224 Fix typescript definition for getVariableValues (@ivome)
- #2231 Convert more types to be exact objects (@IvanGoncharov)
- #2232 execute: Convert ExecutionResult to be an exact object (@IvanGoncharov)
- #2261 TS:
introspectionTypes
should be array ofGraphQLNamedType
(@pcarrier) - #2269 Flow: switch more types to be exact (@IvanGoncharov)
- #2286 Remove duplicate colon in coercion error message (@Cito)
- #2306 Remove unmatched opening parenthesis in description (@Cito)
- #2307 Add dots at the end of error messages (@IvanGoncharov)
Docs 📝
4 PRs were merged
- #2239 chore: Spelling (@icirellik)
- #2249 minor grammar fix (@Ardeshir81)
- #2252 docs: follow express' best practice (@Ardeshir81)
- #2256 docs: correctly tag code samples (@IvanGoncharov)
Polish 💅
25 PRs were merged
- #2186 Consistent error messages in buildClientSchema (@spawnia)
- #2225 serialization-test: Don't use 'delete' on test objects (@IvanGoncharov)
- #2235 buildSchema/extendSchema: unify AST node processing (@IvanGoncharov)
- #2236 buildASTSchema/extendSchema: unify directive building (@IvanGoncharov)
- #2238 grammar: 'falsey' => 'falsy' (@IvanGoncharov)
- #2254 Vary the test case for building client schemas with enum (@spawnia)
- #2255 Fix spelling: heirarchy to hierarchy (@spawnia)
- #2257 cleanup ESLint config (@IvanGoncharov)
- #2258 list-test: Remove 'argument' usage (@IvanGoncharov)
- #2259 ESLint: mark unused arguments with underscore (@IvanGoncharov)
- #2270 Enable 'default-param-last' (@IvanGoncharov)
- #2272 Enable 'require-await' ESLint check (@IvanGoncharov)
- #2285 Remove forgotten internal error message functions (#2159) (@Cito)
- #2287 tests: Fix style of graphql queries inside string literals (@IvanGoncharov)
- #2288 tests: Switch to using named arguments to graphql/execute (@IvanGoncharov)
- #2295 Correct bunch of spelling mistakes (@IvanGoncharov)
- #2296 More fixes to make spellchecker happy (@IvanGoncharov)
- #2300 tests: Switch to using named arguments for
subscribe
calls (@IvanGoncharov) - #2302 tests: simplify 'astNode' and 'extensionASTNodes' tests (@IvanGoncharov)
- #2305 Small optimization in the schema type map reducer (@Cito)
- #2308 extendedSchema-test: make tests self contained (@IvanGoncharov)
- #2309 extendSchema: remove dead check on number of directives (@IvanGoncharov)
- #2310 buildSchema/extendSchema: improve test coverage (@IvanGoncharov)
- #2312 Mark 'config' as readonly argument to contructors (@IvanGoncharov)
- #2313 buildSchema: change implementation to simply extending empty schema (@IvanGoncharov)
Internal 🏠
11 PRs were merged
- #2220 gen-changelog: add support for rebased PRs (@IvanGoncharov)
- #2221 ts: move '*.d.ts' files into 'src' (@IvanGoncharov)
- #2267 ESLint: remove options that match default ones (@IvanGoncharov)
- #2279 Update TravisCi to run full CI suite on Node 12 (@m14t)
- #2280 Remove outdated "Live Feedback" section from CONTRIBUTING.modified (@m14t)
- #2291 Add node v13 to CI (@IvanGoncharov)
- #2293 benchmark: extract 'bold' func for applying ANSI bold code (@IvanGoncharov)
- #2294 benchmark: make clean build every time (@IvanGoncharov)
- #2297 Add spellchecker (@IvanGoncharov)
- #2314 gen-changelog: Fix error handling and improve error messages (@IvanGoncharov)
- #2315 Add 'yarn check --integrity' to 'preversion' script (@IvanGoncharov)
Dependency 📦
13 PRs were merged
- #2226 Update to Flow v0.109 (@IvanGoncharov)
- #2227 Update ESLint to v6.5 (@IvanGoncharov)
- #2228 Update deps (@IvanGoncharov)
- #2237 Update deps (@IvanGoncharov)
- #2250 Update deps (@IvanGoncharov)
- #2251 Update Flow to 0.111 (@IvanGoncharov)
- #2263 Update prettier (@IvanGoncharov)
- [#2265](ht...
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
Boolean
constructor (@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
=>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)