Releases: graphql/graphql-js
Releases · graphql/graphql-js
v16.0.0-rc.2
v15.5.2
v16.0.0-rc.1
v16.0.0-rc.1 (2021-08-26)
Breaking Change 💥
- #3228 Add type params to GraphQLScalar (@IvanGoncharov)
 - #3231 execute: Forbid to return 
nullfromserializefunction (@IvanGoncharov) - #3239 execute: Forbid to return 
nullfromserializefunction (@IvanGoncharov) 
New Feature 🚀
- #3117 RFC: Support full Unicode in lexer (@leebyron)
 - #3242 parser: add specialized error for extension with descriptions (@IvanGoncharov)
 
Bug Fix 🐞
Docs 📝
2 PRs were merged
- #3146 build: add eslint-plugin-tsdoc (@saihaj)
 - #3240 docs(buildASTSchema): add Subscription to list of root types (@IvanGoncharov)
 
Polish 💅
2 PRs were merged
- #3189 instanceOf: add additional tests (@IvanGoncharov)
 - #3194 Replace 'Idx' with 'Index' in variable names (@IvanGoncharov)
 
Internal 🏠
3 PRs were merged
- #3190 build-npm: fix assert message about not supported tag (@IvanGoncharov)
 - #3207 ci: generate diff for NPM package (@IvanGoncharov)
 - #3209 Fix failing CI on main (@IvanGoncharov)
 
Dependency 📦
2 PRs were merged
- #3206 Update deps (@IvanGoncharov)
 - #3244 Update deps (@IvanGoncharov)
 
Committers: 4
- Ivan Goncharov(@IvanGoncharov)
 - Jan Melcher(@Yogu)
 - Lee Byron(@leebyron)
 - Saihajpreet Singh(@saihaj)
 
v16.0.0-alpha.5
v16.0.0-alpha.5 (2021-06-20)
Breaking Change 💥
- #3182 Switch schema types to use ReadonlyArrays (@IvanGoncharov)
 
Bug Fix 🐞
- #3178 Export TypeKind as value (@janicduplessis)
 
Polish 💅
7 PRs were merged
- #3175 TypeInfo-test: remove dependency on harness schema for validation tests (@IvanGoncharov)
 - #3176 KnownDirectivesRule-test: remove dependency on harness schema (@IvanGoncharov)
 - #3177 kitchenSinkQuery: add '@onVariableDefinition' directive (@IvanGoncharov)
 - #3179 KnownDirectivesRule-test: add tests for missing directive locations (@IvanGoncharov)
 - #3180 simplify validation harness by extracting union types into approriate… (@IvanGoncharov)
 - #3181 Switch tests & internal funcs to accept ReadonlyArrays (@IvanGoncharov)
 - #3187 refactor: collectFields to separate utility (@yaacovCR)
 
Internal 🏠
2 PRs were merged
- #3174 ci: use update 'actions/setup-node' to v2 (@IvanGoncharov)
 - #3188 integrationTests: Add test for webpack (@IvanGoncharov)
 
Committers: 3
- Ivan Goncharov(@IvanGoncharov)
 - Janic Duplessis(@janicduplessis)
 - Yaacov Rydzinski (@yaacovCR)
 
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 lintif 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.tswith 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 
matchAllinstead 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 
mixedalready 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 
getFieldDefarg (@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 
visitorKeysargument (@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 
wraputil function in more places (@IvanGoncharov) - #2935 VariablesAreInputTypesRule: remove incorrect return type (@IvanGoncharov)
 - #2936 schema-test: use chai's 
keysinstead 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)