Update dependencies#967
Open
martpie wants to merge 1 commit into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates front-end and Tauri/Rust dependencies (notably Lingui, React, TanStack, and sqlx) and includes the resulting lockfile and translation catalog reformatting to keep the repository consistent after the upgrade.
Changes:
- Bump JavaScript dependencies (React/TanStack/Lingui/etc.), update
pnpm-lock.yaml, and updatepackageManagerpnpm version. - Bump Rust dependencies (including
sqlx0.9.0) and adjust database/migration code to match updated APIs. - Reformat
.potranslation entries (line-wrapping) consistent with updated tooling output.
Reviewed changes
Copilot reviewed 11 out of 13 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| src/translations/zh-TW.po | Line-wrapped long msgids after translation tooling update. |
| src/translations/zh-CN.po | Line-wrapped long msgids after translation tooling update. |
| src/translations/ru.po | Line-wrapped long msgids/msgstrs after translation tooling update. |
| src/translations/ja.po | Line-wrapped long msgids/msgstrs after translation tooling update. |
| src/translations/fr.po | Line-wrapped long msgids/msgstrs after translation tooling update. |
| src/translations/es.po | Line-wrapped long msgids/msgstrs after translation tooling update. |
| src/translations/en.po | Line-wrapped long msgids/msgstrs after translation tooling update. |
| src-tauri/src/plugins/db.rs | Update sqlx migration invocation for new API. |
| src-tauri/src/libs/database.rs | Adjust dynamic SQL creation for sqlx 0.9 (AssertSqlSafe). |
| src-tauri/Cargo.toml | Update Rust dependency versions (sqlx, lofty, plugin versions, etc.). |
| pnpm-lock.yaml | Lockfile updates reflecting JS dependency bumps. |
| package.json | Update JS dependency versions, pnpm version, and remove the knip script. |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
175
to
+179
| let placeholders = track_ids.iter().map(|_| "?").collect::<Vec<_>>().join(", "); | ||
| let query = format!("DELETE FROM tracks WHERE id IN ({})", placeholders); | ||
|
|
||
| let mut query_builder = sqlx::query(&query); | ||
| // AssertSqlSafe: only `?` placeholders are used; user data is bound, not interpolated | ||
| let mut query_builder = sqlx::query(sqlx::AssertSqlSafe(query)); |
592e4f1 to
84b28ef
Compare
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.
No description provided.