Skip to content

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

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

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

Conversation

@renovate

@renovate renovate Bot commented Dec 9, 2025 •

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.4 → ^3.0.0 age confidence
recharts ^2.12.7 → ^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 th

✂ Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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 these updates 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
renovate Bot force-pushed the renovate/recharts-3.x branch from eea40b9 to 0cff9a7 Compare December 15, 2025 10:46
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch from 0cff9a7 to 95126e3 Compare December 31, 2025 15:04
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from 7f540af to 5138a5f Compare January 15, 2026 14:41
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 3 times, most recently from 471b87e to 902a98a Compare January 23, 2026 19:31
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch from 902a98a to 9508d5a Compare February 2, 2026 17:02
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from 3293228 to dd93c50 Compare February 17, 2026 20:05
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 3 times, most recently from f24bf6c to 3852473 Compare February 27, 2026 15:43
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from 69889d5 to d2912ff Compare March 6, 2026 22:43
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from 460a19a to 660d730 Compare March 16, 2026 16:40
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from fa77842 to 0804673 Compare March 25, 2026 12:54
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from b207f23 to 1cebbf1 Compare April 8, 2026 14:54
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch from 1cebbf1 to 21599ed Compare April 11, 2026 15:10
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 3 times, most recently from 0ddd98e to 12d776e Compare May 4, 2026 19:29
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from e58564e to e6d5096 Compare May 12, 2026 10:33
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch 2 times, most recently from 311b6f6 to ce819dd Compare May 14, 2026 15:43
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch from ce819dd to 461adfe Compare July 26, 2026 01:27
@renovate
renovate Bot force-pushed the renovate/recharts-3.x branch from 461adfe to f7177aa Compare August 8, 2026 19:09

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants