Skip to content

chore(deps): bump recharts from 2.15.4 to 3.7.0#10

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/recharts-3.7.0
Open

chore(deps): bump recharts from 2.15.4 to 3.7.0#10
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/recharts-3.7.0

Conversation

@dependabot
Copy link
Copy Markdown

@dependabot dependabot Bot commented on behalf of github Mar 5, 2026

Bumps recharts from 2.15.4 to 3.7.0.

Release notes

Sourced from recharts's releases.

v3.7.0

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

... (truncated)

Commits
Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by cubic

Upgraded Recharts from 2.x to 3.7.0 to get bug fixes and improved TypeScript types. This is a major bump; please check chart behavior.

  • Dependencies

    • recharts: ^3.7.0
  • Migration

    • Replace any Cell usage with the shape prop on Bar/Pie/Area/Scatter, etc.
    • Update custom axis tick components to match new XAxis/YAxis tick prop types.
    • Rebuild and smoke test charts (tooltips, stacked bars, active styles).

Written for commit f244165. Summary will update on new commits.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [recharts](https://github.com/recharts/recharts) from 2.15.4 to 3.7.0.
- [Release notes](https://github.com/recharts/recharts/releases)
- [Changelog](https://github.com/recharts/recharts/blob/main/CHANGELOG.md)
- [Commits](recharts/recharts@v2.15.4...v3.7.0)

---
updated-dependencies:
- dependency-name: recharts
  dependency-version: 3.7.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 5, 2026
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

1 issue found across 1 file

Prompt for AI agents (unresolved issues)

Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.


<file name="package.json">

<violation number="1" location="package.json:45">
P2: Major version bump (v2 → v3) introduces `Cell` deprecation. The codebase uses `Cell` in `components/ui/charts.tsx` for `PieChartComponent`, which will produce deprecation warnings. Per the recharts v3.7.0 release notes, `Cell` will be removed in the next major version. Consider migrating to the `shape` prop on `Pie` as part of this upgrade.</violation>
</file>

Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.

Comment thread package.json
"react-dom": "^18.2.0",
"react-window": "^2.2.6",
"recharts": "^2.12.2",
"recharts": "^3.7.0",
Copy link
Copy Markdown

@cubic-dev-ai cubic-dev-ai Bot Mar 5, 2026

Choose a reason for hiding this comment

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

P2: Major version bump (v2 → v3) introduces Cell deprecation. The codebase uses Cell in components/ui/charts.tsx for PieChartComponent, which will produce deprecation warnings. Per the recharts v3.7.0 release notes, Cell will be removed in the next major version. Consider migrating to the shape prop on Pie as part of this upgrade.

Prompt for AI agents
Check if this issue is valid — if so, understand the root cause and fix it. At package.json, line 45:

<comment>Major version bump (v2 → v3) introduces `Cell` deprecation. The codebase uses `Cell` in `components/ui/charts.tsx` for `PieChartComponent`, which will produce deprecation warnings. Per the recharts v3.7.0 release notes, `Cell` will be removed in the next major version. Consider migrating to the `shape` prop on `Pie` as part of this upgrade.</comment>

<file context>
@@ -42,7 +42,7 @@
     "react-dom": "^18.2.0",
     "react-window": "^2.2.6",
-    "recharts": "^2.12.2",
+    "recharts": "^3.7.0",
     "redis": "^5.10.0",
     "swr": "^2.2.5",
</file context>
Fix with Cubic

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

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants