Skip to content

fix(deps): update dependency recharts to v3 - #78

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/recharts-3.x
Open

fix(deps): update dependency recharts to v3#78
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/recharts-3.x

Conversation

@renovate

@renovate renovate Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
recharts ^2.15.3^3.0.0 age confidence

Release Notes

recharts/recharts (recharts)

v3.10.1

Compare Source

v3.10.0

Compare Source

What's Changed

Legend position

Legend now supports position and offset props, same as Label and LabeList. This replaces the previous align and verticalAlign for a more convenient positioning, and fixes couple visual bugs too. See https://recharts.github.io/en-US/examples/LegendPosition/

XAxis auto height

XAxis now supports height="auto" prop, similar to YAxis width="auto".

  • feat(XAxis): support height="auto" to size the axis to its tick labels by @​kimlj in #​7570
Other features
Bugfixes

New Contributors

Full Changelog: recharts/recharts@v3.9.2...v3.10.0

v3.9.2

Compare Source

What's Changed

New Contributors

Full Changelog: recharts/recharts@v3.9.1...v3.9.2

v3.9.1

Compare Source

What's Changed

New Contributors

Full Changelog: recharts/recharts@v3.9.0...v3.9.1

v3.9.0

Compare Source

What's Changed

Animations

3.9 comes with new animations! There are several bug fixes and what's best, all animations are now fully customizable.

See the animations guide on https://recharts.github.io/en-US/guide/animations/

New features other than animations
Bugfixes
Tree-shaking

We now have focused tree-shaking tests that allow us to observe exactly which components end up in the final bundle and why. I have also removed some unnecessary loops and you should see the final bundle size decrease somewhat as a result.

There are also two new examples on the website, showing real bundle size:

Documentation updates

New Contributors

Full Changelog: recharts/recharts@v3.8.1...v3.9.0-canary.0

v3.8.1

Compare Source

What's Changed

Bugfixes!

New Contributors

Full Changelog: recharts/recharts@v3.8.0...v3.8.1

v3.8.0

Compare Source

What's Changed

We added generics to our data and dataKey props and now you can have your charts validated by TypeScript. See the full guide here: https://recharts.github.io/en-US/guide/typescript/

We are releasing new helper functions and hooks that will allow you to precisely target mouse interactions, and convert coordinates. See the guide here: https://recharts.github.io/en-US/guide/coordinateSystems/

And new functions and hooks:

getRelativeCoordinate - converts mouse events to pixel positions

Convert Data → Pixels:

useXAxisScale - returns a function to convert X data values to pixel positions
useYAxisScale - returns a function to convert Y data values to pixel positions
useCartesianScale - convenience hook for converting both at once

Pixels → Data:

useXAxisInverseScale - returns a function to convert pixel X to the closest data value
useYAxisInverseScale - returns a function to convert pixel Y to the closest data value
useXAxisInverseTickSnapScale - returns a function to convert pixel X to the closest axis tick
useYAxisInverseTickSnapScale - returns a function to convert pixel Y to the closest axis tick

Accessing Ticks:

useXAxisTicks - returns the calculated ticks of an X-axis
useYAxisTicks - returns the calculated ticks of a Y-axis

Feat
Fix
Types
Docs

New Contributors

Full Changelog: recharts/recharts@v3.7.0...v3.8.0

v3.7.0

Compare Source

What's Changed

📢 Cell is now deprecated and will be removed in the next major version. Please migrate all Cell usage to use the shape prop of respective chart elements. ‼️

Feat
New Hooks
Other
Fix
Chore
Docs

We've started auto-generating our docs for the most part so you should see large improvements in accuracy of the docs between the code, the website, and the storybook. Huge shoutout to @​PavelVanecek 🚀

New Contributors

Full Changelog: recharts/recharts@v3.6.0...v3.7.0

v3.6.0

Compare Source

What's Changed

3.6 🚀 - check out BarStack and ranged stacked bars 📊

Feat
Fix
Chore
  • CartesianAxis: Deprecate CartesianAxis @​PavelVanecek in #​6774
  • Bump to Node 24
  • Lots of undefined checks for progress towards TS strict mode
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: recharts/recharts@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: recharts/recharts@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: recharts/recharts@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: recharts/recharts@v3.4.0...v3.4.1

v3.4.0

Compare Source

What's Changed

Added z-index support across most recharts surfaces + a few other features, lots of fixes, and some doc updates 🚀

Feat
Fix
  • Stacked Bar / Brush: fix bug in stacked bar charts with a brush where the brush would remove elements from the wrong side of the chart by @​37108 in #​6481
  • Area: fix regression in Area event handlers where the events were not firing correctly by [@​PavelVanecek](ht

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Australia/Melbourne)

  • Branch creation
    • At any time (no schedule defined)
  • 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 was generated by Mend Renovate. View the repository job log.

@netlify

netlify Bot commented Sep 2, 2026

Copy link
Copy Markdown

Deploy Preview for climate-ref failed. Why did it fail? →

Name Link
🔨 Latest commit 184e27b
🔍 Latest deploy log https://app.netlify.com/projects/climate-ref/deploys/6a98c29e5b8cbe000709028f

@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch from 57f9355 to 184e27b Compare September 3, 2026 00:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants