Aventuras/src-tauri
Tony Frazier b7bd906fd6
Update Tauri packages and Rust dependencies (#610)
## Summary

Updates the Tauri JS packages and Rust crates to their latest 2.x
releases, moves `zip` to 9, documents how the HTTP plugin's network
transport differs from the WebView's `fetch`, and stops PR runs of
Clippy from saving their own Rust cache.

## Changes

**JS (`package.json`, `package-lock.json`)**

| Package | From | To |
| --- | --- | --- |
| `@tauri-apps/api` | 2.11.1 | 2.12.3 |
| `@tauri-apps/cli` | 2.11.4 | 2.12.2 |
| `@tauri-apps/plugin-dialog` | 2.7.2 | 2.8.2 |
| `@tauri-apps/plugin-fs` | 2.5.1 | 2.7.0 |
| `@tauri-apps/plugin-http` | 2.5.9 | 2.8.2 |
| `@tauri-apps/plugin-notification` | 2.3.3 | 2.6.0 |
| `@tauri-apps/plugin-opener` | 2.5.4 | 2.7.1 |
| `@tauri-apps/plugin-process` | 2.3.1 | 2.4.0 |
| `@tauri-apps/plugin-sql` | 2.4.0 | 2.5.0 |
| `@tauri-apps/plugin-updater` | 2.10.1 | 2.13.3 |

**Rust (`src-tauri/Cargo.toml`, `src-tauri/Cargo.lock`)**

- `Cargo.lock` is refreshed, bringing the matching Rust plugin crates to
the same versions as the JS packages above, and `tauri` to 2.12.3.
- `zip` 8 → 9 (still `default-features = false`, `deflate` only).
- tokio's `macros` feature moves from the main dependency to
`[dev-dependencies]`, so release builds no longer compile it.

**Docs (`docs/architecture/overview.md`)**

- New **Network transport** section: remote HTTP goes through
`@tauri-apps/plugin-http` and which helper to use for each case, and
what the plugin changes for the server on the other end (an `Origin`
header that can't be dropped, webpki roots instead of the OS trust
store, no response decompression).
- Records a known, unverified limitation: stock Ollama doesn't allow the
`http://tauri.localhost` origin, so Windows and Android requests may
need `OLLAMA_ORIGINS=http://tauri.localhost`.

**CI (`.github/workflows/rust-lint.yml`,
`docs/development/release.md`)**

- Rust Lint also runs on pushes to `master` that touch Rust sources or
the Cargo manifest or lockfile.
- The Clippy job's `rust-cache` step saves only on `master` (`save-if`),
the same rule the build workflows use. PRs restore the master-scoped
cache instead of saving a ~600 MiB entry that no other run can read and
that pushes master's build and npm caches toward eviction.
- `release.md` describes the new trigger and the cache rule.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01Mp6GGHh2aY397TuZXyUXKX


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Chores**
* Updated the app’s underlying components for dialogs, file access,
networking, notifications, database access, and software updates, along
with related tooling.
* Updated supporting components for asynchronous tasks and archive
handling.
  * Improved Rust lint workflow triggers and cache handling.
  * No user-facing feature or behavior changes are noted.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-11 17:24:50 -04:00
..
capabilities iOS follow-ups: iPadOS detection, backup restore, app icon, and a first pass of iOS bug fixes (#559) 2026-10-09 10:56:10 -04:00
gen/android Shrink the page for the Android keyboard, and read edge swipes off the shell (#521) 2026-09-19 19:33:00 -04:00
icons Updated2 2026-01-02 06:17:09 -07:00
migrations Assert, check and reconcile story time, and start a new story at its opening's time (#530) 2026-09-24 15:19:19 -04:00
src Run Clippy on push and in CI, and split lint into lint:ts and lint:rust (#608) 2026-10-11 14:50:50 -04:00
.gitignore Initial commit 2025-12-30 16:08:22 -07:00
build.rs Initial commit 2025-12-30 16:08:22 -07:00
Cargo.lock Update Tauri packages and Rust dependencies (#610) 2026-10-11 17:24:50 -04:00
Cargo.toml Update Tauri packages and Rust dependencies (#610) 2026-10-11 17:24:50 -04:00
Info.ios.plist Add iOS as a build target (#541) 2026-09-27 18:27:49 -04:00
tauri.conf.json chore: bump version to 0.7.12 2026-10-09 18:39:28 -04:00
tauri.ios.conf.json iOS follow-ups: iPadOS detection, backup restore, app icon, and a first pass of iOS bug fixes (#559) 2026-10-09 10:56:10 -04:00
tauri.release.conf.json Overhaul CI/CD: Node 24, shared release workflows, faster cached builds (#518) 2026-09-16 22:38:32 -04:00
tauri.windows.conf.json Feature/universal vault assistant (#161) 2026-02-24 19:57:54 +01:00