ui5-webcomponents-react icon indicating copy to clipboard operation
ui5-webcomponents-react copied to clipboard

fix(deps): update dependency recharts to v3

Open renovate[bot] opened this issue 6 months ago • 2 comments

This PR contains the following updates:

Package Change Age Confidence
recharts 2.15.4 -> 3.6.0 age confidence

Release Notes

recharts/recharts (recharts)

v3.6.0

Compare Source

What's Changed

3.6 🚀 - check out BarStack and ranged stacked bars 📊

Feat
Fix
Chore
Docs
  • Docs should be improving on the daily - comments in code + storybook + the website should all be coming closer to in sync thanks to @​PavelVanecek pretty much writing his own documentation generator 🤖 🚀

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v3.5.1...v3.6.0

v3.5.1

Compare Source

What's Changed

Fix
  • Pie: add missing Sector index to Pie shape prop by @​ckifer in #​6683
    • This enables customization of specific slices of the Pie similar to activeIndex in 2.x
  • Pie: prevent cross-Pie highlighting in multi-Pie PieCharts with shared dataKeys by @​shreedharbhat98 in #​6678
    • Only marks a specific Sector as active when that sector is hovered
  • TypeScript/Tooltip: update activeLabel type to be a string | number by @​ckifer in #​6691
    • !! NOTE !!: This change may break your types if you relied on it as a string, but this is a bug fix
  • Accessibility/General: add tabIndex -1 on Recharts ZIndex svg portal g tags to prevent extraneous focusable surfaces by @​ckifer in #​6687
  • General: Removed accidental eslint dependency from main dependencies which should remove it from installation with recharts

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v3.5.0...v3.5.1

v3.5.0

Compare Source

What's Changed

Mostly fixes and performance improvements this release but check out the deprecation of Pie active/inactiveShape in favor of aligning with the shape prop of other chart elements.

Feat
  • Pie: add shape to align custom Pie sector shapes to other Recharts components by @​ckifer in #​6482
    • This change deprecates activeShape and inactiveShape. Please use the isActive prop passed from the callback to shape to create active Pie sectors.
    • Note: forgot to include the current Sector index, will add in 3.5.1
  • Stacked Charts: implement reverseStackOrder prop in v3 - fixes a regression between recharts 2 and 3 by @​j-shimizu111 in #​6644
  • Typescript/Dot: export ActiveDotProps and DotItemDotProps types by @​simaks in #​6657
Fix
Docs
New Contributors (thanks everyone!)

Full Changelog: https://github.com/recharts/recharts/compare/v3.4.1...v3.4.2

v3.4.1

Compare Source

What's Changed

Forgot some exports for Z Index in 3.4

Full Changelog: https://github.com/recharts/recharts/compare/v3.4.0...v3.4.1

v3.4.0

Compare Source

v3.3.0

Compare Source

What's Changed
Feat
  • ResponsiveContainer is now built-in to all charts by @​PavelVanecek in #​6388
    • add the responsive prop to any chart along with a height and width as if you were using ResponsiveContainer. One less component to wrap things with. ResponsiveContainer will continue to work for the life of 3.x
<BarChart data={data} responsive height={300} width="100%">
  ....
</BarChart>
Fix
Website changes - https://recharts.github.io/

Unfortunately the current contributors and admins do not own recharts.org and the renewal of the domain remains up in the air. To remove that uncertainty we have deployed the website at our github pages URL instead.

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v3.2.1...v3.3.0

v3.2.1

Compare Source

What's Changed
Fix
New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v3.2.0...v3.2.1

v3.2.0

Compare Source

What's Changed

Quite a bit of 3.0 bug fixes in this release along with two new hooks. Thanks to all who've been reporting issues!

Feat
Hooks
Fix
Chore
New Contributors (thanks everyone!)

Full Changelog: https://github.com/recharts/recharts/compare/v3.1.2...v3.1.3

v3.1.2

Compare Source

What's Changed

Fix

Full Changelog: https://github.com/recharts/recharts/compare/v3.1.1...v3.1.2

v3.1.1

Compare Source

What's Changed

Fix
Chore / Testing
  • good progress on our journey to enable strictNullChecks
  • addition of playwright visual regression tests to CI
  • split Animate into JavascriptAnimate and CSSTransitionAnimate by @​PavelVanecek in #​6175

New Contributors

Full Changelog: https://github.com/recharts/recharts/compare/v3.1.0...v3.1.1

v3.1.0

Compare Source

What's Changed

Bug fixes (old and new) and a few new hooks post 3.0 launch!

Feat

More hooks!

Fix
Docs
Chore

New Contributors

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

v3.0.2

Compare Source

What's Changed

Please skip 3.0.1 and go straight to 3.0.2 - #​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 #​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 - 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.


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

This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] avatar Jun 30 '25 09:06 renovate[bot]