Skip to content

chore: update dependencies (Tauri 2.12, React 19.3, Vite 8.3, i18next 27) - #145

Merged
vanloctech merged 1 commit into
mainfrom
chore/update-dependencies
Nov 13, 2026
Merged

vanloctech merged 1 commit into
mainfrom
chore/update-dependencies

Conversation

@vanloctech

Copy link
Copy Markdown
Owner

Summary

Updates the JS and Rust dependencies to their latest versions. Tailwind is the one exception: it stays on v3.

Major version moves

  • i18next 26 → 27, react-i18next 17 → 18. fallbackLng is already set, and we don't rely on empty translations or Trans, so behavior is unchanged. Helpers that took a hand-written t type now use i18next's TFunction (HistoryItem.tsx, post-download-plugins-shared.tsx).
  • zip 8 → 9. ZipFile::name() now returns a Result. This is handled in utils/extract.rs (2 places), and services/plugin/package.rs now uses is_dir().
  • rusqlite 0.39 → 0.42. The breaking changes are only in the virtual-table API, which we don't use.

Minor version moves

  • Tauri 2.11 → 2.12, covering tauri, tauri-build 2.7 and every plugin (log, dialog, fs, shell, updater, process, deep-link, single-instance, cli, opener, notification). @tauri-apps/api and cli are also on 2.12, so the JS and Rust sides match.
  • React 19.3, Vite 8.3, @vitejs/plugin-react 6.3, Biome 2.6, all Radix packages, lucide-react 1.72, FontAwesome, tailwind-merge 3.7, @types/*, autoprefixer and postcss.

Config

  • Biome 2.6 formats Markdown and YAML by default. That would have rewritten about 25 docs, workflow and changelog files, including AGENTS.md, so the Markdown and YAML formatter and linter are turned off in biome.json.
  • rust-version 1.77.2 → 1.90, because Tauri 2.12 requires rustc 1.90.

Not included

  • Tailwind 3 → 4. It replaces tailwind.config.js with CSS-based config, swaps out tailwindcss-animate and renames classes across the UI. It needs visual checks, so it should be its own PR.

Notes for reviewers

  • Local toolchain: Rust ≥ 1.90 is needed to build (rustup update stable). CI uses the latest stable.
  • Flaky test: tests/youwee-sdk.test.ts "packs a .ywp" sometimes passed Bun's 5s timeout under heavy machine load. It passes when run alone, and it already exists on main.

Test plan

  • Biome, tsc -b, bun tests (114) and cargo check pass (pre-commit hook, run with Rust 1.90)
  • cargo test --lib passes (232)
  • bun run build:sdk, bun run ext:build and vite build succeed
  • CI builds on macOS, Linux and Flatpak
  • Manual: launch the app and exercise downloads, settings, the plugin install (zip extraction) and dependency downloads (FFmpeg/Deno zip extraction)

🤖 Generated with Claude Code

Update Tauri to 2.12 (core, tauri-build, every plugin, @tauri-apps/api
and cli, kept in step), React 19.3, Vite 8.3, i18next 27,
react-i18next 18, Biome 2.6, Radix UI, lucide-react, FontAwesome and
other frontend packages, plus Rust crates including zip 9 and
rusqlite 0.42. Tailwind stays on v3; v4 needs its own migration.

- zip 9: ZipFile::name() returns a Result; handle it in extract.rs and
  use is_dir() in plugin/package.rs.
- i18next 27: typed helpers use i18next's TFunction.
- Biome 2.6 formats Markdown and YAML by default; turn that off to keep
  docs and workflows unchanged.
- Tauri 2.12 needs rustc 1.90: rust-version 1.77.2 -> 1.90.
- Changelog entries in EN/VI/ZH-CN.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-13T11:33:37.397576Z 05cb871 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@vanloctech
vanloctech merged commit 305ec94 into main Nov 13, 2026
4 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.

1 participant