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": {