From 943fd7fca739bd0b10f27bf755ddde44659e67a7 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 2 Nov 2022 08:53:12 -0700 Subject: [PATCH] Version Packages (#7108) 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/server-integration-testsuite@4.1.0 ### Minor Changes - [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - The `cache-control` HTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write the `cache-control` response header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see [advisory GHSA-8r69-3cvp-wxc3](https://github.com/apollographql/apollo-server/security/advisories/GHSA-8r69-3cvp-wxc3). - [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - Plugins processing multiple operations in a batched HTTP request now have a shared `requestContext.request.http` object. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. - [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - New field `GraphQLRequestContext.requestIsBatched` available to plugins. - [#7114](https://github.com/apollographql/apollo-server/pull/7114) [`c1651bfac`](https://github.com/apollographql/apollo-server/commit/c1651bfacf8d310615be79e9246d7f0bd9bfa926) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Directly depend on Apollo Server rather than as a peer ### Patch Changes - Updated dependencies \[[`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19), [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19), [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19)]: - @apollo/server@4.1.0 ## @apollo/server@4.1.0 ### Minor Changes - [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - The `cache-control` HTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write the `cache-control` response header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see [advisory GHSA-8r69-3cvp-wxc3](https://github.com/apollographql/apollo-server/security/advisories/GHSA-8r69-3cvp-wxc3). - [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - Plugins processing multiple operations in a batched HTTP request now have a shared `requestContext.request.http` object. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. - [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - New field `GraphQLRequestContext.requestIsBatched` available to plugins. Co-authored-by: github-actions[bot] --- .changeset/curvy-cows-vanish.md | 6 ------ .changeset/curvy-kiwis-work.md | 6 ------ .changeset/honest-kiwis-poke.md | 6 ------ .changeset/mighty-points-film.md | 5 ----- .changeset/quick-ghosts-reply.md | 2 -- package-lock.json | 8 ++++---- packages/integration-testsuite/CHANGELOG.md | 17 +++++++++++++++++ packages/integration-testsuite/package.json | 4 ++-- packages/server/CHANGELOG.md | 10 ++++++++++ packages/server/package.json | 2 +- 10 files changed, 34 insertions(+), 32 deletions(-) delete mode 100644 .changeset/curvy-cows-vanish.md delete mode 100644 .changeset/curvy-kiwis-work.md delete mode 100644 .changeset/honest-kiwis-poke.md delete mode 100644 .changeset/mighty-points-film.md delete mode 100644 .changeset/quick-ghosts-reply.md diff --git a/.changeset/curvy-cows-vanish.md b/.changeset/curvy-cows-vanish.md deleted file mode 100644 index 7b3df136aef..00000000000 --- a/.changeset/curvy-cows-vanish.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@apollo/server-integration-testsuite': minor -'@apollo/server': minor ---- - -The `cache-control` HTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write the `cache-control` response header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see [advisory GHSA-8r69-3cvp-wxc3](https://github.com/apollographql/apollo-server/security/advisories/GHSA-8r69-3cvp-wxc3). diff --git a/.changeset/curvy-kiwis-work.md b/.changeset/curvy-kiwis-work.md deleted file mode 100644 index 461b476e11b..00000000000 --- a/.changeset/curvy-kiwis-work.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@apollo/server-integration-testsuite': minor -'@apollo/server': minor ---- - -Plugins processing multiple operations in a batched HTTP request now have a shared `requestContext.request.http` object. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. diff --git a/.changeset/honest-kiwis-poke.md b/.changeset/honest-kiwis-poke.md deleted file mode 100644 index dda6478e106..00000000000 --- a/.changeset/honest-kiwis-poke.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@apollo/server-integration-testsuite': minor -'@apollo/server': minor ---- - -New field `GraphQLRequestContext.requestIsBatched` available to plugins. diff --git a/.changeset/mighty-points-film.md b/.changeset/mighty-points-film.md deleted file mode 100644 index 9df981e475e..00000000000 --- a/.changeset/mighty-points-film.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@apollo/server-integration-testsuite': minor ---- - -Directly depend on Apollo Server rather than as a peer diff --git a/.changeset/quick-ghosts-reply.md b/.changeset/quick-ghosts-reply.md deleted file mode 100644 index a845151cc84..00000000000 --- a/.changeset/quick-ghosts-reply.md +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/package-lock.json b/package-lock.json index cb935f7bda1..423e208a69e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12982,12 +12982,12 @@ }, "packages/integration-testsuite": { "name": "@apollo/server-integration-testsuite", - "version": "4.0.5", + "version": "4.1.0", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", "@apollo/client": "^3.6.9", - "@apollo/server": "4.0.5", + "@apollo/server": "4.1.0", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^1.1.0", @@ -13027,7 +13027,7 @@ }, "packages/server": { "name": "@apollo/server", - "version": "4.0.5", + "version": "4.1.0", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", @@ -13259,7 +13259,7 @@ "requires": { "@apollo/cache-control-types": "^1.0.2", "@apollo/client": "^3.6.9", - "@apollo/server": "4.0.5", + "@apollo/server": "4.1.0", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^1.1.0", diff --git a/packages/integration-testsuite/CHANGELOG.md b/packages/integration-testsuite/CHANGELOG.md index a2be4824c5b..f0db0b15327 100644 --- a/packages/integration-testsuite/CHANGELOG.md +++ b/packages/integration-testsuite/CHANGELOG.md @@ -1,5 +1,22 @@ # @apollo/server-integration-testsuite +## 4.1.0 + +### Minor Changes + +- [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - The `cache-control` HTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write the `cache-control` response header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see [advisory GHSA-8r69-3cvp-wxc3](https://github.com/apollographql/apollo-server/security/advisories/GHSA-8r69-3cvp-wxc3). + +- [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - Plugins processing multiple operations in a batched HTTP request now have a shared `requestContext.request.http` object. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. + +- [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - New field `GraphQLRequestContext.requestIsBatched` available to plugins. + +- [#7114](https://github.com/apollographql/apollo-server/pull/7114) [`c1651bfac`](https://github.com/apollographql/apollo-server/commit/c1651bfacf8d310615be79e9246d7f0bd9bfa926) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Directly depend on Apollo Server rather than as a peer + +### Patch Changes + +- Updated dependencies [[`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19), [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19), [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19)]: + - @apollo/server@4.1.0 + ## 4.0.5 ### Patch Changes diff --git a/packages/integration-testsuite/package.json b/packages/integration-testsuite/package.json index d1db61c4e30..60f8088b501 100644 --- a/packages/integration-testsuite/package.json +++ b/packages/integration-testsuite/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/server-integration-testsuite", - "version": "4.0.5", + "version": "4.1.0", "description": "Test suite for Apollo Server integrations", "main": "dist/index.js", "types": "dist/index.d.ts", @@ -28,7 +28,7 @@ "dependencies": { "@apollo/cache-control-types": "^1.0.2", "@apollo/client": "^3.6.9", - "@apollo/server": "4.0.5", + "@apollo/server": "4.1.0", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", "@apollo/utils.keyvaluecache": "^1.0.1", "@apollo/utils.createhash": "^1.1.0", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index 6d3c312a6f6..3f001ba36c4 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,15 @@ # @apollo/server +## 4.1.0 + +### Minor Changes + +- [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - The `cache-control` HTTP response header set by the cache control plugin now properly reflects the cache policy of all operations in a batched HTTP request. (If you write the `cache-control` response header via a different mechanism to a format that the plugin would not produce, the plugin no longer writes the header.) For more information, see [advisory GHSA-8r69-3cvp-wxc3](https://github.com/apollographql/apollo-server/security/advisories/GHSA-8r69-3cvp-wxc3). + +- [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - Plugins processing multiple operations in a batched HTTP request now have a shared `requestContext.request.http` object. Changes to HTTP response headers and HTTP status code made by plugins operating on one operation can be immediately seen by plugins operating on other operations in the same HTTP request. + +- [`2a2d1e3b4`](https://github.com/apollographql/apollo-server/commit/2a2d1e3b4bbb1f2802b09004444029bd1adb9c19) Thanks [@glasser](https://github.com/glasser)! - New field `GraphQLRequestContext.requestIsBatched` available to plugins. + ## 4.0.5 ### Patch Changes diff --git a/packages/server/package.json b/packages/server/package.json index 04cb02d5670..54fa74f6a2e 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/server", - "version": "4.0.5", + "version": "4.1.0", "description": "Core engine for Apollo GraphQL server", "type": "module", "main": "dist/cjs/index.js",