Releases: graphql/graphql-js
Releases · graphql/graphql-js
v15.5.1
v15.5.1 (2021-06-20)
Bug Fix 🐞
Internal 🏠
- #3191 Remove deprecated rmdirSync usage from internal scripts (@IvanGoncharov)
Committers: 2
- Ivan Goncharov(@IvanGoncharov)
- Tom Scott(@tubbo)
v16.0.0-alpha.4
v16.0.0-alpha.4 (2021-06-14)
New Feature 🚀
- #3170 Add 'Symbol.toStringTag' into every publicly exported class (@IvanGoncharov)
Bug Fix 🐞
- #3172 Avoid relying on constructor.name for instanceOf error check. (@IvanGoncharov)
Polish 💅
4 PRs were merged
- #3159 execute: Rename resolveField function and update comments (@yaacovCR)
- #3160 versions-test: add support for experimental pre-releases (@IvanGoncharov)
- #3166 SingleFieldSubscriptionsRule-test: extract test schema from harness (@IvanGoncharov)
- #3167 SingleFieldSubscriptionsRule: fix order of imports (@IvanGoncharov)
Internal 🏠
3 PRs were merged
Committers: 3
- Ivan Goncharov(@IvanGoncharov)
- Saihajpreet Singh(@saihaj)
- Yaacov Rydzinski (@yaacovCR)
v16.0.0-alpha.3
v16.0.0-alpha.3 (2021-06-04)
Breaking Change 💥
- #3110 Switch entire codebase to TypeScript (@IvanGoncharov)
Bug Fix 🐞
Polish 💅
Internal 🏠
6 PRs were merged
- #3143 TS: Enable strict mode (@leebyron)
- #3144 ESLint: fail
npm run lint
if any warnings are reported (@IvanGoncharov) - #3151 CI: Add new job to check health of package-lock.json (@IvanGoncharov)
- #3153 Fix typescript-4.3 version in the integration tests (@kyarik)
- #3154 tsconfig.json: enable 'isolatedModules' (@IvanGoncharov)
- #3157 package.json: fix generating release commit (@IvanGoncharov)
Dependency 📦
- #3149 Update deps (@IvanGoncharov)
Committers: 4
- Benjie Gillam(@benjie)
- Ivan Goncharov(@IvanGoncharov)
- Lee Byron(@leebyron)
- Yaroslav Kukytsyak(@kyarik)
v16.0.0-alpha.2
v16.0.0-alpha.2 (2021-05-25)
Breaking Change 💥
- #3114 Drop support for TS 3.7 (@IvanGoncharov)
- #3131 TS: Drop template argument from GraphQLFormattedError (@IvanGoncharov)
- #3132 Synchronise
*.d.ts
with sources converted to TS (@IvanGoncharov)
Bug Fix 🐞
- #3129 definition.d.ts: correct types (@IvanGoncharov)
Docs 📝
- #3121
*.d.ts
: Switch comments to comment to TSDoc (@IvanGoncharov)
Polish 💅
16 PRs were merged
- #3096 Flow: Remove inferrable types (@IvanGoncharov)
- #3097 Flow: use only type imports for importing types (@IvanGoncharov)
- #3098 mapAsyncIterator: simplify test case (@IvanGoncharov)
- #3099 OverlappingFieldsCanBeMergedRule: refactor 'PairSet' (@IvanGoncharov)
- #3100 Flow: add missing arg name in function type (@IvanGoncharov)
- #3101 Flow: remove unnecessary '%checks' (@IvanGoncharov)
- #3105 getLocation: use more explicit
matchAll
instead ofRegExp.exec
(@IvanGoncharov) - #3108 OverlappingFieldsCanBeMergedRule: futher simplify 'PairSet' (@IvanGoncharov)
- #3118 TS: switch all imports to type imports (@IvanGoncharov)
- #3120 subscription-test: add missing await (@IvanGoncharov)
- #3122 valueFromAST: drop unnecessary 'void' since
mixed
already includes it (@IvanGoncharov) - #3123 visitor: convert arguments descriptions to JSDoc comments (@IvanGoncharov)
- #3124 src/type: correct order of import/exports (@IvanGoncharov)
- #3125 TypeInfo: use explicit type for
getFieldDef
arg (@IvanGoncharov) - #3128 definition: Remove deprecation comment (@IvanGoncharov)
- #3130 coerceInputValue: add missing argument in function call (@IvanGoncharov)
Internal 🏠
6 PRs were merged
- #3102 eslintrc: fix spelling mistake in comment (@IvanGoncharov)
- #3103 ESLint: fix config for '@typescript-eslint/no-throw-literal' (@IvanGoncharov)
- #3112 gen-version: fix notice comment was polluting 'version.d.ts' (@IvanGoncharov)
- #3119 Remove empty lines from '*.d.ts' files (@IvanGoncharov)
- #3126 Restrict TS to files inside
src
(@IvanGoncharov) - #3127 Disable '@typescript-eslint/prefer-readonly' (@IvanGoncharov)
Dependency 📦
- #3094 Update prettier to 2.3 (@IvanGoncharov)
Committers: 1
- Ivan Goncharov(@IvanGoncharov)
v16.0.0-alpha.1
v16.0.0-alpha.1 (2021-05-14)
Breaking Change 💥
- #2896 Remove deprecated rule aliases (@IvanGoncharov)
- #2897 Remove 'findDeprecatedUsages' that was previously deprecated (@IvanGoncharov)
- #2898 Remove 'GraphQLSchema::isPossibleType' that was previously deprecated (@IvanGoncharov)
- #2900 Drop support for long deprecated comments as descriptions (@IvanGoncharov)
- #2902 Remove deprecated {GraphQLEnumValue, GraphQLField}::isDeprecated (@IvanGoncharov)
- #2903 Removed parser support for legacy syntax (@IvanGoncharov)
- #2904 Remove support for positional args in graphql/execute/subscribe func (@IvanGoncharov)
- #2905 resolveType: remove support for returning GraphQLObjectType (@IvanGoncharov)
- #2906 Convert GraphQLList and GraphQLNonNull into proper classes (@IvanGoncharov)
- #2907 Remove 'find' polyfill (@IvanGoncharov)
- #2911 Remove 'isFinite' & 'isInteger' polyfills (@IvanGoncharov)
- #2912 Drop 'Array.from' polyfill (@IvanGoncharov)
- #2913 Remove polyfills for Symbol (@IvanGoncharov)
- #2914 Remove Node's custom inspect function (@IvanGoncharov)
- #2915 Drop support for TS before 3.7 (@IvanGoncharov)
- #2916 refactor: replace default exports with named exports (@IvanGoncharov)
- #2917 Drop support for non-iteratable ArrayLike objects (@IvanGoncharov)
- #2918 Drop support for older browsers (@IvanGoncharov)
- #2919 Remove polyfills for 'Object.values' & 'Object.entries' (@IvanGoncharov)
- #2920 Deprecate fragments with variables and reflect that in naming (@IvanGoncharov)
- #2921 Deprecate 'getFieldDefFn' arg of 'TypeInfo' and move it last (@IvanGoncharov)
- #2923 Drop support for Node10 (@IvanGoncharov)
- #2930 visitor: remove
visitorKeys
argument (@IvanGoncharov) - #2931 visit: remove template arguments for possible nodes (@IvanGoncharov)
- #2951 Forbid null & undefined as return value of 'interfaces' thunk (@IvanGoncharov)
- #2952 Restrict Thunks to support only ObjMap and Array (@IvanGoncharov)
- #2955 feat: convert Thunk to ThunkArray and ThunkObjMap (@saihaj)
- #2957 visitor: remove 4th form of visitor (@IvanGoncharov)
- #2997 print/printSchema: remove trailing new line (@IvanGoncharov)
- #3003 TS: use
unknown
(TS) formixed
(flow) (@saihaj) - #3006 ts: Switch extension values to unknown to match Flow types (@IvanGoncharov)
- #3027 subscribe: drop mapping of AsyncIterable errors (@IvanGoncharov)
- #3031 Drop experimental online parser (@IvanGoncharov)
- #3032 Use specifiedBy instead of specifiedByUrl (@Code-Hex)
- #3055 Drop Node v15 (@IvanGoncharov)
New Feature 🚀
- #2932 print: remove indentation inside of block strings (@IvanGoncharov)
- #2996 extensionASTNodes: always populate with empty array (@IvanGoncharov)
- #3059 Refine parse and AST to represent ConstValue (@leebyron)
- #3063 Refine getNamedType() for Input and Output types (@leebyron)
Bug Fix 🐞
- #2852 introspectionFromSchema: enable 'specifiedByUrl' by default (@IvanGoncharov)
- #2855 introspection: Add missing support for deprecated input values (@IvanGoncharov)
- #2859 separateOperations: distinguish query and fragment names (@IvanGoncharov)
- #2876 Replace 'localeCompare' with function independent from locale (@IvanGoncharov)
- #2959 ASTVisitor: use type intersection instead of type union (@IvanGoncharov)
- #2987 Synchronise TS typings for graphql.js/execute.js/subscribe.js (@IvanGoncharov)
- #2991 fix: update introspection types (@saihaj)
- #3001 fix: discrepancies between Flow and TS types (@saihaj)
- #3009 TS: use proper type for async generator (@saihaj)
Docs 📝
- #2849 README: add instructions on using experimental features (@robrichard)
Polish 💅
75 PRs were merged
- #2847 Add tests for supporting Iterable collections across the lib (@IvanGoncharov)
- #2851 tests: update 'getIntrospectionQuery' tests to use custom matchers (@IvanGoncharov)
- #2858 separateOperations-test: refactor tests to look like snapshots (@IvanGoncharov)
- #2868 Extract types for normalized configs into named types (@IvanGoncharov)
- #2878 fix: type annotation cannot appear on a constructor declaration (@saihaj)
- #2879 fix: no need to mark param optional if default value is given (@saihaj)
- #2889 Simplify isAsyncIterable (@IvanGoncharov)
- #2928 refactor: use regexp-exec (@saihaj)
- #2933 printer: remove 'addDescription' wrapper (@IvanGoncharov)
- #2934 printer: use
wrap
util function in more places (@IvanGoncharov) - #2935 VariablesAreInputTypesRule: remove incorrect return type (@IvanGoncharov)
- #2936 schema-test: use chai's
keys
instead of undocumentedkey
(@IvanGoncharov) - #2937 validateSchema: inline 'getAllNodes' fu...
v15.5.0
v15.5.0 (2021-01-26)
Bug Fix 🐞
- #2852 introspectionFromSchema: enable 'specifiedByUrl' by default (@IvanGoncharov)
- #2855 introspection: Add missing support for deprecated input values (@IvanGoncharov)
- #2859 separateOperations: distinguish query and fragment names (@IvanGoncharov)
- #2876 Replace 'localeCompare' with function independent from locale (@IvanGoncharov)
- #2893 Fix handling of input objects with 'length' property (@IvanGoncharov)
Docs 📝
- #2849 README: add instructions on using experimental features (@robrichard)
Polish 💅
7 PRs were merged
- #2847 Add tests for supporting Iterable collections across the lib (@IvanGoncharov)
- #2851 tests: update 'getIntrospectionQuery' tests to use custom matchers (@IvanGoncharov)
- #2858 separateOperations-test: refactor tests to look like snapshots (@IvanGoncharov)
- #2868 Extract types for normalized configs into named types (@IvanGoncharov)
- #2878 fix: type annotation cannot appear on a constructor declaration (@saihaj)
- #2879 fix: no need to mark param optional if default value is given (@saihaj)
- #2889 Simplify isAsyncIterable (@IvanGoncharov)
Internal 🏠
7 PRs were merged
- #2831 build: add support for experimental releases (@IvanGoncharov)
- #2836 CI: test on node 15 (@IvanGoncharov)
- #2837 Flow: remove support for measuring Flow coverage (@IvanGoncharov)
- #2838 TS: exclude integration tests from root tsconfig.json (@IvanGoncharov)
- #2840 resources: use named groups in RegExp (@IvanGoncharov)
- #2886 Use correct flags for rmdir/mkdir functions (@IvanGoncharov)
- #2891 benchmark: fix temp dir creation (@IvanGoncharov)
Dependency 📦
5 PRs were merged
- #2835 Update deps (@IvanGoncharov)
- #2844 Update deps (@IvanGoncharov)
- #2850 Update deps (@IvanGoncharov)
- #2884 Update deps (@IvanGoncharov)
- #2890 Update deps (@IvanGoncharov)
Committers: 3
- Ivan Goncharov(@IvanGoncharov)
- Rob Richard(@robrichard)
- Saihajpreet Singh(@saihaj)
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
Parser
class 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
devAsserts
for checkingsource
argument (@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
__typename
type 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
npm
anddeno
branches (@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)