Skip to content

Commit 621167b

Browse files
Version Packages (#7780)
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 - [#7786](#7786) [`869ec98`](869ec98) Thanks [@ganemone](https://github.com/ganemone)! - Restore missing v1 `skipValidation` option as `dangerouslyDisableValidation`. Note that enabling this option exposes your server to potential security and unexpected runtime issues. Apollo will not support issues that arise as a result of using this option. ### Patch Changes - [#7740](#7740) [`fe68c1b`](fe68c1b) Thanks [@barnisanov](https://github.com/barnisanov)! - Uninstalled `body-parser` and used `express` built-in `body-parser` functionality instead(mainly the json middleware) - Updated dependencies \[[`869ec98`](869ec98), [`9bd7748`](9bd7748), [`63dc50f`](63dc50f), [`fe68c1b`](fe68c1b), [`e9a0d6e`](e9a0d6e)]: - @apollo/[email protected] ## @apollo/[email protected] ### Minor Changes - [#7786](#7786) [`869ec98`](869ec98) Thanks [@ganemone](https://github.com/ganemone)! - Restore missing v1 `skipValidation` option as `dangerouslyDisableValidation`. Note that enabling this option exposes your server to potential security and unexpected runtime issues. Apollo will not support issues that arise as a result of using this option. - [#7803](#7803) [`e9a0d6e`](e9a0d6e) Thanks [@favna](https://github.com/favna)! - allow `stringifyResult` to return a `Promise<string>` Users who implemented the `stringifyResult` hook can now expect error responses to be formatted with the hook as well. Please take care when updating to this version to ensure this is the desired behavior, or implement the desired behavior accordingly in your `stringifyResult` hook. This was considered a non-breaking change as we consider that it was an oversight in the original PR that introduced `stringifyResult` hook. ### Patch Changes - [#7793](#7793) [`9bd7748`](9bd7748) Thanks [@bnjjj](https://github.com/bnjjj)! - General availability of subscription callback protocol - [#7799](#7799) [`63dc50f`](63dc50f) Thanks [@stijnbe](https://github.com/stijnbe)! - Fix type of ApolloServerPluginUsageReporting reportTimer - [#7740](#7740) [`fe68c1b`](fe68c1b) Thanks [@barnisanov](https://github.com/barnisanov)! - Uninstalled `body-parser` and used `express` built-in `body-parser` functionality instead(mainly the json middleware) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent b8e1485 commit 621167b

File tree

11 files changed

+40
-40
lines changed

11 files changed

+40
-40
lines changed

.changeset/blue-laws-grab.md

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

.changeset/cuddly-gorillas-rescue.md

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

.changeset/fair-squids-unite.md

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

.changeset/honest-kangaroos-appear.md

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

.changeset/thirty-hairs-change.md

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

.changeset/twenty-ads-help.md

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

package-lock.json

Lines changed: 4 additions & 4 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: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# @apollo/server-integration-testsuite
22

3+
## 4.10.0
4+
5+
### Minor Changes
6+
7+
- [#7786](https://github.com/apollographql/apollo-server/pull/7786) [`869ec98`](https://github.com/apollographql/apollo-server/commit/869ec980458df3b22dcc2ed128cedc9d3a85c54b) Thanks [@ganemone](https://github.com/ganemone)! - Restore missing v1 `skipValidation` option as `dangerouslyDisableValidation`. Note that enabling this option exposes your server to potential security and unexpected runtime issues. Apollo will not support issues that arise as a result of using this option.
8+
9+
### Patch Changes
10+
11+
- [#7740](https://github.com/apollographql/apollo-server/pull/7740) [`fe68c1b`](https://github.com/apollographql/apollo-server/commit/fe68c1b05323931d766a5e081061b70e305ac67e) Thanks [@barnisanov](https://github.com/barnisanov)! - Uninstalled `body-parser` and used `express` built-in `body-parser` functionality instead(mainly the json middleware)
12+
13+
- Updated dependencies [[`869ec98`](https://github.com/apollographql/apollo-server/commit/869ec980458df3b22dcc2ed128cedc9d3a85c54b), [`9bd7748`](https://github.com/apollographql/apollo-server/commit/9bd7748565735e3e01cdce38674dbc7dcc44507b), [`63dc50f`](https://github.com/apollographql/apollo-server/commit/63dc50fc65cd7b4a9df0e1de4ab6d6ee82dbeb5c), [`fe68c1b`](https://github.com/apollographql/apollo-server/commit/fe68c1b05323931d766a5e081061b70e305ac67e), [`e9a0d6e`](https://github.com/apollographql/apollo-server/commit/e9a0d6ed035d1a4f509ce39f0558dc17dfb9ccd0)]:
14+
- @apollo/server@4.10.0
15+
316
## 4.9.5
417

518
### 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": "4.9.5",
3+
"version": "4.10.0",
44
"description": "Test suite for Apollo Server integrations",
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
@@ -28,7 +28,7 @@
2828
"dependencies": {
2929
"@apollo/cache-control-types": "^1.0.3",
3030
"@apollo/client": "^3.6.9",
31-
"@apollo/server": "4.9.5",
31+
"@apollo/server": "4.10.0",
3232
"@apollo/usage-reporting-protobuf": "^4.1.1",
3333
"@apollo/utils.createhash": "^2.0.0",
3434
"@apollo/utils.keyvaluecache": "^2.1.0",

packages/server/CHANGELOG.md

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

3+
## 4.10.0
4+
5+
### Minor Changes
6+
7+
- [#7786](https://github.com/apollographql/apollo-server/pull/7786) [`869ec98`](https://github.com/apollographql/apollo-server/commit/869ec980458df3b22dcc2ed128cedc9d3a85c54b) Thanks [@ganemone](https://github.com/ganemone)! - Restore missing v1 `skipValidation` option as `dangerouslyDisableValidation`. Note that enabling this option exposes your server to potential security and unexpected runtime issues. Apollo will not support issues that arise as a result of using this option.
8+
9+
- [#7803](https://github.com/apollographql/apollo-server/pull/7803) [`e9a0d6e`](https://github.com/apollographql/apollo-server/commit/e9a0d6ed035d1a4f509ce39f0558dc17dfb9ccd0) Thanks [@favna](https://github.com/favna)! - allow `stringifyResult` to return a `Promise<string>`
10+
11+
Users who implemented the `stringifyResult` hook can now expect error responses to be formatted with the hook as well. Please take care when updating to this version to ensure this is the desired behavior, or implement the desired behavior accordingly in your `stringifyResult` hook. This was considered a non-breaking change as we consider that it was an oversight in the original PR that introduced `stringifyResult` hook.
12+
13+
### Patch Changes
14+
15+
- [#7793](https://github.com/apollographql/apollo-server/pull/7793) [`9bd7748`](https://github.com/apollographql/apollo-server/commit/9bd7748565735e3e01cdce38674dbc7dcc44507b) Thanks [@bnjjj](https://github.com/bnjjj)! - General availability of subscription callback protocol
16+
17+
- [#7799](https://github.com/apollographql/apollo-server/pull/7799) [`63dc50f`](https://github.com/apollographql/apollo-server/commit/63dc50fc65cd7b4a9df0e1de4ab6d6ee82dbeb5c) Thanks [@stijnbe](https://github.com/stijnbe)! - Fix type of ApolloServerPluginUsageReporting reportTimer
18+
19+
- [#7740](https://github.com/apollographql/apollo-server/pull/7740) [`fe68c1b`](https://github.com/apollographql/apollo-server/commit/fe68c1b05323931d766a5e081061b70e305ac67e) Thanks [@barnisanov](https://github.com/barnisanov)! - Uninstalled `body-parser` and used `express` built-in `body-parser` functionality instead(mainly the json middleware)
20+
321
## 4.9.5
422

523
### Patch Changes
@@ -62,8 +80,8 @@
6280
You can enable callback subscriptions like so:
6381

6482
```ts
65-
import { ApolloServerPluginSubscriptionCallback } from '@apollo/server/plugin/subscriptionCallback';
66-
import { ApolloServer } from '@apollo/server';
83+
import { ApolloServerPluginSubscriptionCallback } from "@apollo/server/plugin/subscriptionCallback";
84+
import { ApolloServer } from "@apollo/server";
6785

6886
const server = new ApolloServer({
6987
// ...

0 commit comments

Comments
 (0)