From d1a905461d4378522c3257de00afba2ae8decd22 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Mon, 16 Dec 2024 02:22:32 -0700 Subject: [PATCH] Drop support for React 16 (#12222) --- .changeset/clever-zebras-mate.md | 5 +++++ .circleci/config.yml | 1 - package-lock.json | 4 ++-- package.json | 4 ++-- 4 files changed, 9 insertions(+), 5 deletions(-) create mode 100644 .changeset/clever-zebras-mate.md diff --git a/.changeset/clever-zebras-mate.md b/.changeset/clever-zebras-mate.md new file mode 100644 index 0000000000..5832f7649f --- /dev/null +++ b/.changeset/clever-zebras-mate.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": major +--- + +Drop support for React 16. diff --git a/.circleci/config.yml b/.circleci/config.yml index 4b1adebcaf..a7341fbe87 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -178,7 +178,6 @@ workflows: - "graphql@15" - "graphql@16" - "graphql@^17.0.0-alpha" - - "@types/react@16.8 @types/react-dom@16.8" - "@types/react@17 @types/react-dom@17" - "@types/react@18 @types/react-dom@18" - "@types/react@19 @types/react-dom@19" diff --git a/package-lock.json b/package-lock.json index b4b5f3c140..5f979dcd65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -119,8 +119,8 @@ "peerDependencies": { "graphql": "^15.0.0 || ^16.0.0", "graphql-ws": "^5.5.5", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc", + "react": "^17.0.0 || ^18.0.0 || >=19.0.0-rc", + "react-dom": "^17.0.0 || ^18.0.0 || >=19.0.0-rc", "subscriptions-transport-ws": "^0.9.0 || ^0.11.0" }, "peerDependenciesMeta": { diff --git a/package.json b/package.json index 7b8d02741a..cb4b03db48 100644 --- a/package.json +++ b/package.json @@ -74,8 +74,8 @@ "peerDependencies": { "graphql": "^15.0.0 || ^16.0.0", "graphql-ws": "^5.5.5", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc", + "react": "^17.0.0 || ^18.0.0 || >=19.0.0-rc", + "react-dom": "^17.0.0 || ^18.0.0 || >=19.0.0-rc", "subscriptions-transport-ws": "^0.9.0 || ^0.11.0" }, "peerDependenciesMeta": {