Update dependency graphql to v15
Created by: renovate[bot]
This PR contains the following updates:
Package | Type | Update | New value | References | Sourcegraph |
---|---|---|---|---|---|
graphql | devDependencies | major | ^15.0.0 | source |
Release Notes
graphql/graphql-js
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
serialize
method (@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 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)
- #2337 Flow: add missing typings on exports (@IvanGoncharov)
- #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)
- #2457 TS: add missing export on 'BuildSchemaOptions' type (@IvanGoncharov)
- #2460 getNullableType: fix TS signature (@IvanGoncharov)
- #2469 isDeprecated: make required on GraphQLField/GraphQLEnumValue (@IvanGoncharov)
- #2474 TS: fix typing for GraphQLField::deprecationReason (@IvanGoncharov)
- #2475 schema: fix error message when provided type has no name (@Cito)
📝
Docs 7 PRs were merged
- #2182 Improve documentation for astFromValue (@wtrocki)
- #2239 chore: Spelling (@icirellik)
- #2249 minor grammar fix (@Ardeshir81)
- #2252 docs: follow express' best practice (@Ardeshir81)
- #2256 docs: correctly tag code samples (@IvanGoncharov)
- #2435 docs: Add note about 'NODE_ENV=production' (@IvanGoncharov)
- #2463 Docs: fix spelling error in src/README.md (@Adn0s)
💅
Polish 98 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)
- #2186 Consistent error messages in buildClientSchema (@spawnia)
- #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)
- #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)
- #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)
- #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)
- #2459 suggestionList: Speed up (@IvanGoncharov)
- #2462 Unite tests for graphqlSync in one place (@Cito)
- #2473 schema-test: fix name of test (@Cito)
- #2491 TS: remove TS-specific TSource argument for resolveFieldValueOrError (@IvanGoncharov)
🏠
Internal 29 PRs were merged
- #2218 build: Add support for 'alpha' and 'beta' tags (@IvanGoncharov)
- #2219 version: Fix version test for alpha & beta releases (@IvanGoncharov)
- #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)
- #2323 tests: Transpile tests less aggressively (@IvanGoncharov)
- #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)
- #2453 ESLint: enable 'eslint-import' rules for '.d.ts' files (@IvanGoncharov)
- #2458 ESLint: move custom rule into CLI argument (@IvanGoncharov)
- #2498 Move custom ESLint rules into internal package (@IvanGoncharov)
📦
Dependency 35 PRs were merged
- #2122 Update deps (@IvanGoncharov)
- #2123 Update ESLint (@IvanGoncharov)
- #2146 Update ESLint to 6.3 + other deps (@IvanGoncharov)
- #2166 Update deps (@IvanGoncharov)
- #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 Update Flow to v0.112 (@IvanGoncharov)
- #2266 Update ESLint (@IvanGoncharov)
- #2271 Update rest of deps (@IvanGoncharov)
- #2283 Update deps (@IvanGoncharov)
- #2289 Update Flow to 0.114.0 (@IvanGoncharov)
- #2311 Update deps (@IvanGoncharov)
- #2335 Update Flow to v0.115 (@IvanGoncharov)
- #2336 Update deps (@IvanGoncharov)
- #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)
- #2452 Update deps (@IvanGoncharov)
- #2456 Update deps (@IvanGoncharov)
- #2467 Update deps (@IvanGoncharov)
- #2476 Update deps (@IvanGoncharov)
- #2499 Update prettier (@IvanGoncharov)
- #2500 Update Flow (@IvanGoncharov)
- #2502 Update deps (@IvanGoncharov)
Committers: 16
- Adnan Labiadh(@Adn0s)
- Alexander Knyazev(@alex-knyazev)
- Ardeshir81(@Ardeshir81)
- Benedikt Franke(@spawnia)
- Brian Solon(@solon)
- Cameron Rollheiser(@icirellik)
- Christoph Zwerschke(@Cito)
- Daniel Rearden(@danielrearden)
- Enda(@craicoverflow)
- Ivan Goncharov(@IvanGoncharov)
- Ivo Meißner(@ivome)
- Lee Byron(@leebyron)
- Matt Farmer(@m14t)
- Mike Marcacci(@mike-marcacci)
- Pierre Carrier(@pcarrier)
- Wojtek Trocki(@wtrocki)
Renovate configuration
-
If you want to rebase/retry this PR, check this box
This PR has been generated by WhiteSource Renovate. View repository job log here.