From f5607bf8d4d311f57bfc42c26a7bc14239df2cac Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 13:20:23 -0800 Subject: [PATCH] Version Packages (#7315) 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-gateway-interface@1.1.0 ### Minor Changes - [#7325](https://github.com/apollographql/apollo-server/pull/7325) [`e0f959a63`](https://github.com/apollographql/apollo-server/commit/e0f959a637c1bc4f07cc8c8dac3a078c7debc9ad) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add optional `nonFtv1ErrorPaths` to Gateway metrics data. This change is a prerequisite to: - - ## @apollo/server-integration-testsuite@4.3.2 ### Patch Changes - [#7316](https://github.com/apollographql/apollo-server/pull/7316) [`37d884650`](https://github.com/apollographql/apollo-server/commit/37d884650cfde63530f05d97583094e4fc0b51b6) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency - Updated dependencies \[[`f246ddb71`](https://github.com/apollographql/apollo-server/commit/f246ddb7142d978a927de743108b602c511be119), [`e25cb58ff`](https://github.com/apollographql/apollo-server/commit/e25cb58fffe54301fec562a72f845394c8ff4408)]: - @apollo/server@4.3.2 ## @apollo/server@4.3.2 ### Patch Changes - [#7314](https://github.com/apollographql/apollo-server/pull/7314) [`f246ddb71`](https://github.com/apollographql/apollo-server/commit/f246ddb7142d978a927de743108b602c511be119) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add an `__identity` property to `HeaderMap` class to disallow standard `Map`s (in TypeScript). This ensures that typechecking occurs on fields which are declared to accept a `HeaderMap` (notably, the `httpGraphQLRequest.headers` option to `ApolloServer.executeHTTPGraphQLRequest` and the `http.headers` option to `ApolloServer.executeOperation`). This might be a breaking change for integration authors, but should be easily fixed by switching from `new Map()` to `new HeaderMap()`. - [#7326](https://github.com/apollographql/apollo-server/pull/7326) [`e25cb58ff`](https://github.com/apollographql/apollo-server/commit/e25cb58fffe54301fec562a72f845394c8ff4408) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Pin `node-abort-controller` version to avoid breaking change. Apollo Server users can enter a broken state if they update their package-lock.json due to a breaking change in a minor release of the mentioned package. Ref: - Updated dependencies \[[`e0f959a63`](https://github.com/apollographql/apollo-server/commit/e0f959a637c1bc4f07cc8c8dac3a078c7debc9ad)]: - @apollo/server-gateway-interface@1.1.0 Co-authored-by: github-actions[bot] --- .changeset/great-kids-visit.md | 12 ------------ .changeset/kind-yaks-study.md | 5 ----- .changeset/sharp-boxes-shave.md | 7 ------- .changeset/wicked-walls-jump.md | 7 ------- package-lock.json | 14 +++++++------- packages/gateway-interface/CHANGELOG.md | 8 ++++++++ packages/gateway-interface/package.json | 2 +- packages/integration-testsuite/CHANGELOG.md | 9 +++++++++ packages/integration-testsuite/package.json | 4 ++-- packages/server/CHANGELOG.md | 20 ++++++++++++++++++++ packages/server/package.json | 4 ++-- 11 files changed, 49 insertions(+), 43 deletions(-) delete mode 100644 .changeset/great-kids-visit.md delete mode 100644 .changeset/kind-yaks-study.md delete mode 100644 .changeset/sharp-boxes-shave.md delete mode 100644 .changeset/wicked-walls-jump.md diff --git a/.changeset/great-kids-visit.md b/.changeset/great-kids-visit.md deleted file mode 100644 index b637dfc4225..00000000000 --- a/.changeset/great-kids-visit.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@apollo/server': patch ---- - -Add an `__identity` property to `HeaderMap` class to disallow standard `Map`s (in TypeScript). - -This ensures that typechecking occurs on fields which are declared to accept a -`HeaderMap` (notably, the `httpGraphQLRequest.headers` option to -`ApolloServer.executeHTTPGraphQLRequest` and the `http.headers` option to -`ApolloServer.executeOperation`). This might be a breaking change for -integration authors, but should be easily fixed by switching from `new -Map()` to `new HeaderMap()`. diff --git a/.changeset/kind-yaks-study.md b/.changeset/kind-yaks-study.md deleted file mode 100644 index 7105d60d3cc..00000000000 --- a/.changeset/kind-yaks-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@apollo/server-integration-testsuite': patch ---- - -Update graphql-http dependency diff --git a/.changeset/sharp-boxes-shave.md b/.changeset/sharp-boxes-shave.md deleted file mode 100644 index 40a87ced6ea..00000000000 --- a/.changeset/sharp-boxes-shave.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@apollo/server': patch ---- - -Pin `node-abort-controller` version to avoid breaking change. Apollo Server users can enter a broken state if they update their package-lock.json due to a breaking change in a minor release of the mentioned package. - -Ref: https://github.com/southpolesteve/node-abort-controller/issues/39 diff --git a/.changeset/wicked-walls-jump.md b/.changeset/wicked-walls-jump.md deleted file mode 100644 index 42f6bb9c481..00000000000 --- a/.changeset/wicked-walls-jump.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@apollo/server-gateway-interface': minor ---- - -Add optional `nonFtv1ErrorPaths` to Gateway metrics data. This change is a prerequisite to: -* https://github.com/apollographql/federation/pull/2242 -* https://github.com/apollographql/apollo-server/pull/7136 diff --git a/package-lock.json b/package-lock.json index 01605e5c3d1..868a7d1d66a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13452,7 +13452,7 @@ }, "packages/gateway-interface": { "name": "@apollo/server-gateway-interface", - "version": "1.0.7", + "version": "1.1.0", "license": "MIT", "dependencies": { "@apollo/usage-reporting-protobuf": "^4.0.0", @@ -13494,12 +13494,12 @@ }, "packages/integration-testsuite": { "name": "@apollo/server-integration-testsuite", - "version": "4.3.1", + "version": "4.3.2", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", "@apollo/client": "^3.6.9", - "@apollo/server": "4.3.1", + "@apollo/server": "4.3.2", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^2.0.0", @@ -13580,11 +13580,11 @@ }, "packages/server": { "name": "@apollo/server", - "version": "4.3.1", + "version": "4.3.2", "license": "MIT", "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/server-gateway-interface": "^1.0.7", + "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^2.0.0", "@apollo/utils.fetcher": "^2.0.0", @@ -13744,7 +13744,7 @@ "version": "file:packages/server", "requires": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/server-gateway-interface": "^1.0.7", + "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^2.0.0", "@apollo/utils.fetcher": "^2.0.0", @@ -13832,7 +13832,7 @@ "requires": { "@apollo/cache-control-types": "^1.0.2", "@apollo/client": "^3.6.9", - "@apollo/server": "4.3.1", + "@apollo/server": "4.3.2", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^2.0.0", diff --git a/packages/gateway-interface/CHANGELOG.md b/packages/gateway-interface/CHANGELOG.md index 8cfe5c92e5b..e109f4f6cba 100644 --- a/packages/gateway-interface/CHANGELOG.md +++ b/packages/gateway-interface/CHANGELOG.md @@ -1,5 +1,13 @@ # @apollo/server-gateway-interface +## 1.1.0 + +### Minor Changes + +- [#7325](https://github.com/apollographql/apollo-server/pull/7325) [`e0f959a63`](https://github.com/apollographql/apollo-server/commit/e0f959a637c1bc4f07cc8c8dac3a078c7debc9ad) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add optional `nonFtv1ErrorPaths` to Gateway metrics data. This change is a prerequisite to: + - https://github.com/apollographql/federation/pull/2242 + - https://github.com/apollographql/apollo-server/pull/7136 + ## 1.0.7 ### Patch Changes diff --git a/packages/gateway-interface/package.json b/packages/gateway-interface/package.json index 99d160e73d1..c0072b47f32 100644 --- a/packages/gateway-interface/package.json +++ b/packages/gateway-interface/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/server-gateway-interface", - "version": "1.0.7", + "version": "1.1.0", "description": "Interface used to connect Apollo Gateway to Apollo Server", "type": "module", "main": "", diff --git a/packages/integration-testsuite/CHANGELOG.md b/packages/integration-testsuite/CHANGELOG.md index b3a2ad5625d..51c13a16270 100644 --- a/packages/integration-testsuite/CHANGELOG.md +++ b/packages/integration-testsuite/CHANGELOG.md @@ -1,5 +1,14 @@ # @apollo/server-integration-testsuite +## 4.3.2 + +### Patch Changes + +- [#7316](https://github.com/apollographql/apollo-server/pull/7316) [`37d884650`](https://github.com/apollographql/apollo-server/commit/37d884650cfde63530f05d97583094e4fc0b51b6) Thanks [@renovate](https://github.com/apps/renovate)! - Update graphql-http dependency + +- Updated dependencies [[`f246ddb71`](https://github.com/apollographql/apollo-server/commit/f246ddb7142d978a927de743108b602c511be119), [`e25cb58ff`](https://github.com/apollographql/apollo-server/commit/e25cb58fffe54301fec562a72f845394c8ff4408)]: + - @apollo/server@4.3.2 + ## 4.3.1 ### Patch Changes diff --git a/packages/integration-testsuite/package.json b/packages/integration-testsuite/package.json index 1a069a6bc51..f53811e3a41 100644 --- a/packages/integration-testsuite/package.json +++ b/packages/integration-testsuite/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/server-integration-testsuite", - "version": "4.3.1", + "version": "4.3.2", "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.3.1", + "@apollo/server": "4.3.2", "@apollo/server-plugin-landing-page-graphql-playground": "^4.0.0", "@apollo/utils.keyvaluecache": "^2.1.0", "@apollo/utils.createhash": "^2.0.0", diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index d61ae79798d..095d9a72c36 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,25 @@ # @apollo/server +## 4.3.2 + +### Patch Changes + +- [#7314](https://github.com/apollographql/apollo-server/pull/7314) [`f246ddb71`](https://github.com/apollographql/apollo-server/commit/f246ddb7142d978a927de743108b602c511be119) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Add an `__identity` property to `HeaderMap` class to disallow standard `Map`s (in TypeScript). + + This ensures that typechecking occurs on fields which are declared to accept a + `HeaderMap` (notably, the `httpGraphQLRequest.headers` option to + `ApolloServer.executeHTTPGraphQLRequest` and the `http.headers` option to + `ApolloServer.executeOperation`). This might be a breaking change for + integration authors, but should be easily fixed by switching from `new +Map()` to `new HeaderMap()`. + +- [#7326](https://github.com/apollographql/apollo-server/pull/7326) [`e25cb58ff`](https://github.com/apollographql/apollo-server/commit/e25cb58fffe54301fec562a72f845394c8ff4408) Thanks [@trevor-scheer](https://github.com/trevor-scheer)! - Pin `node-abort-controller` version to avoid breaking change. Apollo Server users can enter a broken state if they update their package-lock.json due to a breaking change in a minor release of the mentioned package. + + Ref: https://github.com/southpolesteve/node-abort-controller/issues/39 + +- Updated dependencies [[`e0f959a63`](https://github.com/apollographql/apollo-server/commit/e0f959a637c1bc4f07cc8c8dac3a078c7debc9ad)]: + - @apollo/server-gateway-interface@1.1.0 + ## 4.3.1 ### Patch Changes diff --git a/packages/server/package.json b/packages/server/package.json index 31e5c651e5b..6938cc336b4 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@apollo/server", - "version": "4.3.1", + "version": "4.3.2", "description": "Core engine for Apollo GraphQL server", "type": "module", "main": "dist/cjs/index.js", @@ -85,7 +85,7 @@ }, "dependencies": { "@apollo/cache-control-types": "^1.0.2", - "@apollo/server-gateway-interface": "^1.0.7", + "@apollo/server-gateway-interface": "^1.1.0", "@apollo/usage-reporting-protobuf": "^4.0.0", "@apollo/utils.createhash": "^2.0.0", "@apollo/utils.fetcher": "^2.0.0",