fix(deps): update dependency recharts to v3 #5

Open
renovate-bot wants to merge 1 commits from renovate/recharts-3.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
recharts dependencies major ^2.15.3 -> ^3.0.0

Release Notes

recharts/recharts (recharts)

v3.0.2

Compare Source

What's Changed

Please skip 3.0.1 and go straight to 3.0.2 - https://github.com/recharts/recharts/issues/6022. In React.StrictMode charts in 3.0.1 were not rendering at all. This revert should resolve that.

Full Changelog: https://github.com/recharts/recharts/compare/v3.0.1...v3.0.2

v3.0.1

Compare Source

⚠️ Version 3.0.1 has a bug where some charts will not render in React strict mode. Please use 3.0.2 or higher. ⚠️

What's Changed

Lots of fixes from the 3.0 release - thanks for the reports!

Edit: broke something https://github.com/recharts/recharts/issues/6022

Fix

Full Changelog: https://github.com/recharts/recharts/compare/v3.0.0...v3.0.1

v3.0.0

Compare Source

🚀 Recharts 3 is here!

Huge shoutout to @​PavelVanecek who wrote 95% of the code for this major version release. We re-wrote recharts state management, wrote some 3500 unit tests, fixed a bunch of bugs, and added a few well-requested features.

The intent with 3.0 is that it is now a better/easier place for the community to contribute to. Looking forward to what the future of recharts looks like in 3.x and beyond!

More details and the 3.0 migration guide

BREAKING CHANGES

Please see https://github.com/recharts/recharts/wiki/3.0-migration-guide#breaking-code-changes

tldr;

  • CategoricalChartState (which was access to recharts internal state) no longer exists in event handlers or Customized, etc.
  • <Customized /> no longer receives recharts state/props
  • Removal of internal props that were always supposed to only be internal to recharts
  • Remove previously deprecated props
  • ...see full list linked above
New Features
  • Custom Components - you can now render any react component in the recharts tree structure (but it must still be renderable within an SVG). Previously this was controlled and filtered by recharts
  • Tooltip Portals - you can now use portals to position your tooltip data anywhere you'd like, including outside of your chart
  • Legend Portals - similar to the above, you can now use portals to position your Legend anywhere you'd like, including outside of your chart
  • Accessible by default - accessibilityLayer is now on on all polar and cartesian charts by default. Tab into the chart and use the arrow keys to navigate.
  • Polar charts now support multiple axes (similar to cartesian charts)
  • Tooltip: You can now select which axis your Tooltip belongs to using axisId
  • YAxis: auto width calculation for YAxes - set width="auto"
  • X/YAxis: Add symlog d3 scale type
Bug fixes and improvements

This release fixes some long standing issues in recharts, the easiest way to determine all of them is to take a look at the recharts 3.0 project board

  • Animation improvements
  • Typescript improvements
  • Accessibility fixes/improvements
  • Pie: no more border around pie sectors on click, etc.
  • CartesianGrid: background now renders below the grid lines instead of above
  • and more!

Our 3.0 storybook has a lot of updated examples!


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [recharts](https://github.com/recharts/recharts) | dependencies | major | [`^2.15.3` -> `^3.0.0`](https://renovatebot.com/diffs/npm/recharts/2.15.4/3.0.2) | --- ### Release Notes <details> <summary>recharts/recharts (recharts)</summary> ### [`v3.0.2`](https://github.com/recharts/recharts/releases/tag/v3.0.2) [Compare Source](https://github.com/recharts/recharts/compare/v3.0.1...v3.0.2) ##### What's Changed Please skip 3.0.1 and go straight to 3.0.2 - https://github.com/recharts/recharts/issues/6022. In `React.StrictMode` charts in 3.0.1 were not rendering at all. This revert should resolve that. - `revert`: revert preserve legend order by [@&#8203;ckifer](https://github.com/ckifer) in https://github.com/recharts/recharts/pull/6023 **Full Changelog**: https://github.com/recharts/recharts/compare/v3.0.1...v3.0.2 ### [`v3.0.1`](https://github.com/recharts/recharts/releases/tag/v3.0.1) [Compare Source](https://github.com/recharts/recharts/compare/v3.0.0...v3.0.1) ### ⚠️ Version 3.0.1 has a bug where some charts will not render in React strict mode. Please use 3.0.2 or higher. ⚠️ #### What's Changed Lots of fixes from the 3.0 release - thanks for the reports! Edit: broke something https://github.com/recharts/recharts/issues/6022 ##### Fix - `Label`: fix an issue which caused `labelRef` to get passed to custom DOM elements which logged an error/warning by [@&#8203;saurabhraj123](https://github.com/saurabhraj123) in https://github.com/recharts/recharts/pull/6008 - `Pie`->`Label`: fix issue where pie labels were not rendering correctly when specified as a child of `Pie` by [@&#8203;PavelVanecek](https://github.com/PavelVanecek) in https://github.com/recharts/recharts/pull/5987 - `Legend`: apply legend `itemSorter` for custom `content` as well as default content by [@&#8203;PavelVanecek](https://github.com/PavelVanecek) in https://github.com/recharts/recharts/pull/6012 \~~\* `Legend`: keep legend items in the same order when they are hidden and shown by [@&#8203;PavelVanecek](https://github.com/PavelVanecek) in https://github.com/recharts/recharts/pull/6017~~ - `Bar`->`Brush`: fix undefined access error when using `Brush` with stacked bar charts by [@&#8203;PavelVanecek](https://github.com/PavelVanecek) in https://github.com/recharts/recharts/pull/6009 - `X/YAxis`: fix `DecimalError` when creating vertical oriented charts with a single datapoint by [@&#8203;ckifer](https://github.com/ckifer) in https://github.com/recharts/recharts/pull/6016 - `X/Y/PolarAngle/PolarRadius Axis`: `tickFormatter` is no longer called with data indexes before the actual data by [@&#8203;PavelVanecek](https://github.com/PavelVanecek) in https://github.com/recharts/recharts/pull/6019 **Full Changelog**: https://github.com/recharts/recharts/compare/v3.0.0...v3.0.1 ### [`v3.0.0`](https://github.com/recharts/recharts/releases/tag/v3.0.0) [Compare Source](https://github.com/recharts/recharts/compare/v2.15.4...v3.0.0) #### 🚀 Recharts 3 is here! Huge shoutout to [@&#8203;PavelVanecek](https://github.com/PavelVanecek) who wrote 95% of the code for this major version release. We re-wrote recharts state management, wrote some 3500 unit tests, fixed a bunch of bugs, and added a few well-requested features. The intent with 3.0 is that it is now a better/easier place for the community to contribute to. Looking forward to what the future of recharts looks like in 3.x and beyond! [**More details and the 3.0 migration guide**](https://github.com/recharts/recharts/wiki/3.0-migration-guide) ##### BREAKING CHANGES Please see https://github.com/recharts/recharts/wiki/3.0-migration-guide#breaking-code-changes tldr; - `CategoricalChartState` (which was access to recharts internal state) no longer exists in event handlers or `Customized`, etc. - `<Customized />` no longer receives recharts state/props - Removal of internal props that were always supposed to only be internal to recharts - Remove previously deprecated props - ...see full list linked above ##### New Features - [Custom Components](http://github.com/recharts/recharts/wiki/3.0-migration-guide#custom-components) - you can now render any react component in the recharts tree structure (but it must still be renderable within an SVG). Previously this was controlled and filtered by recharts - [Tooltip Portals](https://github.com/recharts/recharts/wiki/3.0-migration-guide#tooltip-portal) - you can now use portals to position your tooltip data anywhere you'd like, including outside of your chart - Legend Portals - similar to the above, you can now use portals to position your Legend anywhere you'd like, including outside of your chart - [Accessible by default](https://github.com/recharts/recharts/wiki/3.0-migration-guide#accessibility-by-default) - `accessibilityLayer` is now on on all polar and cartesian charts by default. Tab into the chart and use the arrow keys to navigate. - [Polar charts now support multiple axes](https://github.com/recharts/recharts/wiki/3.0-migration-guide#multiple-axes-in-polar-charts) (similar to cartesian charts) - Tooltip: You can now select which axis your Tooltip belongs to [using `axisId`](https://github.com/recharts/recharts/wiki/3.0-migration-guide#multiple-axes-and-tooltip) - `YAxis`: [auto width calculation for YAxes ](https://github.com/recharts/recharts/wiki/3.0-migration-guide#auto-width-y-axis)- set `width="auto"` - `X/YAxis`: Add `symlog` d3 scale type ##### Bug fixes and improvements This release fixes some long standing issues in recharts, the easiest way to determine all of them is to take a look at the recharts 3.0 [project board](https://github.com/orgs/recharts/projects/2/views/1) - Animation improvements - Typescript improvements - Accessibility fixes/improvements - `Pie`: no more border around pie sectors on click, etc. - `CartesianGrid`: background now renders below the grid lines instead of above - and more! Our [3.0 storybook ](https://63da8268a0da9970db6992aa-zwbccjhbxb.chromatic.com/) has a lot of updated examples! </details> --- ### Configuration 📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, 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 has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC40Ni4wIiwidXBkYXRlZEluVmVyIjoiNDAuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2025-06-28 02:03:37 +02:00
fix(deps): update dependency recharts to v3
Some checks failed
Lint / Lint and Typecheck (push) Failing after 39s
Lint / Lint and Typecheck (pull_request) Failing after 39s
27ab283606
Some checks failed
Lint / Lint and Typecheck (push) Failing after 39s
Lint / Lint and Typecheck (pull_request) Failing after 39s
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/recharts-3.x:renovate/recharts-3.x
git checkout renovate/recharts-3.x
Sign in to join this conversation.
No description provided.