Skip to content

chore(deps)(deps): bump recharts from 2.15.4 to 3.10.1 in /frontend/studyhub-app - #446

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/studyhub-app/recharts-3.10.1
Closed

chore(deps)(deps): bump recharts from 2.15.4 to 3.10.1 in /frontend/studyhub-app#446
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/frontend/studyhub-app/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:production
  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: frontend. Please create it before Dependabot can add it 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 Jul 27, 2026
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 27, 2026

Copy link
Copy Markdown

Deploying studyhub with  Cloudflare Pages  Cloudflare Pages

Latest commit: 7ec6c46
Status:🚫  Build failed.

View logs

Apexone11 added a commit that referenced this pull request Aug 2, 2026
Clears 3 advisories (2 high) that landed after round 3.
**Lockfile-only** — no manifest changes.

| Alert | Package | Advisory floor | Now at |
|---|---|---|---|
| #179, #182 (high) | postcss | 8.5.18 | **8.5.25** (all 3 lockfiles) |
| #180 (medium) | tar | 7.5.21 | **7.5.22** (root + frontend) |

## Not included: react-router (deliberate)
The 2 remaining high alerts (#176, #177) are `react-router`, and the fix
is **8.3.0 — a major bump from 7.18.1**. CLAUDE.md lists React Router
among the majors that require an explicit founder approval, so it is
held out of this PR. It touches every route in the app and deserves its
own PR with a full route smoke pass. Dependabot has it open as
#450/#451.

Also open and awaiting the same call: #446 recharts 2→3, #447
@vitejs/plugin-react 5→6, #448 @testing-library/jest-dom 6→7, #449
rollup-plugin-visualizer 6→7 — all majors.

## Validation
- Backend: lint ✅ · build ✅ · tests ✅ **3541 passed**
- Frontend: lint ✅ 0 errors · build ✅ · **906 passed**
- Release-log entry added (CI gate)
- `playwright-smoke` remains the known-red baseline (red on main since
2026-06-02)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Update dependency lockfiles to address recent security advisories for
postcss and tar, and document the changes in the release log.

Enhancements:
- Record security round 4 dependency updates and remaining react-router
advisories in the v2.3.0 release log entry.

Chores:
- Upgrade postcss to 8.5.25 and tar to 7.5.22 across all lockfiles to
clear three new security advisories.
Apexone11 added a commit that referenced this pull request Aug 2, 2026
…, jest-dom 7, visualizer 7 (#457)

Clears the **last 2 open high-severity alerts** (#176, #177 —
react-router). Supersedes Dependabot #446#451.

## react-router 7.18.1 → 8.3.0 (the breaking one)

**v8 removes the `react-router-dom` package entirely.** In v7 everything
DOM-specific had already collapsed into `react-router`;
`react-router-dom` was kept only as a v6-compat convenience, and v8
drops it.

- Swapped all **225 importing files** (src + tests, including
`vi.mock`/`vi.importActual` targets) to `react-router`.
- Every symbol this app uses is exported from `react-router` in v8:
`BrowserRouter`, `MemoryRouter`, `Routes`, `Route`, `Link`, `NavLink`,
`Navigate`, `useNavigate`, `useLocation`, `useParams`,
`useSearchParams`, `useBlocker`.
- The app never used `RouterProvider`/`HydratedRouter` (those move to
`react-router/dom`), so there are no other import-path changes.

**v8 raises its Node floor to 22.22.0**, so:
- frontend `engines.node` → `>=22.22.0`
- every workflow's `setup-node` → **22** (was 20)
- added a root **`.node-version`** so Cloudflare Pages builds on 22
rather than defaulting to an older runtime and tripping the engine check
— this was the one silent deploy risk in the upgrade.

**Breaking changes that do NOT apply here** (checked against the v8.0.0
changelog): ESM-only publish, middleware always-on +
`RouterContextProvider`, `meta` `data`→`loaderData` rename,
`hasErrorBoundary` removal, and the `future.v8_*` flag removals all
affect data-router/framework mode. This app is declarative
`BrowserRouter` with no loaders, actions, or meta.

## Other majors
| Package | From → To |
|---|---|
| recharts | 2.15.4 → **3.10.1** |
| @vitejs/plugin-react | 5.1.1 → **6.0.4** |
| @testing-library/jest-dom | 6.9.1 → **7.0.0** |
| rollup-plugin-visualizer | 6.0.11 → **7.0.1** |

## Validation
- Backend: lint ✅ · build ✅ · tests ✅ **3541 passed**
- Frontend: lint ✅ **0 errors** · build ✅ (charts + editor chunks build
fine on recharts 3 / plugin-react 6) · **906 passed, zero failures**
- All three lockfiles regenerated together from a root install;
`react-router-dom` is gone from every lockfile and `react-router@8.3.0`
is the only entry
- Release-log entry added (CI gate)

After this merges, **Dependabot alerts should be at 0**.
`playwright-smoke` remains the known-red baseline (red on main since
2026-06-02).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

## Summary by Sourcery

Upgrade routing and frontend tooling dependencies and align Node version
requirements across the app and CI.

Bug Fixes:
- Resolve outstanding high-severity dependency alerts related to
react-router.

Enhancements:
- Migrate all frontend and test imports from react-router-dom to
react-router v8.
- Update recharts, @vitejs/plugin-react, @testing-library/jest-dom, and
rollup-plugin-visualizer to their latest major versions.

Build:
- Raise frontend Node engine requirement to >=22.22.0 and add a root
.node-version file for consistent runtime selection.

CI:
- Switch all GitHub Actions workflows to use Node 22 for backend,
frontend, mobile, nightly, and integrity jobs.

Documentation:
- Add release-log entry documenting the security-focused dependency
upgrades and Node version change.

Tests:
- Adjust routing-related tests and mocks to target react-router instead
of react-router-dom while keeping coverage intact.

Chores:
- Regenerate root and workspace lockfiles to reflect the new dependency
versions and removal of react-router-dom.
@dependabot @github

dependabot Bot commented on behalf of github Aug 2, 2026

Copy link
Copy Markdown
Contributor Author

Looks like recharts is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Aug 2, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/frontend/studyhub-app/recharts-3.10.1 branch August 2, 2026 04:27
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