6389 Commits
Author SHA1 Message Date
Amr Bashir 7e39750cf6 chore(deps): update vulnerable Zstandard dependencies 2026-10-27 10:16:38 +08:00
John Carmack 0e58095890 perf(tauri-utils): mark parse_json and parse_json5 #[inline] (#16402) 2026-10-26 22:43:23 +08:00
renovate[bot] 0ed2998421 chore(deps): update rust crate jsonschema to 0.60 (#16378)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-26 11:31:32 +08:00
renovate[bot]andTony d5997473ca chore(deps): update rust crate minisign to 0.10 (#16382)
* chore(deps): update rust crate minisign to 0.10

* fix js audit

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
2026-10-26 10:53:25 +08:00
Fabian-Lars 1fc6d9c85c chore(deps): update tokio (lockfile-only), closes #16390 (#16392) 2026-10-24 16:07:12 +02:00
renovate[bot] c464ef928c chore(deps): update rust crate insta to v1.49.0 (#16377)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-23 12:40:39 +08:00
Spoko Dev d40c19cfba fix(api): pass onScaleChanged size as a PhysicalSize (#16381) 2026-10-23 11:40:19 +08:00
Mason LiuandAmr Bashir ba1e205f3b fix(linux): begin touch resize drag only on TouchBegin (fix #16276) (#16368)
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2026-10-22 15:15:24 +03:00
Amr Bashir 06cc1ac43a fix(nsis): ship the Persian translation using Farsi which what NSIS expects (#16362) 2026-10-22 11:42:49 +03:00
renovate[bot] a393b6f79a chore(deps): update dependency rollup to v4.64.10 (#16367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-22 10:27:30 +02:00
Tony ab1875e194 fix(mobile): preserve original URL on mobile dev proxy (#16376) 2026-10-22 16:21:23 +08:00
renovate[bot] fc6960df63 chore(deps): update rust crate ctrlc to v3.5.2 (#16359)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-22 10:54:22 +08:00
renovate[bot] 1c13039890 chore(deps): update rust crate clap_complete to v4.6.11 (#16358)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-22 10:53:55 +08:00
Amr Bashir 90afb99bc7 chore: update NSIS language documentation links (#16363) 2026-10-22 10:53:26 +08:00
Amr Bashir 37b3be6651 fix(nsis): include the Hebrew language file (#16361) 2026-10-22 02:59:42 +03:00
RaaifandLucas Nogueira 8d3efdeea5 fix(bundler): keep NSIS and WiX out of System32 when bundling as SYSTEM (#16060)
* fix(bundler): keep NSIS and WiX out of System32 when bundling as SYSTEM

When the cache dir is inside the Windows system directory, as it is for the SYSTEM account, WOW64 redirects the 32-bit NSIS and WiX executables to SysWOW64 and makensis fails with "Unable to start child process, error 0x2". Store the tools in the project output directory in that case.

* fix(bundler): fail clearly when the tools dir is still inside System32

The fallback to the project output directory doesn't help when the project or its target directory is itself inside the Windows system directory, for example a Jenkins workspace under the SYSTEM profile, and neither does `useLocalToolsDir`. NSIS and WiX would then fail with the same `error 0x2`, after a warning claiming the tools were moved somewhere safe. Check the final tools directory and return an error that explains the redirection instead.

* docs(config): describe where tools go for the SYSTEM account

The `useLocalToolsDir` docs still said tools are always cached in the user's cache directory when it's disabled and recommended enabling it for the Windows SYSTEM user because that directory is "restricted". Explain the WOW64 redirection, the new fallback to the build output directory, and what enabling the option still gains.

* fix(bundler): log the SYSTEM tools dir warning once

The NSIS and MSI bundlers, and their updater variants, each resolve the tools directory, so a single build printed the same warning up to four times. The warning also said `useLocalToolsDir` only silences it, while it actually moves the tools to `target/.tauri`, shared across build profiles and targets.

* docs(bundler): only NSIS caches WebView2 installers in the tools dir

The MSI bundler downloads the WebView2 installers into its own output directory, not into the tools directory.

* fix(bundler): don't move the tools for a 32-bit x86 CLI

`processor_architecture()` reports the native architecture, so a 32-bit x86 CLI on 64-bit Windows moved the tools out of the system profile cache, although it is redirected exactly like NSIS and WiX and the cache already worked for it. Check the build's own architecture instead.

* fix(bundler): don't panic when there's no cache dir for the tools

Now that there is a fallback directory for the NSIS and WiX tools, use it instead of panicking when the cache directory can't be determined, like the AppImage bundler already does for linuxdeploy.

* refactor(bundler): rename tauri_tools_path to tools_directory

The NSIS and MSI bundlers bind the result to a local tauri_tools_path, and build_nsis_app_installer takes a tauri_tools_path parameter, both shadowing the helper of the same name.

* test(bundler): cover the tools directory selection

The tests only covered the path prefix check and the system directory lookup. Split the selection into a function that takes the local tools, cache, project output and system directories, and test the precedence, both fallbacks and the System32 error.

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-21 15:30:24 -03:00
Ethan SmithandLucas Fernandes Nogueira 71b668096e fix: retain merged ExportOptions.plist beyond build command (fix #14593) (#14712)
* fix: retain merged ExportOptions.plist beyond build command (#14593)

* Apply suggestion from @lucasfernog

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2026-10-21 14:44:22 -03:00
yingyanzhitongandLucas Nogueira 9a010f4444 fix(cli): read manual iOS signing from pbxproj (fix #15741) (#15773)
* fix(cli): read manual iOS signing from pbxproj

* fix override order

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-21 13:06:17 -03:00
renovate[bot] 1c186728bf chore(deps): update dependency rollup to v4.64.9 (#16350)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 21:37:48 +08:00
renovate[bot] cb55c478de chore(deps): update napi-rs packages (#16354)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 21:37:30 +08:00
renovate[bot] 551957c10e chore(deps): update rust crate clap to v4.6.7 (#16355)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 21:37:06 +08:00
github-actions[bot] 993038c491 apply version updates (#16303)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
tauri-runtime-wry-v2.12.3 tauri-bundler-v2.10.4 tauri-macos-sign-v2.4.3 tauri-codegen-v2.7.4 @tauri-apps/cli-v2.12.4 tauri-cli-v2.12.4 tauri-macros-v2.7.4 tauri-v2.12.5 tauri-build-v2.7.4
2026-10-21 13:00:50 +02:00
Timur AmirovandLucas Nogueira 0007a43ae7 fix(macos-sign) Also list iPhone Distribution/Developer certs (#14838)
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-21 11:13:18 +02:00
renovate[bot] 97ccd82352 chore(deps): update rust crate zip to v9.0.5 (#16346)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 11:07:56 +02:00
Tony 5b50edd992 fix(api): type check dev tooling configs (#16353)
* fix(api): type check dev tooling configs

* `@rollup/plugin-typescript` doesn't support this

of course something breaks... https://github.com/rollup/plugins/issues/1755

* clean up pnpm workspace config

* add notes on the node types

* prettier
2026-10-21 16:17:16 +08:00
renovate[bot]andTony cf40b7337a chore(deps): update rust crate ico to 0.6 (#16348)
* chore(deps): update rust crate ico to 0.6

* Add change file

* fix js audit

* fix rust audit

* update lock

* bump webpki-root-certs

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Tony <legendmastertony@gmail.com>
2026-10-21 14:11:16 +08:00
renovate[bot] d440abf550 chore(deps): update rust crate shared_child to v1.1.2 (#16308)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 11:38:09 +08:00
renovate[bot] 4c5593cf22 chore(deps): update rust crate tower to v0.5.3 (#16309)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 11:36:58 +08:00
renovate[bot] a376abd497 chore(deps): update rust crate serde_json to v1.0.154 (#16307)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 11:36:37 +08:00
renovate[bot] 68e60c1304 chore(deps): update dependency vitest to v5.0.5 (#16339)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-21 11:35:25 +08:00
renovate[bot] 9318ab84b8 chore(deps): update rust crate which to v8.0.6 (#16310)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-20 13:57:16 +08:00
9d0ab831fe fix(tauri-runtime-wry): don't panic in undecorated-resizing hit-test when the webview is reparented (#15513)
The Linux button-press and touch handlers assumed the widget hierarchy webview -> GtkBox -> GtkWindow and unwrapped a downcast of the webview's second ancestor. Embedding applications that reparent the webview into another container (e.g. a GtkPaned) panic the main thread on the first click. Resolve the webview's toplevel window instead - identical behavior for the stock hierarchy, correct at any nesting depth.

Co-authored-by: Avi <aviynw6@gmail.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-10-19 16:15:20 -03:00
Joel Tony bc1136ba6e fix(codegen): backdate the OUT_DIR files generate_context! writes (#16324)
Cargo treats a file listed in a crate's dep-info as changed if it was
modified after the compilation started. generate_context! writes the
frontend assets, icon data and macOS Info.plist to OUT_DIR during the
compilation and embeds them with include_bytes!, so the first unchanged
build after one that wrote such a file recompiled the app crate.

Set their modification time to 2000-01-01 UTC, a date FAT and exFAT can
store. Each file name is a checksum of the data the file was generated
from, so the time isn't needed to tell versions apart. Errors are
ignored; at worst the next build recompiles the crate as before.

Closes #16318
2026-10-19 13:44:21 -03:00
Joel Tony d6de22ef92 fix(tauri-build): skip the missing capabilities dir watch for inline capabilities (#16326)
Cargo treats a missing `rerun-if-changed` path as changed, so an app that
lists its capabilities in `app > security > capabilities` and has no
`capabilities` directory re-ran the build script and recompiled on every
build. A non-empty list only selects the capability files it references by
identifier, so creating the directory alone can't change the selection.
Keep the watch for an empty list, where every file in the directory is
selected.

Closes #16319
2026-10-19 13:44:07 -03:00
Lazizbek Ergashev 4a6f512519 chore(deps): update zip to v9 (#16317) 2026-10-19 16:38:35 +02:00
Amr Bashir 46b3de4243 fix(bundler): fix malformed tokens in NSIS language files (#16335) 2026-10-19 14:50:00 +02:00
Amr Bashir 52081e04a0 fix(nsis): correct the chooseHowToInstall language key (#16333) 2026-10-19 14:31:01 +03:00
Lazizbek Ergashev 1a02ec3640 fix(nsis): quote the executable path in file associations (#16330) 2026-10-19 09:57:26 +03:00
c0e3dbd91d fix(nsis): block downgrades over a newer MSI installation (#16254)
Co-authored-by: Amr Bashir <github@amrbashir.me>
Co-authored-by: Amr Bashir <amr.bashir2015@gmail.com>
2026-10-19 09:16:06 +03:00
Falk Woldmann Lu 1d7b93fc59 build: replace once_cell with std (#16321) 2026-10-19 06:27:15 +03:00
Nico Hinken 136a28eaa8 fix(cli): skip target validation when rustup target list fails (#16305) 2026-10-15 16:58:31 -03:00
Hushlor 78a2db1b6c docs(bundler): document runtime resource paths (#15769) 2026-10-15 16:57:26 -03:00
renovate[bot] 813bfcb476 chore(deps): update dependency vitest to v5.0.4 (#16281)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-15 16:54:24 -03:00
renovate[bot] eb87fff6d6 chore(deps): update rust crate serde to v1.0.229 (#16293)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-15 16:48:04 -03:00
renovate[bot] eb4a7bbb12 chore(deps): update rust crate rand to v0.10.3 (#16292)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-15 16:47:14 -03:00
renovate[bot] 6ebf7d3005 chore(deps): update rust crate memchr to v2.8.3 (#16291)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-10-15 16:47:01 -03:00
Lucas Fernandes NogueiraandFabian-Lars 152d293ddf fix(macos-sign): delete the temporary keychain when setup fails (#16298)
* fix(macos-sign): delete the temporary keychain when setup fails

Keychain::with_certificate_file returned early on any failure after
create-keychain, before Keychain (and its Drop) existed, leaving a random
.keychain-db in ~/Library/Keychains and possibly in the search list.

* Update crates/tauri-macos-sign/src/keychain.rs

Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>

---------

Co-authored-by: Fabian-Lars <30730186+FabianLars@users.noreply.github.com>
2026-10-14 16:59:01 -03:00
github-actions[bot]andLucas Nogueira 59b63ab500 Apply Version Updates From Current Changes (#16255)
* apply version updates

* fix audit

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
tauri-utils-v2.10.2 tauri-cli-v2.12.3 tauri-macros-v2.7.3 tauri-runtime-v2.12.2 tauri-build-v2.7.3 tauri-bundler-v2.10.3 tauri-v2.12.4 tauri-runtime-wry-v2.12.2 tauri-codegen-v2.7.3 @tauri-apps/api-v2.12.4 @tauri-apps/cli-v2.12.3 tauri-macos-sign-v2.4.2 tauri-plugin-v2.7.2
2026-10-14 14:41:44 -03:00
Fabian-LarsandLucas Fernandes Nogueira 55883af3f4 fix(bundler): Update rpm-rs to 0.30 (#15639)
* feat(bundler): Update rpm-rs to 0.25

* fmt

* re-enable bzip2

* revert default to gzip level 6

* changefile

* update rsa

---------

Co-authored-by: Lucas Fernandes Nogueira <lucas@tauri.app>
2026-10-14 13:59:45 -03:00
Lucas Nogueira 744ff2b6b5 chore(deps): bump rustls to 0.23.46 2026-10-14 13:37:17 -03:00