tauri-macros@2.7.0
Sep 26, 2026
Enhancements
459fc315e(#15711) Fix different build and runtime debug assertion profiles on the tauri-utils crate can resulting in compilation errors.
Bug Fixes
-
448d39ee2(#15860) Fix menu related commands can panic if called with invalid input throughinvokedirectly.- The internal
do_menu_item!macro now returnsErr(crate::Error::UnexpectedMenuKind)instead ofunreachable!() - Added a new error type
tauri::Error::UnexpectedMenuKind menu:newwith thePredefinedkind now returns an error instead of panicking when theitemoption is missing- Converting an
Imageto a menu or tray icon now returnstauri::Error::InvalidIconwhen the RGBA buffer does not match the image size, instead of panicking on Linux when the icon is rendered
- The internal
What's Changed
2e6e33c85(#16029) Moved to edition 2024ce3f13b91(#15887) Lock unstable tauri crates to minor versions.1cffb01da(#13221) Set MSRV to 1.90.
Dependencies
- Upgraded to
tauri-utils@2.10.0 - Upgraded to
tauri-codegen@2.7.0
© 2026 Tauri Contributors. CC-BY / MIT