Skip to content

Commit

Permalink
Pin @apollo/client to 3.4.17 - fixes Unhandled Runtime Error when loa…
Browse files Browse the repository at this point in the history
…ding Admin UI for fresh installs (#6986)

* Pin @apollo/client to 3.4.17

* Add changeset

* Update .changeset/nervous-ads-hammer.md
  • Loading branch information
JedWatson authored Nov 23, 2021
1 parent 96fd2e2 commit 622e576
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .changeset/nervous-ads-hammer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@keystone-next/keystone": patch
---

Pinned `@apollo/client` to 3.4.17, fixes an incompatibility between `@apollo/client` >= 3.5.0 and `apollo-upload-client` that breaks the Admin UI.

We can revert this when [jaydenseric/apollo-upload-client#273](https://github.com/jaydenseric/apollo-upload-client/issues/273) has been resolved (may also be resolved by [apollographql/apollo-client#9103](https://github.com/apollographql/apollo-client/pull/9103))
2 changes: 1 addition & 1 deletion packages/keystone/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"keystone-next": "bin/cli.js"
},
"dependencies": {
"@apollo/client": "^3.4.17",
"@apollo/client": "3.4.17",
"@babel/core": "^7.16.0",
"@babel/runtime": "^7.16.3",
"@emotion/hash": "^0.8.0",
Expand Down

0 comments on commit 622e576

Please sign in to comment.