From 179dd271865f8f940ae1c13c9112aac2434d1b0c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 10 Feb 2021 12:15:04 -0500 Subject: [PATCH] chore(release): update monorepo packages versions (#2545) Co-authored-by: github-actions[bot] --- .changeset/fast-lizards-try.md | 22 ------------------ .changeset/kind-mangos-occur.md | 5 ----- .changeset/witty-tables-travel.md | 10 --------- packages/batch-delegate/package.json | 4 ++-- packages/delegate/CHANGELOG.md | 21 +++++++++++++++++ packages/delegate/package.json | 2 +- packages/graphql-tools/CHANGELOG.md | 12 ++++++++++ packages/graphql-tools/package.json | 10 ++++----- packages/links/CHANGELOG.md | 8 +++++++ packages/links/package.json | 4 ++-- packages/mock/CHANGELOG.md | 12 ++++++++++ packages/mock/package.json | 2 +- packages/stitch/CHANGELOG.md | 26 ++++++++++++++++++++++ packages/stitch/package.json | 4 ++-- packages/stitching-directives/CHANGELOG.md | 26 ++++++++++++++++++++++ packages/stitching-directives/package.json | 4 ++-- 16 files changed, 120 insertions(+), 52 deletions(-) delete mode 100644 .changeset/fast-lizards-try.md delete mode 100644 .changeset/kind-mangos-occur.md delete mode 100644 .changeset/witty-tables-travel.md diff --git a/.changeset/fast-lizards-try.md b/.changeset/fast-lizards-try.md deleted file mode 100644 index 98e2a2748d8..00000000000 --- a/.changeset/fast-lizards-try.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@graphql-tools/delegate": patch -"@graphql-tools/stitch": minor -"@graphql-tools/stitching-directives": minor ---- - -Deprecates the `MergeTypeConfig.computedFields` setting (with backwards-compatible warning) 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. diff --git a/.changeset/kind-mangos-occur.md b/.changeset/kind-mangos-occur.md deleted file mode 100644 index 56534d8dd05..00000000000 --- a/.changeset/kind-mangos-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@graphql-tools/links': patch ---- - -fix(links): peer dependency issue diff --git a/.changeset/witty-tables-travel.md b/.changeset/witty-tables-travel.md deleted file mode 100644 index 588c2b1d91e..00000000000 --- a/.changeset/witty-tables-travel.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'@graphql-tools/mock': major ---- - -Reworked to add state-full behavior to the library: -- Breaking: mock functions does not receive resolver arguments anymore and can't return promise. Use `resolvers` option instead. -- Breaking: when preserved, resolvers will not receive plain object returned by mock anymore as source but rather a `Ref` that can be used to query the store. -- Deprecated: MockList is deprecated. Use plain arrays instead. - -See [migration guide](https://www.graphql-tools.com/docs/mocking/#migration-from-v7-and-below). diff --git a/packages/batch-delegate/package.json b/packages/batch-delegate/package.json index d0227b9e8ac..9539f63d0f0 100644 --- a/packages/batch-delegate/package.json +++ b/packages/batch-delegate/package.json @@ -22,13 +22,13 @@ "input": "./src/index.ts" }, "dependencies": { - "@graphql-tools/delegate": "^7.0.9", + "@graphql-tools/delegate": "^7.0.10", "dataloader": "2.0.0", "tslib": "~2.1.0" }, "devDependencies": { "@graphql-tools/schema": "7.1.3", - "@graphql-tools/stitch": "7.2.1", + "@graphql-tools/stitch": "7.3.0", "@graphql-tools/utils": "7.2.5" }, "publishConfig": { diff --git a/packages/delegate/CHANGELOG.md b/packages/delegate/CHANGELOG.md index 57b74128059..955597b7a37 100644 --- a/packages/delegate/CHANGELOG.md +++ b/packages/delegate/CHANGELOG.md @@ -1,5 +1,26 @@ # @graphql-tools/delegate +## 7.0.10 + +### Patch Changes + +- 24926654: Deprecates the `MergeTypeConfig.computedFields` setting (with backwards-compatible warning) 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. + ## 7.0.9 ### Patch Changes diff --git a/packages/delegate/package.json b/packages/delegate/package.json index 0a66b1f0cd5..a2256a6151a 100644 --- a/packages/delegate/package.json +++ b/packages/delegate/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/delegate", - "version": "7.0.9", + "version": "7.0.10", "description": "A set of utils for faster development of GraphQL tools", "repository": { "type": "git", diff --git a/packages/graphql-tools/CHANGELOG.md b/packages/graphql-tools/CHANGELOG.md index 626b4cc4c38..018c6ba805a 100644 --- a/packages/graphql-tools/CHANGELOG.md +++ b/packages/graphql-tools/CHANGELOG.md @@ -1,5 +1,17 @@ # graphql-tools +## 7.0.3 + +### Patch Changes + +- Updated dependencies [24926654] +- Updated dependencies [24926654] +- Updated dependencies [24926654] + - @graphql-tools/delegate@7.0.10 + - @graphql-tools/stitch@7.3.0 + - @graphql-tools/links@7.0.4 + - @graphql-tools/mock@8.0.0 + ## 7.0.2 ### Patch Changes diff --git a/packages/graphql-tools/package.json b/packages/graphql-tools/package.json index eb1f15c57cd..f6277b70c2a 100644 --- a/packages/graphql-tools/package.json +++ b/packages/graphql-tools/package.json @@ -1,6 +1,6 @@ { "name": "graphql-tools", - "version": "7.0.2", + "version": "7.0.3", "description": "Useful tools to create and manipulate GraphQL schemas.", "repository": { "type": "git", @@ -26,10 +26,10 @@ "@graphql-tools/optimize": "1.0.1", "@graphql-tools/batch-delegate": "^7.0.0", "@graphql-tools/batch-execute": "^7.0.0", - "@graphql-tools/delegate": "^7.0.1", + "@graphql-tools/delegate": "^7.0.10", "@graphql-tools/graphql-tag-pluck": "^6.2.6", "@graphql-tools/import": "^6.2.4", - "@graphql-tools/links": "^7.0.0", + "@graphql-tools/links": "^7.0.4", "@graphql-tools/load": "^6.2.5", "@graphql-tools/code-file-loader": "^6.2.5", "@graphql-tools/git-loader": "^6.2.5", @@ -40,11 +40,11 @@ "@graphql-tools/url-loader": "^6.3.2", "@graphql-tools/load-files": "^6.2.4", "@graphql-tools/merge": "^6.2.5", - "@graphql-tools/mock": "^7.0.0", + "@graphql-tools/mock": "^8.0.0", "@graphql-tools/relay-operation-optimizer": "^6.2.5", "@graphql-tools/resolvers-composition": "^6.2.5", "@graphql-tools/schema": "^7.0.0", - "@graphql-tools/stitch": "^7.0.1", + "@graphql-tools/stitch": "^7.3.0", "@graphql-tools/utils": "^7.0.1", "@graphql-tools/wrap": "^7.0.0", "tslib": "~2.1.0" diff --git a/packages/links/CHANGELOG.md b/packages/links/CHANGELOG.md index bf80d129b3d..e9903353890 100644 --- a/packages/links/CHANGELOG.md +++ b/packages/links/CHANGELOG.md @@ -1,5 +1,13 @@ # @graphql-tools/links +## 7.0.4 + +### Patch Changes + +- 24926654: fix(links): peer dependency issue +- Updated dependencies [24926654] + - @graphql-tools/delegate@7.0.10 + ## 7.0.3 ### Patch Changes diff --git a/packages/links/package.json b/packages/links/package.json index 23abc55b79c..18aeba3e6ee 100644 --- a/packages/links/package.json +++ b/packages/links/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/links", - "version": "7.0.3", + "version": "7.0.4", "description": "A set of utils for faster development of GraphQL tools", "repository": { "type": "git", @@ -35,7 +35,7 @@ "graphql-upload": "11.0.0" }, "dependencies": { - "@graphql-tools/delegate": "^7.0.3", + "@graphql-tools/delegate": "^7.0.10", "@graphql-tools/utils": "^7.0.2", "apollo-upload-client": "14.1.3", "cross-fetch": "3.0.6", diff --git a/packages/mock/CHANGELOG.md b/packages/mock/CHANGELOG.md index a5181e648c9..ac2adc48de0 100644 --- a/packages/mock/CHANGELOG.md +++ b/packages/mock/CHANGELOG.md @@ -1,5 +1,17 @@ # @graphql-tools/mock +## 8.0.0 + +### Major Changes + +- 24926654: Reworked to add state-full behavior to the library: + + - Breaking: mock functions does not receive resolver arguments anymore and can't return promise. Use `resolvers` option instead. + - Breaking: when preserved, resolvers will not receive plain object returned by mock anymore as source but rather a `Ref` that can be used to query the store. + - Deprecated: MockList is deprecated. Use plain arrays instead. + + See [migration guide](https://www.graphql-tools.com/docs/mocking/#migration-from-v7-and-below). + ## 7.0.0 ### Major Changes diff --git a/packages/mock/package.json b/packages/mock/package.json index 0c355b5dd1a..0efb5aa3522 100644 --- a/packages/mock/package.json +++ b/packages/mock/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/mock", - "version": "7.0.0", + "version": "8.0.0", "description": "A set of utils for faster development of GraphQL tools", "repository": { "type": "git", diff --git a/packages/stitch/CHANGELOG.md b/packages/stitch/CHANGELOG.md index 7f774dac573..36adb95b36b 100644 --- a/packages/stitch/CHANGELOG.md +++ b/packages/stitch/CHANGELOG.md @@ -1,5 +1,31 @@ # @graphql-tools/stitch +## 7.3.0 + +### Minor Changes + +- 24926654: Deprecates the `MergeTypeConfig.computedFields` setting (with backwards-compatible warning) 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 + +- Updated dependencies [24926654] + - @graphql-tools/delegate@7.0.10 + ## 7.2.1 ### Patch Changes diff --git a/packages/stitch/package.json b/packages/stitch/package.json index 7d0a42d9801..79958b8f245 100644 --- a/packages/stitch/package.json +++ b/packages/stitch/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/stitch", - "version": "7.2.1", + "version": "7.3.0", "description": "A set of utils for faster development of GraphQL tools", "repository": { "type": "git", @@ -26,7 +26,7 @@ }, "dependencies": { "@graphql-tools/batch-delegate": "^7.0.0", - "@graphql-tools/delegate": "^7.0.9", + "@graphql-tools/delegate": "^7.0.10", "@graphql-tools/merge": "^6.2.7", "@graphql-tools/schema": "^7.1.2", "@graphql-tools/utils": "^7.2.4", diff --git a/packages/stitching-directives/CHANGELOG.md b/packages/stitching-directives/CHANGELOG.md index 74c7313f9df..1222bba75c1 100644 --- a/packages/stitching-directives/CHANGELOG.md +++ b/packages/stitching-directives/CHANGELOG.md @@ -1,5 +1,31 @@ # @graphql-tools/stitching-directives +## 1.3.0 + +### Minor Changes + +- 24926654: Deprecates the `MergeTypeConfig.computedFields` setting (with backwards-compatible warning) 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 + +- Updated dependencies [24926654] + - @graphql-tools/delegate@7.0.10 + ## 1.2.0 ### Minor Changes diff --git a/packages/stitching-directives/package.json b/packages/stitching-directives/package.json index 4942074f7b8..cd65f24b152 100644 --- a/packages/stitching-directives/package.json +++ b/packages/stitching-directives/package.json @@ -1,6 +1,6 @@ { "name": "@graphql-tools/stitching-directives", - "version": "1.2.0", + "version": "1.3.0", "description": "A set of utils for faster development of GraphQL tools", "repository": { "type": "git", @@ -22,7 +22,7 @@ "input": "./src/index.ts" }, "dependencies": { - "@graphql-tools/delegate": "^7.0.9", + "@graphql-tools/delegate": "^7.0.10", "@graphql-tools/utils": "^7.2.4", "tslib": "~2.1.0" },