chore: bump all dependencies to latest versions#31
Open
reatlat wants to merge 1 commit intoaptabase:mainfrom
Open
chore: bump all dependencies to latest versions#31reatlat wants to merge 1 commit intoaptabase:mainfrom
reatlat wants to merge 1 commit intoaptabase:mainfrom
Conversation
Rust: - tauri 2.2.5 → 2.10.2 - tauri-plugin 2.0.4 → 2.5.3 - tokio 1.43.0 → 1.49.0 - serde 1.0.217 → 1.0.228 - serde_json 1.0.138 → 1.0.149 - reqwest 0.12.12 → 0.13.2 - time 0.3.37 → 0.3.47 - os_info 3.9.2 → 3.14.0 - rand 0.9.0 → 0.10.0 - log 0.4.25 → 0.4.29 JavaScript: - @tauri-apps/api ^2.1.1 → ^2.10.1 - @rollup/plugin-node-resolve ^15.3.0 → ^16.0.3 - @rollup/plugin-typescript ^12.1.1 → ^12.3.0 - rollup ^4.27.4 → ^4.57.1 - typescript ^5.7.2 → ^5.9.3 Example project dependencies updated to latest as well.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Update all Rust and JavaScript dependencies to their latest versions. Keeping dependencies current is critical for security, stability, and compatibility.
Security Fixes Included
RUSTSEC-2025-0023 — tokio (memory corruption)
clone()on stored values requiring onlyT: Sendbut notT: Sync. This is unsound because clone implementations for!Synctypes can trigger undefined behavior and memory corruption when called from multiple threads.Tauri use-after-free unsoundness (v2.3.0)
Manager::unmanagecould result in a use-after-free / dangling pointer when retaining a reference to managed state while callingunmanage(). The method has been deprecated and replaced with a safe alternative.Tauri security hardening (v2.4.0–v2.10.2)
build > removeUnusedCommandsto strip unused IPC commands at compile time, reducing attack surfacewindow.__TAURI_INTERNALS__.callbacksinstead of directly onwindow, reducing exposure surfacereqwest — TLS security improvement
All Updates
Rust (Cargo.toml)
JavaScript (package.json)
Example project
All dependencies bumped to latest (tauri, svelte, vite, etc.)
Code Changes
Minimal code change required by
rand0.10.0 API:use rand::Rng→use rand::RngExt(trait was renamed).Testing
cargo checkpasses with zero errors