tauri-runtime-v2.12.0

tauri-apps/tauritauri-runtime-v2.12.0Sep 26, 2026by github-actions[bot]

Upgrading?

AI Summary

This release introduces new security and window management features, including navigation limiting, macOS app activation control, and fullscreen on monitor methods. It also exposes the wry permission handler API and drops Windows 7 support.

Key Highlights

  • Added `limit_navigations_to_app_bound_domains` to restrict webview navigation.
  • Added `activate_ignoring_other_apps` on macOS to control app activation behavior.
  • Added `no_redirection_bitmap` method on Windows to disable window redirection.
  • Exposed wry permission handler API for DisplayCapture, Midi, Sensors, and more.
  • Added `set_fullscreen_on_monitor` functionality.

Breaking Changes

  • Changed `RuntimeHandle::primary_monitor`, `monitor_from_point`, and `available_monitors` to return `Result`s.

New Features

  • Added `limit_navigations_to_app_bound_domains` support.
  • Added `activate_ignoring_other_apps` on macOS.
  • Added `no_redirection_bitmap` on Windows.
  • Exposed wry permission handler API.
  • Added `set_fullscreen_on_monitor` functionality.

Full Release Notes

<details>
<summary><em><h4>Cargo Audit</h4></em></summary>

```
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 1271 security advisories (from /home/runner/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (1091 crate dependencies)
Crate:     fxhash
Version:   0.2.1
Warning:   unmaintained
Title:     fxhash - no longer maintained
Date:      2025-09-05
ID:        RUSTSEC-2025-0057
URL:       https://rustsec.org/advisories/RUSTSEC-2025-0057

Crate:     paste
Version:   1.0.15
Warning:   unmaintained
Title:     paste - no longer maintained
Date:      2024-10-07
ID:        RUSTSEC-2024-0436
URL:       https://rustsec.org/advisories/RUSTSEC-2024-0436

Crate:     rustls-pemfile
Version:   2.2.0
Warning:   unmaintained
Title:     rustls-pemfile is unmaintained
Date:      2025-11-28
ID:        RUSTSEC-2025-0134
URL:       https://rustsec.org/advisories/RUSTSEC-2025-0134

Crate:     rustybuzz
Version:   0.20.1
Warning:   unmaintained
Title:     `rustybuzz` is unmaintained
Date:      2026-07-11
ID:        RUSTSEC-2026-0206
URL:       https://rustsec.org/advisories/RUSTSEC-2026-0206

Crate:     ttf-parser
Version:   0.25.1
Warning:   unmaintained
Title:     `ttf-parser` is unmaintained
Date:      2026-06-28
ID:        RUSTSEC-2026-0192
URL:       https://rustsec.org/advisories/RUSTSEC-2026-0192

warning: 5 allowed warnings found
```

</details>

## [2.12.0]

### New Features

- [`3f62c70d6`](https://www.github.com/tauri-apps/tauri/commit/3f62c70d6b9a9eeeb7c302b010c858405a1bb761) ([#13848](https://www.github.com/tauri-apps/tauri/pull/13848)) Add `WebviewBuilder::limit_navigations_to_app_bound_domains`, `WebviewWindowBuilder::limit_navigations_to_app_bound_domains`, and limitNavigationsToAppBoundDomains to tauri.config.json.
- [`21ec647cf`](https://www.github.com/tauri-apps/tauri/commit/21ec647cf945284716696ce2388b5ae381ae5e14) ([#15223](https://www.github.com/tauri-apps/tauri/pull/15223)) Add `Builder::activate_ignoring_other_apps` on macOS to control whether the app activates at launch when another app is already active.
- [`29265557c`](https://www.github.com/tauri-apps/tauri/commit/29265557c7a42ef6a1f982e0ef738208df1f6dd3) ([#15410](https://www.github.com/tauri-apps/tauri/pull/15410)) Added `WindowBuilder/WebviewWindowBuilder::no_redirection_bitmap` method to disable the window redirection bitmap on Windows.
- [`382dd6ccc`](https://www.github.com/tauri-apps/tauri/commit/382dd6ccc022277d5620fde90a39b4c5e896310e) ([#14865](https://www.github.com/tauri-apps/tauri/pull/14865)) Expose the `wry` permission handler API through Tauri.
    This includes support for permission types such as `DisplayCapture`, `Midi`, `Sensors`, `MediaKeySystemAccess`, `LocalFonts`, `WindowManagement`, `PointerLock`, `AutomaticDownloads`, `FileSystemAccess`, and `Autoplay`.
    Added `PermissionResponse::{Allow, Deny, Default}` for runtime permission decisions.
- [`6edc2f4d4`](https://www.github.com/tauri-apps/tauri/commit/6edc2f4d49d2477649bf170aa2867276c25573da) ([#14926](https://www.github.com/tauri-apps/tauri/pull/14926)) Added `Window::set_fullscreen_on_monitor`, `WebviewWindow::set_fullscreen_on_monitor` and the `setFullscreenOnMonitor` JavaScript API to make a window fullscreen on the monitor containing a given physical position, along with the `core:window:allow-set-fullscreen-on-monitor` permission.

### What's Changed

- [`2e6e33c85`](https://www.github.com/tauri-apps/tauri/commit/2e6e33c8501c66c9a49aad861048d39345cfb26f) ([#16029](https://www.github.com/tauri-apps/tauri/pull/16029)) Moved to edition 2024
- [`ce3f13b91`](https://www.github.com/tauri-apps/tauri/commit/ce3f13b91a75cb723f229f56a3e82eb5f2d3f644) ([#15887](https://www.github.com/tauri-apps/tauri/pull/15887)) Lock unstable tauri crates to minor versions.
- [`1cffb01da`](https://www.github.com/tauri-apps/tauri/commit/1cffb01da55f5fcd5a0f74ef3281b5a715513e4d) ([#13221](https://www.github.com/tauri-apps/tauri/pull/13221)) Set MSRV to 1.90.

### Dependencies

- Upgraded to `tauri-utils@2.10.0`
- [`872428fe9`](https://www.github.com/tauri-apps/tauri/commit/872428fe910efe25eeaa959b56adcd9d9a9a2157) ([#15790](https://www.github.com/tauri-apps/tauri/pull/15790)) On macOS, updated `objc2-*` dependencies to 0.3.2
- [`51433d740`](https://www.github.com/tauri-apps/tauri/commit/51433d740fbac79247aad82764e53f13abcbb01a) ([#15996](https://www.github.com/tauri-apps/tauri/pull/15996)) Updated `windows` to `0.62` and `webview2-com` to `0.39`, this drops Windows 7 support, see https://github.com/microsoft/windows-rs/issues/3808.

### Breaking Changes

- [`d727d6316`](https://www.github.com/tauri-apps/tauri/commit/d727d631659f07a597cc86cf808f505858dee878) ([#15630](https://www.github.com/tauri-apps/tauri/pull/15630)) Changed `RuntimeHandle::primary_monitor`, `RuntimeHandle::monitor_from_point`, `RuntimeHandle::available_monitors` to return `Result`s

<details>
<summary><em><h4>Cargo Publish</h4></em></summary>

```
Updating crates.io index
   Packaging tauri-runtime v2.12.0 (/home/runner/work/tauri/tauri/crates/tauri-runtime)
    Updating crates.io index
    Packaged 14 files, 178.0KiB (46.3KiB compressed)
   Verifying tauri-runtime v2.12.0 (/home/runner/work/tauri/tauri/crates/tauri-runtime)
 Downloading crates ...
  Downloaded dpi v0.1.1
  Downloaded pango-sys v0.18.0
  Downloaded system-deps v6.2.2
  Downloaded proc-macro-crate v2.0.0
  Downloaded glib v0.18.5
  Downloaded atk v0.18.2
  Downloaded atk-sys v0.18.2
  Downloaded javascriptcore-rs-sys v1.1.1
  Downloaded gdk-pixbuf v0.18.5
  Downloaded soup3 v0.5.0
  Downloaded gobject-sys v0.18.0
  Downloaded heck v0.4.1
  Downloaded memoffset v0.9.1
  Downloaded gio-sys v0.18.1
  Downloaded webkit2gtk v2.0.2
  Downloaded gdk v0.18.2
  Downloaded toml_edit v0.19.15
  Downloaded webkit2gtk-sys v2.0.2
  Downloaded glib-sys v0.18.1
  Downloaded cairo-sys-rs v0.18.2
  Downloaded version-compare v0.2.0
  Downloaded glib-macros v0.18.5
  Downloaded gtk3-macros v0.18.2
  Downloaded proc-macro-error v1.0.4
  Downloaded javascriptcore-rs v1.1.2
  Downloaded cfg-expr v0.15.8
  Downloaded gio v0.18.4
  Downloaded cookie v0.18.1
  Downloaded field-offset v0.3.6
  Downloaded target-lexicon v0.12.16
  Downloaded proc-macro-crate v1.3.1
  Downloaded proc-macro-error-attr v1.0.4
  Downloaded gdk-pixbuf-sys v0.18.0
  Downloaded cairo-rs v0.18.5
  Downloaded soup3-sys v0.5.0
  Downloaded pango v0.18.3
  Downloaded gdk-sys v0.18.2
  Downloaded raw-window-handle v0.6.2
  Downloaded winnow v0.5.40
  Downloaded gtk v0.18.2
  Downloaded gtk-sys v0.18.2
  Downloaded toml_edit v0.20.7
   Compiling serde_core v1.0.228
   Compiling serde v1.0.228
   Compiling target-lexicon v0.12.16
   Compiling smallvec v1.15.2
   Compiling version-compare v0.2.0
   Compiling winnow v0.5.40
   Compiling proc-macro-error-attr v1.0.4
   Compiling syn v1.0.109
   Compiling cfg-expr v0.15.8
   Compiling proc-macro-error v1.0.4
   Compiling futures-core v0.3.31
   Compiling futures-macro v0.3.31
   Compiling heck v0.4.1
   Compiling futures-util v0.3.31
   Compiling futures-channel v0.3.31
   Compiling bitflags v2.13.0
   Compiling gio v0.18.4
   Compiling futures-io v0.3.31
   Compiling icu_normalizer v2.1.1
   Compiling memoffset v0.9.1
   Compiling time-macros v0.2.30
   Compiling idna_adapter v1.2.1
   Compiling field-offset v0.3.6
   Compiling toml_datetime v0.6.8
   Compiling serde_spanned v0.6.8
   Compiling toml_edit v0.22.24
   Compiling toml_edit v0.20.7
   Compiling futures-executor v0.3.31
   Compiling toml_edit v0.19.15
   Compiling time v0.3.51
   Compiling toml v0.8.20
   Compiling proc-macro-crate v2.0.0
   Compiling system-deps v6.2.2
   Compiling proc-macro-crate v1.3.1
   Compiling idna v1.1.0
   Compiling glib-macros v0.18.5
   Compiling gtk v0.18.2
   Compiling bitflags v1.3.2
   Compiling glib-sys v0.18.1
   Compiling gobject-sys v0.18.0
   Compiling gio-sys v0.18.1
   Compiling gdk-sys v0.18.2
   Compiling atk-sys v0.18.2
   Compiling cairo-sys-rs v0.18.2
   Compiling pango-sys v0.18.0
   Compiling gdk-pixbuf-sys v0.18.0
   Compiling gtk-sys v0.18.2
   Compiling soup3-sys v0.5.0
   Compiling javascriptcore-rs-sys v1.1.1
   Compiling webkit2gtk-sys v2.0.2
   Compiling url v2.5.8
   Compiling gtk3-macros v0.18.2
   Compiling glib v0.18.5
   Compiling cookie v0.18.1
   Compiling plist v1.10.0
   Compiling urlpattern v0.6.0
   Compiling tauri-runtime v2.12.0 (/home/runner/work/tauri/tauri/target/package/tauri-runtime-2.12.0)
   Compiling tauri-utils v2.10.0
   Compiling dpi v0.1.1
   Compiling raw-window-handle v0.6.2
   Compiling cairo-rs v0.18.5
   Compiling atk v0.18.2
   Compiling javascriptcore-rs v1.1.2
   Compiling pango v0.18.3
   Compiling gdk-pixbuf v0.18.5
   Compiling soup3 v0.5.0
   Compiling gdk v0.18.2
   Compiling webkit2gtk v2.0.2
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.53s
   Uploading tauri-runtime v2.12.0 (/home/runner/work/tauri/tauri/crates/tauri-runtime)
    Uploaded tauri-runtime v2.12.0 to registry `crates-io`
note: waiting for tauri-runtime v2.12.0 to be available at registry `crates-io`
help: you may press ctrl-c to skip waiting; the crate should be available shortly
   Published tauri-runtime v2.12.0 at registry `crates-io`
```

</details>

Related Repositories