Skip to content

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

Closed
SamuelIVX wants to merge 1 commit into
mainfrom
renovate/recharts-3.x
Closed

fix(deps): update dependency recharts to v3#73
SamuelIVX wants to merge 1 commit into
mainfrom
renovate/recharts-3.x

Conversation

@SamuelIVX
Copy link
Copy Markdown
Owner

ℹ️ 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

Release Notes

recharts/recharts (recharts)

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
Chore

New Contributors (thanks everyone!)

Full Changelog: recharts/recharts@v3.1.2...v3.1.3

v3.1.2

Compare Source

What's Changed

Fix

Full Changelog: recharts/recharts@v3.1.1...v3.1.2

v3.1.1

Compare Source

What's Changed

Fix
  • General: Don't apply duplicate IDs in the DOM by @​PavelVanecek in #​6111
  • Stacked Area/Bar: give all graphical items their own unique identifier and use that to select stacked data. Fixes issue where stacked charts could not be created from the graphical item data prop #​6073 by @​PavelVanecek
  • Stacked Area/Bar: exclude stacked axis domain when not relevant for axis by @​rinkstiekema in #​6162 fixes issue where numeric stacked charts would not render correctly
  • Area Chart: ranged area chart - show active dot on both points instead of just the top one by @​sroy8091 in #​6116 fixes #​6080
  • Polar Charts/Label: fix Label in polar charts by @​PavelVanecek in #​6126
  • Scatter/ErrorBar: choose implicit Scatter ErrorBar direction based on chart layout (to be the same as 2.x) by @​PavelVanecek in #​6159
  • X/YAxis/Reference Components: allow axis values and reference items to render when there is no data but there is a domain/explicit ticks set by @​ethphan in #​6161
  • X/YAxis: pass axis padding info to custom tick components by @​shreedharbhat98 in #​6163
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: recharts/recharts@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
  • Legend: After hiding and showing legend elements, keep them in the same order as before by @​PavelVanecek in #​6026
  • Bar: add payload as a valid property on BarRectangleItem by @​ckifer in #​6029
  • Accessibility: Remove role=application from recharts wrapper (this was removed in 2.x for accessibility reasons) by @​PavelVanecek in #​6060
  • ResponsiveContainer: Add overflow: visible zero-size wrapper so that ResponsiveContainer can shrink by @​PavelVanecek in #​6068
  • X/YAxis: Fix tickCount and allowDecimals if axis domain does not include the keyword 'auto' by @​PavelVanecek in #​6070
  • Tooltip: Fix active tooltip and dots when there are multiple graphical items each with their own data by @​PavelVanecek in #​6074
Docs
Chore

New Contributors

Full Changelog: recharts/recharts@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: recharts/recharts@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
  • Label: fix an issue which caused labelRef to get passed to custom DOM elements which logged an error/warning by @​saurabhraj123 in #​6008
  • Pie->Label: fix issue where pie labels were not rendering correctly when specified as a child of Pie by @​PavelVanecek in #​5987
  • Legend: apply legend itemSorter for custom content as well as default content by @​PavelVanecek in #​6012
    * Legend: keep legend items in the same order when they are hidden and shown by @​PavelVanecek in #​6017
  • Bar->Brush: fix undefined access error when using Brush with stacked bar charts by @​PavelVanecek in #​6009
  • X/YAxis: fix DecimalError when creating vertical oriented charts with a single datapoint by @​ckifer in #​6016
  • X/Y/PolarAngle/PolarRadius Axis: tickFormatter is no longer called with data indexes before the actual data by @​PavelVanecek in #​6019

Full Changelog: recharts/recharts@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 recha

Note

PR body was truncated to here.


Configuration

📅 Schedule: (in timezone America/New_York)

  • Branch creation
    • "every weekday"
  • 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 Mend Renovate.

@vercel
Copy link
Copy Markdown

vercel Bot commented May 18, 2026

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

Project Deployment Actions Updated (UTC)
paycore Error Error May 18, 2026 1:59pm

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 18, 2026

Warning

Rate limit exceeded

@SamuelIVX has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 55 minutes and 26 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 09bf054e-39b1-48b8-84cd-414d5684e1e8

📥 Commits

Reviewing files that changed from the base of the PR and between 8b83764 and 93a58dd.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch renovate/recharts-3.x

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@SamuelIVX
Copy link
Copy Markdown
Owner Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 3.x releases. But if you manually upgrade to 3.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@SamuelIVX SamuelIVX deleted the renovate/recharts-3.x branch May 19, 2026 10:52
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.

1 participant