cofacts / rumors-api

GraphQL API server for clients like rumors-site and rumors-line-bot
https://api.cofacts.tw
MIT License
110 stars 26 forks source link

Update all dependencies #153

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
elasticsearch (source) dependencies major ^15.0.0 -> ^16.0.0
graphql dependencies major ^14.6.0 -> ^15.0.0

Release Notes

elastic/elasticsearch-js-legacy ### [`v16.7.1`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.7.0...v16.7.1) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.7.0...v16.7.1) ### [`v16.7.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.6.0...v16.7.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.6.0...v16.7.0) ### [`v16.6.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/9ad64f822ad2313a174e5ba5cc6c5881974b33dd...v16.6.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/9ad64f822ad2313a174e5ba5cc6c5881974b33dd...v16.6.0) ### [`v16.5.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.4.0...9ad64f822ad2313a174e5ba5cc6c5881974b33dd) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.4.0...9ad64f822ad2313a174e5ba5cc6c5881974b33dd) ### [`v16.4.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.3.0...v16.4.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.3.0...v16.4.0) ### [`v16.3.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.2.0...v16.3.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.2.0...v16.3.0) ### [`v16.2.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.1.1...v16.2.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.1.1...v16.2.0) ### [`v16.1.1`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.1.0...v16.1.1) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.1.0...v16.1.1) ### [`v16.1.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.0.0...v16.1.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v16.0.0...v16.1.0) ### [`v16.0.0`](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v15.5.0...v16.0.0) [Compare Source](https://togithub.com/elastic/elasticsearch-js-legacy/compare/v15.5.0...v16.0.0)
graphql/graphql-js ### [`v15.0.0`](https://togithub.com/graphql/graphql-js/releases/v15.0.0) [Compare Source](https://togithub.com/graphql/graphql-js/compare/v14.6.0...v15.0.0) #### v15.0.0 (2020-04-02) ##### Breaking Change πŸ’₯ - [#​1827](https://togithub.com/graphql/graphql-js/pull/1827) Update built-in scalar's parseLiteral method to throw TypeError ([@​danielrearden](https://togithub.com/danielrearden)) - [#​2084](https://togithub.com/graphql/graphql-js/pull/2084) RFC: Allow interfaces to implement other interfaces ([@​mike-marcacci](https://togithub.com/mike-marcacci)) - [#​2117](https://togithub.com/graphql/graphql-js/pull/2117) Removes non-standard properties from field objects ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2121](https://togithub.com/graphql/graphql-js/pull/2121) Drop Support for Node 6 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2124](https://togithub.com/graphql/graphql-js/pull/2124) Remove deprecated 'introspectionQuery' constant ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2126](https://togithub.com/graphql/graphql-js/pull/2126) Remove deprecated 'isValidJSValue' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2127](https://togithub.com/graphql/graphql-js/pull/2127) Remove deprecated 'isValidLiteralValue' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2128](https://togithub.com/graphql/graphql-js/pull/2128) Remove deprecated 'coerceValue' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2129](https://togithub.com/graphql/graphql-js/pull/2129) Remove deprecated 'allowedLegacyNames' property of 'GraphQLSchema' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2130](https://togithub.com/graphql/graphql-js/pull/2130) ValidationContext: Remove deprecated 'getErrors' and make 'onError' r… ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2132](https://togithub.com/graphql/graphql-js/pull/2132) GraphQLArgument: make 'description' undefined by default ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2148](https://togithub.com/graphql/graphql-js/pull/2148) GraphQLEnumType: Drop support for 'undefined' custom value ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2149](https://togithub.com/graphql/graphql-js/pull/2149) Errors if empty string is provided as operationName ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2164](https://togithub.com/graphql/graphql-js/pull/2164) RFC: Number lexer lookahead restriction ([@​leebyron](https://togithub.com/leebyron)) - [#​2184](https://togithub.com/graphql/graphql-js/pull/2184) toConfig: allows 'extensionASTNodes' to be undefined ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2196](https://togithub.com/graphql/graphql-js/pull/2196) Change 'isSpecified\*' & 'isIntrospectionType' accept only correct types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2209](https://togithub.com/graphql/graphql-js/pull/2209) Lexer: remove passthrough options ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2210](https://togithub.com/graphql/graphql-js/pull/2210) Switch Lexer to be a proper class, remove 'createLexer' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2223](https://togithub.com/graphql/graphql-js/pull/2223) printSchema: don't break description lines ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2233](https://togithub.com/graphql/graphql-js/pull/2233) parser: convert Location to be an ES6 class ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2234](https://togithub.com/graphql/graphql-js/pull/2234) lexer: convert Token to be an ES6 class ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2248](https://togithub.com/graphql/graphql-js/pull/2248) buildSchema/extendSchema: add support for extensions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2274](https://togithub.com/graphql/graphql-js/pull/2274) Resolve import cycle by moving 'visitWithTypeInfo' into 'TypeInfo.js' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2284](https://togithub.com/graphql/graphql-js/pull/2284) Replace all instances of Flow existential type ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2290](https://togithub.com/graphql/graphql-js/pull/2290) Drop Support for Node 8 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2328](https://togithub.com/graphql/graphql-js/pull/2328) Removes default values for required fields in GraphQL\*Config types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2334](https://togithub.com/graphql/graphql-js/pull/2334) enum: 'parseLiteral/parseValue/serialize' now throw on invalid values ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2339](https://togithub.com/graphql/graphql-js/pull/2339) introspection: expose fields/values with empty deprecationReason ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2402](https://togithub.com/graphql/graphql-js/pull/2402) Add 'Rule' suffix to all validation rules ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2411](https://togithub.com/graphql/graphql-js/pull/2411) schemaPrinter: preserve order of types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2424](https://togithub.com/graphql/graphql-js/pull/2424) isValidNameError: Remove node argument ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2438](https://togithub.com/graphql/graphql-js/pull/2438) NaN values should be checked inside scalar's `serialize` method ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2488](https://togithub.com/graphql/graphql-js/pull/2488) TS(definition): remove TS-specific TArgs ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2490](https://togithub.com/graphql/graphql-js/pull/2490) TS: remove TS-specific TData from ExecutionResult ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) ##### New Feature πŸš€ - [#​2229](https://togithub.com/graphql/graphql-js/pull/2229) Convert AST nodes types to be exact objects ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2364](https://togithub.com/graphql/graphql-js/pull/2364) Remove 'iterall' as dependency. 'graphql' becomes zero dependency lib πŸŽ‰ ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2379](https://togithub.com/graphql/graphql-js/pull/2379) build: mjs files import other files using full paths with extensions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2382](https://togithub.com/graphql/graphql-js/pull/2382) Change serialization for Int, Float and Boolean to work with objects ([@​alex-knyazev](https://togithub.com/alex-knyazev)) - [#​2394](https://togithub.com/graphql/graphql-js/pull/2394) suggestionList: lexicographically sort options with the same lexical distance ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2395](https://togithub.com/graphql/graphql-js/pull/2395) FieldsOnCorrectType: implement stable sort order for suggested types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2399](https://togithub.com/graphql/graphql-js/pull/2399) validation: Add missing rule exports ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2408](https://togithub.com/graphql/graphql-js/pull/2408) schema: Always validate basic config structure ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2410](https://togithub.com/graphql/graphql-js/pull/2410) Schema: keep order of user provided types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2413](https://togithub.com/graphql/graphql-js/pull/2413) validation: Export rules missing in <14.6.0 using legacy names ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2415](https://togithub.com/graphql/graphql-js/pull/2415) findBreakingChanges: add check for removing repeatable from directive ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2416](https://togithub.com/graphql/graphql-js/pull/2416) introspection: Add support for repeatable directives ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2419](https://togithub.com/graphql/graphql-js/pull/2419) Add support for adding description to schema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2430](https://togithub.com/graphql/graphql-js/pull/2430) Change 'toConfig' to always return 'extensionASTNodes' as array ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) ##### Bug Fix 🐞 - [#​2160](https://togithub.com/graphql/graphql-js/pull/2160) Validation: unify error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2161](https://togithub.com/graphql/graphql-js/pull/2161) Unify rest of error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2167](https://togithub.com/graphql/graphql-js/pull/2167) Allow empty string as valid 'deprecationReason' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2175](https://togithub.com/graphql/graphql-js/pull/2175) parser: Convert error messages to match common standard of this lib ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2176](https://togithub.com/graphql/graphql-js/pull/2176) parser: Show empty strings in error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2177](https://togithub.com/graphql/graphql-js/pull/2177) printSchema: support empty descriptions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2178](https://togithub.com/graphql/graphql-js/pull/2178) Fix bunch of edge cases with empty strings ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2187](https://togithub.com/graphql/graphql-js/pull/2187) Scalars: convert errors from 'TypeError' to 'GraphQLError' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2192](https://togithub.com/graphql/graphql-js/pull/2192) Fixes variable values of non-null type with default value ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2202](https://togithub.com/graphql/graphql-js/pull/2202) tstypes: Synchronise TS typings for `GraphQL*` types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2204](https://togithub.com/graphql/graphql-js/pull/2204) findBreakingChanges: better message for removing standard scalar ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2224](https://togithub.com/graphql/graphql-js/pull/2224) Fix typescript definition for getVariableValues ([@​ivome](https://togithub.com/ivome)) - [#​2231](https://togithub.com/graphql/graphql-js/pull/2231) Convert more types to be exact objects ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2232](https://togithub.com/graphql/graphql-js/pull/2232) execute: Convert ExecutionResult to be an exact object ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2261](https://togithub.com/graphql/graphql-js/pull/2261) TS: `introspectionTypes` should be array of `GraphQLNamedType` ([@​pcarrier](https://togithub.com/pcarrier)) - [#​2269](https://togithub.com/graphql/graphql-js/pull/2269) Flow: switch more types to be exact ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2286](https://togithub.com/graphql/graphql-js/pull/2286) Remove duplicate colon in coercion error message ([@​Cito](https://togithub.com/Cito)) - [#​2306](https://togithub.com/graphql/graphql-js/pull/2306) Remove unmatched opening parenthesis in description ([@​Cito](https://togithub.com/Cito)) - [#​2307](https://togithub.com/graphql/graphql-js/pull/2307) Add dots at the end of error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2337](https://togithub.com/graphql/graphql-js/pull/2337) Flow: add missing typings on exports ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2348](https://togithub.com/graphql/graphql-js/pull/2348) valueFromAST: fixed coercing of null variables on non-nullable type ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2401](https://togithub.com/graphql/graphql-js/pull/2401) Add missing export for 'ExecutableDefinitionsRule' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2407](https://togithub.com/graphql/graphql-js/pull/2407) Fixing double 'Rule' suffix that was accidentally introduced in [#​2402](https://togithub.com/graphql/graphql-js/issues/2402) ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2437](https://togithub.com/graphql/graphql-js/pull/2437) astFromValue: reject non-finite numbers ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2446](https://togithub.com/graphql/graphql-js/pull/2446) UniqueDirectivesPerLocation: check for directive uniqueness in extensions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2457](https://togithub.com/graphql/graphql-js/pull/2457) TS: add missing export on 'BuildSchemaOptions' type ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2460](https://togithub.com/graphql/graphql-js/pull/2460) getNullableType: fix TS signature ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2469](https://togithub.com/graphql/graphql-js/pull/2469) isDeprecated: make required on GraphQLField/GraphQLEnumValue ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2474](https://togithub.com/graphql/graphql-js/pull/2474) TS: fix typing for GraphQLField::deprecationReason ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2475](https://togithub.com/graphql/graphql-js/pull/2475) schema: fix error message when provided type has no name ([@​Cito](https://togithub.com/Cito)) ##### Docs πŸ“
7 PRs were merged - [#​2182](https://togithub.com/graphql/graphql-js/pull/2182) Improve documentation for astFromValue ([@​wtrocki](https://togithub.com/wtrocki)) - [#​2239](https://togithub.com/graphql/graphql-js/pull/2239) chore: Spelling ([@​icirellik](https://togithub.com/icirellik)) - [#​2249](https://togithub.com/graphql/graphql-js/pull/2249) minor grammar fix ([@​Ardeshir81](https://togithub.com/Ardeshir81)) - [#​2252](https://togithub.com/graphql/graphql-js/pull/2252) docs: follow express' best practice ([@​Ardeshir81](https://togithub.com/Ardeshir81)) - [#​2256](https://togithub.com/graphql/graphql-js/pull/2256) docs: correctly tag code samples ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2435](https://togithub.com/graphql/graphql-js/pull/2435) docs: Add note about 'NODE_ENV=production' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2463](https://togithub.com/graphql/graphql-js/pull/2463) Docs: fix spelling error in src/README.md ([@​Adn0s](https://togithub.com/Adn0s))
##### Polish πŸ’…
98 PRs were merged - [#​2125](https://togithub.com/graphql/graphql-js/pull/2125) Move 'introspectionQuery.js' to 'getIntrospectionQuery.js' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2147](https://togithub.com/graphql/graphql-js/pull/2147) Use consistent naming for config arguments ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2158](https://togithub.com/graphql/graphql-js/pull/2158) validation: Simplify 'ValuesOfCorrectType' rule ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2159](https://togithub.com/graphql/graphql-js/pull/2159) Validation: Remove internal functions for error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2165](https://togithub.com/graphql/graphql-js/pull/2165) didYouMean: quote suggested values ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2173](https://togithub.com/graphql/graphql-js/pull/2173) Use explicit comparisons instead of using `Boolean` constructor ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2174](https://togithub.com/graphql/graphql-js/pull/2174) Switch lexer and parser tests to exact match of error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2186](https://togithub.com/graphql/graphql-js/pull/2186) Consistent error messages in buildClientSchema ([@​spawnia](https://togithub.com/spawnia)) - [#​2193](https://togithub.com/graphql/graphql-js/pull/2193) Remove unussed 'ABORT_VALIDATION' constant ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2198](https://togithub.com/graphql/graphql-js/pull/2198) Add two more tests to KnownArgumentNames validation rule ([@​Cito](https://togithub.com/Cito)) - [#​2200](https://togithub.com/graphql/graphql-js/pull/2200) tests: simplify 'includes interface's thunk subtypes in the type map' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2201](https://togithub.com/graphql/graphql-js/pull/2201) Synchronise 'GraphQLDirective' formatting with other definitions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2205](https://togithub.com/graphql/graphql-js/pull/2205) Document private functions with [@​internal](https://togithub.com/internal) tag ([@​craicoverflow](https://togithub.com/craicoverflow)) - [#​2208](https://togithub.com/graphql/graphql-js/pull/2208) Simplify 'validateObjectInterfaces' function ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2211](https://togithub.com/graphql/graphql-js/pull/2211) Remove unused 'ABORT_VALIDATION' constant ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2212](https://togithub.com/graphql/graphql-js/pull/2212) Fix minor typos in gen-changelog.js ([@​solon](https://togithub.com/solon)) - [#​2225](https://togithub.com/graphql/graphql-js/pull/2225) serialization-test: Don't use 'delete' on test objects ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2235](https://togithub.com/graphql/graphql-js/pull/2235) buildSchema/extendSchema: unify AST node processing ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2236](https://togithub.com/graphql/graphql-js/pull/2236) buildASTSchema/extendSchema: unify directive building ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2238](https://togithub.com/graphql/graphql-js/pull/2238) grammar: 'falsey' => 'falsy' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2254](https://togithub.com/graphql/graphql-js/pull/2254) Vary the test case for building client schemas with enum ([@​spawnia](https://togithub.com/spawnia)) - [#​2255](https://togithub.com/graphql/graphql-js/pull/2255) Fix spelling: heirarchy to hierarchy ([@​spawnia](https://togithub.com/spawnia)) - [#​2257](https://togithub.com/graphql/graphql-js/pull/2257) cleanup ESLint config ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2258](https://togithub.com/graphql/graphql-js/pull/2258) list-test: Remove 'argument' usage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2259](https://togithub.com/graphql/graphql-js/pull/2259) ESLint: mark unused arguments with underscore ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2270](https://togithub.com/graphql/graphql-js/pull/2270) Enable 'default-param-last' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2272](https://togithub.com/graphql/graphql-js/pull/2272) Enable 'require-await' ESLint check ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2285](https://togithub.com/graphql/graphql-js/pull/2285) Remove forgotten internal error message functions ([#​2159](https://togithub.com/graphql/graphql-js/issues/2159)) ([@​Cito](https://togithub.com/Cito)) - [#​2287](https://togithub.com/graphql/graphql-js/pull/2287) tests: Fix style of graphql queries inside string literals ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2288](https://togithub.com/graphql/graphql-js/pull/2288) tests: Switch to using named arguments to graphql/execute ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2295](https://togithub.com/graphql/graphql-js/pull/2295) Correct bunch of spelling mistakes ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2296](https://togithub.com/graphql/graphql-js/pull/2296) More fixes to make spellchecker happy ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2300](https://togithub.com/graphql/graphql-js/pull/2300) tests: Switch to using named arguments for `subscribe` calls ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2302](https://togithub.com/graphql/graphql-js/pull/2302) tests: simplify 'astNode' and 'extensionASTNodes' tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2305](https://togithub.com/graphql/graphql-js/pull/2305) Small optimization in the schema type map reducer ([@​Cito](https://togithub.com/Cito)) - [#​2308](https://togithub.com/graphql/graphql-js/pull/2308) extendedSchema-test: make tests self contained ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2309](https://togithub.com/graphql/graphql-js/pull/2309) extendSchema: remove dead check on number of directives ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2310](https://togithub.com/graphql/graphql-js/pull/2310) buildSchema/extendSchema: improve test coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2312](https://togithub.com/graphql/graphql-js/pull/2312) Mark 'config' as readonly argument to contructors ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2313](https://togithub.com/graphql/graphql-js/pull/2313) buildSchema: change implementation to simply extending empty schema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2321](https://togithub.com/graphql/graphql-js/pull/2321) tests: in expect chains use '.to.not.' instead of '.not.to.' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2322](https://togithub.com/graphql/graphql-js/pull/2322) separateOperations: simplify algorithm ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2324](https://togithub.com/graphql/graphql-js/pull/2324) validateSchema: remove validation arguments uniqueness ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2325](https://togithub.com/graphql/graphql-js/pull/2325) Extract 'formatError' tests into separate file + improve coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2326](https://togithub.com/graphql/graphql-js/pull/2326) Clearly mark not reachable places in the code ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2327](https://togithub.com/graphql/graphql-js/pull/2327) coverage: ignore uncovered branches caused by [#​2203](https://togithub.com/graphql/graphql-js/issues/2203) ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2329](https://togithub.com/graphql/graphql-js/pull/2329) coverage: mark ignore statements ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2330](https://togithub.com/graphql/graphql-js/pull/2330) Simplify findDeprecatedUsages since "deprecationReason" is always present ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2331](https://togithub.com/graphql/graphql-js/pull/2331) OverlappingFieldsCanBeMerged: arguments always have value ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2332](https://togithub.com/graphql/graphql-js/pull/2332) Improve coverage of the entire codebase ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2333](https://togithub.com/graphql/graphql-js/pull/2333) Unify arguments naming for parseValue/serialize methods ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2347](https://togithub.com/graphql/graphql-js/pull/2347) valueFromAST-test: improve readability ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2349](https://togithub.com/graphql/graphql-js/pull/2349) valueFromAST-test: improve coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2350](https://togithub.com/graphql/graphql-js/pull/2350) astFromValue-test: improve coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2351](https://togithub.com/graphql/graphql-js/pull/2351) ValuesOfCorrectType: improve coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2352](https://togithub.com/graphql/graphql-js/pull/2352) OverlappingFieldsCanBeMerged: remove excessive caching ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2353](https://togithub.com/graphql/graphql-js/pull/2353) mapAsyncIterator: improve coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2354](https://togithub.com/graphql/graphql-js/pull/2354) Remove unused "asyncIteratorReject" utility method ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2355](https://togithub.com/graphql/graphql-js/pull/2355) subscribe: improve coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2358](https://togithub.com/graphql/graphql-js/pull/2358) Bring coverage to 100% πŸŽ‰ ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2363](https://togithub.com/graphql/graphql-js/pull/2363) Use native "Symbol.asyncIterator" in tests ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2366](https://togithub.com/graphql/graphql-js/pull/2366) eslint-plugin-import: Enable more checks ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2367](https://togithub.com/graphql/graphql-js/pull/2367) Define 'toStringTag' directly inside class definitions ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2369](https://togithub.com/graphql/graphql-js/pull/2369) GraphQLError: convert to ES6 class ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2371](https://togithub.com/graphql/graphql-js/pull/2371) Flow: enable 'sketchy-null-bool' lint rule ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2372](https://togithub.com/graphql/graphql-js/pull/2372) Restore coverage to 100% ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2374](https://togithub.com/graphql/graphql-js/pull/2374) ESLint: enable '[@​typescript-eslint/no-unused-vars](https://togithub.com/typescript-eslint/no-unused-vars)' rule ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2375](https://togithub.com/graphql/graphql-js/pull/2375) ESLint: enable more rules for TS code ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2376](https://togithub.com/graphql/graphql-js/pull/2376) ESLint: require empty line between import groups ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2377](https://togithub.com/graphql/graphql-js/pull/2377) ESLint: Forbid importing directories ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2383](https://togithub.com/graphql/graphql-js/pull/2383) tests: remove a few invariants ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2387](https://togithub.com/graphql/graphql-js/pull/2387) TS: switch to 'Array<\*>' style of array types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2390](https://togithub.com/graphql/graphql-js/pull/2390) ESLint: enable bunch of TS lint rules ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2391](https://togithub.com/graphql/graphql-js/pull/2391) buildClientSchema: small code refactoring ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2392](https://togithub.com/graphql/graphql-js/pull/2392) ESLint: enable 'no-unnecessary-type-arguments' check ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2393](https://togithub.com/graphql/graphql-js/pull/2393) FieldsOnCorrectType: refactor error message ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2404](https://togithub.com/graphql/graphql-js/pull/2404) FieldsOnCorrectTypeRule: improve type coverage ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2406](https://togithub.com/graphql/graphql-js/pull/2406) buildClientSchema-test: remove dependency on order of types ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2412](https://togithub.com/graphql/graphql-js/pull/2412) Improve description for lexicographicSortSchema ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2417](https://togithub.com/graphql/graphql-js/pull/2417) schema-parser-test: fix description of a test case ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2418](https://togithub.com/graphql/graphql-js/pull/2418) introspection: use consistent naming for 'resolve' args ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2421](https://togithub.com/graphql/graphql-js/pull/2421) Use explicit default arguments ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2423](https://togithub.com/graphql/graphql-js/pull/2423) Use nullish coalescing operator in all appropriate places ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2426](https://togithub.com/graphql/graphql-js/pull/2426) Rename 'schemaPrinter.js' to 'printSchema.js' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2429](https://togithub.com/graphql/graphql-js/pull/2429) Simplify 'concatMaybeArrays' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2431](https://togithub.com/graphql/graphql-js/pull/2431) buildASTSchema: remove useless code ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2432](https://togithub.com/graphql/graphql-js/pull/2432) parser: simplify parsing of null, boolean and enum values ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2433](https://togithub.com/graphql/graphql-js/pull/2433) Flow: Remove 'any's or improve their locality ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2441](https://togithub.com/graphql/graphql-js/pull/2441) Fix the test for an async unmet isTypeOf check ([@​Cito](https://togithub.com/Cito)) - [#​2443](https://togithub.com/graphql/graphql-js/pull/2443) visitor-test: use proper test name ([@​Cito](https://togithub.com/Cito)) - [#​2444](https://togithub.com/graphql/graphql-js/pull/2444) TypeInfo-test: use proper test name ([@​Cito](https://togithub.com/Cito)) - [#​2445](https://togithub.com/graphql/graphql-js/pull/2445) assertValidName-test: Remove duplicate test ([@​Cito](https://togithub.com/Cito)) - [#​2448](https://togithub.com/graphql/graphql-js/pull/2448) validation: Fix names of internal SDL rules ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2450](https://togithub.com/graphql/graphql-js/pull/2450) Adapt some comments after serialization of enums changed ([@​Cito](https://togithub.com/Cito)) - [#​2459](https://togithub.com/graphql/graphql-js/pull/2459) suggestionList: Speed up ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2462](https://togithub.com/graphql/graphql-js/pull/2462) Unite tests for graphqlSync in one place ([@​Cito](https://togithub.com/Cito)) - [#​2473](https://togithub.com/graphql/graphql-js/pull/2473) schema-test: fix name of test ([@​Cito](https://togithub.com/Cito)) - [#​2491](https://togithub.com/graphql/graphql-js/pull/2491) TS: remove TS-specific TSource argument for resolveFieldValueOrError ([@​IvanGoncharov](https://togithub.com/IvanGoncharov))
##### Internal 🏠
29 PRs were merged - [#​2218](https://togithub.com/graphql/graphql-js/pull/2218) build: Add support for 'alpha' and 'beta' tags ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2219](https://togithub.com/graphql/graphql-js/pull/2219) version: Fix version test for alpha & beta releases ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2220](https://togithub.com/graphql/graphql-js/pull/2220) gen-changelog: add support for rebased PRs ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2221](https://togithub.com/graphql/graphql-js/pull/2221) ts: move '\*.d.ts' files into 'src' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2267](https://togithub.com/graphql/graphql-js/pull/2267) ESLint: remove options that match default ones ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2279](https://togithub.com/graphql/graphql-js/pull/2279) Update TravisCi to run full CI suite on Node 12 ([@​m14t](https://togithub.com/m14t)) - [#​2280](https://togithub.com/graphql/graphql-js/pull/2280) Remove outdated "Live Feedback" section from CONTRIBUTING.modified ([@​m14t](https://togithub.com/m14t)) - [#​2291](https://togithub.com/graphql/graphql-js/pull/2291) Add node v13 to CI ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2293](https://togithub.com/graphql/graphql-js/pull/2293) benchmark: extract 'bold' func for applying ANSI bold code ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2294](https://togithub.com/graphql/graphql-js/pull/2294) benchmark: make clean build every time ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2297](https://togithub.com/graphql/graphql-js/pull/2297) Add spellchecker ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2314](https://togithub.com/graphql/graphql-js/pull/2314) gen-changelog: Fix error handling and improve error messages ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2315](https://togithub.com/graphql/graphql-js/pull/2315) Add 'yarn check --integrity' to 'preversion' script ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2323](https://togithub.com/graphql/graphql-js/pull/2323) tests: Transpile tests less aggressively ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2359](https://togithub.com/graphql/graphql-js/pull/2359) babel: Switch to static config to enable caching ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2361](https://togithub.com/graphql/graphql-js/pull/2361) nyc: measure coverage of all files (except benchmark and polyfills) ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2365](https://togithub.com/graphql/graphql-js/pull/2365) Added 'eslint-plugin-import' lint rules ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2373](https://togithub.com/graphql/graphql-js/pull/2373) ESLint: Enable linting of TS files ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2378](https://togithub.com/graphql/graphql-js/pull/2378) ESLint: ensure that all packaged code doesn't have any external deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2381](https://togithub.com/graphql/graphql-js/pull/2381) ESLint: enable 'import/no-cycle' rule ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2384](https://togithub.com/graphql/graphql-js/pull/2384) ESLint: Add all '[@​typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/eslint-plugin)' rules to config ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2388](https://togithub.com/graphql/graphql-js/pull/2388) ESLint: enable all TS rules that require running compiler ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2396](https://togithub.com/graphql/graphql-js/pull/2396) Babel: switch to using .babelrc.json as config ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2398](https://togithub.com/graphql/graphql-js/pull/2398) Drop 'babel-polyfill' ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2425](https://togithub.com/graphql/graphql-js/pull/2425) nyc: exclude export files added only for deprecation ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2434](https://togithub.com/graphql/graphql-js/pull/2434) Benchmark: set 'NODE_ENV=production' before running the benchmarks ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2453](https://togithub.com/graphql/graphql-js/pull/2453) ESLint: enable 'eslint-import' rules for '.d.ts' files ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2458](https://togithub.com/graphql/graphql-js/pull/2458) ESLint: move custom rule into CLI argument ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2498](https://togithub.com/graphql/graphql-js/pull/2498) Move custom ESLint rules into internal package ([@​IvanGoncharov](https://togithub.com/IvanGoncharov))
##### Dependency πŸ“¦
35 PRs were merged - [#​2122](https://togithub.com/graphql/graphql-js/pull/2122) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2123](https://togithub.com/graphql/graphql-js/pull/2123) Update ESLint ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2146](https://togithub.com/graphql/graphql-js/pull/2146) Update ESLint to 6.3 + other deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2166](https://togithub.com/graphql/graphql-js/pull/2166) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2226](https://togithub.com/graphql/graphql-js/pull/2226) Update to Flow v0.109 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2227](https://togithub.com/graphql/graphql-js/pull/2227) Update ESLint to v6.5 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2228](https://togithub.com/graphql/graphql-js/pull/2228) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2237](https://togithub.com/graphql/graphql-js/pull/2237) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2250](https://togithub.com/graphql/graphql-js/pull/2250) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2251](https://togithub.com/graphql/graphql-js/pull/2251) Update Flow to 0.111 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2263](https://togithub.com/graphql/graphql-js/pull/2263) Update prettier ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2265](https://togithub.com/graphql/graphql-js/pull/2265) Update Flow to v0.112 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2266](https://togithub.com/graphql/graphql-js/pull/2266) Update ESLint ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2271](https://togithub.com/graphql/graphql-js/pull/2271) Update rest of deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2283](https://togithub.com/graphql/graphql-js/pull/2283) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2289](https://togithub.com/graphql/graphql-js/pull/2289) Update Flow to 0.114.0 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2311](https://togithub.com/graphql/graphql-js/pull/2311) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2335](https://togithub.com/graphql/graphql-js/pull/2335) Update Flow to v0.115 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2336](https://togithub.com/graphql/graphql-js/pull/2336) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2346](https://togithub.com/graphql/graphql-js/pull/2346) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2360](https://togithub.com/graphql/graphql-js/pull/2360) Upgrade flow to v0.116 ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2370](https://togithub.com/graphql/graphql-js/pull/2370) Update Babel ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2397](https://togithub.com/graphql/graphql-js/pull/2397) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2403](https://togithub.com/graphql/graphql-js/pull/2403) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2414](https://togithub.com/graphql/graphql-js/pull/2414) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2420](https://togithub.com/graphql/graphql-js/pull/2420) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2436](https://togithub.com/graphql/graphql-js/pull/2436) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2447](https://togithub.com/graphql/graphql-js/pull/2447) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2452](https://togithub.com/graphql/graphql-js/pull/2452) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2456](https://togithub.com/graphql/graphql-js/pull/2456) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2467](https://togithub.com/graphql/graphql-js/pull/2467) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2476](https://togithub.com/graphql/graphql-js/pull/2476) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2499](https://togithub.com/graphql/graphql-js/pull/2499) Update prettier ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2500](https://togithub.com/graphql/graphql-js/pull/2500) Update Flow ([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - [#​2502](https://togithub.com/graphql/graphql-js/pull/2502) Update deps ([@​IvanGoncharov](https://togithub.com/IvanGoncharov))
##### Committers: 16 - Adnan Labiadh([@​Adn0s](https://togithub.com/Adn0s)) - Alexander Knyazev([@​alex-knyazev](https://togithub.com/alex-knyazev)) - Ardeshir81([@​Ardeshir81](https://togithub.com/Ardeshir81)) - Benedikt Franke([@​spawnia](https://togithub.com/spawnia)) - Brian Solon([@​solon](https://togithub.com/solon)) - Cameron Rollheiser([@​icirellik](https://togithub.com/icirellik)) - Christoph Zwerschke([@​Cito](https://togithub.com/Cito)) - Daniel Rearden([@​danielrearden](https://togithub.com/danielrearden)) - Enda([@​craicoverflow](https://togithub.com/craicoverflow)) - Ivan Goncharov([@​IvanGoncharov](https://togithub.com/IvanGoncharov)) - Ivo Meißner([@​ivome](https://togithub.com/ivome)) - Lee Byron([@​leebyron](https://togithub.com/leebyron)) - Matt Farmer([@​m14t](https://togithub.com/m14t)) - Mike Marcacci([@​mike-marcacci](https://togithub.com/mike-marcacci)) - Pierre Carrier([@​pcarrier](https://togithub.com/pcarrier)) - Wojtek Trocki([@​wtrocki](https://togithub.com/wtrocki))

Renovate configuration

:date: Schedule: "before 3am on the first day of the month" (UTC).

:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.

:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

:ghost: Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by WhiteSource Renovate. View repository job log here.

renovate[bot] commented 4 years ago

PR has been edited

:construction_worker: This PR has received other commits, so Renovate will stop updating it to avoid conflicts or other problems. If you wish to abandon your changes and have Renovate start over you may click the "rebase" checkbox in the PR body/description.

coveralls commented 4 years ago

Coverage Status

Coverage decreased (-5.1%) to 85.953% when pulling 490539f9d7a5da9a4c5085909bfc8c8d617db19c on renovate/all into e067060729041418582ae9a720b681477b598015 on master.

MrOrz commented 4 years ago

The Elasticsearch js library we are currently using is deprecated, thus we are migrating to the new client.

95% of the changes in this PR is to mitigate this breaking change:

The returned value of an API call will no longer be the body, statusCode, and headers for callbacks and just the body for promises. The new returned value will be a unique object containing the body, statusCode, headers, warnings, and meta, for both callback and promises.

Therefore a majority of the code change is destructuring body from the all the values the elasticsearch client returns.

We remove elasticsearch log related setup, since the new client does not have an integrated logger anymore.

We add unit test to auth.js, in which some of its logic binding to passport cannot be tested, thus the coverage goes down a bit.

Lastly, the version of submodule rumors-db is also updated. In latest changes, .env file is removed from rumors-db codebase, thus we need to provide ELASTICSEARCH_URL manually in package.json of rumors-api, otherwise it will break environments like Travis CI.