Skip to content

chore(deps)(deps-dev): bump recharts from 2.15.4 to 3.10.1#1978

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/recharts-3.10.1
Open

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

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps recharts from 2.15.4 to 3.10.1.

Release notes

Sourced from recharts's releases.

v3.10.1

What's Changed

New Contributors

Full Changelog: recharts/recharts@v3.10.0...v3.10.1

v3.10.0

What's Changed

Legend position

Legend now supports position and offset props, same as Label and LabeList. This replaces the previous align and verticalAlign for a more convenient positioning, and fixes couple visual bugs too. See https://recharts.github.io/en-US/examples/LegendPosition/

XAxis auto height

XAxis now supports height="auto" prop, similar to YAxis width="auto".

Other features

Bugfixes

New Contributors

... (truncated)

Commits
  • ffb9187 3.10.1
  • 411b6f2 fix(bar): keep barGap correct when maxBarSize clamps the bar width (#2774) (#...
  • 58c321b chore(deps-dev): bump postcss from 8.5.10 to 8.5.22 (#7581)
  • f08972b chore(deps-dev): bump the storybook group with 8 updates (#7578)
  • 89599d0 chore(deps-dev): bump chromatic from 11.29.0 to 18.1.0 (#7579)
  • 3da7d87 chore(deps-dev): bump typescript-eslint from 8.64.0 to 8.65.0 in the typescri...
  • 9764273 chore(deps-dev): bump marked from 18.0.5 to 18.0.7 (#7577)
  • a5d7737 fix(tooltip): fall back to index-based search when label-based search returns...
  • 497e8df chore(deps-dev): bump fast-uri from 3.1.2 to 3.1.4 (#7576)
  • 0776eb0 chore(deps): bump immer from 11.1.9 to 11.1.15 (#7575)
  • Additional commits viewable in compare view
Maintainer changes

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

Install script changes

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


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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)

Bumps [recharts](https://github.com/recharts/recharts) from 2.15.4 to 3.10.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.10.1)

---
updated-dependencies:
- dependency-name: recharts
  dependency-version: 3.10.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot @github

dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Labels

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

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

"react-dom": "^19",
"react-router-dom": "^7",
"recharts": "^2",
"recharts": "^3",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Issue: Recharts 3 needs explicit grid axis IDs for the multi-axis chart

What's wrong
The dependency bump changes Recharts' CartesianGrid/axis contract, but the existing Operations chart has custom Y axis IDs and leaves the grid on the default axis ID. That makes the monitoring chart lose grid lines after the upgrade, reducing the accuracy/readability of the operational telemetry view.

Example
Open the Operations hardware Network & RPC chart after installing Recharts 3. The chart still defines only left and right Y axes, while CartesianGrid defaults to Y axis 0; under Recharts 3 the grid no longer matches any Y axis, so the horizontal grid lines can disappear. Expected behavior is that the chart keeps its grid against the primary left axis.

Suggested direction
Audit the Recharts 3 migration notes against the existing chart JSX and add explicit yAxisId/xAxisId where charts use non-default axes. The visible fix here is to bind the Network & RPC CartesianGrid to the primary Y axis.

For Agents
In packages/node-ui/src/ui/pages/Operations.tsx, update the multi-axis Network & RPC chart's CartesianGrid to bind to the intended axis, likely yAxisId="left", while preserving the two series on left and right. Add a focused render assertion or screenshot/e2e check proving the grid still renders for the multi-axis chart after the Recharts 3 upgrade.

Recharts major upgrade is not backed by chart rendering validation

What's wrong
This PR changes a user-facing charting dependency across a major version, but the diff adds no regression test or validation evidence for the charts that consume it. Existing tests can pass while the actual Recharts surfaces are blank or chart-specific props stop behaving.

Example
A regression where Recharts v3 renders an empty ResponsiveContainer or breaks Legend/Tooltip interaction would still pass the current operations e2e checks, because they only assert labels like Hardware, CPU, Memory, Disk, or Error Hotspots are visible.

Suggested direction
Add or update an e2e/component test that exercises the Recharts surfaces using the upgraded package, and include a passing TypeScript/build check for the node UI.

Confidence note
I could not run the requested pnpm tsc command in this sandbox because pnpm is not installed; linked CI or a passing local run could close part of this gap.

For Agents
Look at packages/node-ui/src/ui/pages/Operations.tsx and packages/node-ui/e2e/specs/operations.spec.ts. Add coverage for the Recharts-backed Observability charts after the v3 bump, ideally asserting at least one chart surface/series renders in All Operations and Hardware with representative data, and keep a tsc/build validation in CI or PR evidence.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant