Skip to content

chore(deps): upgrade recharts 2 → 3#48

Merged
DGINXREAL merged 1 commit into
mainfrom
chore/recharts-3
Jul 23, 2026
Merged

chore(deps): upgrade recharts 2 → 3#48
DGINXREAL merged 1 commit into
mainfrom
chore/recharts-3

Conversation

@DGINXREAL

Copy link
Copy Markdown
Member

Summary

Upgrades recharts ^2.15.4 → ^3.10.0 (v3 supports React 19), superseding Dependabot #41.

Only one file uses recharts — resources/js/Pages/Links/Show.tsx — via stable core components (Area/AreaChart, Bar/BarChart, CartesianGrid, LabelList, ResponsiveContainer, Tooltip, XAxis, YAxis). All remain in v3's public API, so no code changes were needed.

Verification

  • tsc typecheck + ddev npm run build — green (v3 types accept every chart prop used).
  • ddev npm run test:js (vitest) — 28 passed.
  • ddev npm audit0 vulnerabilities.
  • Visual check: rendered both chart configs (the vertical bar breakdown with value labels, and the clicks-over-time area chart with gradient fill, dashed "unique" line, tooltip, and grid) under recharts 3 in a standalone browser build — both match the current design pixel-for-pixel.

Closes #41.

🤖 Generated with Claude Code

Bumps recharts ^2.15.4 -> ^3.10.0 (recharts 3 supports React 19).

Only resources/js/Pages/Links/Show.tsx uses recharts (Area/AreaChart,
Bar/BarChart, CartesianGrid, LabelList, ResponsiveContainer, Tooltip,
XAxis, YAxis). All are stable core APIs in v3 — no code changes needed.

Verified: tsc typecheck + production build green; vitest 28/28; npm audit
0 vulnerabilities; both chart configs (vertical bar + LabelList, and the
gradient area chart with dashed unique line/tooltip/grid) render correctly
under recharts 3 in a standalone browser check.

Closes #41.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DGINXREAL
DGINXREAL requested a review from noidee-dev as a code owner July 23, 2026 15:32
@DGINXREAL
DGINXREAL merged commit a4c5743 into main Jul 23, 2026
2 of 3 checks passed
@DGINXREAL
DGINXREAL deleted the chore/recharts-3 branch July 23, 2026 15:36
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