Skip to content

Apply Version Updates From Current Changes - #15634

Merged
lucasfernog merged 1 commit into
devfrom
release/version-updates
Sep 26, 2026
Merged

lucasfernog merged 1 commit into
devfrom
release/version-updates

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 2, 2026 •

Copy link
Copy Markdown
Contributor

Version Updates

Merging this PR will release new versions of the following packages based on your change files.

@tauri-apps/api

[2.12.0]

New Features

Enhancements

  • be01979 (fix: add ECMAScript Explicit Resource Management to Resource #14103) Add ECMAScript Explicit Resource Management to Resource. You can now use the using syntax in supported browsers or with polyfills:

    import { create, BaseDirectory } from "@tauri-apps/plugin-fs"
    ...
    {
      await using file = await create("foo/bar.txt", { baseDir: BaseDirectory.AppConfig });
      await file.write(new TextEncoder().encode("Hello world"));
      // Before `file` goes out of scope, it is disposed by calling `file[Symbol.asyncDispose]()` and awaited.
    }
  • 4a50656 (feat: add liquid glass window effects #14454) Added Regular and Clear Liquid Glass window effects, and the interactive window effects option (macOS 27.0+) that enables the glass' visual response to user interactions.

Bug Fixes

tauri-utils

[2.10.0]

New Features

Enhancements

Bug Fixes

What's Changed

Dependencies

Breaking Changes

tauri-macos-sign

[2.4.0]

What's Changed

Dependencies

tauri-bundler

[2.10.0]

New Features

Enhancements

Bug Fixes

What's Changed

Dependencies

  • Upgraded to tauri-utils@2.10.0
  • Upgraded to tauri-macos-sign@2.4.0
  • 7632efd (chore(deps): update dependencies of tauri-cli #15641) Breaking Change: Updated various dependencies and removed goblin. Some of these dependencies are part of the public API which makes this a breaking change. Added a warning about tauri-bundler's API stability in reflection to past regular breaking struct changes.

tauri-runtime

[2.12.0]

New Features

What's Changed

Dependencies

Breaking Changes

tauri-runtime-wry

[2.12.0]

New Features

Bug Fixes

What's Changed

Dependencies

Breaking Changes

tauri-codegen

[2.7.0]

New Features

  • d203f74 (refactor(windows): read default_window_icon from app resources #15274) Added Image::from_app_icon_resource and Image::from_icon_resource on Windows for loading images from icon resources embedded in the executable (identified by an IconResource id or name), and the default default_window_icon from tauri::generate_context macro is now loaded using from_app_icon_resource. The resource id tauri-build embeds the application icon with is exposed as tauri_utils::platform::WINDOWS_APP_ICON_RESOURCE_ID.

Bug Fixes

What's Changed

Dependencies

tauri-macros

[2.7.0]

Enhancements

Bug Fixes

  • 448d39e (fix: menu related commands can panic #15860) Fix menu related commands can panic if called with invalid input through invoke directly.

    • The internal do_menu_item! macro now returns Err(crate::Error::UnexpectedMenuKind) instead of unreachable!()
    • Added a new error type tauri::Error::UnexpectedMenuKind
    • menu:new with the Predefined kind now returns an error instead of panicking when the item option is missing
    • Converting an Image to a menu or tray icon now returns tauri::Error::InvalidIcon when the RGBA buffer does not match the image size, instead of panicking on Linux when the icon is rendered

What's Changed

Dependencies

  • Upgraded to tauri-utils@2.10.0
  • Upgraded to tauri-codegen@2.7.0

tauri-plugin

[2.7.0]

What's Changed

Dependencies

  • Upgraded to tauri-utils@2.10.0

tauri-build

[2.7.0]

New Features

Enhancements

Bug Fixes

  • d203f74 (refactor(windows): read default_window_icon from app resources #15274) The .ico from bundle > icon (or the icons/icon.ico fallback) embedded as the Windows application icon is now resolved relative to the config file directory instead of the build script's working directory, so it works with Attributes::config_path.
  • dd6befd (fix(tauri-build): emit absolute capabilities rerun-if-changed path #15918) Emit an absolute path for the capabilities directory cargo:rerun-if-changed. Cargo resolves a relative watch path against the package owning the build script, while the capabilities glob is resolved against the process working directory, so callers that change the current directory before try_build/try_build_context ended up watching a non-existent directory — which is always dirty and re-ran the build script (and recompiled everything downstream) on every build.
  • c0bd0d5 (fix(build): resolve target dir from OUT_DIR on new nightly #15831) Resolve the target directory by walking up from OUT_DIR to the build directory instead of assuming it is exactly three levels up. Recent nightly toolchains add another level to OUT_DIR, which made sidecars and resources land in target/debug/build instead of target/debug.
  • fc3a810 (fix(build): validate inline capabilities from the config file #16074) Validate the capabilities inlined in the app > security > capabilities configuration value, which previously skipped the build script validation and only failed later with a generic failed to resolve ACL panic when a permission identifier was unknown.

What's Changed

Dependencies

tauri

[2.12.0]

New Features

Enhancements

Bug Fixes

Performance Improvements

What's Changed

Security fixes

  • 2014373 Bind channel data IPC queue entries to the webview they were created for and scope their ids per webview.
    Queued channel payloads and large invoke responses can no longer be read by other webviews, and entries are purged when the owning webview is closed.
    Fixes GHSA-w28w-mhc8-qvjv.

Dependencies

Breaking Changes

@tauri-apps/cli

[2.12.0]

New Features

  • f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added bundle.windows.bundleVCRuntime to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through VCTOOLS_REDIST_DIR or the bundled vswhere.exe.

  • f76b1d3 (feat(bundler): show bundle sizes in the finished output #15644) The bundler now prints the size of each generated bundle next to its path in the Finished N bundles at: output (directories such as macOS .app bundles are measured recursively).

  • af465ea (feat(cli): add --no-binary-patching flag to build and bundle #15619) Add a --no-binary-patching flag to tauri build and tauri bundle. When set, the bundler skips patching the main executable with bundle type information (and the subsequent re-signing), leaving an already-signed binary untouched. Patching is only required when shipping multiple bundle types per platform that should each update with their own installer format.

  • 0646cc1 (feat(cli): support non-square source images in tauri icon #15620) Add a --fit option to tauri icon to accept non-square source images. --fit cover center-crops the source to a square (clipping the longer side) and --fit contain pads the shorter side with transparency. Non-square sources without --fit keep erroring, now with a hint pointing to the flag.

  • f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added build.windows.staticVCRuntime to control MSVC static runtime linking. The STATIC_VCRUNTIME environment variable is now deprecated and emits a migration warning when used.

  • f45ec0d Record the app version in the trusted comment of updater signatures, so a signed artifact is bound to the version it was released as.

    An update endpoint response is not signed, and the signature only covers the downloaded artifact, so the announced version on its own does not prove which release the url and signature point at. minisign covers the trusted comment with its global signature, which lets the updater plugin compare the two and reject a response that pairs a version number with a different release. Enable requireSignedVersion in the updater plugin configuration to enforce this.

    tauri build fills the version in automatically, and tauri plugin add updater now enables requireSignedVersion for the project it is adding the plugin to. tauri signer sign gains an --app-version flag for signing updater artifacts by hand, and warns when it is omitted.

Enhancements

Bug Fixes

What's Changed

Security fixes

  • 98918df (fix(cli): do not auto-install npm packages for community plugins #16112) tauri add no longer installs the npm package tauri-plugin-<name>-api for community plugins. npm and crates.io are separate namespaces, so that package may be unowned or squatted; the CLI now asks you to install the plugin's JavaScript bindings yourself. tauri remove only removes the plugin's JS package when package.json lists it, and a failure there no longer skips the capability cleanup.
  • cc9d522 (fix(cli): validate Host and Origin headers on the builtin dev server #16095) The built-in dev server now rejects requests whose Host header is not the address it serves on, which blocks DNS rebinding attacks, and rejects cross-site Origins on its reload WebSocket. The index.html fallback now goes through the same path scope check as other files, and the reload WebSocket no longer closes when the client sends a message.
  • dacddfe (fix(cli): apply default ignore rules in memory instead of shared temp files #16094) The CLI no longer writes its default ignore rules to shared files in the system temporary directory (.gitignore and .tauri/.gitignore) and reads them back, which let other local users change which files the project lookup and the dev watcher skip. The rules are now applied in memory. TAURI_CLI_WATCHER_IGNORE_FILENAME is now consistently treated as an ignore file name looked up in each directory, as documented.
  • fdd56da (fix(cli): authenticate the mobile options server #16099) Secure the local server that tauri android|ios dev|build uses to pass options to the Android Studio and Xcode build scripts: requests now need a random per-session token, WebSocket connections from web pages (with an Origin header) are rejected, and variables whose name contains TOKEN, PASSWORD, SECRET or CREDENTIAL are no longer sent. The connection details are now written with owner-only permissions to gen/<android|apple>/.tauri/cli-options-server.json (instead of the shared temp directory) and removed when the command exits. The IDE build scripts now report a clear error when the Tauri CLI command is not running.
  • ff7cd8d (fix(cli): harden updater key generation and signing #16118) tauri signer generate --write-keys now creates the private key with owner-only permissions (0600) on Unix and refuses to overwrite either the private or the public key file without --force. Updater signing now rejects file names containing tabs or newlines (which would corrupt the signature's trusted comment) and assumes an empty password instead of prompting when no password is given and stdin is not a terminal. tauri signer reports errors instead of panicking.
  • 51aa203 (fix(cli): run package managers directly on Windows instead of through cmd /c #16119) On Windows, package manager commands (npm, pnpm, yarn, bun, deno, node) are now executed directly instead of through cmd /c, so arguments such as @tauri-apps/plugin-fs@>=2 are escaped properly and can no longer be interpreted as shell redirections or command separators.

Dependencies

tauri-cli

[2.12.0]

New Features

  • f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added bundle.windows.bundleVCRuntime to copy the Visual C++ runtime DLLs into Windows MSI and NSIS installers. The bundler locates the runtime through VCTOOLS_REDIST_DIR or the bundled vswhere.exe.

  • f76b1d3 (feat(bundler): show bundle sizes in the finished output #15644) The bundler now prints the size of each generated bundle next to its path in the Finished N bundles at: output (directories such as macOS .app bundles are measured recursively).

  • af465ea (feat(cli): add --no-binary-patching flag to build and bundle #15619) Add a --no-binary-patching flag to tauri build and tauri bundle. When set, the bundler skips patching the main executable with bundle type information (and the subsequent re-signing), leaving an already-signed binary untouched. Patching is only required when shipping multiple bundle types per platform that should each update with their own installer format.

  • 0646cc1 (feat(cli): support non-square source images in tauri icon #15620) Add a --fit option to tauri icon to accept non-square source images. --fit cover center-crops the source to a square (clipping the longer side) and --fit contain pads the shorter side with transparency. Non-square sources without --fit keep erroring, now with a hint pointing to the flag.

  • f6c1eb2 (Reland "feat: add Windows VC runtime linking and bundling options" #15401) Added build.windows.staticVCRuntime to control MSVC static runtime linking. The STATIC_VCRUNTIME environment variable is now deprecated and emits a migration warning when used.

  • f45ec0d Record the app version in the trusted comment of updater signatures, so a signed artifact is bound to the version it was released as.

    An update endpoint response is not signed, and the signature only covers the downloaded artifact, so the announced version on its own does not prove which release the url and signature point at. minisign covers the trusted comment with its global signature, which lets the updater plugin compare the two and reject a response that pairs a version number with a different release. Enable requireSignedVersion in the updater plugin configuration to enforce this.

    tauri build fills the version in automatically, and tauri plugin add updater now enables requireSignedVersion for the project it is adding the plugin to. tauri signer sign gains an --app-version flag for signing updater artifacts by hand, and warns when it is omitted.

Enhancements

Bug Fixes

@github-actions
github-actions Bot requested a review from a team as a code owner July 2, 2026 05:00
@Legend-Master Legend-Master added this to the 2.12 milestone Jul 2, 2026
@Legend-Master
Legend-Master marked this pull request as draft July 2, 2026 07:17
@github-actions
github-actions Bot force-pushed the release/version-updates branch 25 times, most recently from 9f4e79b to 8fff637 Compare July 9, 2026 08:10
@github-actions
github-actions Bot force-pushed the release/version-updates branch from 8fff637 to 74537d4 Compare July 9, 2026 14:20
@sudormribeiro

Copy link
Copy Markdown

Hi! Not asking to rush anything, just adding a data point in case it helps prioritise a 2.x release alongside the v3 alphas.

We ship a Tauri 2.11.5 tray app to a few hundred desktops, and this release unblocks two user-facing bugs for us because tauri-runtime-wry 2.12.0 moves to tao 0.37:

The second one matters a bit more with this release because nsis-restart-manager (also in this PR) makes Restart Manager the default way the installer closes a running app, so every upgrade on Windows would hit the WM_ENDSESSION path. Shipping the bundler change and the tao 0.37 bump in the same release keeps those two together.

Is a 2.12 release planned in the near term, or is 2.x on hold while v3 stabilises? Either answer helps us plan. Thanks for all the work on this!

@Legend-Master

Legend-Master commented Sep 19, 2026 •

Copy link
Copy Markdown
Contributor

We should start preparing a blog for this that this is a big update with dropping Windows 7 support and raising MSRV.

Edit: tauri-apps/tauri-docs#4136

@Legend-Master

Copy link
Copy Markdown
Contributor

Is a 2.12 release planned in the near term, or is 2.x on hold while v3 stabilises? Either answer helps us plan. Thanks for all the work on this!

@sudormribeiro it might still take a bit of time but it's definitely not on hold. We're clearing https://github.com/tauri-apps/tauri/milestone/10 and the blog post before publishing this update.

@Legend-Master

Legend-Master commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

We probably want to release tauri-apps/tao#1341 and tauri-apps/tao#1342 before releasing this. Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] menuOnLeftClick for tray icons broken on macOS 27 [bug] Dependency can clobber sidecar with same name

3 participants