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
serialize
method (@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)
- #2441 Fix the test for an async unmet isTypeOf check (@Cito)
- #2443 visitor-test: use proper test name (@Cito)
- #2444 TypeInfo-test: use proper test name (@Cito)
- #2445 assertValidName-test: Remove duplicate test (@Cito)
- #2448 validation: Fix names of internal SDL rules (@IvanGoncharov)
- #2450 Adapt some comments after serialization of enums changed (@Cito)
Internal 🏠
12 PRs were merged
- #2359 babel: Switch to static config to enable caching (@IvanGoncharov)
- #2361 nyc: measure coverage of all files (except benchmark and polyfills) (@IvanGoncharov)
- #2365 Added 'eslint-plugin-import' lint rules (@IvanGoncharov)
- #2373 ESLint: Enable linting of TS files (@IvanGoncharov)
- #2378 ESLint: ensure that all packaged code doesn't have any external deps (@IvanGoncharov)
- #2381 ESLint: enable 'import/no-cycle' rule (@IvanGoncharov)
- #2384 ESLint: Add all '@typescript-eslint/eslint-plugin' rules to config (@IvanGoncharov)
- #2388 ESLint: enable all TS rules that require running compiler (@IvanGoncharov)
- #2396 Babel: switch to using .babelrc.json as config (@IvanGoncharov)
- #2398 Drop 'babel-polyfill' (@IvanGoncharov)
- #2425 nyc: exclude export files added only for deprecation (@IvanGoncharov)
- #2434 Benchmark: set 'NODE_ENV=production' before running the benchmarks (@IvanGoncharov)
Dependency 📦
9 PRs were merged
- #2346 Update deps (@IvanGoncharov)
- #2360 Upgrade flow to v0.116 (@IvanGoncharov)
- #2370 Update Babel (@IvanGoncharov)
- #2397 Update deps (@IvanGoncharov)
- #2403 Update deps (@IvanGoncharov)
- #2414 Update deps (@IvanGoncharov)
- #2420 Update deps (@IvanGoncharov)
- #2436 Update deps (@IvanGoncharov)
- #2447 Update deps (@IvanGoncharov)
Committers: 3
- Alexander Knyazev(@alex-knyazev)
- Christoph Zwerschke(@Cito)
- Ivan Goncharov(@IvanGoncharov)