fix: align Tauri npm packages with Rust crate versions #68
No reviewers
Labels
No Label
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: sarman/tftsr-devops_investigation#68
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/tauri-version-mismatch"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
@tauri-apps/api2.10.1 → 2.11.0@tauri-apps/plugin-dialog2.6.0 → 2.7.1@tauri-apps/plugin-fs2.4.5 → 2.5.1Aligns npm package versions with the installed Rust crates to resolve the tauri-cli version mismatch error that was failing all builds.
Test plan
Automated PR Review (qwen3-coder-next via liteLLM):\n\nSummary
This PR aims to align Tauri npm packages with Rust crate versions by updating
package.json. However, the current changes do not indicate any version bumps for@tauri-apps/clior@tauri-apps/apito match the current stable versions used by Tauri 2.x in sync with Rust crates (e.g., v2.11.x for both CLI and API). The@tauri-apps/plugin-*versions also appear inconsistent with the typical version alignment strategy — notably@tauri-apps/plugin-strongholdis set to"^2"instead of a more specific^2.x.y, which risks introducing breaking or untested plugin behavior.Findings
[WARNING] package.json:13 -
@tauri-apps/plugin-stronghold: version"^2"is overly permissive and may pull incompatible plugin versions; Tauri plugin versions should align precisely with@tauri-apps/api(e.g.,^2.11.0for API v2.11.0).Evidence:
"@tauri-apps/plugin-stronghold": "^2",Fix: Update to
"^2.11.0"to match@tauri-apps/apiversion2.11.0.[SUGGESTION] package.json:15 & package.json:32 —
class-variance-authority,lucide-react,react,tailwindcss, and others use"latest"or ambiguous version ranges (e.g.,"^3","latest"). While not a blocker, inconsistency in version pinning can cause reproducibility issues in CI builds; recommended to pin or use explicit patch versions for critical UI libraries.Evidence:
"class-variance-authority": "^0.7",,"lucide-react": "latest",,"tailwindcss": "^3",,"react": "^18",, etc.Fix: Use semver-compatible versions with care (e.g.,
"^0.7.0"forclass-variance-authority), or lock to exact versions via lockfile if reproducibility is a priority.[SUGGESTION] package.json:31 & 34–36 —
eslint,@typescript-eslint/*,vite,vitest,@types/reactare at"^9","^5","^6","^2","^18"respectively, which may pull major versions with breaking changes; aligning to known-stable minor versions (e.g.,"^8.58.1"for eslint/plugins) improves build stability.Evidence:
"eslint": "^9.39.4",,"@typescript-eslint/eslint-plugin": "^8.58.1",,"@typescript-eslint/parser": "^8.58.1",,"vite": "^6",,"vitest": "^2",,"@types/react": "^18",Fix: If those are intentional (e.g., testing against latest), document; otherwise, use exact pins or minor-compatible ranges.
Verdict: REQUEST CHANGES
The plugin Stronghold version must be pinned precisely to match API version to avoid runtime incompatibility; other suggestions are low-risk but should be considered before release.
Automated PR Review (qwen3-coder-next via liteLLM):\n\nSummary
This PR aims to align Tauri npm packages with Rust crate versions by updating
package.json. The dependencies listed (@tauri-apps/api,@tauri-apps/cli, and Tauri plugins) are already at consistent versions (v2.11.x for core packages and v2.x.x for plugins), matching the Tauri 2.x ecosystem. No version conflicts or inconsistencies are present.Findings
No findings.
Verdict: APPROVE
Automated PR Review (qwen3-coder-next via liteLLM):\n\nSummary
The PR aims to align Tauri npm packages with Rust crate versions, but the
package.jsonfile shows no actual version changes—both@tauri-apps/apiand@tauri-apps/cliremain at^2.11.0, which suggests the intended alignment was not implemented. Given the PR title and the absence of version updates, this may indicate a misaligned release strategy or an incomplete change.Findings
@tauri-apps/cli) and API dependency (@tauri-apps/api) both remain at^2.11.0, with no version adjustment indicated in the change.Evidence:
"@tauri-apps/api": "^2.11.0",and"@tauri-apps/cli": "^2.11.0",Fix: If Rust crates were updated, corresponding npm packages must reflect matching (or compatible) versions per Tauri’s versioning policy; otherwise, remove or revise the PR title and scope.
Verdict: REQUEST CHANGES