From 622e57689cf27dbecba7f64c02f0a3b6499d3218 Mon Sep 17 00:00:00 2001 From: Jed Watson Date: Wed, 24 Nov 2021 09:50:02 +1100 Subject: [PATCH] Pin @apollo/client to 3.4.17 - fixes Unhandled Runtime Error when loading Admin UI for fresh installs (#6986) * Pin @apollo/client to 3.4.17 * Add changeset * Update .changeset/nervous-ads-hammer.md --- .changeset/nervous-ads-hammer.md | 7 +++++++ packages/keystone/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changeset/nervous-ads-hammer.md diff --git a/.changeset/nervous-ads-hammer.md b/.changeset/nervous-ads-hammer.md new file mode 100644 index 00000000000..ddcd5931c27 --- /dev/null +++ b/.changeset/nervous-ads-hammer.md @@ -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)) diff --git a/packages/keystone/package.json b/packages/keystone/package.json index 9de6deb09ed..00c3d9aedfb 100644 --- a/packages/keystone/package.json +++ b/packages/keystone/package.json @@ -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",