Skip to content

Commit

Permalink
Update @apollo/utils.usagereporting dependency (#7599)
Browse files Browse the repository at this point in the history
Previously, installing `@apollo/gateway` and `@apollo/server` could
result in duplicate / differently versioned installs of
`@apollo/usage-reporting-protobuf`. This is because the
`@apollo/server-gateway-interface` package was updated to use the latest
protobuf, but the `@apollo/utils.usagereporting` package was not. After
this change, users should always end up with a single install of the
protobuf package when installing both `@apollo/server` and
`@apollo/gateway` latest versions.
  • Loading branch information
trevor-scheer committed Jun 5, 2023
1 parent 4c26a8f commit c3f04d0
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 51 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-hairs-do.md
@@ -0,0 +1,5 @@
---
'@apollo/server': patch
---

Update `@apollo/utils.usagereporting` dependency. Previously, installing `@apollo/gateway` and `@apollo/server` could result in duplicate / differently versioned installs of `@apollo/usage-reporting-protobuf`. This is because the `@apollo/server-gateway-interface` package was updated to use the latest protobuf, but the `@apollo/utils.usagereporting` package was not. After this change, users should always end up with a single install of the protobuf package when installing both `@apollo/server` and `@apollo/gateway` latest versions.
100 changes: 50 additions & 50 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/server/package.json
Expand Up @@ -92,7 +92,7 @@
"@apollo/utils.isnodelike": "^2.0.0",
"@apollo/utils.keyvaluecache": "^2.1.0",
"@apollo/utils.logger": "^2.0.0",
"@apollo/utils.usagereporting": "^2.0.0",
"@apollo/utils.usagereporting": "^2.1.0",
"@apollo/utils.withrequired": "^2.0.0",
"@graphql-tools/schema": "^9.0.0",
"@josephg/resolvable": "^1.0.0",
Expand Down

0 comments on commit c3f04d0

Please sign in to comment.