Aventuras/docs/development
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
..
ios-build-target.md 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
platform-support.md Add a newest-first toggle to the story gallery (#589) 2026-10-08 21:32:06 -04:00
release.md Update Tauri packages and Rust dependencies (#610) 2026-10-11 17:24:50 -04:00
testing.md Make the errors surface in the activity report (#569) 2026-10-06 10:28:37 -04:00