Skip to content

Commit 9139a28

Browse files
Version Packages (#7635)
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 - [#7634](#7634) [`f8a8ea08f`](f8a8ea0) Thanks [@dfperry5](https://github.com/dfperry5)! - Updating the ApolloServer constructor to take in a stringifyResult function that will allow a consumer to pass in a function that formats the result of an http query. Usage: ```ts const server = new ApolloServer({ typeDefs, resolvers, stringifyResult: (value: FormattedExecutionResult) => { return JSON.stringify(value, null, 2); }, }); ``` ## @apollo/[email protected] ### Patch Changes - [#7649](#7649) [`d33acdfdd`](d33acdf) Thanks [@mastrzyz](https://github.com/mastrzyz)! - Add missing `supertest` dependency - [#7632](#7632) [`64f8177ab`](64f8177) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency - Updated dependencies \[[`f8a8ea08f`](f8a8ea0)]: - @apollo/[email protected] Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent d33acdf commit 9139a28

File tree

8 files changed

+36
-34
lines changed

8 files changed

+36
-34
lines changed

.changeset/lucky-experts-cheat.md

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

.changeset/pink-jobs-accept.md

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

.changeset/tough-gorillas-visit.md

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

3+
## 4.8.0
4+
5+
### Patch Changes
6+
7+
- [#7649](https://github.com/apollographql/apollo-server/pull/7649) [`d33acdfdd`](https://github.com/apollographql/apollo-server/commit/d33acdfddd525c2cb1d5d5810a98e02fb917ac9f) Thanks [@mastrzyz](https://github.com/mastrzyz)! - Add missing `supertest` dependency
8+
9+
- [#7632](https://github.com/apollographql/apollo-server/pull/7632) [`64f8177ab`](https://github.com/apollographql/apollo-server/commit/64f8177abca46865c155ff2fc8ed0194ad8d0c83) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency
10+
11+
- Updated dependencies [[`f8a8ea08f`](https://github.com/apollographql/apollo-server/commit/f8a8ea08fed4090115b1a025e57bdb0f2deb82fc)]:
12+
- @apollo/server@4.8.0
13+
314
## 4.7.5
415

516
### 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.7.5",
3+
"version": "4.8.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.7.5",
31+
"@apollo/server": "4.8.0",
3232
"@apollo/utils.keyvaluecache": "^2.1.0",
3333
"@apollo/utils.createhash": "^2.0.0",
3434
"@apollo/usage-reporting-protobuf": "^4.1.1",

packages/server/CHANGELOG.md

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

3+
## 4.8.0
4+
5+
### Minor Changes
6+
7+
- [#7634](https://github.com/apollographql/apollo-server/pull/7634) [`f8a8ea08f`](https://github.com/apollographql/apollo-server/commit/f8a8ea08fed4090115b1a025e57bdb0f2deb82fc) Thanks [@dfperry5](https://github.com/dfperry5)! - Updating the ApolloServer constructor to take in a stringifyResult function that will allow a consumer to pass in a function that formats the result of an http query.
8+
9+
Usage:
10+
11+
```ts
12+
const server = new ApolloServer({
13+
typeDefs,
14+
resolvers,
15+
stringifyResult: (value: FormattedExecutionResult) => {
16+
return JSON.stringify(value, null, 2);
17+
},
18+
});
19+
```
20+
321
## 4.7.5
422

523
### Patch 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": "4.7.5",
3+
"version": "4.8.0",
44
"description": "Core engine for Apollo GraphQL server",
55
"type": "module",
66
"main": "dist/cjs/index.js",

0 commit comments

Comments
 (0)