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 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
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 therenameattribute in thetauri::commandmacro 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 6aa7f2d85Upgraded totauri-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
0a552a868(#13690 by @montyc1999) Cacherustc -Voutput in#[tauri::command]macros
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 48b12b440Update totauri-utils@2.4.0
Full Changelog
Version List
- v2.7.0 Sep 26, 2026
- v2.6.3 Jun 17, 2026
- v2.6.2 May 16, 2026
- v2.6.1 May 6, 2026
- v2.6.0 Apr 30, 2026
- v2.5.5 Mar 4, 2026
- v2.5.4 Feb 4, 2026
- v2.5.3 Feb 2, 2026
- v2.5.2 Nov 30, 2025
- v2.5.1 Nov 13, 2025
- v2.5.0 Oct 20, 2025
- v2.4.0 Aug 18, 2025
- v2.3.2 Jul 20, 2025
- v2.3.1 Jun 26, 2025
- v2.2.1
- v2.2.0 Apr 15, 2025
- v2.1.1 Apr 1, 2025
- v2.1.0 Mar 20, 2025
- v2.0.5 Feb 26, 2025
- v2.0.4 Jan 2, 2025
- v2.0.3 Nov 9, 2024
- v2.0.1 Oct 3, 2024
- v2.0.0 Oct 2, 2024
- v2.0.0-rc.12 Sep 27, 2024
- v2.0.0-rc.11 Sep 17, 2024
- v2.0.0-rc.10 Sep 15, 2024
- v2.0.0-rc.9 Sep 10, 2024
- v2.0.0-rc.8 Sep 5, 2024
- v2.0.0-rc.7 Sep 4, 2024
- v2.0.0-rc.6 Aug 28, 2024
- v2.0.0-rc.5 Aug 20, 2024
- v2.0.0-rc.4 Aug 20, 2024
- v2.0.0-rc.3 Aug 17, 2024
- v2.0.0-rc.2 Aug 9, 2024
- v2.0.0-rc.1 Aug 7, 2024
- v2.0.0-rc.0 Aug 2, 2024
- v2.0.0-beta.19 Jul 12, 2024
- v2.0.0-beta.18 Jul 2, 2024
- v2.0.0-beta.17 May 29, 2024
- v2.0.0-beta.16 May 23, 2024
- v2.0.0-beta.15 May 9, 2024
- v2.0.0-beta.14 May 6, 2024
- v2.0.0-beta.13 Apr 22, 2024
- v2.0.0-beta.12 Apr 15, 2024
- v2.0.0-beta.11 Apr 2, 2024
- v2.0.0-beta.10 Mar 18, 2024
- v2.0.0-beta.9 Mar 11, 2024
- v2.0.0-beta.8 Mar 7, 2024
- v2.0.0-beta.7 Mar 6, 2024
- v2.0.0-beta.6 Feb 29, 2024
- v2.0.0-beta.5 Feb 27, 2024
- v2.0.0-beta.4 Feb 22, 2024
- v2.0.0-beta.3 Feb 21, 2024
- v2.0.0-beta.2 Feb 19, 2024
- v2.0.0-beta.1 Feb 4, 2024
- v2.0.0-beta.0 Feb 3, 2024
- v2.0.0-alpha.13 Jan 16, 2024
- v2.0.0-alpha.12 Dec 19, 2023
- v2.0.0-alpha.11 Nov 20, 2023
- v2.0.0-alpha.10 Oct 28, 2023
- v2.0.0-alpha.9 Oct 19, 2023
- v2.0.0-alpha.8 Oct 8, 2023
- v2.0.0-alpha.7 Aug 14, 2023
- v2.0.0-alpha.6 Jun 17, 2023
- v2.0.0-alpha.5 May 18, 2023
- v2.0.0-alpha.4 Apr 10, 2023
- v2.0.0-alpha.3 Apr 3, 2023
- v2.0.0-alpha.2 Mar 20, 2023
- v2.0.0-alpha.1 Feb 2, 2023
- v2.0.0-alpha.0 Dec 9, 2022
- v1.4.3 Dec 20, 2023
- v1.4.2 Dec 1, 2023
- v1.4.1 Sep 28, 2023
- v1.4.0 Jun 14, 2023
- v1.3.0 May 3, 2023
- v1.2.1 Nov 24, 2022
- v1.2.0 Nov 8, 2022
- v1.1.1 Sep 16, 2022
- v1.1.0 Sep 15, 2022
- v1.0.4 Jul 14, 2022
- v1.0.3 Jul 6, 2022
- v1.0.2 Jun 30, 2022
- v1.0.1 Jun 29, 2022
- v1.0.0 Jun 16, 2022
- v1.0.0-rc.11 Jun 15, 2022
- v1.0.0-rc.10 Jun 15, 2022
- v1.0.0-rc.9 Jun 14, 2022
- v1.0.0-rc.8 May 27, 2022
- v1.0.0-rc.7 May 18, 2022
- v1.0.0-rc.6 May 7, 2022
- v1.0.0-rc.5 Apr 26, 2022
- v1.0.0-rc.4 Mar 28, 2022
- v1.0.0-rc.3 Mar 7, 2022
- v1.0.0-rc.2 Feb 18, 2022
- v1.0.0-rc.1 Feb 12, 2022
- v1.0.0-rc.0 Feb 10, 2022
- v1.0.0-beta-rc.1 Apr 25, 2021
- v1.0.0-beta-rc.0 Apr 14, 2021
- v1.0.0-beta.5 Aug 16, 2021
- v1.0.0-beta.4 Jul 16, 2021
- v1.0.0-beta.3 Jun 28, 2021
- v1.0.0-beta.2 Jun 23, 2021
- v1.0.0-beta.1 May 12, 2021
- v1.0.0-beta.0 May 11, 2021
© 2026 Tauri Contributors. CC-BY / MIT