Skip to content

chore(deps): bump recharts from 2.12.7 to 3.10.1 - #190

Merged
N-thnI merged 6 commits into
mainfrom
dependabot/npm_and_yarn/recharts-3.10.1
Jul 29, 2026
Merged

chore(deps): bump recharts from 2.12.7 to 3.10.1#190
N-thnI merged 6 commits into
mainfrom
dependabot/npm_and_yarn/recharts-3.10.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps recharts from 2.12.7 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 dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 28, 2026
Bumps [recharts](https://github.com/recharts/recharts) from 2.12.7 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.12.7...v3.10.1)

---
updated-dependencies:
- dependency-name: recharts
  dependency-version: 3.10.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.10.1 branch from 088cb74 to cfbfb33 Compare July 28, 2026 20:35
N-thnI and others added 5 commits July 28, 2026 21:50
recharts 3's LabelFormatter no longer accepts a formatter typed to
take only number - the value parameter can be string | number, so a
(v: number) => ... function isn't assignable to it. Widen the
parameter and keep the existing runtime numeric check.
TS confirmed the real signature: label is string | number | undefined
(the previous fix only widened to string | number). The runtime
typeof-number check already handles this correctly.
…LabelFormatter

Each narrower guess (number -> string|number -> string|number|undefined)
hit a new rejected member of recharts' actual RenderableText union one
at a time. Widen to unknown, which is assignable regardless of that
union's exact shape; the existing typeof-number runtime check already
narrows it safely.
Same issue as the gridstack PR: merging main into this branch (to
pick up #182's i18next bump) resolved package.json's recharts line
back to 2.12.7 even though package-lock.json still correctly had
3.10.1 installed, which npm ci rejects as out of sync. Restore 3.10.1
to match the lockfile.
@N-thnI
N-thnI merged commit 961f3d8 into main Jul 29, 2026
4 checks passed
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/recharts-3.10.1 branch July 29, 2026 13:53
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant