From a985835d9ec947b081741e888f8576880ff6d0a0 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 11 Jul 2024 11:27:36 +0200 Subject: [PATCH 1/3] add React 19 RC to `peerDependencies` --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 190ae601677..06328154a27 100644 --- a/package.json +++ b/package.json @@ -72,8 +72,8 @@ "peerDependencies": { "graphql": "^15.0.0 || ^16.0.0", "graphql-ws": "^5.5.5", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0", "subscriptions-transport-ws": "^0.9.0 || ^0.11.0" }, "peerDependenciesMeta": { From 15691ec4035bb481391f06b651b402a38d957d00 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 11 Jul 2024 11:30:47 +0200 Subject: [PATCH 2/3] changeset --- .changeset/breezy-deers-dream.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/breezy-deers-dream.md diff --git a/.changeset/breezy-deers-dream.md b/.changeset/breezy-deers-dream.md new file mode 100644 index 00000000000..71d8b128201 --- /dev/null +++ b/.changeset/breezy-deers-dream.md @@ -0,0 +1,5 @@ +--- +"@apollo/client": patch +--- + +add React 19 RC to `peerDependencies` From 38cc7da47c751cddb87731cb289a8940a4378e54 Mon Sep 17 00:00:00 2001 From: Lenz Weber-Tronic Date: Thu, 11 Jul 2024 11:34:36 +0200 Subject: [PATCH 3/3] update react RC dep for tests --- package-lock.json | 35 ++++++++++++++++------------------- package.json | 4 ++-- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/package-lock.json b/package-lock.json index fc3325bf1b4..e6cc37438fd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -84,10 +84,10 @@ "prettier": "3.1.1", "react": "18.3.1", "react-17": "npm:react@^17", - "react-19": "npm:react@19.0.0-rc-fb9a90fa48-20240614", + "react-19": "npm:react@19.0.0-rc-378b305958-20240710", "react-dom": "18.3.1", "react-dom-17": "npm:react-dom@^17", - "react-dom-19": "npm:react-dom@19.0.0-rc-fb9a90fa48-20240614", + "react-dom-19": "npm:react-dom@19.0.0-rc-378b305958-20240710", "react-error-boundary": "4.0.13", "recast": "0.23.9", "resolve": "1.22.8", @@ -116,8 +116,8 @@ "peerDependencies": { "graphql": "^15.0.0 || ^16.0.0", "graphql-ws": "^5.5.5", - "react": "^16.8.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0", + "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0", + "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || >=19.0.0-rc <19.0.0", "subscriptions-transport-ws": "^0.9.0 || ^0.11.0" }, "peerDependenciesMeta": { @@ -10599,11 +10599,10 @@ }, "node_modules/react-19": { "name": "react", - "version": "19.0.0-rc-fb9a90fa48-20240614", - "resolved": "https://registry.npmjs.org/react/-/react-19.0.0-rc-fb9a90fa48-20240614.tgz", - "integrity": "sha512-nvE3Gy+IOIfH/DXhkyxFVQSrITarFcQz4+shzC/McxQXEUSonpw2oDy/Wi9hdDtV3hlP12VYuDL95iiBREedNQ==", + "version": "19.0.0-rc-378b305958-20240710", + "resolved": "https://registry.npmjs.org/react/-/react-19.0.0-rc-378b305958-20240710.tgz", + "integrity": "sha512-z+c5SdYuX74FSlyDcBWXMmR7KN30rpak804OtidcgxvYoyU43YCT0GWHubH6UvnNDvaLsr5nl66AKmC2y7VwYA==", "dev": true, - "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -10648,24 +10647,22 @@ }, "node_modules/react-dom-19": { "name": "react-dom", - "version": "19.0.0-rc-fb9a90fa48-20240614", - "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0-rc-fb9a90fa48-20240614.tgz", - "integrity": "sha512-PoEsPe32F7KPLYOBvZfjylEI1B67N44PwY3lyvpmBkhlluLnLz0jH8q2Wg9YidAi6z0k3iUnNRm5x10wurzt9Q==", + "version": "19.0.0-rc-378b305958-20240710", + "resolved": "https://registry.npmjs.org/react-dom/-/react-dom-19.0.0-rc-378b305958-20240710.tgz", + "integrity": "sha512-WpE0+4pnFMyuC9WxJGj7+XysxNChbwnCcFS7INR428/uUoECSTRmlQt05hTGFIyfpYBO1zGlXfMBAkrFmqh3wg==", "dev": true, - "license": "MIT", "dependencies": { - "scheduler": "0.25.0-rc-fb9a90fa48-20240614" + "scheduler": "0.25.0-rc-378b305958-20240710" }, "peerDependencies": { - "react": "19.0.0-rc-fb9a90fa48-20240614" + "react": "19.0.0-rc-378b305958-20240710" } }, "node_modules/react-dom-19/node_modules/scheduler": { - "version": "0.25.0-rc-fb9a90fa48-20240614", - "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0-rc-fb9a90fa48-20240614.tgz", - "integrity": "sha512-HHqQ/SqbeiDfXXVKgNxTpbQTD4n7IUb4hZATvHjp03jr3TF7igehCyHdOjeYTrzIseLO93cTTfSb5f4qWcirMQ==", - "dev": true, - "license": "MIT" + "version": "0.25.0-rc-378b305958-20240710", + "resolved": "https://registry.npmjs.org/scheduler/-/scheduler-0.25.0-rc-378b305958-20240710.tgz", + "integrity": "sha512-j6dzH6LeNjhKFSpxUiZT2E8tFvFTCQOn339mmzYA3QBLvIkgAtHzSrpdReKhFzw9x4hxazBjgE/4YwBLQBUNlw==", + "dev": true }, "node_modules/react-error-boundary": { "version": "4.0.13", diff --git a/package.json b/package.json index 06328154a27..6104f60da2b 100644 --- a/package.json +++ b/package.json @@ -165,10 +165,10 @@ "prettier": "3.1.1", "react": "18.3.1", "react-17": "npm:react@^17", - "react-19": "npm:react@19.0.0-rc-fb9a90fa48-20240614", + "react-19": "npm:react@19.0.0-rc-378b305958-20240710", "react-dom": "18.3.1", "react-dom-17": "npm:react-dom@^17", - "react-dom-19": "npm:react-dom@19.0.0-rc-fb9a90fa48-20240614", + "react-dom-19": "npm:react-dom@19.0.0-rc-378b305958-20240710", "react-error-boundary": "4.0.13", "recast": "0.23.9", "resolve": "1.22.8",