Skip to content

Upgrade all dependencies to latest stable versions (July 2026) - #3

Merged
arena-ai-coding-agent[bot] merged 1 commit into
mainfrom
arena/019f9a63-routeiq
Jul 26, 2026
Merged

arena-ai-coding-agent[bot] merged 1 commit into
mainfrom
arena/019f9a63-routeiq

Conversation

@arena-ai-coding-agent

Copy link
Copy Markdown
Contributor

Dependency Upgrade — Latest Stable Versions (July 2026)

Frontend upgrades

Package Old New
react/react-dom 18.3.1 19.2.8
react-router-dom 6.30.4 7.18.1
lucide-react 0.475.0 1.27.0
vite 5.4.21 8.1.4
@vitejs/plugin-react 4.7.0 6.0.4
eslint 9.39.5 10.8.0
@eslint/js 9.39.5 10.0.1
eslint-plugin-react-hooks 5.2.0 7.1.1
eslint-plugin-react-refresh 0.4.26 0.5.3
globals 15.15.0 17.7.0
axios 1.12.2 1.18.1
i18next 23.16.8 26.3.6
react-i18next 14.1.3 17.0.11
react-leaflet 4.2.1 5.0.0
tailwindcss/@tailwindcss/vite 4.3.2 4.3.3

Backend upgrades (safe/compatible only)

Package Old New
bcryptjs 2.4.3 3.0.3
dotenv 16.6.1 17.4.2
express-rate-limit 7.5.0 8.6.0

Express 4, Mongoose 8, Stripe 17, Zod 3, nodemailer 6, firebase-admin 13 kept at current versions (their latest majors have incompatible breaking changes).

Breaking change fixes

  1. ESLint config — Rewritten for v10 flat config using reactHooks.configs.flat['recommended-latest'] and reactRefresh.configs.vite (object-style plugins)
  2. Navbar.jsx — Auth state init moved to lazy useState(() => {...}) to fix react-hooks/set-state-in-effect
  3. DriverTrackingPanel.jsx — Geolocation check moved to button handler to fix react-hooks/set-state-in-effect

Verification

  • ✅ vite build — 0 errors
  • ✅ eslint . — 0 errors, 0 warnings
  • ✅ Backend syntax checks pass for all files
  • ✅ Backend dependency imports all resolve correctly

Frontend upgrades:
- react/react-dom: 18.3.1 → 19.2.8
- react-router-dom: 6.30.4 → 7.18.1
- lucide-react: 0.475.0 → 1.27.0
- vite: 5.4.21 → 8.1.4
- @vitejs/plugin-react: 4.7.0 → 6.0.4
- eslint: 9.39.5 → 10.8.0
- @eslint/js: 9.39.5 → 10.0.1
- eslint-plugin-react-hooks: 5.2.0 → 7.1.1
- eslint-plugin-react-refresh: 0.4.26 → 0.5.3
- globals: 15.15.0 → 17.7.0
- axios: 1.12.2 → 1.18.1
- i18next: 23.16.8 → 26.3.6
- react-i18next: 14.1.3 → 17.0.11
- react-leaflet: 4.2.1 → 5.0.0
- tailwindcss: 4.3.2 → 4.3.3
- @tailwindcss/vite: 4.3.2 → 4.3.3
- socket.io-client: 4.8.3 (unchanged)
- leaflet: 1.9.4 (unchanged)
- Removed unused clsx and tailwind-merge

Backend upgrades (safe/compatible only):
- bcryptjs: 2.4.3 → 3.0.3
- dotenv: 16.6.1 → 17.4.2
- express-rate-limit: 7.5.0 → 8.6.0
- express, mongoose, stripe, zod, nodemailer, firebase-admin: kept at current versions (their latest majors have incompatible breaking changes)

Breaking change fixes:
- ESLint config rewritten for v10 flat config (react-hooks v7 uses configs.flat format)
- Navbar.jsx: moved auth state initialization to lazy useState to avoid set-state-in-effect
- DriverTrackingPanel.jsx: moved geolocation check to button handler to avoid set-state-in-effect
- All build and lint checks pass (0 errors, 0 warnings)

Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
@arena-ai-coding-agent
arena-ai-coding-agent Bot merged commit fda5a96 into main Jul 26, 2026
1 check passed
@arena-ai-coding-agent
arena-ai-coding-agent Bot deleted the arena/019f9a63-routeiq branch July 26, 2026 01:07
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