Change8

@tauri-apps/cli-v2.10.0

📦 tauriView on GitHub →
2 features🐛 6 fixes1 deprecations🔧 6 symbols

Summary

This release introduces new environment variables for signing operations and fixes several bugs across Android builds, deep link entitlements, and CLI command descriptions. Older signing environment variables are now deprecated.

Migration Steps

  1. Update environment variables used for signing from `TAURI_PRIVATE_KEY*` to `TAURI_SIGNING_PRIVATE_KEY*`.

✨ New Features

  • Allowed electron to run the CLI directly.
  • Added new environment variables for `tauri signer sign` command to align with existing build/bundle variables: `TAURI_SIGNING_PRIVATE_KEY`, `TAURI_SIGNING_PRIVATE_KEY_PATH`, `TAURI_SIGNING_PRIVATE_KEY_PASSWORD`.

🐛 Bug Fixes

  • Fixed `android build`'s `--aab` and `--apk` flags requiring a value to be provided.
  • Fixed empty associated-domains entitlements when domains are not configured for deep links.
  • Fixed the command description for `tauri inspect`.
  • Updated `nsis_tauri_utils` to 0.5.3, fixing an issue where programs launched as user could not query their own handle by using `CreateProcessWithTokenW`.
  • Only watch dependent workspace members when running `tauri dev` instead of watching all members.
  • Fixed `tauri signer sign` not working for files without an extension.

Affected Symbols

⚡ Deprecations

  • The old environment variables for signing (`TAURI_PRIVATE_KEY`, `TAURI_PRIVATE_KEY_PATH`, `TAURI_PRIVATE_KEY_PASSWORD`) are deprecated and will be removed in a future release. Users should switch to `TAURI_SIGNING_PRIVATE_KEY`, `TAURI_SIGNING_PRIVATE_KEY_PATH`, and `TAURI_SIGNING_PRIVATE_KEY_PASSWORD` respectively.