From 325473f7a34c8a2047c7f01a953103a5ba4f977d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sat, 20 Jan 2024 02:04:44 +0000 Subject: [PATCH] Version Packages --- .changeset/empty-dodos-turn.md | 22 ------------- .changeset/popular-mirrors-move.md | 6 ---- .changeset/real-comics-stare.md | 6 ---- composition-js/CHANGELOG.md | 30 +++++++++++++++++ composition-js/package.json | 6 ++-- .../CHANGELOG.md | 2 ++ .../package.json | 2 +- gateway-js/CHANGELOG.md | 27 ++++++++++++++++ gateway-js/package.json | 8 ++--- internals-js/CHANGELOG.md | 24 ++++++++++++++ internals-js/package.json | 2 +- package-lock.json | 32 +++++++++---------- query-graphs-js/CHANGELOG.md | 25 +++++++++++++++ query-graphs-js/package.json | 4 +-- query-planner-js/CHANGELOG.md | 26 +++++++++++++++ query-planner-js/package.json | 6 ++-- subgraph-js/CHANGELOG.md | 25 +++++++++++++++ subgraph-js/package.json | 4 +-- 18 files changed, 191 insertions(+), 66 deletions(-) delete mode 100644 .changeset/empty-dodos-turn.md delete mode 100644 .changeset/popular-mirrors-move.md delete mode 100644 .changeset/real-comics-stare.md diff --git a/.changeset/empty-dodos-turn.md b/.changeset/empty-dodos-turn.md deleted file mode 100644 index 5f93e83af..000000000 --- a/.changeset/empty-dodos-turn.md +++ /dev/null @@ -1,22 +0,0 @@ ---- -"@apollo/query-planner": minor -"@apollo/query-graphs": minor -"@apollo/composition": minor -"@apollo/federation-internals": minor -"@apollo/subgraph": minor -"@apollo/gateway": minor ---- - -Implement progressive `@override` functionality - -The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. - -Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: -```graphql -type Query { - hello: String @override(from: "original", label: "percent(5)") -} -``` -The above example will override the root `hello` field from the "original" subgraph 5% of the time. - -More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). diff --git a/.changeset/popular-mirrors-move.md b/.changeset/popular-mirrors-move.md deleted file mode 100644 index 84207ecb4..000000000 --- a/.changeset/popular-mirrors-move.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@apollo/federation-internals": minor -"@apollo/composition": patch ---- - -Allow known `FeatureDefinition` subclasses to define custom subgraph schema validation rules diff --git a/.changeset/real-comics-stare.md b/.changeset/real-comics-stare.md deleted file mode 100644 index 0f5450391..000000000 --- a/.changeset/real-comics-stare.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@apollo/composition": minor -"@apollo/federation-internals": minor ---- - -Support `@join__directive(graphs, name, args)` directives diff --git a/composition-js/CHANGELOG.md b/composition-js/CHANGELOG.md index 5c93afcba..5a1f1be89 100644 --- a/composition-js/CHANGELOG.md +++ b/composition-js/CHANGELOG.md @@ -1,5 +1,35 @@ # CHANGELOG for `@apollo/composition` +## 2.7.0 + +### Minor Changes + +- Implement progressive `@override` functionality ([#2911](https://github.com/apollographql/federation/pull/2911)) + + The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. + + Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: + + ```graphql + type Query { + hello: String @override(from: "original", label: "percent(5)") + } + ``` + + The above example will override the root `hello` field from the "original" subgraph 5% of the time. + + More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). + +- Support `@join__directive(graphs, name, args)` directives ([#2894](https://github.com/apollographql/federation/pull/2894)) + +### Patch Changes + +- Allow known `FeatureDefinition` subclasses to define custom subgraph schema validation rules ([#2910](https://github.com/apollographql/federation/pull/2910)) + +- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]: + - @apollo/query-graphs@2.7.0 + - @apollo/federation-internals@2.7.0 + ## 2.6.3 ### Patch Changes diff --git a/composition-js/package.json b/composition-js/package.json index f0beaec28..6e2038b59 100644 --- a/composition-js/package.json +++ b/composition-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/composition", - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Federation composition utilities", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -27,8 +27,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.6.3", - "@apollo/query-graphs": "2.6.3" + "@apollo/federation-internals": "2.7.0", + "@apollo/query-graphs": "2.7.0" }, "peerDependencies": { "graphql": "^16.5.0" diff --git a/federation-integration-testsuite-js/CHANGELOG.md b/federation-integration-testsuite-js/CHANGELOG.md index a0344d596..d77654719 100644 --- a/federation-integration-testsuite-js/CHANGELOG.md +++ b/federation-integration-testsuite-js/CHANGELOG.md @@ -1,5 +1,7 @@ # CHANGELOG for `federation-integration-testsuite-js` +## 2.7.0 + ## 2.6.3 ## 2.6.2 diff --git a/federation-integration-testsuite-js/package.json b/federation-integration-testsuite-js/package.json index 761b79773..72b38a288 100644 --- a/federation-integration-testsuite-js/package.json +++ b/federation-integration-testsuite-js/package.json @@ -1,7 +1,7 @@ { "name": "apollo-federation-integration-testsuite", "private": true, - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Federation Integrations / Test Fixtures", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/gateway-js/CHANGELOG.md b/gateway-js/CHANGELOG.md index c5fb502f9..ec8fe9490 100644 --- a/gateway-js/CHANGELOG.md +++ b/gateway-js/CHANGELOG.md @@ -1,5 +1,32 @@ # CHANGELOG for `@apollo/gateway` +## 2.7.0 + +### Minor Changes + +- Implement progressive `@override` functionality ([#2911](https://github.com/apollographql/federation/pull/2911)) + + The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. + + Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: + + ```graphql + type Query { + hello: String @override(from: "original", label: "percent(5)") + } + ``` + + The above example will override the root `hello` field from the "original" subgraph 5% of the time. + + More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). + +### Patch Changes + +- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]: + - @apollo/query-planner@2.7.0 + - @apollo/composition@2.7.0 + - @apollo/federation-internals@2.7.0 + ## 2.6.3 ### Patch Changes diff --git a/gateway-js/package.json b/gateway-js/package.json index 7afd71d8f..e42dda5d8 100644 --- a/gateway-js/package.json +++ b/gateway-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/gateway", - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Gateway", "author": "Apollo ", "main": "dist/index.js", @@ -25,9 +25,9 @@ "access": "public" }, "dependencies": { - "@apollo/composition": "2.6.3", - "@apollo/federation-internals": "2.6.3", - "@apollo/query-planner": "2.6.3", + "@apollo/composition": "2.7.0", + "@apollo/federation-internals": "2.7.0", + "@apollo/query-planner": "2.7.0", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.1.0", "@apollo/utils.createhash": "^2.0.0", diff --git a/internals-js/CHANGELOG.md b/internals-js/CHANGELOG.md index d33217036..1854bc487 100644 --- a/internals-js/CHANGELOG.md +++ b/internals-js/CHANGELOG.md @@ -1,5 +1,29 @@ # CHANGELOG for `@apollo/federation-internals` +## 2.7.0 + +### Minor Changes + +- Implement progressive `@override` functionality ([#2911](https://github.com/apollographql/federation/pull/2911)) + + The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. + + Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: + + ```graphql + type Query { + hello: String @override(from: "original", label: "percent(5)") + } + ``` + + The above example will override the root `hello` field from the "original" subgraph 5% of the time. + + More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). + +- Allow known `FeatureDefinition` subclasses to define custom subgraph schema validation rules ([#2910](https://github.com/apollographql/federation/pull/2910)) + +- Support `@join__directive(graphs, name, args)` directives ([#2894](https://github.com/apollographql/federation/pull/2894)) + ## 2.6.3 ## 2.6.2 diff --git a/internals-js/package.json b/internals-js/package.json index 83fe53fd0..d88978c77 100644 --- a/internals-js/package.json +++ b/internals-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/federation-internals", - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Federation internal utilities", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/package-lock.json b/package-lock.json index 6978f5dc4..72bc2890b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -70,11 +70,11 @@ }, "composition-js": { "name": "@apollo/composition", - "version": "2.6.3", + "version": "2.7.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.6.3", - "@apollo/query-graphs": "2.6.3" + "@apollo/federation-internals": "2.7.0", + "@apollo/query-graphs": "2.7.0" }, "engines": { "node": ">=14.15.0" @@ -85,7 +85,7 @@ }, "federation-integration-testsuite-js": { "name": "apollo-federation-integration-testsuite", - "version": "2.6.3", + "version": "2.7.0", "license": "Elastic-2.0", "dependencies": { "graphql-tag": "^2.12.6", @@ -94,12 +94,12 @@ }, "gateway-js": { "name": "@apollo/gateway", - "version": "2.6.3", + "version": "2.7.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/composition": "2.6.3", - "@apollo/federation-internals": "2.6.3", - "@apollo/query-planner": "2.6.3", + "@apollo/composition": "2.7.0", + "@apollo/federation-internals": "2.7.0", + "@apollo/query-planner": "2.7.0", "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.1.0", "@apollo/utils.createhash": "^2.0.0", @@ -125,7 +125,7 @@ }, "internals-js": { "name": "@apollo/federation-internals", - "version": "2.6.3", + "version": "2.7.0", "license": "Elastic-2.0", "dependencies": { "@types/uuid": "^9.0.0", @@ -17827,10 +17827,10 @@ }, "query-graphs-js": { "name": "@apollo/query-graphs", - "version": "2.6.3", + "version": "2.7.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.6.3", + "@apollo/federation-internals": "2.7.0", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" @@ -17844,11 +17844,11 @@ }, "query-planner-js": { "name": "@apollo/query-planner", - "version": "2.6.3", + "version": "2.7.0", "license": "Elastic-2.0", "dependencies": { - "@apollo/federation-internals": "2.6.3", - "@apollo/query-graphs": "2.6.3", + "@apollo/federation-internals": "2.7.0", + "@apollo/query-graphs": "2.7.0", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", @@ -17877,11 +17877,11 @@ }, "subgraph-js": { "name": "@apollo/subgraph", - "version": "2.6.3", + "version": "2.7.0", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.6.3" + "@apollo/federation-internals": "2.7.0" }, "engines": { "node": ">=14.15.0" diff --git a/query-graphs-js/CHANGELOG.md b/query-graphs-js/CHANGELOG.md index 4e0249e1b..c28f7d56c 100644 --- a/query-graphs-js/CHANGELOG.md +++ b/query-graphs-js/CHANGELOG.md @@ -1,5 +1,30 @@ # CHANGELOG for `@apollo/query-graphs` +## 2.7.0 + +### Minor Changes + +- Implement progressive `@override` functionality ([#2911](https://github.com/apollographql/federation/pull/2911)) + + The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. + + Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: + + ```graphql + type Query { + hello: String @override(from: "original", label: "percent(5)") + } + ``` + + The above example will override the root `hello` field from the "original" subgraph 5% of the time. + + More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). + +### Patch Changes + +- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]: + - @apollo/federation-internals@2.7.0 + ## 2.6.3 ### Patch Changes diff --git a/query-graphs-js/package.json b/query-graphs-js/package.json index 63dd04cdb..17c01e4d2 100644 --- a/query-graphs-js/package.json +++ b/query-graphs-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-graphs", - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Federation library to work with 'query graphs'", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -23,7 +23,7 @@ "node": ">=14.15.0" }, "dependencies": { - "@apollo/federation-internals": "2.6.3", + "@apollo/federation-internals": "2.7.0", "deep-equal": "^2.0.5", "ts-graphviz": "^1.5.4", "uuid": "^9.0.0" diff --git a/query-planner-js/CHANGELOG.md b/query-planner-js/CHANGELOG.md index 4f1feed49..94d3d59c9 100644 --- a/query-planner-js/CHANGELOG.md +++ b/query-planner-js/CHANGELOG.md @@ -1,5 +1,31 @@ # CHANGELOG for `@apollo/query-planner` +## 2.7.0 + +### Minor Changes + +- Implement progressive `@override` functionality ([#2911](https://github.com/apollographql/federation/pull/2911)) + + The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. + + Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: + + ```graphql + type Query { + hello: String @override(from: "original", label: "percent(5)") + } + ``` + + The above example will override the root `hello` field from the "original" subgraph 5% of the time. + + More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). + +### Patch Changes + +- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]: + - @apollo/query-graphs@2.7.0 + - @apollo/federation-internals@2.7.0 + ## 2.6.3 ### Patch Changes diff --git a/query-planner-js/package.json b/query-planner-js/package.json index 8f262e30b..3144957eb 100644 --- a/query-planner-js/package.json +++ b/query-planner-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/query-planner", - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Query Planner", "author": "Apollo ", "main": "dist/index.js", @@ -25,8 +25,8 @@ "access": "public" }, "dependencies": { - "@apollo/federation-internals": "2.6.3", - "@apollo/query-graphs": "2.6.3", + "@apollo/federation-internals": "2.7.0", + "@apollo/query-graphs": "2.7.0", "@apollo/utils.keyvaluecache": "^2.1.0", "chalk": "^4.1.0", "deep-equal": "^2.0.5", diff --git a/subgraph-js/CHANGELOG.md b/subgraph-js/CHANGELOG.md index c46bd6a1e..ab008a2fb 100644 --- a/subgraph-js/CHANGELOG.md +++ b/subgraph-js/CHANGELOG.md @@ -1,5 +1,30 @@ # CHANGELOG for `@apollo/subgraph` +## 2.7.0 + +### Minor Changes + +- Implement progressive `@override` functionality ([#2911](https://github.com/apollographql/federation/pull/2911)) + + The progressive `@override` feature brings a new argument to the `@override` directive: `label: String`. When a label is added to an `@override` application, the override becomes conditional, depending on parameters provided to the query planner (a set of which labels should be overridden). Note that this feature will be supported in router for enterprise users only. + + Out-of-the-box, the router will support a percentage-based use case for progressive `@override`. For example: + + ```graphql + type Query { + hello: String @override(from: "original", label: "percent(5)") + } + ``` + + The above example will override the root `hello` field from the "original" subgraph 5% of the time. + + More complex use cases will be supported by the router via the use of coprocessors/rhai to resolve arbitrary labels to true/false values (i.e. via a feature flag service). + +### Patch Changes + +- Updated dependencies [[`6ae42942b13dccd246ccc994faa2cb36cd62cb3c`](https://github.com/apollographql/federation/commit/6ae42942b13dccd246ccc994faa2cb36cd62cb3c), [`66833fb8d04c9376f6ed476fed6b1ca237f477b7`](https://github.com/apollographql/federation/commit/66833fb8d04c9376f6ed476fed6b1ca237f477b7), [`931f87c6766c7439936df706727cbdc0cd6bcfd8`](https://github.com/apollographql/federation/commit/931f87c6766c7439936df706727cbdc0cd6bcfd8)]: + - @apollo/federation-internals@2.7.0 + ## 2.6.3 ### Patch Changes diff --git a/subgraph-js/package.json b/subgraph-js/package.json index 1d8bd787a..10d320d7b 100644 --- a/subgraph-js/package.json +++ b/subgraph-js/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/subgraph", - "version": "2.6.3", + "version": "2.7.0", "description": "Apollo Subgraph Utilities", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -25,7 +25,7 @@ }, "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/federation-internals": "2.6.3" + "@apollo/federation-internals": "2.7.0" }, "peerDependencies": { "graphql": "^16.5.0"