Skip to content

tauri-macros

Internal macros for the Tauri framework.

2.7.x

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 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

2.6.x

2.6.3

Jun 17, 2026
Dependencies
  • Upgraded to tauri-utils@2.9.3
  • Upgraded to tauri-codegen@2.6.3

2.6.2

May 16, 2026
Dependencies
  • Upgraded to tauri-utils@2.9.2
  • Upgraded to tauri-codegen@2.6.2

2.6.1

May 6, 2026
Dependencies
  • Upgraded to tauri-utils@2.9.1
  • Upgraded to tauri-codegen@2.6.1

2.6.0

Apr 30, 2026
New Features
  • c00a3dbff (#14473) Add support for the rename attribute in the tauri::command macro to allow renaming the command to something other than the function name.
Dependencies
  • Upgraded to tauri-utils@2.9.0
  • Upgraded to tauri-codegen@2.6.0

2.5.x

2.5.5

Mar 4, 2026
Dependencies
  • Upgraded to tauri-utils@2.8.3
  • Upgraded to tauri-codegen@2.5.5

2.5.4

Feb 4, 2026
Dependencies
  • Upgraded to tauri-codegen@2.5.4

2.5.3

Feb 2, 2026
Dependencies
  • Upgraded to tauri-utils@2.8.2
  • Upgraded to tauri-codegen@2.5.3

2.5.2

Nov 30, 2025
Dependencies
  • Upgraded to tauri-utils@2.8.1
  • Upgraded to tauri-codegen@2.5.2

2.5.1

Nov 13, 2025
Bug Fixes
  • 4b00130b8 (#14385 by @lucasfernog) Fix iOS deadlock when running on the simulator from Xcode by properly piping stdout/stderr messages through the Xcode console and OSLog.
Dependencies
  • Upgraded to tauri-codegen@2.5.1

2.5.0

Oct 20, 2025
Bug Fixes
  • 69476d8e2 (#14170) Fix the stack overflow when having too many commands in a single invoke handler in release build
Dependencies
  • Upgraded to tauri-utils@2.8.0
  • Upgraded to tauri-codegen@2.5.0
  • 6aa7f2d85 Upgraded to tauri-utils@2.8.0

2.4.x

2.4.0

Aug 18, 2025
Dependencies
  • Upgraded to tauri-utils@2.7.0.
  • Upgraded to tauri-codegen@2.4.0

2.3.x

2.3.2

Jul 20, 2025
Dependencies
  • Upgraded to tauri-utils@2.6.0
  • Upgraded to tauri-codegen@2.3.1

2.3.1

Jun 26, 2025
Performance Improvements

2.2.x

2.2.1

Dependencies
  • Upgraded to tauri-codegen@2.3.0
  • Upgraded to tauri-utils@2.5.0

2.2.0

Apr 15, 2025
Dependencies
  • Upgraded to tauri-utils@2.4.0
  • Upgraded to tauri-codegen@2.2.0
  • 48b12b440 Update to tauri-utils@2.4.0

Full Changelog

tauri-macros full changelog

Version List


© 2026 Tauri Contributors. CC-BY / MIT