Skip to content

chore: 更新依赖项版本至最新稳定版#4

Merged
scorpionfree98 merged 1 commit intomainfrom
tauri_dev_branch
Feb 6, 2026
Merged

chore: 更新依赖项版本至最新稳定版#4
scorpionfree98 merged 1 commit intomainfrom
tauri_dev_branch

Conversation

@scorpionfree98
Copy link
Owner

PR Description Template - Version Alignment Fix

描述

This PR fixes Tauri package version mismatches between Rust crates and NPM packages, which were causing build failures in CI.

更改类型

  • Bug 修复
  • 新功能
  • 破坏性更改
  • 文档更新
  • 代码重构
  • 性能优化
  • 测试

相关问题

Fixes #(issue 编号 if applicable)

更改内容

更改的文件

  • src-tauri/Cargo.toml
  • package.json

主要更改

  1. Updated Rust crate versions in Cargo.toml:

    • tauri-plugin-window-state = "2.4" (from "2")
    • tauri-plugin-autostart = "2.5" (from "2")
    • tauri-plugin-updater = "2.9" (from "2")
    • tauri-plugin-process = "2.3" (from "2")
    • tauri-plugin-clipboard-manager = "2.3" (from "2")
  2. Updated NPM package version in package.json:

    • "@tauri-apps/plugin-updater": "^2.9.0" (from "^2.10.0")

测试

测试环境

  • macOS
  • Windows
  • Linux

测试步骤

  1. Run pnpm install to install dependencies
  2. Run pnpm tauri build to test build process
  3. Verify version mismatch error is resolved

测试结果

  • ✅ 通过:Version mismatch error resolved, build proceeds to Rust compilation stage

检查清单

  • 我的代码遵循此项目的代码风格
  • 我已执行自我审查
  • 我已对代码进行了注释
  • 我已更新了相应的文档
  • 我的更改不会产生新的警告
  • 我已添加了测试(如果适用)
  • 新增和现有的单元测试都通过
  • 任何依赖的更改都已合并和发布

其他信息

The build now fails at the Rust compilation stage due to missing x86_64-apple-darwin target, which is a separate issue unrelated to version mismatches. This can be resolved by running rustup target add x86_64-apple-darwin in the CI environment.

The GitHub Actions workflow already includes proper Rust target installation, so this fix should resolve the CI build failures.

@scorpionfree98 scorpionfree98 merged commit 10f1c04 into main Feb 6, 2026
6 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