Skip to content

Commit 857d6b5

Browse files
fix(charts): support React19 (#6742)
This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [recharts](https://redirect.github.com/recharts/recharts) | [`2.14.1` -> `2.15.0`](https://renovatebot.com/diffs/npm/recharts/2.14.1/2.15.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/recharts/2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/recharts/2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/recharts/2.14.1/2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/recharts/2.14.1/2.15.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>recharts/recharts (recharts)</summary> ### [`v2.15.0`](https://redirect.github.com/recharts/recharts/releases/tag/v2.15.0) [Compare Source](https://redirect.github.com/recharts/recharts/compare/v2.14.1...v2.15.0) #### What's Changed Final 2.x React 19 support **!!! You still need to override your `react-is` version to match `react`/`react-dom` for React 19 to work with recharts !!! - see [thread here](https://redirect.github.com/recharts/recharts/issues/4558#issuecomment-2132375528)** - this limitation will be alleviated in recharts 3.0 #### Feat Add React 19 to peerDependencies - closes [https://github.com/recharts/recharts/issues/4558](https://redirect.github.com/recharts/recharts/issues/4558) #### Fix - `Bar`: fix Bar mouse event types regression - closes [https://github.com/recharts/recharts/issues/5308](https://redirect.github.com/recharts/recharts/issues/5308) - Remove React19 deprecated `ReactText` type **Full Changelog**: recharts/recharts@v2.14.1...v2.15.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/SAP/ui5-webcomponents-react). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS41OC4xIiwidXBkYXRlZEluVmVyIjoiMzkuNTguMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIl19--> --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Harbarth <[email protected]>
1 parent 244317c commit 857d6b5

File tree

3 files changed

+16
-36
lines changed

3 files changed

+16
-36
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,8 @@
111111
]
112112
},
113113
"resolutions": {
114-
"tocbot": "4.32.2"
114+
"tocbot": "4.32.2",
115+
"react-is": "^19"
115116
},
116117
"type": "module",
117118
"nyc": {

packages/charts/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@
3636
"dependencies": {
3737
"clsx": "2.1.1",
3838
"react-content-loader": "7.0.2",
39-
"recharts": "2.14.1"
39+
"recharts": "2.15.0"
4040
},
4141
"peerDependencies": {
4242
"@ui5/webcomponents-react": "~2.5.0",
4343
"@ui5/webcomponents-react-base": "~2.5.0",
44-
"react": "^18"
44+
"react": "^18 || ^19"
4545
},
4646
"publishConfig": {
4747
"access": "public"

yarn.lock

Lines changed: 12 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -5705,11 +5705,11 @@ __metadata:
57055705
dependencies:
57065706
clsx: "npm:2.1.1"
57075707
react-content-loader: "npm:7.0.2"
5708-
recharts: "npm:2.14.1"
5708+
recharts: "npm:2.15.0"
57095709
peerDependencies:
57105710
"@ui5/webcomponents-react": ~2.5.0
57115711
"@ui5/webcomponents-react-base": ~2.5.0
5712-
react: ^18
5712+
react: ^18 || ^19
57135713
languageName: unknown
57145714
linkType: soft
57155715

@@ -19060,31 +19060,10 @@ __metadata:
1906019060
languageName: node
1906119061
linkType: hard
1906219062

19063-
"react-is@npm:^16.13.1":
19064-
version: 16.13.1
19065-
resolution: "react-is@npm:16.13.1"
19066-
checksum: 10c0/33977da7a5f1a287936a0c85639fec6ca74f4f15ef1e59a6bc20338fc73dc69555381e211f7a3529b8150a1f71e4225525b41b60b52965bda53ce7d47377ada1
19067-
languageName: node
19068-
linkType: hard
19069-
19070-
"react-is@npm:^17.0.1":
19071-
version: 17.0.2
19072-
resolution: "react-is@npm:17.0.2"
19073-
checksum: 10c0/2bdb6b93fbb1820b024b496042cce405c57e2f85e777c9aabd55f9b26d145408f9f74f5934676ffdc46f3dcff656d78413a6e43968e7b3f92eea35b3052e9053
19074-
languageName: node
19075-
linkType: hard
19076-
19077-
"react-is@npm:^18.0.0":
19078-
version: 18.2.0
19079-
resolution: "react-is@npm:18.2.0"
19080-
checksum: 10c0/6eb5e4b28028c23e2bfcf73371e72cd4162e4ac7ab445ddae2afe24e347a37d6dc22fae6e1748632cd43c6d4f9b8f86dcf26bf9275e1874f436d129952528ae0
19081-
languageName: node
19082-
linkType: hard
19083-
19084-
"react-is@npm:^18.3.1":
19085-
version: 18.3.1
19086-
resolution: "react-is@npm:18.3.1"
19087-
checksum: 10c0/f2f1e60010c683479e74c63f96b09fb41603527cd131a9959e2aee1e5a8b0caf270b365e5ca77d4a6b18aae659b60a86150bb3979073528877029b35aecd2072
19063+
"react-is@npm:^19":
19064+
version: 19.0.0
19065+
resolution: "react-is@npm:19.0.0"
19066+
checksum: 10c0/d1be8e8500cf04f76df71942a21ef3a71266397a383d7ec8885f35190df818d35c65efd35aed7be47a89ad99aaff2c52e0c4e39e8930844a6b997622e50625a8
1908819067
languageName: node
1908919068
linkType: hard
1909019069

@@ -19376,9 +19355,9 @@ __metadata:
1937619355
languageName: node
1937719356
linkType: hard
1937819357

19379-
"recharts@npm:2.14.1":
19380-
version: 2.14.1
19381-
resolution: "recharts@npm:2.14.1"
19358+
"recharts@npm:2.15.0":
19359+
version: 2.15.0
19360+
resolution: "recharts@npm:2.15.0"
1938219361
dependencies:
1938319362
clsx: "npm:^2.0.0"
1938419363
eventemitter3: "npm:^4.0.1"
@@ -19389,9 +19368,9 @@ __metadata:
1938919368
tiny-invariant: "npm:^1.3.1"
1939019369
victory-vendor: "npm:^36.6.8"
1939119370
peerDependencies:
19392-
react: ^16.0.0 || ^17.0.0 || ^18.0.0
19393-
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0
19394-
checksum: 10c0/dfc1840ee03a5a51d08e77b83e2120f6723ab5349fad012d3a29ea0299da0bf1f30d1955fad60aec830d29f44d6f7fd4d6f41a5017094a40c03429dfa8461ef5
19371+
react: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
19372+
react-dom: ^16.0.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
19373+
checksum: 10c0/9dca8003c22c1d91b895add65e85d58bc1e79a5abc739bf0b61e275384f70b6922ad7247c0c39e0f5650174d2d9b1a006dc9c23d33732b7f4016c7df076826d3
1939519374
languageName: node
1939619375
linkType: hard
1939719376

0 commit comments

Comments
 (0)