SurveyMonkey / graphql-ergonomock

Automatic mocking of GraphQL queries
MIT License
19 stars 7 forks source link

fix(deps): update dependency graphql-tools to v5 - autoclosed #30

Closed renovate[bot] closed 4 years ago

renovate[bot] commented 4 years ago

This PR contains the following updates:

Package Type Update Change
graphql-tools dependencies major ^4.0.7 -> ^5.0.0

Release Notes

apollographql/graphql-tools ### [`v5.0.0`](https://togithub.com/apollographql/graphql-tools/blob/master/CHANGELOG.md#​500) [Compare Source](https://togithub.com/apollographql/graphql-tools/compare/v4.0.8...v5.0.0) That is a major release where we went through all issues and PRs and got the library back into great shape. All known issues with schema stitching had been fixed. The main person which did the heavy lifting is [@​yaacovCR](https://togithub.com/yaacovCR) which made the work alone on his own fork for many months. ##### Features - Support GraphQL v15 [#​1332](https://togithub.com/apollographql/graphql-tools/pull/1332) - Adds [graphql-upload](https://togithub.com/jaydenseric/graphql-upload) compatible scalar and link for proxying remote file uploads [#​671](https://togithub.com/apollographql/graphql-tools/issues/671) - Add ability to merge fields from types from different schemas - Add transforms to wrap, extract, and rename fields [#​1183](https://togithub.com/apollographql/graphql-tools/issues/1183) - Add transform to filter object fields [#​819](https://togithub.com/apollographql/graphql-tools/issues/819) - Exports visitSchema, SchemaVisitor, healSchema, healTypes, cloneSchema, cloneType, cloneDirective to enable more custom transforms. [#​1070](https://togithub.com/apollographql/graphql-tools/issues/1070) - Allow removing extra delegation layers by passing fetcher/link options directly to delegateToSchema, mergeSchemas, and transformSchema and by filtering directly with filterSchema without additional transformation round [#​1165](https://togithub.com/apollographql/graphql-tools/issues/1165) - Support CJS and ESM [#​913](https://togithub.com/apollographql/graphql-tools/issues/913) [PR #​1320](https://togithub.com/apollographql/graphql-tools/pull/1320) [PR #​1329](https://togithub.com/apollographql/graphql-tools/pull/1329) - Add TransformQuery transform to allow delegating to subfields with error preservation [#​543](https://togithub.com/apollographql/graphql-tools/issues/543) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - add WrapType transform to namespace subschema root queries (not for use with mutations) [#​961](https://togithub.com/apollographql/graphql-tools/issues/961) [#​439](https://togithub.com/apollographql/graphql-tools/issues/439) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - Add HoistFields transform to hoist subfields from field to parent type [#​781](https://togithub.com/apollographql/graphql-tools/issues/781) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - Add ability to specify custom root type names, with new transform RenameRootTypes that allows changing a subschemas root type, a necessary transform when the subschema includes the root query type within another output type [#​892](https://togithub.com/apollographql/graphql-tools/issues/892) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - Add type merging, and otherwise restore onTypeConflict [#​1133](https://togithub.com/apollographql/graphql-tools/issues/1133) [#​1118](https://togithub.com/apollographql/graphql-tools/issues/1118) [#​1044](https://togithub.com/apollographql/graphql-tools/issues/1044) [#​863](https://togithub.com/apollographql/graphql-tools/issues/863) [#​642](https://togithub.com/apollographql/graphql-tools/issues/642) [#​447](https://togithub.com/apollographql/graphql-tools/issues/447) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - Expose createRequest functionality for alternative method of batching besides using links [#​724](https://togithub.com/apollographql/graphql-tools/issues/724) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - Provide support for GraphQLUpload scalar with schema stitching [#​671](https://togithub.com/apollographql/graphql-tools/issues/671) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) - Let `makeRemoteExecutableSchema`, `wrapSchema`, `transformSchema`, `mergeSchemas` to specify a custom delegating resolver [#​1302](https://togithub.com/apollographql/graphql-tools/issues/1302) - Expose `mapSchema` (which creates new schemas), `visitSchema` (which modifies existing schemas), `healSchema` (which visitSchema uses), `toConfig`, as well as additional utility functions [#​1070](https://togithub.com/apollographql/graphql-tools/issues/1070) [#​922](https://togithub.com/apollographql/graphql-tools/issues/922) [#​786](https://togithub.com/apollographql/graphql-tools/issues/786) [#​761](https://togithub.com/apollographql/graphql-tools/issues/761) [PR #​1307](https://togithub.com/apollographql/graphql-tools/pull/1307) ##### Bug Fixes - Avoid using internal api of `graphql-js` [#​1331](https://togithub.com/apollographql/graphql-tools/pull/1331) - Filter unused variables from map when proxying requests - Preserve subscription errors when using makeRemoteExecutableSchema - Preserve extensions when transforming schemas - Fix merging and transforming of custom scalars and enums [#​501](https://togithub.com/apollographql/graphql-tools/issues/501), [#​1056](https://togithub.com/apollographql/graphql-tools/issues/1056), [#​1200](https://togithub.com/apollographql/graphql-tools/issues/1200) - Allow renaming of subscription root fields [#​997](https://togithub.com/apollographql/graphql-tools/issues/997), [#​1002](https://togithub.com/apollographql/graphql-tools/issues/1002) - Fix alias resolution to no longer incorrectly fallback to non-aliased field when null [#​1171](https://togithub.com/apollographql/graphql-tools/issues/1171) - Do not remove default directives (skip, include, deprecated) when not merging custom directives [#​1159](https://togithub.com/apollographql/graphql-tools/issues/1159) - Fixes errors support [#​743](https://togithub.com/apollographql/graphql-tools/issues/743), [#​1037](https://togithub.com/apollographql/graphql-tools/issues/1037), [#​1046](https://togithub.com/apollographql/graphql-tools/issues/1046) - Fix mergeSchemas to allow resolvers to return fields defined as functions [#​1061](https://togithub.com/apollographql/graphql-tools/issues/1061) - Fix default values with mergeSchemas and addResolveFunctionsToSchema [#​1121](https://togithub.com/apollographql/graphql-tools/issues/1121) - Fix interface and union healing - Fix stitching unions of types with enums - Fix mocking to work when schema stitching - Fix lost directives when adding an enum resolver - Fix Circular Dependencies [#​924](https://togithub.com/apollographql/graphql-tools/issues/924) [PR #​1326](https://togithub.com/apollographql/graphql-tools/pull/1326) - Fix types [#​1298](https://togithub.com/apollographql/graphql-tools/issues/1298) [#​1279](https://togithub.com/apollographql/graphql-tools/issues/1279) [#​837](https://togithub.com/apollographql/graphql-tools/issues/837) [#​1307](https://togithub.com/apollographql/graphql-tools/issues/1307) [#​1325](https://togithub.com/apollographql/graphql-tools/issues/1325) [#​1324](https://togithub.com/apollographql/graphql-tools/issues/1324) - issues involving importing directories [#​1242](https://togithub.com/apollographql/graphql-tools/issues/1242) [#​1307](https://togithub.com/apollographql/graphql-tools/issues/1307) - fix n^2 problem within makeRemoteExecutableSchema [#​1346](https://togithub.com/apollographql/graphql-tools/issues/1346) [PR #​1352](https://togithub.com/apollographql/graphql-tools/pulls/1352)

Renovate configuration

:date: Schedule: At any time (no schedule defined).

: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.

:no_bell: Ignore: Close this PR and you won't be reminded about this update again.



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

codecov[bot] commented 4 years ago

Codecov Report

Merging #30 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #30   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            8         8           
  Lines          159       159           
  Branches        40        40           
=========================================
  Hits           159       159           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4eab3b3...154aabc. Read the comment docs.