Closed renovate[bot] closed 4 years ago
Merging #41 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #41 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 8 8
Lines 153 153
Branches 40 40
=========================================
Hits 153 153
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 26c00a9...f56199b. Read the comment docs.
:tada: This PR is included in version 1.0.1 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
This PR contains the following updates:
^4.0.7
->^6.0.0
Release Notes
ardatan/graphql-tools
### [`v6.0.12`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.12) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.11...v6.0.12) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🐛 Bug Fixes - fix(loadSchema): add optional chaining [@jameslahm](https://togithub.com/jameslahm) ([#1696](https://togithub.com/ardatan/graphql-tools/issues/1696)) - Use DocumentNode instead of GraphQLResolveInfo to decide the HTTP method for useGETForQueries [@ardatan](https://togithub.com/ardatan) ([#1716](https://togithub.com/ardatan/graphql-tools/issues/1716)) - Name operations [@yaacovCR](https://togithub.com/yaacovCR) ([#1700](https://togithub.com/ardatan/graphql-tools/issues/1700)) - Fixes for complex type merging [@yaacovCR](https://togithub.com/yaacovCR) ([#1699](https://togithub.com/ardatan/graphql-tools/issues/1699)) ### [`v6.0.11`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.11) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.10...v6.0.11) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🚀 Features - Remove location data from loaded documents to reduce document size [@ardatan](https://togithub.com/ardatan) ([#1666](https://togithub.com/ardatan/graphql-tools/issues/1666)) #### 🐛 Bug Fixes - Use non-node friendly aggregate error [@ardatan](https://togithub.com/ardatan) ([#1683](https://togithub.com/ardatan/graphql-tools/issues/1683)) - fix(merge): add default value for `mergeDirectives` [@rufman](https://togithub.com/rufman) ([#1671](https://togithub.com/ardatan/graphql-tools/issues/1671)) - fix for missing enum in build operation node for field method [@brense](https://togithub.com/brense) ([#1681](https://togithub.com/ardatan/graphql-tools/issues/1681)) - fix(proxiedResults): handle top level errors when using type merging [@nicolas-cherel](https://togithub.com/nicolas-cherel) ([#1648](https://togithub.com/ardatan/graphql-tools/issues/1648)) - fix(stitching): avoid duplicate directives [@yaacovCR](https://togithub.com/yaacovCR) ([#1665](https://togithub.com/ardatan/graphql-tools/issues/1665)) - fix combination of type merging and gateway type extensions [@yaacovCR](https://togithub.com/yaacovCR) ([#1664](https://togithub.com/ardatan/graphql-tools/issues/1664)) ### [`v6.0.10`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.10) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.9...v6.0.10) > Come talk to us directly on our [Discord channel](http://bit.ly/guild-chat) > Contact us here: [the-guild.dev](https://the-guild.dev/) > > #### What’s Changed > > #### 🚀 Features - improve type merging [@yaacovCR](https://togithub.com/yaacovCR) ([#1636](https://togithub.com/ardatan/graphql-tools/issues/1636)) - introduce pruneSchema function, PruneSchema transform, and pruneSchema options for makeExecutableSchema and stitchSchemas [@yaacovCR](https://togithub.com/yaacovCR) ([#1632](https://togithub.com/ardatan/graphql-tools/issues/1632)) #### 🐛 Bug Fixes - Use aggregate-error instead of CombinedError implementation to keep the content of errors [@ardatan](https://togithub.com/ardatan) ([#1646](https://togithub.com/ardatan/graphql-tools/issues/1646)) - fix by getting underlying type prior to delegation [@yaacovCR](https://togithub.com/yaacovCR) ([#1639](https://togithub.com/ardatan/graphql-tools/issues/1639)) - fix(typeMerging): can't return a list of merged types [@nicolas-cherel](https://togithub.com/nicolas-cherel) ([#1635](https://togithub.com/ardatan/graphql-tools/issues/1635)) - Fix pruning types x2 [@yaacovCR](https://togithub.com/yaacovCR) ([#1638](https://togithub.com/ardatan/graphql-tools/issues/1638)) - fix(pruningOptions): options are optional [@yaacovCR](https://togithub.com/yaacovCR) ([#1637](https://togithub.com/ardatan/graphql-tools/issues/1637)) - fix(stitchSchemas): subschemas with object inputs and mergeTypes as true causes crash [@nicolas-cherel](https://togithub.com/nicolas-cherel) ([#1631](https://togithub.com/ardatan/graphql-tools/issues/1631)) - transforms should always pass along unmodified parts of originalRequest [@yaacovCR](https://togithub.com/yaacovCR) ([#1633](https://togithub.com/ardatan/graphql-tools/issues/1633)) - addResolversToSchema should not lose directives [@yaacovCR](https://togithub.com/yaacovCR) ([#1623](https://togithub.com/ardatan/graphql-tools/issues/1623)) - Update graphql tag pluck to include flow plugins whenever the code includes [@flow](https://togithub.com/flow) [@ganemone](https://togithub.com/ganemone) ([#1622](https://togithub.com/ardatan/graphql-tools/issues/1622)) - Fix mergeProxiedResults errors aggregation [@nicolas-cherel](https://togithub.com/nicolas-cherel) ([#1621](https://togithub.com/ardatan/graphql-tools/issues/1621)) ### [`v6.0.9`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.9) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.8...v6.0.9) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Fix bad typing imports - transforms should support custom root type names ([#1607](https://togithub.com/ardatan/graphql-tools/issues/1607)) - temporarily make delegationContext optional until next major version ([#1614](https://togithub.com/ardatan/graphql-tools/issues/1614)) - feat(url-loader): ability to get executor and subscriber without introspected schema ### [`v6.0.8`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.8) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.7...v6.0.8) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - introduce Subschema class ([#1583](https://togithub.com/ardatan/graphql-tools/issues/1583)) - refactor application of transforms ([#1574](https://togithub.com/ardatan/graphql-tools/issues/1574)) - introduce input object field transformers: Filter/Rename/TransformInputObjectFields [#1551](https://togithub.com/ardatan/graphql-tools/issues/1551) - Able to get generated subschema config instead of wrapped schema from `UrlLoader`. ### [`v6.0.7`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.7) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.6...v6.0.7) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Introduce Webpack Loader and Node Require Extension ([#1579](https://togithub.com/ardatan/graphql-tools/issues/1579)) - Fix `skipGraphQLImport`'s behavior ### [`v6.0.6`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.6) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.5...v6.0.6) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Fix stitchSchemas for when empty array of typeDefs are passed ([#1575](https://togithub.com/ardatan/graphql-tools/issues/1575)) - Thanks [@rufman](https://togithub.com/rufman) ! - properly handle remote (POJO) errors ([#1572](https://togithub.com/ardatan/graphql-tools/issues/1572)) - Thanks [@alfaproject](https://togithub.com/alfaproject) and [@yaacovCR](https://togithub.com/yaacovCR) ! - Feature: Add `generateProxyingResolvers` to public API for v6.0.0 ([#1570](https://togithub.com/ardatan/graphql-tools/issues/1570)) - Thanks [@marcammann](https://togithub.com/marcammann) ! ### [`v6.0.5`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.5) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.4...v6.0.5) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Fix: resolve correct data if schema is wrapped ([#1562](https://togithub.com/ardatan/graphql-tools/issues/1562)) ### [`v6.0.4`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.4) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.3...v6.0.4) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Support projection build operation ([#1556](https://togithub.com/ardatan/graphql-tools/issues/1556)) - Add default Apollo Engine endpoint ([#1560](https://togithub.com/ardatan/graphql-tools/issues/1560)) - Thanks [@lsanwick](https://togithub.com/lsanwick) ! - allow MapFields to transform all field nodes ([#1545](https://togithub.com/ardatan/graphql-tools/issues/1545)) - ExtendSchema comment ([#1546](https://togithub.com/ardatan/graphql-tools/issues/1546)) ### [`v6.0.3`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.3) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.2...v6.0.3) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Add useGETForQueries option for `@graphql-tools/url-loader` to fetch queries using HTTP GET [Urigo/graphql-mesh#478](https://togithub.com/Urigo/graphql-mesh/issues/478) ### [`v6.0.2`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.2) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.1...v6.0.2) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Better error handling on `@graphql-tools/url-loader` and `introspectSchema` [dotansimha/graphql-code-generator#4098](https://togithub.com/dotansimha/graphql-code-generator/issues/4098) - fix: `loadFiles` path resolving issue in `@graphql-tools/load-files` ([#1542](https://togithub.com/ardatan/graphql-tools/issues/1542)) - Thanks to [@cheng-kang](https://togithub.com/cheng-kang) !!! - Add Subscriptions support on `@graphql-tools/url-loader` ### [`v6.0.1`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.1) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v6.0.0...v6.0.1) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) - Fix issue in printSchemaWithDirectives ([#1528](https://togithub.com/ardatan/graphql-tools/issues/1528)) - Fix mergeSchemas issuee with custom scalars ([#1530](https://togithub.com/ardatan/graphql-tools/issues/1530)) - Add missing packages in `graphql-tools` npm package ([#1524](https://togithub.com/ardatan/graphql-tools/issues/1524)) ### [`v6.0.0`](https://togithub.com/ardatan/graphql-tools/releases/v6.0.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v5.0.0...v6.0.0) > Contact us [here](https://the-guild.dev) for help, more necessary open source tools and Enterprise support > or Chat with us [on discord](http://bit.ly/guild-chat) > > #### A huge v6 release with a new monorepo structure! You can learn more about changes by checking out our: - [Announcement blog post](https://the-guild.dev/blog/graphql-tools-v6) - [Migration guide](https://www.graphql-tools.com/docs/migration-from-tools-v5) ##### New Monorepo Structure - graphql-tools - [@graphql-tools/schema](https://togithub.com/graphql-tools/schema) - makeExecutableSchema - addResolversToSchema and other decorators - [@graphql-tools/delegate](https://togithub.com/graphql-tools/delegate) - Schema delegation low-level tools - [@graphql-tools/wrap](https://togithub.com/graphql-tools/wrap) - Wrap local/remote schemas with a new schema, applying transforms. - Implements "remote" executable schema generation - Includes the common schema modification transforms, filtering, renaming, etc. - [@graphql-tools/stitch](https://togithub.com/graphql-tools/stitch) - Schema stitching utils - [@graphql-tools/utils](https://togithub.com/graphql-tools/utils) - Some common utils and typings - [@graphql-tools/links](https://togithub.com/graphql-tools/links) - linkToExecutor and linkToSubscriber to convert ApolloLink to Executor and Subscriber for Remote Schema generation - Links and scalars for serverside GraphQL Upload support especially for schema stitching - merge-graphql-schemas - [@graphql-tools/merge](https://togithub.com/graphql-tools/merge) - mergeTypeDefs and mergeResolvers - [@graphql-tools/file-loading](https://togithub.com/graphql-tools/file-loading) - loadFiles to load type definitions and resolvers files - graphql-import - [@graphql-tools/import](https://togithub.com/graphql-tools/import) - Import expression parser - [@graphql-tools/graphql-file-loader](https://togithub.com/graphql-tools/graphql-file-loader) with [@graphql-tools/load](https://togithub.com/graphql-tools/load) - Load GraphQL Files using GraphQL Toolkit&[#39](https://togithub.com/ardatan/graphql-tools/issues/39);s Loaders - [@graphql-toolkit/common](https://togithub.com/graphql-toolkit/common) - [@graphql-toolkit/utils](https://togithub.com/graphql-toolkit/utils) - [@graphql-toolkit/resolvers-composition](https://togithub.com/graphql-toolkit/resolvers-composition) - [@graphql-toolkit/core](https://togithub.com/graphql-toolkit/core) - [@graphql-tools/load](https://togithub.com/graphql-tools/load) - Main package for schema and documents loading from different sources - [@graphql-toolkit](https://togithub.com/graphql-toolkit)&[#39](https://togithub.com/ardatan/graphql-tools/issues/39);s other packages are moved to [@graphql-tools](https://togithub.com/graphql-tools) with same names excepts [@graphql-toolkit/schema-merging](https://togithub.com/graphql-toolkit/schema-merging), [@graphql-toolkit/core](https://togithub.com/graphql-toolkit/core) and [@graphql-toolkit/common](https://togithub.com/graphql-toolkit/common) ### [`v5.0.0`](https://togithub.com/ardatan/graphql-tools/releases/v5.0.0) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/v4.0.8...v5.0.0) > If you like GraphQL Tools, maybe you will also like some of [our other projects](https://bit.ly/the-guild-tech-stack). > Chat with us [on discord](http://bit.ly/guild-chat) 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. List of changes: ##### 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.