tauri-macros-v2.7.0
tauri-apps/tauritauri-macros-v2.7.0Sep 26, 2026by github-actions[bot]
Upgrading?
AI Summary
This minor release includes fixes for build assertion profiles and menu command panics, alongside standard infrastructure updates to edition 2024 and MSRV.
Key Highlights
- Fixed different build and runtime debug assertion profiles causing compilation errors.
- Fixed menu commands panicking when called with invalid input via `invoke`.
- Moved to Rust edition 2024.
- Set MSRV to 1.90.
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.7.0]
### Enhancements
- [`459fc315e`](https://www.github.com/tauri-apps/tauri/commit/459fc315eb790d9aa2d2cea693c20c8978f4b1b0) ([#15711](https://www.github.com/tauri-apps/tauri/pull/15711)) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.
### Bug Fixes
- [`448d39ee2`](https://www.github.com/tauri-apps/tauri/commit/448d39ee25c4bcbf4bd40129abc5399213dcc0a9) ([#15860](https://www.github.com/tauri-apps/tauri/pull/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
- [`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`
- Upgraded to `tauri-codegen@2.7.0`
<details>
<summary><em><h4>Cargo Publish</h4></em></summary>
```
Updating crates.io index
Packaging tauri-macros v2.7.0 (/home/runner/work/tauri/tauri/crates/tauri-macros)
Updating crates.io index
Packaged 15 files, 122.8KiB (35.6KiB compressed)
Verifying tauri-macros v2.7.0 (/home/runner/work/tauri/tauri/crates/tauri-macros)
Downloading crates ...
Downloaded tauri-codegen v2.7.0
Compiling proc-macro2 v1.0.106
Compiling serde_core v1.0.228
Compiling stable_deref_trait v1.2.0
Compiling cfg-if v1.0.1
Compiling siphasher v1.0.1
Compiling smallvec v1.15.2
Compiling phf_shared v0.13.1
Compiling serde v1.0.228
Compiling libc v0.2.189
Compiling phf_generator v0.13.1
Compiling memchr v2.8.2
Compiling quote v1.0.46
Compiling phf_codegen v0.13.1
Compiling syn v2.0.117
Compiling itoa v1.0.14
Compiling litemap v0.8.2
Compiling writeable v0.6.3
Compiling icu_normalizer_data v2.1.1
Compiling icu_properties_data v2.1.2
Compiling parking_lot_core v0.9.10
Compiling lock_api v0.4.12
Compiling scopeguard v1.2.0
Compiling new_debug_unreachable v1.0.6
Compiling string_cache_codegen v0.6.1
Compiling precomputed-hash v0.1.1
Compiling serde_json v1.0.145
Compiling parking_lot v0.12.3
Compiling web_atoms v0.2.3
Compiling simd-adler32 v0.3.7
Compiling ryu v1.0.18
Compiling crc32fast v1.5.0
Compiling string_cache v0.9.0
Compiling generic-array v0.14.7
Compiling getrandom v0.2.15
Compiling percent-encoding v2.3.2
Compiling typenum v1.20.0
Compiling log v0.4.29
Compiling dtoa v1.0.9
Compiling adler2 v2.0.0
Compiling utf-8 v0.7.6
Compiling utf8_iter v1.0.4
Compiling tendril v0.5.0
Compiling miniz_oxide v0.8.8
Compiling dtoa-short v0.3.5
Compiling form_urlencoded v1.2.2
Compiling typeid v1.0.2
Compiling selectors v0.38.0
Compiling aho-corasick v1.1.3
Compiling fnv v1.0.7
Compiling regex-syntax v0.8.11
Compiling bitflags v2.13.0
Compiling camino v1.1.9
Compiling thiserror v1.0.69
Compiling erased-serde v0.4.9
Compiling synstructure v0.13.1
Compiling darling_core v0.23.0
Compiling regex-automata v0.4.18
Compiling zerofrom-derive v0.1.5
Compiling yoke-derive v0.8.2
Compiling zerofrom v0.1.5
Compiling serde_derive v1.0.228
Compiling yoke v0.8.1
Compiling zerovec-derive v0.11.3
Compiling displaydoc v0.2.5
Compiling zerotrie v0.2.3
Compiling phf_macros v0.13.1
Compiling zerovec v0.11.5
Compiling darling_macro v0.23.0
Compiling phf v0.13.1
Compiling tinystr v0.8.2
Compiling potential_utf v0.1.4
Compiling icu_collections v2.1.1
Compiling icu_locale_core v2.1.1
Compiling derive_more-impl v2.0.1
Compiling cssparser-macros v0.7.0
Compiling icu_provider v2.1.1
Compiling derive_more v2.0.1
Compiling cssparser v0.37.0
Compiling markup5ever v0.39.0
Compiling icu_normalizer v2.1.1
Compiling icu_properties v2.1.2
Compiling darling v0.23.0
Compiling thiserror-impl v2.0.12
Compiling uuid v1.11.0
Compiling thiserror-impl v1.0.69
Compiling serde_derive_internals v0.29.1
Compiling idna_adapter v1.2.1
Compiling idna v1.1.0
Compiling url v2.5.8
Compiling thiserror v2.0.12
Compiling flate2 v1.1.1
Compiling fdeflate v0.3.7
Compiling servo_arc v0.4.3
Compiling powerfmt v0.2.0
Compiling hashbrown v0.16.1
Compiling num-conv v0.2.2
Compiling time-core v0.1.9
Compiling winnow v0.7.14
Compiling deranged v0.5.8
Compiling equivalent v1.0.1
Compiling bit-vec v0.8.0
Compiling web-time v1.1.0
Compiling rustc-hash v2.1.1
Compiling cfb v0.14.0
Compiling bit-set v0.8.0
Compiling indexmap v2.11.4
Compiling time v0.3.51
Compiling anyhow v1.0.103
Compiling schemars v0.8.22
Compiling toml_parser v1.0.9+spec-1.1.0
Compiling schemars_derive v0.8.22
Compiling jsonptr v0.7.1
Compiling cargo-platform v0.1.8
Compiling serde_with_macros v3.21.0
Compiling html5ever v0.39.0
Compiling regex v1.11.1
Compiling crypto-common v0.1.6
Compiling block-buffer v0.10.4
Compiling semver v1.0.28
Compiling serde_spanned v1.0.4
Compiling toml_datetime v1.0.0+spec-1.1.0
Compiling quick-xml v0.41.0
Compiling bitflags v1.3.2
Compiling foldhash v0.2.0
Compiling toml_writer v1.0.6+spec-1.1.0
Compiling base64 v0.22.1
Compiling bytes v1.11.1
Compiling dyn-clone v1.0.17
Compiling toml v1.0.6+spec-1.1.0
Compiling http v1.3.1
Compiling plist v1.10.0
Compiling dom_query v0.28.0
Compiling png v0.17.16
Compiling cargo_metadata v0.19.0
Compiling digest v0.10.7
Compiling serde_with v3.21.0
Compiling urlpattern v0.6.0
Compiling json-patch v4.2.0
Compiling serde-untagged v0.1.6
Compiling infer v0.22.0
Compiling cpufeatures v0.2.16
Compiling dunce v1.0.5
Compiling same-file v1.0.6
Compiling glob v0.3.4
Compiling ctor v1.0.7
Compiling byteorder v1.5.0
Compiling walkdir v2.5.0
Compiling sha2 v0.10.8
Compiling ico v0.5.0
Compiling tauri-utils v2.10.0
Compiling png v0.18.1
Compiling tauri-codegen v2.7.0
Compiling tauri-macros v2.7.0 (/home/runner/work/tauri/tauri/target/package/tauri-macros-2.7.0)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.87s
Uploading tauri-macros v2.7.0 (/home/runner/work/tauri/tauri/crates/tauri-macros)
Uploaded tauri-macros v2.7.0 to registry `crates-io`
note: waiting for tauri-macros v2.7.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-macros v2.7.0 at registry `crates-io`
```
</details>
Related Repositories
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io
An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.
π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection — all without a single pixel of video.
Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.