Skip to content

Commit ad94371

Browse files
release: on branch main (#3153)
This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`2192f355f50db33fe0807d16153f357696b9f190`](2192f35), [`e1e2605b30efc488b57f62ba43436606a38a3607`](e1e2605), [`5ac01b534318105e904c1e6598070f753add3bb1`](5ac01b5)]: - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`2192f355f50db33fe0807d16153f357696b9f190`](2192f35), [`e1e2605b30efc488b57f62ba43436606a38a3607`](e1e2605), [`5ac01b534318105e904c1e6598070f753add3bb1`](5ac01b5)]: - @apollo/[email protected] - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Fixes handling of a `__typename` selection during query planning process. ([#3156](#3156)) When expanding fragments we were keeping references to the same `Field`s regardless where those fragments appeared in our original selection set. This was generally fine as in most cases we would have same inline fragment selection sets across whole operation but was causing problems when we were applying another optimization by collapsing those expanded inline fragments creating a new selection set. As a result, if any single field selection (within that fragment) would perform optimization around the usage of `__typename`, ALL occurrences of that field selection would get that optimization as well. - Add validations for demand control directive applications ([#3148](#3148)) ## @apollo/[email protected] ### Patch Changes - Fixes issue where contextual parameters can have naming collisions if used in multiple subgraphs ([#3155](#3155)) - Updated dependencies \[[`2192f355f50db33fe0807d16153f357696b9f190`](2192f35), [`5ac01b534318105e904c1e6598070f753add3bb1`](5ac01b5)]: - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Fixes handling of a `__typename` selection during query planning process. ([#3156](#3156)) When expanding fragments we were keeping references to the same `Field`s regardless where those fragments appeared in our original selection set. This was generally fine as in most cases we would have same inline fragment selection sets across whole operation but was causing problems when we were applying another optimization by collapsing those expanded inline fragments creating a new selection set. As a result, if any single field selection (within that fragment) would perform optimization around the usage of `__typename`, ALL occurrences of that field selection would get that optimization as well. - Fixes issue where contextual parameters can have naming collisions if used in multiple subgraphs ([#3155](#3155)) - Updated dependencies \[[`2192f355f50db33fe0807d16153f357696b9f190`](2192f35), [`e1e2605b30efc488b57f62ba43436606a38a3607`](e1e2605), [`5ac01b534318105e904c1e6598070f753add3bb1`](5ac01b5)]: - @apollo/[email protected] - @apollo/[email protected] ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`2192f355f50db33fe0807d16153f357696b9f190`](2192f35), [`5ac01b534318105e904c1e6598070f753add3bb1`](5ac01b5)]: - @apollo/[email protected] ## [email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 2192f35 commit ad94371

File tree

18 files changed

+91
-51
lines changed

18 files changed

+91
-51
lines changed

.changeset/shaggy-phones-know.md

-8
This file was deleted.

.changeset/tame-paws-return.md

-6
This file was deleted.

.changeset/tidy-trees-dress.md

-5
This file was deleted.

composition-js/CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# CHANGELOG for `@apollo/composition`
22

3+
## 2.9.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`2192f355f50db33fe0807d16153f357696b9f190`](https://github.com/apollographql/federation/commit/2192f355f50db33fe0807d16153f357696b9f190), [`e1e2605b30efc488b57f62ba43436606a38a3607`](https://github.com/apollographql/federation/commit/e1e2605b30efc488b57f62ba43436606a38a3607), [`5ac01b534318105e904c1e6598070f753add3bb1`](https://github.com/apollographql/federation/commit/5ac01b534318105e904c1e6598070f753add3bb1)]:
8+
- @apollo/federation-internals@2.9.2
9+
- @apollo/query-graphs@2.9.2
10+
311
## 2.9.1
412

513
### Patch Changes

composition-js/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/composition",
3-
"version": "2.9.1",
3+
"version": "2.9.2",
44
"description": "Apollo Federation composition utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -27,8 +27,8 @@
2727
"access": "public"
2828
},
2929
"dependencies": {
30-
"@apollo/federation-internals": "2.9.1",
31-
"@apollo/query-graphs": "2.9.1"
30+
"@apollo/federation-internals": "2.9.2",
31+
"@apollo/query-graphs": "2.9.2"
3232
},
3333
"peerDependencies": {
3434
"graphql": "^16.5.0"

federation-integration-testsuite-js/CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CHANGELOG for `federation-integration-testsuite-js`
22

3+
## 2.9.2
4+
35
## 2.9.1
46

57
## 2.9.0

federation-integration-testsuite-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "apollo-federation-integration-testsuite",
33
"private": true,
4-
"version": "2.9.1",
4+
"version": "2.9.2",
55
"description": "Apollo Federation Integrations / Test Fixtures",
66
"main": "dist/index.js",
77
"types": "dist/index.d.ts",

gateway-js/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG for `@apollo/gateway`
22

3+
## 2.9.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`2192f355f50db33fe0807d16153f357696b9f190`](https://github.com/apollographql/federation/commit/2192f355f50db33fe0807d16153f357696b9f190), [`e1e2605b30efc488b57f62ba43436606a38a3607`](https://github.com/apollographql/federation/commit/e1e2605b30efc488b57f62ba43436606a38a3607), [`5ac01b534318105e904c1e6598070f753add3bb1`](https://github.com/apollographql/federation/commit/5ac01b534318105e904c1e6598070f753add3bb1)]:
8+
- @apollo/query-planner@2.9.2
9+
- @apollo/federation-internals@2.9.2
10+
- @apollo/composition@2.9.2
11+
312
## 2.9.1
413

514
### Patch Changes

gateway-js/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/gateway",
3-
"version": "2.9.1",
3+
"version": "2.9.2",
44
"description": "Apollo Gateway",
55
"author": "Apollo <[email protected]>",
66
"main": "dist/index.js",
@@ -25,9 +25,9 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@apollo/composition": "2.9.1",
29-
"@apollo/federation-internals": "2.9.1",
30-
"@apollo/query-planner": "2.9.1",
28+
"@apollo/composition": "2.9.2",
29+
"@apollo/federation-internals": "2.9.2",
30+
"@apollo/query-planner": "2.9.2",
3131
"@apollo/server-gateway-interface": "^1.1.0",
3232
"@apollo/usage-reporting-protobuf": "^4.1.0",
3333
"@apollo/utils.createhash": "^2.0.0",

internals-js/CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# CHANGELOG for `@apollo/federation-internals`
22

3+
## 2.9.2
4+
5+
### Patch Changes
6+
7+
- Fixes handling of a `__typename` selection during query planning process. ([#3156](https://github.com/apollographql/federation/pull/3156))
8+
9+
When expanding fragments we were keeping references to the same `Field`s regardless where those fragments appeared in our original selection set. This was generally fine as in most cases we would have same inline fragment selection sets across whole operation but was causing problems when we were applying another optimization by collapsing those expanded inline fragments creating a new selection set. As a result, if any single field selection (within that fragment) would perform optimization around the usage of `__typename`, ALL occurrences of that field selection would get that optimization as well.
10+
11+
- Add validations for demand control directive applications ([#3148](https://github.com/apollographql/federation/pull/3148))
12+
313
## 2.9.1
414

515
### Patch Changes

internals-js/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/federation-internals",
3-
"version": "2.9.1",
3+
"version": "2.9.2",
44
"description": "Apollo Federation internal utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",

package-lock.json

+16-16
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

query-graphs-js/CHANGELOG.md

+9
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# CHANGELOG for `@apollo/query-graphs`
22

3+
## 2.9.2
4+
5+
### Patch Changes
6+
7+
- Fixes issue where contextual parameters can have naming collisions if used in multiple subgraphs ([#3155](https://github.com/apollographql/federation/pull/3155))
8+
9+
- Updated dependencies [[`2192f355f50db33fe0807d16153f357696b9f190`](https://github.com/apollographql/federation/commit/2192f355f50db33fe0807d16153f357696b9f190), [`5ac01b534318105e904c1e6598070f753add3bb1`](https://github.com/apollographql/federation/commit/5ac01b534318105e904c1e6598070f753add3bb1)]:
10+
- @apollo/federation-internals@2.9.2
11+
312
## 2.9.1
413

514
### Patch Changes

query-graphs-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/query-graphs",
3-
"version": "2.9.1",
3+
"version": "2.9.2",
44
"description": "Apollo Federation library to work with 'query graphs'",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
2323
"node": ">=14.15.0"
2424
},
2525
"dependencies": {
26-
"@apollo/federation-internals": "2.9.1",
26+
"@apollo/federation-internals": "2.9.2",
2727
"deep-equal": "^2.0.5",
2828
"ts-graphviz": "^1.5.4",
2929
"uuid": "^9.0.0"

query-planner-js/CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# CHANGELOG for `@apollo/query-planner`
22

3+
## 2.9.2
4+
5+
### Patch Changes
6+
7+
- Fixes handling of a `__typename` selection during query planning process. ([#3156](https://github.com/apollographql/federation/pull/3156))
8+
9+
When expanding fragments we were keeping references to the same `Field`s regardless where those fragments appeared in our original selection set. This was generally fine as in most cases we would have same inline fragment selection sets across whole operation but was causing problems when we were applying another optimization by collapsing those expanded inline fragments creating a new selection set. As a result, if any single field selection (within that fragment) would perform optimization around the usage of `__typename`, ALL occurrences of that field selection would get that optimization as well.
10+
11+
- Fixes issue where contextual parameters can have naming collisions if used in multiple subgraphs ([#3155](https://github.com/apollographql/federation/pull/3155))
12+
13+
- Updated dependencies [[`2192f355f50db33fe0807d16153f357696b9f190`](https://github.com/apollographql/federation/commit/2192f355f50db33fe0807d16153f357696b9f190), [`e1e2605b30efc488b57f62ba43436606a38a3607`](https://github.com/apollographql/federation/commit/e1e2605b30efc488b57f62ba43436606a38a3607), [`5ac01b534318105e904c1e6598070f753add3bb1`](https://github.com/apollographql/federation/commit/5ac01b534318105e904c1e6598070f753add3bb1)]:
14+
- @apollo/federation-internals@2.9.2
15+
- @apollo/query-graphs@2.9.2
16+
317
## 2.9.1
418

519
### Patch Changes

query-planner-js/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/query-planner",
3-
"version": "2.9.1",
3+
"version": "2.9.2",
44
"description": "Apollo Query Planner",
55
"author": "Apollo <[email protected]>",
66
"main": "dist/index.js",
@@ -25,8 +25,8 @@
2525
"access": "public"
2626
},
2727
"dependencies": {
28-
"@apollo/federation-internals": "2.9.1",
29-
"@apollo/query-graphs": "2.9.1",
28+
"@apollo/federation-internals": "2.9.2",
29+
"@apollo/query-graphs": "2.9.2",
3030
"@apollo/utils.keyvaluecache": "^2.1.0",
3131
"chalk": "^4.1.0",
3232
"deep-equal": "^2.0.5",

subgraph-js/CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# CHANGELOG for `@apollo/subgraph`
22

3+
## 2.9.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`2192f355f50db33fe0807d16153f357696b9f190`](https://github.com/apollographql/federation/commit/2192f355f50db33fe0807d16153f357696b9f190), [`5ac01b534318105e904c1e6598070f753add3bb1`](https://github.com/apollographql/federation/commit/5ac01b534318105e904c1e6598070f753add3bb1)]:
8+
- @apollo/federation-internals@2.9.2
9+
310
## 2.9.1
411

512
### Patch Changes

subgraph-js/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/subgraph",
3-
"version": "2.9.1",
3+
"version": "2.9.2",
44
"description": "Apollo Subgraph Utilities",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
2525
},
2626
"dependencies": {
2727
"@apollo/cache-control-types": "^1.0.2",
28-
"@apollo/federation-internals": "2.9.1"
28+
"@apollo/federation-internals": "2.9.2"
2929
},
3030
"peerDependencies": {
3131
"graphql": "^16.5.0"

0 commit comments

Comments
 (0)