Skip to content

Conversation

homarr-renovate[bot]
Copy link
Contributor

@homarr-renovate homarr-renovate bot commented Jun 23, 2025

This PR contains the following updates:

Package Change Age Confidence
recharts ^2.15.4 -> ^3.1.2 age confidence

Release Notes

recharts/recharts (recharts)

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 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: 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 Renovate Bot.

@homarr-renovate homarr-renovate bot requested a review from a team as a code owner June 23, 2025 06:24
homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jun 23, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

Copy link
Contributor

deepsource-io bot commented Jun 23, 2025

Here's the code health analysis summary for commits b398be0..6be46f7. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link

github-actions bot commented Jun 23, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 25.2% 14640 / 58075
🔵 Statements 25.2% 14640 / 58075
🔵 Functions 37.79% 686 / 1815
🔵 Branches 72.14% 1645 / 2280
File CoverageNo changed files found.
Generated in workflow #8080 for commit 6be46f7 by the Vitest Coverage Report Action

@Meierschlumpf
Copy link
Member

Before we can merge this, we'll probably need an update from @mantine/charts

Copy link
Member

@Meierschlumpf Meierschlumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update @mantine/charts to support v3 first

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jun 25, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jun 26, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jun 26, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jul 3, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jul 3, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jul 7, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jul 7, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Jul 9, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

@homarr-renovate homarr-renovate bot force-pushed the renovate/recharts-3.x branch from 28c074d to 59bc021 Compare August 13, 2025 03:17
homarr-approvals[bot]
homarr-approvals bot previously approved these changes Aug 13, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Aug 17, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

@homarr-renovate homarr-renovate bot changed the title fix(deps): update dependency recharts to v3 fix(deps): update dependency recharts to v3 - autoclosed Aug 26, 2025
@homarr-renovate homarr-renovate bot closed this Aug 26, 2025
@homarr-renovate homarr-renovate bot deleted the renovate/recharts-3.x branch August 26, 2025 14:14
@homarr-renovate homarr-renovate bot changed the title fix(deps): update dependency recharts to v3 - autoclosed fix(deps): update dependency recharts to v3 Aug 30, 2025
@homarr-renovate homarr-renovate bot reopened this Aug 30, 2025
@homarr-renovate homarr-renovate bot force-pushed the renovate/recharts-3.x branch from 1b2392a to 181815b Compare August 30, 2025 10:08
@homarr-renovate homarr-renovate bot force-pushed the renovate/recharts-3.x branch from 181815b to cffbbf7 Compare August 30, 2025 10:36
homarr-approvals[bot]
homarr-approvals bot previously approved these changes Aug 30, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Aug 30, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Aug 30, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Sep 5, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

homarr-approvals[bot]
homarr-approvals bot previously approved these changes Sep 13, 2025
Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

Copy link

@homarr-approvals homarr-approvals bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by GitHub Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Blocked by something external / internal
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant