Skip to content

Update dependency recharts to v3#42

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

Update dependency recharts to v3#42
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/recharts-3.x

Conversation

@renovate

@renovate renovate Bot commented Dec 6, 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.03.9.0 age confidence

Release Notes

recharts/recharts (recharts)

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 in #​6507
  • Funnel: fix Funnel margin calculations by @​PavelVanecek in #​6453
  • Funnel: fix label position issues from previous release by @​PavelVanecek in #​6473
  • Label/Text: correct Label and Text types to only what they can actually render by @​PavelVanecek in #​6467
  • Misc: inline a few es-toolkit functions that were causing build errors by @​daiboom in #​6543
  • Misc: remove circular dependency import that had potential to cause runtime errors by @​ckifer in #​6581
Chore
Docs

Lots of changes in recharts.github.io

  • Switch code editor to codemirror by @​PavelVanecek in #​6531
  • Added/removed missing/stale properties where applicable from storybook and website
  • Few layout/visual changes and fixes on the website
  • Much more

New Contributors

Full Changelog: recharts/recharts@v3.3.0...v3.4.0

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: recharts/recharts@v3.2.1...v3.3.0

v3.2.1

Compare Source

What's Changed

Fix

New Contributors

Full Changelog: recharts/recharts@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
  • Bar: fix unnecessary line breaks in Bar labels by @​eino in #​6214
  • Bar: improve Bar perform

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Asia/Jerusalem)

  • 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 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 renovate Bot added the renovate label Dec 6, 2025
@vercel

vercel Bot commented Dec 6, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
connected-agent Ready Ready Preview, Comment Jun 26, 2026 6:01pm

@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 77296b9 to 8840398 Compare December 12, 2025 12:38
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 8840398 to 1e0d27f Compare December 18, 2025 07:00
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 1e0d27f to 7906bc5 Compare December 31, 2025 18:16
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 7906bc5 to 1b4de1a Compare January 7, 2026 22:42
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 1b4de1a to 1c1f6b0 Compare January 19, 2026 17:15
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 1c1f6b0 to 7bdbe78 Compare January 24, 2026 22:56
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 7bdbe78 to 2aa6e6d Compare January 28, 2026 12:17
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 2aa6e6d to 83b7a4a Compare January 29, 2026 02:43
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 83b7a4a to 1dd0029 Compare February 2, 2026 16:19
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 1dd0029 to 3007f68 Compare February 5, 2026 03:18
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 3007f68 to 4311676 Compare February 12, 2026 13:53
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 4311676 to 6b6b846 Compare March 5, 2026 16:48
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 6b6b846 to 212ba80 Compare March 9, 2026 23:57
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 212ba80 to e65bfae Compare March 13, 2026 12:49
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from e65bfae to 6a5d860 Compare March 17, 2026 22:45
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 6a5d860 to 3781766 Compare March 28, 2026 14:16
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 3781766 to 9ec1a7a Compare April 8, 2026 11:08
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 9ec1a7a to bde0824 Compare April 10, 2026 22:46
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from bde0824 to 40edfb5 Compare April 23, 2026 07:39
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 40edfb5 to 9a9ebb1 Compare April 24, 2026 20:12
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 9a9ebb1 to a97d814 Compare April 29, 2026 18:01
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from a97d814 to dbdd496 Compare May 12, 2026 03:22
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from dbdd496 to 051b3b3 Compare May 18, 2026 13:42
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 051b3b3 to 1658412 Compare May 28, 2026 22:36
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from 1658412 to f152f47 Compare June 2, 2026 00:50
@renovate renovate Bot force-pushed the renovate/recharts-3.x branch from f152f47 to 94cc09e Compare June 11, 2026 22:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants