Releases: graphql/graphql-js
Releases · graphql/graphql-js
v15.4.0
v15.4.0 (2020-10-26)
New Feature 🚀
- #2731 execute/subscribe: simplify to improve debugging experience (@IvanGoncharov)
- #2733 Allow deprecating input fields and arguments (@IvanGoncharov)
- #2744 parser: Export
Parserclass as unstable API (@IvanGoncharov) - #2749 Add 'TypedQueryDocumentNode' TS type (@IvanGoncharov)
- #2770 Adding experimental online parser (@hereisnaman)
- #2797 Make print() break arguments over multiple lines (@draperunner)
Bug Fix 🐞
- #2696 GraphQLScalarType: default 'parseLiteral' should handle variables (@IvanGoncharov)
- #2706 buildASTSchema: should match order of default types and directives (@IvanGoncharov)
- #2784 Change
devAssertsfor checkingsourceargument (@IvanGoncharov) - #2786 fix: ensure variance of types matches how values are used (@ForbesLindesay)
- #2788 Make specifiedByUrl in IntrospectionScalarType's flow type optional (@mjmahone)
- #2793 resolveType: add workaround for transformed schemas (@IvanGoncharov)
- #2795 subscribe: correct Flow definitions (@IvanGoncharov)
- #2804 Added check for specific symbols in polyfills/symbols (@dionisnote)
Docs 📝
4 PRs were merged
Polish 💅
40 PRs were merged
- #2695 Merge all tests for standard scalars into one file (@IvanGoncharov)
- #2697 Cleanup valueFromAST & valueFromASTUntyped tests (@IvanGoncharov)
- #2698 list-test: Simplify utility function (@IvanGoncharov)
- #2700 Deprecate 'isDeprecated' (@IvanGoncharov)
- #2701 introspection: simpify 'includeDeprecated' logic (@IvanGoncharov)
- #2702 Improve readability of readToken function (@IvanGoncharov)
- #2703 lexer: inline positionAfterWhitespace function (@IvanGoncharov)
- #2704 readToken: improve readability by rearranging character groups (@IvanGoncharov)
- #2705 lexer: Fix formatting (@IvanGoncharov)
- #2707 introspection-test: convert schemas to SDL (@IvanGoncharov)
- #2708 introspection-test: simplify tests for description fields (@IvanGoncharov)
- #2709 introspection-test: improve testing of trivial resolvers (@IvanGoncharov)
- #2710 validation-test: Improve typings (@IvanGoncharov)
- #2720 NoDeprecatedCustomRule-test: simplify test cases (@IvanGoncharov)
- #2724 Remove Flow file annotations & add missing 3rd-party typings (@IvanGoncharov)
- #2729 execute: simplify check for promises inside collections (@IvanGoncharov)
- #2736 list-test: improve tests readability (@IvanGoncharov)
- #2737 list-test: improve test readability (part 2) (@IvanGoncharov)
- #2738 list-test: improve test readability (part 3) (@IvanGoncharov)
- #2745 blockString-test: add test for not escaping characters (@IvanGoncharov)
- #2748 getBlockStringIndentation: simplify implementation (@IvanGoncharov)
- #2755 lists-test: remove unneeded async (@IvanGoncharov)
- #2756 lists-test: simplify generator test (@IvanGoncharov)
- #2759 parser: improve formatting of the comments (@IvanGoncharov)
- #2760 parser: generalize parsing of lists with delimiters (@IvanGoncharov)
- #2761 Switch all code to create GraphQLList/GraphQLNonNull instances with new (@IvanGoncharov)
- #2762 Enable 'new-cap' ESLint rule (@IvanGoncharov)
- #2765 Flow: add more typings for function arguments and return values (@IvanGoncharov)
- #2766 printer: simplify a few utility functions (@IvanGoncharov)
- #2774 isCollection: add test that generator function is not iterable (@IvanGoncharov)
- #2775 Move 'isAsyncIterable' into 'jsutils' (@IvanGoncharov)
- #2776 Flow: add hack to support 'Symbol.asyncIterator' (@IvanGoncharov)
- #2777 Remove polyfill for 'flatMap' (@IvanGoncharov)
- #2778 Add 'resolveOnNextTick' to use in tests (@IvanGoncharov)
- #2780 buildASTSchema-test: expend SDL descriptions test (@IvanGoncharov)
- #2781 buildASTSchema-test: expend SDL descriptions test (@IvanGoncharov)
- #2790 abstract-test: unify sync and async tests (@IvanGoncharov)
- #2791 Move
__typenametype resolution tests into appropriate file (@IvanGoncharov) - #2796 subscribe-test: remove dependency on Node's EventEmitter (@IvanGoncharov)
- #2816 Convert fixtures to be JS files (@IvanGoncharov)
Internal 🏠
13 PRs were merged
- #2689 Update ignore files to ignore only top-level files (@IvanGoncharov)
- #2690 Isolate integration tests from repository (@IvanGoncharov)
- #2742 integrationTests: add tests for supported Node versions ([@IvanGoncharov](htt...
v14.7.0
v14.7.0 (2020-07-06)
New Feature 🚀
- Backport #2688 Added new 'FormattedExecutionResult' type (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v15.3.0
v15.3.0 (2020-07-05)
New Feature 🚀
- #2688 Added new 'FormattedExecutionResult' type (@IvanGoncharov)
Docs 📝
3 PRs were merged
- #2680 Docs: some language cleanup in readme and API reference (@rmcteggart-r7)
- #2681 Sync JSDoc comments with docs changes (@danielrearden)
- #2687 Make documentation for 'getFieldDef' more accurate (@Cito)
Polish 💅
2 PRs were merged
- #2679 mapAsyncIterator-test: replace 'invariant' with expect chains (@IvanGoncharov)
- #2686 ESLint: remove 'ts-lint' commits (@IvanGoncharov)
Internal 🏠
- #2685 workflows: check commit for ignored files (@IvanGoncharov)
Dependency 📦
2 PRs were merged
- #2678 Update deps (@IvanGoncharov)
- #2683 Update deps (@IvanGoncharov)
Committers: 4
- Christoph Zwerschke(@Cito)
- Daniel Rearden(@danielrearden)
- Ivan Goncharov(@IvanGoncharov)
- @rmcteggart-r7
v15.2.0
v15.2.0 (2020-06-29)
New Feature 🚀
- #2465 Change type of extensions from anonymous Record to named interfaces (@benjie)
- #2600 Add NoSchemaIntrospectionCustomRule (@danielrearden)
- #2605 Add NoDeprecatedCustomRule and deprecate findDeprecatedUsages (@danielrearden)
- #2644 ExecutionResult: add 'extensions' field (@IvanGoncharov)
- #2669 Add parentType to path to avoid path ambiguity (@benjie)
- #2671 Added 'executeSync': promise free version of
execute. (@IvanGoncharov)
Bug Fix 🐞
- #2608 buildSchema: allow to reference introspection types (@IvanGoncharov)
Docs 📝
- #2677 README: use local references (@IvanGoncharov)
Polish 💅
4 PRs were merged
- #2655 tests: Improve type coverage (@IvanGoncharov)
- #2660 union-interface-test: Improve typings (@IvanGoncharov)
- #2668 Switch to alternative format for type imports (@IvanGoncharov)
- #2674 Switch unused imports to type imports (@IvanGoncharov)
Internal 🏠
20 PRs were merged
- #2630 Remove unintended 'console.log' (@IvanGoncharov)
- #2636 CI: add initial support of Deno build (@IvanGoncharov)
- #2637 CI: fix publishing of
npmanddenobranches (@IvanGoncharov) - #2638 CI: fix execution of gitpublish script (@IvanGoncharov)
- #2639 CI: various fixes in 'gitpublish.sh' (@IvanGoncharov)
- #2640 CI: use bash to run 'gitpublish.sh' (@IvanGoncharov)
- #2641 ci: use '.js' extension for deno build (@IvanGoncharov)
- #2642 instanceOf: support Deno (@IvanGoncharov)
- #2647 Integration tests for TS (@IvanGoncharov)
- #2650 Remove dtslint check (@IvanGoncharov)
- #2651 Cleanup TS integration test (@IvanGoncharov)
- #2652 integrationTests: suppress warnings from 'npm install' (@IvanGoncharov)
- #2653 Revert "instanceOf: support Deno (#2642)" (@IvanGoncharov)
- #2654 Move prettier down in the order of tests (@IvanGoncharov)
- #2656 Simplify ESLint config (@IvanGoncharov)
- #2658 Update Flow (@IvanGoncharov)
- #2662 Simplify prettier config (@IvanGoncharov)
- #2665 Run cspell on entire project (@IvanGoncharov)
- #2667 Run ESLint on the entire repo (@IvanGoncharov)
- #2672 Remove swap file accidentally committed in #2560 (@IvanGoncharov)
Dependency 📦
2 PRs were merged
- #2627 Update deps (@IvanGoncharov)
- #2659 Update deps (@IvanGoncharov)
Committers: 3
- Benjie Gillam(@benjie)
- Daniel Rearden(@danielrearden)
- Ivan Goncharov(@IvanGoncharov)
v15.1.0
v15.1.0 (2020-06-07)
New Feature 🚀
- #2276 Add
@specifiedBydirective (@m14t) - #2626 TS: add TData template argument to ExecutionResult type (@IvanGoncharov)
Bug Fix 🐞
- #2513 Fix #2504 access field astNode's type by optional chaining (@josephktcheung)
- #2547 ts: add missing
schemaDescriptionoption ofgetIntrospectionQuery(@IvanGoncharov) - #2560 BlockString: print multi line for trailing backslash (@hereisnaman)
- #2563 TS: Fix incorrect enum typing in findBreakingChanges (@mwinstanley)
- #2571 Add missing exports for the new specifiedBy directive (@Cito)
- #2594 Exported
TokenandLocationas ES6 classes (@IvanGoncharov) - #2622 getOperationAST: make
operationNameoptional (@IvanGoncharov) - #2623 TS: sync TS typings with Flow typings (@IvanGoncharov)
- #2625 TS: made
GraphQLErrorconstructor's second argument optional (@IvanGoncharov)
Polish 💅
19 PRs were merged
- #2527 Enable '@typescript-eslint/method-signature-style' lint rule (@IvanGoncharov)
- #2528 Enable '@typescript-eslint/no-invalid-void-type' lint rule (@IvanGoncharov)
- #2534 Simplify 'getOperationTypeNode' function (@IvanGoncharov)
- #2535 Make 'toJSON' definition explicit (@IvanGoncharov)
- #2537 extendSchema-test: improve test coverage (@IvanGoncharov)
- #2540 Switch to SDL for validation tests (@IvanGoncharov)
- #2543 printSchema-test: cleanup and simplify (@IvanGoncharov)
- #2574 blockString-test: add fuzzing test for 'printBlockString' (@IvanGoncharov)
- #2575 Move fuzzing tests into separate files (@IvanGoncharov)
- #2576 ESLint: Enable 'dot-notation' rule (@IvanGoncharov)
- #2583 ts: enable more tslint checks (@IvanGoncharov)
- #2584 ts: use
typeofinstead of private types (@IvanGoncharov) - #2585 ts: switch more types to interfaces (@IvanGoncharov)
- #2586 ts: used named export for 'Maybe' type (@IvanGoncharov)
- #2587 ts: cleanup definition files (@IvanGoncharov)
- #2607 buildASTSchema: pass empty schema as literal (@IvanGoncharov)
- #2617 schema-parser-test: Fix order of properties in expect chain (@IvanGoncharov)
- #2619 Improve formatting of 'istanbul ignore' comments (@IvanGoncharov)
- #2621 Moved
Maybetojsutilsfolder and removetsutils(@IvanGoncharov)
Internal 🏠
28 PRs were merged
- #2529 Add node v14 to the test matrix (@IvanGoncharov)
- #2530 Don't deploy on forks (@MichaelDeBoey)
- #2531 Remove single quotes from Node.js versions (@MichaelDeBoey)
- #2538 [cspell] migrate custom words to upstream dictionaries (@hereisnaman)
- #2545 ESLint: replace deprecated rules with
eslint-plugin-node(@IvanGoncharov) - #2548 cspell: correctly check 'resources' folder (@IvanGoncharov)
- #2550 resources: cleanup scripts (@IvanGoncharov)
- #2551 package.json: change how 'eslint-plugin-graphql-internal' installed (@IvanGoncharov)
- #2552 Switch to 'package-lock.json' (@IvanGoncharov)
- #2553 Switch to GitHub Actions (@IvanGoncharov)
- #2556 flowconfig: remove iterall from ignored (@IvanGoncharov)
- #2557 Fix deployment to 'npm' branch (@IvanGoncharov)
- #2558 Create base temp dir for benchmarks if not existing (@Cito)
- #2564 package.json: use only exact versions (@IvanGoncharov)
- #2565 Enable linting for istanbul ignore comments (@IvanGoncharov)
- #2572 Move
dedentinto new__testUtils__folder (@IvanGoncharov) - #2573 ESLint: Forbid usage of test utils inside production code (@IvanGoncharov)
- #2578 CI: Fix copy-paster errors in 'fuzz' flow (@IvanGoncharov)
- #2580 resources: correctly report errors in top level premisses (@IvanGoncharov)
- #2581 ci: add benchmark job (@IvanGoncharov)
- #2592 gitignore: remove unused entry (@IvanGoncharov)
- #2593 package.json: remove yarn from engines (@IvanGoncharov)
- #2596 ci: update 'cache' action (@IvanGoncharov)
- #2611 Rename
eslint-graphql-internaltoeslint-internal-rules(@IvanGoncharov) - #2612 ESLint: fix updated paths inside comment (@IvanGoncharov)
- #2613 ci: remove Node v13 after it's end of life (@IvanGoncharov)
- #2620 inline-invariant: stop inserting
// istanbul ignore nextcomments (@IvanGoncharov) - #2624 ci: fail CI if coverage is not 100% but still upload to codecov (@IvanGoncharov)
Dependency 📦
11 PRs were merged
- #2526 Update deps (@IvanGoncharov)
- #2536 Update deps (@IvanGoncharov)
- #2544 Update deps (@IvanGoncharov)
- #2549 Update deps (@IvanGoncharov)
- #2555 Update deps ([@IvanGoncharov](https:/...
v15.0.0
v15.0.0 (2020-04-02)
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)
- #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)
- #2248 buildSchema/extendSchema: add support for extensions (@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)
- #2328 Removes default values for required fields in GraphQL*Config types (@IvanGoncharov)
- #2334 enum: 'parseLiteral/parseValue/serialize' now throw on invalid values (@IvanGoncharov)
- #2339 introspection: expose fields/values with empty deprecationReason (@IvanGoncharov)
- #2402 Add 'Rule' suffix to all validation rules (@IvanGoncharov)
- #2411 schemaPrinter: preserve order of types (@IvanGoncharov)
- #2424 isValidNameError: Remove node argument (@IvanGoncharov)
- #2438 NaN values should be checked inside scalar's
serializemethod (@IvanGoncharov) - #2488 TS(definition): remove TS-specific TArgs (@IvanGoncharov)
- #2490 TS: remove TS-specific TData from ExecutionResult (@IvanGoncharov)
New Feature 🚀
- #2229 Convert AST nodes types to be exact objects (@IvanGoncharov)
- #2364 Remove 'iterall' as dependency. 'graphql' becomes zero dependency lib 🎉 (@IvanGoncharov)
- #2379 build: mjs files import other files using full paths with extensions (@IvanGoncharov)
- #2382 Change serialization for Int, Float and Boolean to work with objects (@alex-knyazev)
- #2394 suggestionList: lexicographically sort options with the same lexical distance (@IvanGoncharov)
- #2395 FieldsOnCorrectType: implement stable sort order for suggested types (@IvanGoncharov)
- #2399 validation: Add missing rule exports (@IvanGoncharov)
- #2408 schema: Always validate basic config structure (@IvanGoncharov)
- #2410 Schema: keep order of user provided types (@IvanGoncharov)
- #2413 validation: Export rules missing in <14.6.0 using legacy names (@IvanGoncharov)
- #2415 findBreakingChanges: add check for removing repeatable from directive (@IvanGoncharov)
- #2416 introspection: Add support for repeatable directives (@IvanGoncharov)
- #2419 Add support for adding description to schema (@IvanGoncharov)
- #2430 Change 'toConfig' to always return 'extensionASTNodes' as array (@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)
- #2224 Fix typescript definition for getVariableValues (@ivome)
- [#2231](h...
v15.0.0-rc.2
v15.0.0-rc.2 (2020-02-10)
Breaking Change 💥
- #2339 introspection: expose fields/values with empty deprecationReason (@IvanGoncharov)
- #2402 Add 'Rule' suffix to all validation rules (@IvanGoncharov)
- #2411 schemaPrinter: preserve order of types (@IvanGoncharov)
- #2424 isValidNameError: Remove node argument (@IvanGoncharov)
- #2438 NaN values should be checked inside scalar's
serializemethod (@IvanGoncharov)
New Feature 🚀
- #2364 Remove 'iterall' as dependency. 'graphql' becomes zero dependency lib 🎉 (@IvanGoncharov)
- #2379 build: mjs files import other files using full paths with extensions (@IvanGoncharov)
- #2382 Change serialization for Int, Float and Boolean to work with objects (@alex-knyazev)
- #2394 suggestionList: lexicographically sort options with the same lexical distance (@IvanGoncharov)
- #2395 FieldsOnCorrectType: implement stable sort order for suggested types (@IvanGoncharov)
- #2399 validation: Add missing rule exports (@IvanGoncharov)
- #2408 schema: Always validate basic config structure (@IvanGoncharov)
- #2410 Schema: keep order of user provided types (@IvanGoncharov)
- #2413 validation: Export rules missing in <14.6.0 using legacy names (@IvanGoncharov)
- #2415 findBreakingChanges: add check for removing repeatable from directive (@IvanGoncharov)
- #2416 introspection: Add support for repeatable directives (@IvanGoncharov)
- #2419 Add support for adding description to schema (@IvanGoncharov)
- #2430 Change 'toConfig' to always return 'extensionASTNodes' as array (@IvanGoncharov)
Bug Fix 🐞
- #2348 valueFromAST: fixed coercing of null variables on non-nullable type (@IvanGoncharov)
- #2401 Add missing export for 'ExecutableDefinitionsRule' (@IvanGoncharov)
- #2407 Fixing double 'Rule' suffix that was accidentally introduced in #2402 (@IvanGoncharov)
- #2437 astFromValue: reject non-finite numbers (@IvanGoncharov)
- #2446 UniqueDirectivesPerLocation: check for directive uniqueness in extensions (@IvanGoncharov)
Docs 📝
- #2435 docs: Add note about 'NODE_ENV=production' (@IvanGoncharov)
Polish 💅
43 PRs were merged
- #2347 valueFromAST-test: improve readability (@IvanGoncharov)
- #2349 valueFromAST-test: improve coverage (@IvanGoncharov)
- #2350 astFromValue-test: improve coverage (@IvanGoncharov)
- #2351 ValuesOfCorrectType: improve coverage (@IvanGoncharov)
- #2352 OverlappingFieldsCanBeMerged: remove excessive caching (@IvanGoncharov)
- #2353 mapAsyncIterator: improve coverage (@IvanGoncharov)
- #2354 Remove unused "asyncIteratorReject" utility method (@IvanGoncharov)
- #2355 subscribe: improve coverage (@IvanGoncharov)
- #2358 Bring coverage to 100% 🎉 (@IvanGoncharov)
- #2363 Use native "Symbol.asyncIterator" in tests (@IvanGoncharov)
- #2366 eslint-plugin-import: Enable more checks (@IvanGoncharov)
- #2367 Define 'toStringTag' directly inside class definitions (@IvanGoncharov)
- #2369 GraphQLError: convert to ES6 class (@IvanGoncharov)
- #2371 Flow: enable 'sketchy-null-bool' lint rule (@IvanGoncharov)
- #2372 Restore coverage to 100% (@IvanGoncharov)
- #2374 ESLint: enable '@typescript-eslint/no-unused-vars' rule (@IvanGoncharov)
- #2375 ESLint: enable more rules for TS code (@IvanGoncharov)
- #2376 ESLint: require empty line between import groups (@IvanGoncharov)
- #2377 ESLint: Forbid importing directories (@IvanGoncharov)
- #2383 tests: remove a few invariants (@IvanGoncharov)
- #2387 TS: switch to 'Array<*>' style of array types (@IvanGoncharov)
- #2390 ESLint: enable bunch of TS lint rules (@IvanGoncharov)
- #2391 buildClientSchema: small code refactoring (@IvanGoncharov)
- #2392 ESLint: enable 'no-unnecessary-type-arguments' check (@IvanGoncharov)
- #2393 FieldsOnCorrectType: refactor error message (@IvanGoncharov)
- #2404 FieldsOnCorrectTypeRule: improve type coverage (@IvanGoncharov)
- #2406 buildClientSchema-test: remove dependency on order of types (@IvanGoncharov)
- #2412 Improve description for lexicographicSortSchema (@IvanGoncharov)
- #2417 schema-parser-test: fix description of a test case (@IvanGoncharov)
- #2418 introspection: use consistent naming for 'resolve' args (@IvanGoncharov)
- #2421 Use explicit default arguments (@IvanGoncharov)
- #2423 Use nullish coalescing operator in all appropriate places (@IvanGoncharov)
- #2426 Rename 'schemaPrinter.js' to 'printSchema.js' (@IvanGoncharov)
- #2429 Simplify 'concatMaybeArrays' (@IvanGoncharov)
- #2431 buildASTSchema: remove useless code (@IvanGoncharov)
- #2432 parser: simplify parsing of null, boolean and enum values (@IvanGoncharov)
- #2433 Flow: Remove 'any's or improve their locality ([@IvanGoncharov](ht...
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:
introspectionTypesshould 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
subscribecalls (@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...