Skip to content

Commit

Permalink
release: on branch main (#3131)
Browse files Browse the repository at this point in the history
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]

### Minor Changes

- Implements two new directives for defining custom costs for demand
control. The `@cost` directive allows setting a custom weight to a
particular field in the graph, overriding the default cost calculation.
The `@listSize` directive gives the cost calculator information about
how to estimate the size of lists returned by subgraphs. This can either
be a static size or a value derived from input arguments, such as paging
parameters.
([#3074](#3074))

### Patch Changes

- Reduce memory overhead during satisfiability checking when there are
many options.
([#3109](#3109))

- Updated dependencies
\[[`acfe3193429c7f99b4fc564b20828aaa8659a75c`](acfe319),
[`02c2a34a62c3717a4885449172e404f19ebf66c9`](02c2a34),
[`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](0ccfd93),
[`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](e0a5075)]:
    -   @apollo/[email protected]
    -   @apollo/[email protected]

## @apollo/[email protected]

### Minor Changes

- Implements two new directives for defining custom costs for demand
control. The `@cost` directive allows setting a custom weight to a
particular field in the graph, overriding the default cost calculation.
The `@listSize` directive gives the cost calculator information about
how to estimate the size of lists returned by subgraphs. This can either
be a static size or a value derived from input arguments, such as paging
parameters.
([#3074](#3074))

### Patch Changes

- Reduce memory overhead during satisfiability checking when there are
many options.
([#3109](#3109))

- Fix issue where variable was not passed into subgraph when embedded in
a fragment
([#3119](#3119))

## @apollo/[email protected]

### Patch Changes

- Avoid type explosion for inline fragments where the type condition is
an interface that implements the parent type.
([#3122](#3122))

- Reduce memory overhead during satisfiability checking when there are
many options.
([#3109](#3109))

- Updated dependencies
\[[`02c2a34a62c3717a4885449172e404f19ebf66c9`](02c2a34),
[`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](0ccfd93),
[`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](e0a5075)]:
    -   @apollo/[email protected]
    -   @apollo/[email protected]
    -   @apollo/[email protected]

## @apollo/[email protected]

### Patch Changes

- Avoid type explosion for inline fragments where the type condition is
an interface that implements the parent type.
([#3122](#3122))

- Updated dependencies
\[[`02c2a34a62c3717a4885449172e404f19ebf66c9`](02c2a34),
[`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](0ccfd93),
[`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](e0a5075)]:
    -   @apollo/[email protected]

## @apollo/[email protected]

### Patch Changes

- Fix issue where variable was not passed into subgraph when embedded in
a fragment
([#3119](#3119))

- Updated dependencies
\[[`acfe3193429c7f99b4fc564b20828aaa8659a75c`](acfe319),
[`02c2a34a62c3717a4885449172e404f19ebf66c9`](02c2a34),
[`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](0ccfd93),
[`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](e0a5075)]:
    -   @apollo/[email protected]
    -   @apollo/[email protected]

## @apollo/[email protected]

### Patch Changes

- Updated dependencies
\[[`02c2a34a62c3717a4885449172e404f19ebf66c9`](02c2a34),
[`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](0ccfd93),
[`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](e0a5075)]:
    -   @apollo/[email protected]

## [email protected]

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Aug 27, 2024
1 parent 9de2e2a commit 351f80c
Show file tree
Hide file tree
Showing 19 changed files with 101 additions and 59 deletions.
6 changes: 0 additions & 6 deletions .changeset/cuddly-badgers-sit.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/fast-points-wonder.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/happy-bats-exist.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/poor-seahorses-whisper.md

This file was deleted.

14 changes: 14 additions & 0 deletions composition-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
# CHANGELOG for `@apollo/composition`

## 2.9.0

### Minor Changes

- Implements two new directives for defining custom costs for demand control. The `@cost` directive allows setting a custom weight to a particular field in the graph, overriding the default cost calculation. The `@listSize` directive gives the cost calculator information about how to estimate the size of lists returned by subgraphs. This can either be a static size or a value derived from input arguments, such as paging parameters. ([#3074](https://github.com/apollographql/federation/pull/3074))

### Patch Changes

- Reduce memory overhead during satisfiability checking when there are many options. ([#3109](https://github.com/apollographql/federation/pull/3109))

- Updated dependencies [[`acfe3193429c7f99b4fc564b20828aaa8659a75c`](https://github.com/apollographql/federation/commit/acfe3193429c7f99b4fc564b20828aaa8659a75c), [`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]:
- @apollo/query-graphs@2.9.0
- @apollo/federation-internals@2.9.0

## 2.8.5

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions composition-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/composition",
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Federation composition utilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -27,8 +27,8 @@
"access": "public"
},
"dependencies": {
"@apollo/federation-internals": "2.8.5",
"@apollo/query-graphs": "2.8.5"
"@apollo/federation-internals": "2.9.0",
"@apollo/query-graphs": "2.9.0"
},
"peerDependencies": {
"graphql": "^16.5.0"
Expand Down
2 changes: 2 additions & 0 deletions federation-integration-testsuite-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# CHANGELOG for `federation-integration-testsuite-js`

## 2.9.0

## 2.8.5

## 2.8.4
Expand Down
2 changes: 1 addition & 1 deletion federation-integration-testsuite-js/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "apollo-federation-integration-testsuite",
"private": true,
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Federation Integrations / Test Fixtures",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
15 changes: 14 additions & 1 deletion gateway-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# CHANGELOG for `@apollo/gateway`

## 2.9.0

### Patch Changes

- Avoid type explosion for inline fragments where the type condition is an interface that implements the parent type. ([#3122](https://github.com/apollographql/federation/pull/3122))

- Reduce memory overhead during satisfiability checking when there are many options. ([#3109](https://github.com/apollographql/federation/pull/3109))

- Updated dependencies [[`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]:
- @apollo/federation-internals@2.9.0
- @apollo/composition@2.9.0
- @apollo/query-planner@2.9.0

## 2.8.5

## 🔒 Security
Expand All @@ -8,7 +21,7 @@

Correct a bug where complex queries can cause uncontrolled recursion due to failure to reduce the number of possible query plans (classified as [CWE-674](https://cwe.mitre.org/data/definitions/674.html)). ([#3128](https://github.com/apollographql/federation/pull/3128))

This weakness impacts all v2 versions of `@apollo/gateway` prior to this release. See the associated Github Advisory, [GHSA-fmj9-77q8-g6c4](https://github.com/apollographql/federation/security/advisories/GHSA-fmj9-77q8-g6c4), for more information.
This weakness impacts all v2 versions of `@apollo/gateway` prior to this release. See the associated Github Advisory, [GHSA-fmj9-77q8-g6c4](https://github.com/apollographql/federation/security/advisories/GHSA-fmj9-77q8-g6c4), for more information.

##

Expand Down
8 changes: 4 additions & 4 deletions gateway-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/gateway",
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Gateway",
"author": "Apollo <[email protected]>",
"main": "dist/index.js",
Expand All @@ -25,9 +25,9 @@
"access": "public"
},
"dependencies": {
"@apollo/composition": "2.8.5",
"@apollo/federation-internals": "2.8.5",
"@apollo/query-planner": "2.8.5",
"@apollo/composition": "2.9.0",
"@apollo/federation-internals": "2.9.0",
"@apollo/query-planner": "2.9.0",
"@apollo/server-gateway-interface": "^1.1.0",
"@apollo/usage-reporting-protobuf": "^4.1.0",
"@apollo/utils.createhash": "^2.0.0",
Expand Down
12 changes: 12 additions & 0 deletions internals-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# CHANGELOG for `@apollo/federation-internals`

## 2.9.0

### Minor Changes

- Implements two new directives for defining custom costs for demand control. The `@cost` directive allows setting a custom weight to a particular field in the graph, overriding the default cost calculation. The `@listSize` directive gives the cost calculator information about how to estimate the size of lists returned by subgraphs. This can either be a static size or a value derived from input arguments, such as paging parameters. ([#3074](https://github.com/apollographql/federation/pull/3074))

### Patch Changes

- Reduce memory overhead during satisfiability checking when there are many options. ([#3109](https://github.com/apollographql/federation/pull/3109))

- Fix issue where variable was not passed into subgraph when embedded in a fragment ([#3119](https://github.com/apollographql/federation/pull/3119))

## 2.8.5

## 2.8.4
Expand Down
2 changes: 1 addition & 1 deletion internals-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/federation-internals",
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Federation internal utilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
32 changes: 16 additions & 16 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions query-graphs-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# CHANGELOG for `@apollo/query-graphs`

## 2.9.0

### Patch Changes

- Avoid type explosion for inline fragments where the type condition is an interface that implements the parent type. ([#3122](https://github.com/apollographql/federation/pull/3122))

- Updated dependencies [[`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]:
- @apollo/federation-internals@2.9.0

## 2.8.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions query-graphs-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/query-graphs",
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Federation library to work with 'query graphs'",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -23,7 +23,7 @@
"node": ">=14.15.0"
},
"dependencies": {
"@apollo/federation-internals": "2.8.5",
"@apollo/federation-internals": "2.9.0",
"deep-equal": "^2.0.5",
"ts-graphviz": "^1.5.4",
"uuid": "^9.0.0"
Expand Down
12 changes: 11 additions & 1 deletion query-planner-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# CHANGELOG for `@apollo/query-planner`

## 2.9.0

### Patch Changes

- Fix issue where variable was not passed into subgraph when embedded in a fragment ([#3119](https://github.com/apollographql/federation/pull/3119))

- Updated dependencies [[`acfe3193429c7f99b4fc564b20828aaa8659a75c`](https://github.com/apollographql/federation/commit/acfe3193429c7f99b4fc564b20828aaa8659a75c), [`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]:
- @apollo/query-graphs@2.9.0
- @apollo/federation-internals@2.9.0

## 2.8.5

## 🔒 Security
Expand All @@ -8,7 +18,7 @@

Correct a bug where complex queries can cause uncontrolled recursion due to failure to reduce the number of possible query plans (classified as [CWE-674](https://cwe.mitre.org/data/definitions/674.html)). ([#3128](https://github.com/apollographql/federation/pull/3128))

This weakness impacts all v2 versions of `@apollo/query-planner` prior to this release. See the associated Github Advisory, [GHSA-fmj9-77q8-g6c4](https://github.com/apollographql/federation/security/advisories/GHSA-fmj9-77q8-g6c4), for more information.
This weakness impacts all v2 versions of `@apollo/query-planner` prior to this release. See the associated Github Advisory, [GHSA-fmj9-77q8-g6c4](https://github.com/apollographql/federation/security/advisories/GHSA-fmj9-77q8-g6c4), for more information.

##

Expand Down
6 changes: 3 additions & 3 deletions query-planner-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/query-planner",
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Query Planner",
"author": "Apollo <[email protected]>",
"main": "dist/index.js",
Expand All @@ -25,8 +25,8 @@
"access": "public"
},
"dependencies": {
"@apollo/federation-internals": "2.8.5",
"@apollo/query-graphs": "2.8.5",
"@apollo/federation-internals": "2.9.0",
"@apollo/query-graphs": "2.9.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"chalk": "^4.1.0",
"deep-equal": "^2.0.5",
Expand Down
7 changes: 7 additions & 0 deletions subgraph-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# CHANGELOG for `@apollo/subgraph`

## 2.9.0

### Patch Changes

- Updated dependencies [[`02c2a34a62c3717a4885449172e404f19ebf66c9`](https://github.com/apollographql/federation/commit/02c2a34a62c3717a4885449172e404f19ebf66c9), [`0ccfd937d4b4a576f890665ceebbd7986fac5d0c`](https://github.com/apollographql/federation/commit/0ccfd937d4b4a576f890665ceebbd7986fac5d0c), [`e0a5075c0d12a0e2f7ef303b246e3216a139d3e0`](https://github.com/apollographql/federation/commit/e0a5075c0d12a0e2f7ef303b246e3216a139d3e0)]:
- @apollo/federation-internals@2.9.0

## 2.8.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions subgraph-js/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apollo/subgraph",
"version": "2.8.5",
"version": "2.9.0",
"description": "Apollo Subgraph Utilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand All @@ -25,7 +25,7 @@
},
"dependencies": {
"@apollo/cache-control-types": "^1.0.2",
"@apollo/federation-internals": "2.8.5"
"@apollo/federation-internals": "2.9.0"
},
"peerDependencies": {
"graphql": "^16.5.0"
Expand Down

0 comments on commit 351f80c

Please sign in to comment.