Skip to content

chore(deps): bump recharts from 2.15.4 to 3.8.1#326

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/recharts-3.8.1
Closed

chore(deps): bump recharts from 2.15.4 to 3.8.1#326
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/recharts-3.8.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps recharts from 2.15.4 to 3.8.1.

Release notes

Sourced from recharts's releases.

v3.8.1

What's Changed

Bugfixes!

New Contributors

Full Changelog: recharts/recharts@v3.8.0...v3.8.1

v3.8.0

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:

... (truncated)

Commits
  • 5b10788 chore(deps-dev): bump diff from 8.0.3 to 8.0.4 (#7156)
  • 222396f chore(deps): bump react-router-dom from 7.13.1 to 7.13.2 (#7164)
  • c2642da chore(deps-dev): bump typescript-eslint from 8.57.1 to 8.57.2 (#7166)
  • b186929 fix(RechartsWrapper): prevent ResizeObserver memory leak on ref update (#7161)
  • 738f71f fix(Tooltip): prevent crash on sparse or undefined payload entries (#7149)
  • 00daf0b chore(deps-dev): bump rollup from 4.59.0 to 4.60.0 (#7158)
  • eba4f2a chore(deps-dev): bump marked from 17.0.4 to 17.0.5 (#7157)
  • 201d060 fix: resolve keyboard navigation and tooltip issues for Pie charts (#6921) (#...
  • 670d092 chore(deps-dev): bump flatted from 3.3.3 to 3.4.2 (#7150)
  • 86ca8de fix: stackOffset expand should not override numerical XAxis domain (#7152)
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by corkscreewe, a new releaser for recharts since your current version.

Install script changes

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


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

@dependabot @github

dependabot Bot commented on behalf of github Mar 30, 2026

Copy link
Copy Markdown
Contributor Author

Labels

The following labels could not be found: npm, nx-updates. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Mar 30, 2026
@Schlomoh Schlomoh requested a review from Copilot April 2, 2026 00:28

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Upgrades the charting dependency recharts to the v3 major line, updating the workspace dependency spec and regenerating the pnpm lockfile to reflect the new dependency graph.

Changes:

  • Bump recharts from ^2.15.3^3.8.1 in root package.json.
  • Update pnpm-lock.yaml for the new Recharts version and its revised transitive/peer dependency resolution (notably adding redux-related packages and new peer contexts).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 3 comments.

File Description
package.json Updates the root dependency spec to recharts@^3.8.1.
pnpm-lock.yaml Lockfile refresh reflecting Recharts v3 and resulting transitive/peer resolution changes (e.g., redux/toolkit/react-redux additions; peer context changes including immer).
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

Comment thread package.json
"react-resizable-panels": "^2.1.9",
"react-router": "7.12.0",
"recharts": "^2.15.3",
"recharts": "^3.8.1",

Copilot AI Apr 2, 2026

Copy link

Choose a reason for hiding this comment

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

Recharts is being upgraded across a major version (2.x → 3.x). The v3 release notes mention install-time script changes and a new npm releaser; before merging, please do a quick supply-chain sanity check (e.g., review the published tarball contents / provenance) and verify charts render correctly in the app/Storybook after the upgrade.

Suggested change
"recharts": "^3.8.1",
"recharts": "3.8.1",

Copilot uses AI. Check for mistakes.
Comment thread pnpm-lock.yaml Outdated
Comment on lines +216 to +220
specifier: 7.12.0
version: 7.12.0(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
recharts:
specifier: ^2.15.3
version: 2.15.4(react-dom@19.2.0(react@19.2.0))(react@19.2.0)
specifier: ^3.8.1
version: 3.8.1(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react-is@18.3.1)(react@19.2.0)(redux@5.0.1)

Copilot AI Apr 2, 2026

Copy link

Choose a reason for hiding this comment

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

The Recharts 3.x bump now resolves with additional peers/transitives (e.g. react-is and redux@5.0.1 in the resolution context). Please confirm we actually want these extra dependencies pulled into the workspace (bundle size / client runtime surface), and that pnpm's auto-installed peers won’t cause surprising dependency drift for consumers.

Copilot uses AI. Check for mistakes.
Comment thread pnpm-lock.yaml Outdated
Comment on lines +122 to +130
'@react-three/drei':
specifier: ^10.7.7
version: 10.7.7(@react-three/fiber@9.4.2(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0))(@types/react@19.0.0)(@types/three@0.176.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0)
version: 10.7.7(@react-three/fiber@9.4.2(@types/react@19.0.0)(immer@11.1.4)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0))(@types/react@19.0.0)(@types/three@0.176.0)(immer@11.1.4)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0)
'@react-three/fiber':
specifier: ^9.4.2
version: 9.4.2(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0)
version: 9.4.2(@types/react@19.0.0)(immer@11.1.4)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0)
'@react-three/postprocessing':
specifier: ^3.0.4
version: 3.0.4(@react-three/fiber@9.4.2(@types/react@19.0.0)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0))(@types/three@0.176.0)(react@19.2.0)(three@0.177.0)
version: 3.0.4(@react-three/fiber@9.4.2(@types/react@19.0.0)(immer@11.1.4)(react-dom@19.2.0(react@19.2.0))(react@19.2.0)(three@0.177.0))(@types/three@0.176.0)(react@19.2.0)(three@0.177.0)

Copilot AI Apr 2, 2026

Copy link

Choose a reason for hiding this comment

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

This lockfile change indicates optional peer resolution for the React Three stack now includes immer@11.1.4 (e.g. @react-three/fiber/drei/postprocessing). Since this PR’s intent is a Recharts bump, it’s worth double-checking why immer is now being pulled into these dependency graphs (and whether it impacts bundle size/dedupe).

Copilot uses AI. Check for mistakes.
@dependabot @github

dependabot Bot commented on behalf of github Apr 7, 2026

Copy link
Copy Markdown
Contributor Author

Dependabot can't authenticate to a private package registry. Because of this, Dependabot cannot update this pull request.

@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/recharts-3.8.1 branch 3 times, most recently from 4b59d0e to 9bd5c04 Compare April 13, 2026 01:09
Bumps [recharts](https://github.com/recharts/recharts) from 2.15.4 to 3.8.1.
- [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.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/recharts-3.8.1 branch from 9bd5c04 to b6ae612 Compare April 21, 2026 01:32
@dependabot @github

dependabot Bot commented on behalf of github Jul 7, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #602.

@dependabot dependabot Bot closed this Jul 7, 2026
@dependabot dependabot Bot deleted the dependabot/npm_and_yarn/recharts-3.8.1 branch July 7, 2026 02:17
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.

1 participant