Skip to content

Commit

Permalink
Version Packages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Mar 17, 2023
1 parent 3860ee8 commit fd15550
Show file tree
Hide file tree
Showing 25 changed files with 215 additions and 163 deletions.
6 changes: 0 additions & 6 deletions .changeset/chilled-falcons-wait.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/curvy-balloons-flash.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/dirty-phones-refuse.md

This file was deleted.

38 changes: 0 additions & 38 deletions .changeset/forty-gifts-burn.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/forty-hairs-flow.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/old-humans-try.md

This file was deleted.

21 changes: 0 additions & 21 deletions .changeset/pre.json

This file was deleted.

9 changes: 0 additions & 9 deletions .changeset/shaggy-knives-exercise.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/thin-weeks-refuse.md

This file was deleted.

12 changes: 0 additions & 12 deletions .changeset/twenty-shirts-battle.md

This file was deleted.

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

## 2.4.0
### Minor Changes


- Addition of new query planner node types to enable federated subscriptions support ([#2389](https://github.com/apollographql/federation/pull/2389))


### Patch Changes


- Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and ([#2387](https://github.com/apollographql/federation/pull/2387))
improve query plan generation performance in many cases.

- Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs ([#2449](https://github.com/apollographql/federation/pull/2449))

- Updated dependencies [[`260c357c`](https://github.com/apollographql/federation/commit/260c357c10b4cf560c66d11f85552036c2638b0b), [`7bc0f8e8`](https://github.com/apollographql/federation/commit/7bc0f8e814ea003802ed3761b5eeeb7137650b0c), [`1a555d98`](https://github.com/apollographql/federation/commit/1a555d98f2030814ebd5074269d035b7f298f71e), [`cab383b2`](https://github.com/apollographql/federation/commit/cab383b22d37bb6bc687b4d8cec6f5c22245f41f)]:
- @apollo/federation-internals@2.4.0
- @apollo/query-graphs@2.4.0

## 2.4.0-alpha.1
### 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.4.0-alpha.1",
"version": "2.4.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.4.0-alpha.1",
"@apollo/query-graphs": "2.4.0-alpha.1"
"@apollo/federation-internals": "2.4.0",
"@apollo/query-graphs": "2.4.0"
},
"peerDependencies": {
"graphql": "^16.5.0"
Expand Down
6 changes: 6 additions & 0 deletions federation-integration-testsuite-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG for `federation-integration-testsuite-js`

## 2.4.0
### Patch Changes


- Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs ([#2449](https://github.com/apollographql/federation/pull/2449))

## 2.4.0-alpha.1

## 2.4.0-alpha.0
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.4.0-alpha.1",
"version": "2.4.0",
"description": "Apollo Federation Integrations / Test Fixtures",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
54 changes: 54 additions & 0 deletions gateway-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,59 @@
# CHANGELOG for `@apollo/gateway`

## 2.4.0
### Minor Changes


- This change introduces a configurable query plan cache. This option allows ([#2385](https://github.com/apollographql/federation/pull/2385))
developers to provide their own query plan cache like so:

```
new ApolloGateway({
queryPlannerConfig: {
cache: new MyCustomQueryPlanCache(),
},
});
```

The current default implementation is effectively as follows:
```
import { InMemoryLRUCache } from "@apollo/utils.keyvaluecache";
const cache = new InMemoryLRUCache<string>({
maxSize: Math.pow(2, 20) * 30,
sizeCalculation<T>(obj: T): number {
return Buffer.byteLength(JSON.stringify(obj), "utf8");
},
});
```

TypeScript users should implement the `QueryPlanCache` type which is now
exported by `@apollo/query-planner`:
```
import { QueryPlanCache } from '@apollo/query-planner';
class MyCustomQueryPlanCache implements QueryPlanCache {
// ...
}
```

- Adds debug/testing query planner options (`debug.bypassPlannerForSingleSubgraph`) to bypass the query planning ([#2441](https://github.com/apollographql/federation/pull/2441))
process for federated supergraph having only a single subgraph. The option is disabled by default, is not recommended
for production, and is not supported (it may be removed later). It is meant for debugging/testing purposes.

### Patch Changes


- Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and ([#2387](https://github.com/apollographql/federation/pull/2387))
improve query plan generation performance in many cases.

- Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs ([#2449](https://github.com/apollographql/federation/pull/2449))

- Updated dependencies [[`260c357c`](https://github.com/apollographql/federation/commit/260c357c10b4cf560c66d11f85552036c2638b0b), [`7bc0f8e8`](https://github.com/apollographql/federation/commit/7bc0f8e814ea003802ed3761b5eeeb7137650b0c), [`d4426ff9`](https://github.com/apollographql/federation/commit/d4426ff9ea86273c145351f80d8d18eb56ebab38), [`a9385bdb`](https://github.com/apollographql/federation/commit/a9385bdb0d6f5e9b03f9c143bbc7f34e5b5bf166), [`1a555d98`](https://github.com/apollographql/federation/commit/1a555d98f2030814ebd5074269d035b7f298f71e), [`ade7ceb8`](https://github.com/apollographql/federation/commit/ade7ceb8093f3c6ad01362d4aec4d806bff4e4fd), [`09382e74`](https://github.com/apollographql/federation/commit/09382e74adf4648582c0bbd135fe433a9853c835), [`cab383b2`](https://github.com/apollographql/federation/commit/cab383b22d37bb6bc687b4d8cec6f5c22245f41f)]:
- @apollo/composition@2.4.0
- @apollo/federation-internals@2.4.0
- @apollo/query-planner@2.4.0

## 2.4.0-alpha.1
### Patch Changes

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.4.0-alpha.1",
"version": "2.4.0",
"description": "Apollo Gateway",
"author": "Apollo <[email protected]>",
"main": "dist/index.js",
Expand All @@ -25,9 +25,9 @@
"access": "public"
},
"dependencies": {
"@apollo/composition": "2.4.0-alpha.1",
"@apollo/federation-internals": "2.4.0-alpha.1",
"@apollo/query-planner": "2.4.0-alpha.1",
"@apollo/composition": "2.4.0",
"@apollo/federation-internals": "2.4.0",
"@apollo/query-planner": "2.4.0",
"@apollo/server-gateway-interface": "^1.1.0",
"@apollo/usage-reporting-protobuf": "^4.1.0",
"@apollo/utils.createhash": "^2.0.0",
Expand Down
15 changes: 15 additions & 0 deletions internals-js/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,20 @@
# CHANGELOG for `@apollo/federation-internals`

## 2.4.0
### Patch Changes


- Refactor the internal implementation of selection sets used by the query planner to decrease the code complexity and ([#2387](https://github.com/apollographql/federation/pull/2387))
improve query plan generation performance in many cases.

- Revert #2293. Removing URL import causes a problem when running under deno. ([#2451](https://github.com/apollographql/federation/pull/2451))


- Use globally available URL object instead of node builtin "url" module ([#2293](https://github.com/apollographql/federation/pull/2293))


- Optimises query plan generation for parts of queries that can statically be known to not cross across subgraphs ([#2449](https://github.com/apollographql/federation/pull/2449))

## 2.4.0-alpha.1
### Patch Changes

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.4.0-alpha.1",
"version": "2.4.0",
"description": "Apollo Federation internal utilities",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
Loading

0 comments on commit fd15550

Please sign in to comment.