maticzav / graphql-middleware

Split up your GraphQL resolvers in middleware functions
MIT License
1.15k stars 58 forks source link

fix(deps): update graphql-tools monorepo to v9 (major) - autoclosed #549

Closed renovate[bot] closed 7 months ago

renovate[bot] commented 2 years ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@graphql-tools/delegate ^8.8.1 -> ^9.0.6 age adoption passing confidence
@graphql-tools/schema ^8.5.1 -> ^9.0.4 age adoption passing confidence

Release Notes

ardatan/graphql-tools (@​graphql-tools/delegate) ### [`v9.0.6`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​906) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/bd20dd0f395559087c24821e77914abcf27704c7...e6c569de45cf948ca939e2e101216f7ba73c7eb7) ##### Patch Changes - Updated dependencies \[[`43c736bd`](https://togithub.com/ardatan/graphql-tools/commit/43c736bd1865c00898966a7ed14060496c9e6a0c)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).12.0 - [@​graphql-tools/batch-execute](https://togithub.com/graphql-tools/batch-execute)[@​8](https://togithub.com/8).5.6 - [@​graphql-tools/schema](https://togithub.com/graphql-tools/schema)[@​9](https://togithub.com/9).0.4 ### [`v9.0.5`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​905) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/68440817cc310795072508a1588d9bff703621f9...bd20dd0f395559087c24821e77914abcf27704c7) ##### Patch Changes - Updated dependencies \[[`71cb4fae`](https://togithub.com/ardatan/graphql-tools/commit/71cb4faeb0833a228520a7bc2beed8ac7274443f), [`403ed450`](https://togithub.com/ardatan/graphql-tools/commit/403ed4507eff7cd509f410f7542a702da72e1a9a)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).11.0 - [@​graphql-tools/batch-execute](https://togithub.com/graphql-tools/batch-execute)[@​8](https://togithub.com/8).5.5 - [@​graphql-tools/schema](https://togithub.com/graphql-tools/schema)[@​9](https://togithub.com/9).0.3 ### [`v9.0.4`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​904) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/f232ba09b2902fa77e02145da321c111322812ed...68440817cc310795072508a1588d9bff703621f9) ##### Patch Changes - Updated dependencies \[[`4fe3d9c0`](https://togithub.com/ardatan/graphql-tools/commit/4fe3d9c037e9c138bd8a9b04b3977d74eba32c97)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).10.1 - [@​graphql-tools/batch-execute](https://togithub.com/graphql-tools/batch-execute)[@​8](https://togithub.com/8).5.4 - [@​graphql-tools/schema](https://togithub.com/graphql-tools/schema)[@​9](https://togithub.com/9).0.2 ### [`v9.0.3`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​903) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/b4336bf4bc27509e9d9248a02ae21ff9b889ab46...f232ba09b2902fa77e02145da321c111322812ed) ##### Patch Changes - [`0555a972`](https://togithub.com/ardatan/graphql-tools/commit/0555a972f010d2b3ca93b9164b26474a78d0b20b) Thanks [@​ardatan](https://togithub.com/ardatan)! - Bump versions ### [`v9.0.2`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​902) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/d3de88371ce5b2550649aa623bbac2ef4a1ce004...b4336bf4bc27509e9d9248a02ae21ff9b889ab46) ##### Patch Changes - [#​4648](https://togithub.com/ardatan/graphql-tools/pull/4648) [`29ee7542`](https://togithub.com/ardatan/graphql-tools/commit/29ee7542649e9c938bdb9c751bd3a2f56d17cb55) Thanks [@​ardatan](https://togithub.com/ardatan)! - Do not call `Transform.transformSchema` more than once ### [`v9.0.1`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​901) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/9e80640acbf4759799b0e0cb8d8817b5ad5154d2...d3de88371ce5b2550649aa623bbac2ef4a1ce004) ##### Patch Changes - Updated dependencies \[[`2609d71f`](https://togithub.com/ardatan/graphql-tools/commit/2609d71f7c3a0ef2b381c51d9ce60b0de49f9b27)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).10.0 - [@​graphql-tools/schema](https://togithub.com/graphql-tools/schema)[@​9](https://togithub.com/9).0.1 - [@​graphql-tools/batch-execute](https://togithub.com/graphql-tools/batch-execute)[@​8](https://togithub.com/8).5.3 ### [`v9.0.0`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/delegate/CHANGELOG.md#​900) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/fbb0709c7cff8a8e2974c6603f5357b32ab0f707...9e80640acbf4759799b0e0cb8d8817b5ad5154d2) ##### Major Changes - [#​4566](https://togithub.com/ardatan/graphql-tools/pull/4566) [`d8dc67aa`](https://togithub.com/ardatan/graphql-tools/commit/d8dc67aa6cb05bf10f5f16e90690e5ccc87b3426) Thanks [@​ardatan](https://togithub.com/ardatan)! - ## Breaking changes **Schema generation optimization by removing `transfomedSchema` parameter** Previously we were applying the transforms multiple times. We needed to introduced some breaking changes to improve the initial wrapped/stitched schema generation performance; - `Transform.transformSchema` no longer accepts `transformedSchema` which can easily be created with `applySchemaTransforms(schema, subschemaConfig)` instead. - Proxying resolver factory function that is passed as `createProxyingResolver` to `SubschemaConfig` no longer takes `transformedSchema` which can easily be created with `applySchemaTransforms(schema, subschemaConfig)` instead. **`stitchSchemas` doesn't take nested arrays of subschemas** `stitchSchemas` no longer accepts an array of arrays of subschema configuration objects. Instead, it accepts an array of subschema configuration objects or schema objects directly. **`stitchSchemas` no longer prunes the schema with `pruningOptions`** You can use `pruneSchema` from `@graphql-tools/utils` to prune the schema instead. **`stitchSchemas` no longer respect "[@​computed](https://togithub.com/computed)" directive if stitchingDirectivesTransformer isn't applied** Also `@graphql-tools/stitch` no longer exports `computedDirectiveTransformer` and `defaultSubschemaConfigTransforms`. Instead, use `@graphql-tools/stitching-directives` package for `@computed` directive. [Learn more about setting it up](https://www.graphql-tools.com/docs/schema-stitching/stitch-directives-sdl#directives-glossary) **`computedFields` has been removed from the merged type configuration** `MergeTypeConfig.computedFields` setting has been removed in favor of new computed field configuration written as: ```js merge: { MyType: { fields: { myComputedField: { selectionSet: '{ weight }', computed: true, } } } } ``` A field-level `selectionSet` specifies field dependencies while the `computed` setting structures the field in a way that assures it is always selected with this data provided. The `selectionSet` is intentionally generic to support possible future uses. This new pattern organizes all field-level configuration (including `canonical`) into a single structure. ##### Patch Changes - [#​4624](https://togithub.com/ardatan/graphql-tools/pull/4624) [`e3167edc`](https://togithub.com/ardatan/graphql-tools/commit/e3167edc98172fda88ce2306c10c7d4a23d91d67) Thanks [@​n1ru4l](https://togithub.com/n1ru4l)! - Fix CommonJS TypeScript resolution with `moduleResolution` `node16` or `nodenext` - Updated dependencies \[[`8cc8721f`](https://togithub.com/ardatan/graphql-tools/commit/8cc8721fbbff3c978fd67d162df833d6973c1860), [`e3167edc`](https://togithub.com/ardatan/graphql-tools/commit/e3167edc98172fda88ce2306c10c7d4a23d91d67)]: - [@​graphql-tools/schema](https://togithub.com/graphql-tools/schema)[@​9](https://togithub.com/9).0.0 - [@​graphql-tools/batch-execute](https://togithub.com/graphql-tools/batch-execute)[@​8](https://togithub.com/8).5.2 - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).9.1
ardatan/graphql-tools (@​graphql-tools/schema) ### [`v9.0.4`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/schema/CHANGELOG.md#​904) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/schema@9.0.3...@graphql-tools/schema@9.0.4) ##### Patch Changes - Updated dependencies \[[`43c736bd`](https://togithub.com/ardatan/graphql-tools/commit/43c736bd1865c00898966a7ed14060496c9e6a0c)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).12.0 - [@​graphql-tools/merge](https://togithub.com/graphql-tools/merge)[@​8](https://togithub.com/8).3.6 ### [`v9.0.3`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/schema/CHANGELOG.md#​903) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/schema@9.0.2...@graphql-tools/schema@9.0.3) ##### Patch Changes - Updated dependencies \[[`71cb4fae`](https://togithub.com/ardatan/graphql-tools/commit/71cb4faeb0833a228520a7bc2beed8ac7274443f), [`403ed450`](https://togithub.com/ardatan/graphql-tools/commit/403ed4507eff7cd509f410f7542a702da72e1a9a)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).11.0 - [@​graphql-tools/merge](https://togithub.com/graphql-tools/merge)[@​8](https://togithub.com/8).3.5 ### [`v9.0.2`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/schema/CHANGELOG.md#​902) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/schema@9.0.1...@graphql-tools/schema@9.0.2) ##### Patch Changes - Updated dependencies \[[`4fe3d9c0`](https://togithub.com/ardatan/graphql-tools/commit/4fe3d9c037e9c138bd8a9b04b3977d74eba32c97)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).10.1 - [@​graphql-tools/merge](https://togithub.com/graphql-tools/merge)[@​8](https://togithub.com/8).3.4 ### [`v9.0.1`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/schema/CHANGELOG.md#​901) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/schema@9.0.0...@graphql-tools/schema@9.0.1) ##### Patch Changes - [#​4643](https://togithub.com/ardatan/graphql-tools/pull/4643) [`2609d71f`](https://togithub.com/ardatan/graphql-tools/commit/2609d71f7c3a0ef2b381c51d9ce60b0de49f9b27) Thanks [@​ardatan](https://togithub.com/ardatan)! - Revert the breaking change introduced in `@graphql-tools/merge` - Updated dependencies \[[`2609d71f`](https://togithub.com/ardatan/graphql-tools/commit/2609d71f7c3a0ef2b381c51d9ce60b0de49f9b27)]: - [@​graphql-tools/utils](https://togithub.com/graphql-tools/utils)[@​8](https://togithub.com/8).10.0 - [@​graphql-tools/merge](https://togithub.com/graphql-tools/merge)[@​8](https://togithub.com/8).3.3 ### [`v9.0.0`](https://togithub.com/ardatan/graphql-tools/blob/HEAD/packages/schema/CHANGELOG.md#​900) [Compare Source](https://togithub.com/ardatan/graphql-tools/compare/@graphql-tools/schema@8.5.1...@graphql-tools/schema@9.0.0) ##### Major Changes - [#​4463](https://togithub.com/ardatan/graphql-tools/pull/4463) [`8cc8721f`](https://togithub.com/ardatan/graphql-tools/commit/8cc8721fbbff3c978fd67d162df833d6973c1860) Thanks [@​ardatan](https://togithub.com/ardatan)! - Thanks [@​mattkrick](https://togithub.com/mattkrick) and [@​borisno2](https://togithub.com/borisno2)!

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

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

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

🔕 Ignore: Close this PR and you won't be reminded about these updates again.



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