Skip to content

Commit 7be3686

Browse files
Version Packages (#8163)
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 - [#8161](#8161) [`51acbeb`](51acbeb) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix an issue where some bundlers would fail to build because of the dynamic import for the optional peer dependency on `@yaacovcr/transform` introduced in `@apollo/server` 5.1.0. To provide support for the legacy incremental format, you must now provide the `legacyExperimentalExecuteIncrementally` option to the `ApolloServer` constructor. ```ts import { legacyExecuteIncrementally } from '@yaacovcr/transform'; const server = new ApolloServer({ // ... legacyExperimentalExecuteIncrementally: legacyExecuteIncrementally, }); ``` If the `legacyExperimentalExecuteIncrementally` option is not provided and the client sends an `Accept` header with a value of `multipart/mixed; deferSpec=20220824`, an error is returned by the server. ## @apollo/[email protected] ### Patch Changes - Updated dependencies \[[`51acbeb`](51acbeb)]: - @apollo/[email protected] Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 51acbeb commit 7be3686

File tree

6 files changed

+30
-22
lines changed

6 files changed

+30
-22
lines changed

.changeset/chatty-states-write.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/integration-testsuite/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @apollo/server-integration-testsuite
22

3+
## 5.2.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`51acbeb`](https://github.com/apollographql/apollo-server/commit/51acbebde7cc2759efacaa9eccb10aa3fee6b368)]:
8+
- @apollo/server@5.2.0
9+
310
## 5.1.0
411

512
### Patch Changes

packages/integration-testsuite/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/server-integration-testsuite",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"description": "Test suite for Apollo Server integrations",
55
"main": "dist/cjs/index.js",
66
"module": "dist/esm/index.js",
@@ -39,7 +39,7 @@
3939
"dependencies": {
4040
"@apollo/cache-control-types": "^1.0.3",
4141
"@apollo/client": "^3.6.9",
42-
"@apollo/server": "5.1.0",
42+
"@apollo/server": "5.2.0",
4343
"@apollo/usage-reporting-protobuf": "^4.1.1",
4444
"@apollo/utils.createhash": "^3.0.0",
4545
"@apollo/utils.keyvaluecache": "^4.0.0",

packages/server/CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# @apollo/server
22

3+
## 5.2.0
4+
5+
### Minor Changes
6+
7+
- [#8161](https://github.com/apollographql/apollo-server/pull/8161) [`51acbeb`](https://github.com/apollographql/apollo-server/commit/51acbebde7cc2759efacaa9eccb10aa3fee6b368) Thanks [@jerelmiller](https://github.com/jerelmiller)! - Fix an issue where some bundlers would fail to build because of the dynamic import for the optional peer dependency on `@yaacovcr/transform` introduced in `@apollo/server` 5.1.0. To provide support for the legacy incremental format, you must now provide the `legacyExperimentalExecuteIncrementally` option to the `ApolloServer` constructor.
8+
9+
```ts
10+
import { legacyExecuteIncrementally } from '@yaacovcr/transform';
11+
12+
const server = new ApolloServer({
13+
// ...
14+
legacyExperimentalExecuteIncrementally: legacyExecuteIncrementally,
15+
});
16+
```
17+
18+
If the `legacyExperimentalExecuteIncrementally` option is not provided and the client sends an `Accept` header with a value of `multipart/mixed; deferSpec=20220824`, an error is returned by the server.
19+
320
## 5.1.0
421

522
### Minor Changes

packages/server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@apollo/server",
3-
"version": "5.1.0",
3+
"version": "5.2.0",
44
"description": "Core engine for Apollo GraphQL server",
55
"type": "module",
66
"main": "dist/cjs/index.js",

0 commit comments

Comments
 (0)