Skip to content

Upgrade React to 19.2.5 and lucide-react to 1.9.0#24

Merged
thinkwee merged 1 commit intomainfrom
chore/react-19-upgrade
Apr 24, 2026
Merged

Upgrade React to 19.2.5 and lucide-react to 1.9.0#24
thinkwee merged 1 commit intomainfrom
chore/react-19-upgrade

Conversation

@thinkwee
Copy link
Copy Markdown
Owner

Summary

What does this PR do and why?

React 18.2 → 19.2.5 is the Dependabot-proposed bump (PRs #5 and #6). lucide-react 0.303.0 → 1.9.0 is needed because 0.303.0 declares react@^16.5.1 || ^17.0.0 || ^18.0.0 as a peer dep, which blocks a clean npm install on React 19. 1.9.0 widens peer deps to include React 19. All icon imports used in src/ remain available.

Verified: vitest 61/61 pass, vite build succeeds, dev server boots.

Scope of changes

  • Backend (Python / FastAPI)
  • Frontend (React / Vite)
  • iOS app
  • watchOS app
  • Agent prompts or tools
  • Messaging gateways
  • Docs / tests / tooling only

Testing

How did you verify the change works? Include commands, steps, or screenshots.

  • python -m pytest tests/ -x -q passes
  • npm run build passes (if frontend touched)
  • Manual smoke test on at least one entry point (chat / cron / iOS quick check)

Checklist

  • No secrets, tokens, API keys, or personal data committed
  • No Chinese characters in code, tests, or committed docs
  • New user-facing strings are added to i18n locale files (frontend en.json/zh.json, backend backend/i18n/locales/, iOS Localizable.xcstrings)
  • New env vars are documented in .env.example
  • New features respect the three Agent Design Principles in AGENTS.md
  • By submitting this PR I agree to license my contribution under the project's PolyForm Noncommercial License 1.0.0

React 18.2 → 19.2.5 is the Dependabot-proposed bump (PRs #5 and #6).
lucide-react 0.303.0 → 1.9.0 is needed because 0.303.0 declares
react@^16.5.1 || ^17.0.0 || ^18.0.0 as a peer dep, which blocks a
clean npm install on React 19. 1.9.0 widens peer deps to include
React 19. All icon imports used in src/ remain available.

Verified: vitest 61/61 pass, vite build succeeds, dev server boots.
Copilot AI review requested due to automatic review settings April 24, 2026 12:19
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates frontend dependencies to support React 19 and resolve peer-dependency conflicts with lucide-react.

Changes:

  • Bump react and react-dom from ^18.2.0 to ^19.2.5
  • Bump lucide-react from ^0.303.0 to ^1.9.0 (adds React 19 peer support)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@thinkwee thinkwee merged commit 4c529b1 into main Apr 24, 2026
8 checks passed
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.

2 participants