tauri-codegen
Compile-time code generation for Tauri.
2.7.x
2.7.0
Sep 26, 2026
New Features
d203f74a2(#15274) AddedImage::from_app_icon_resourceandImage::from_icon_resourceon Windows for loading images from icon resources embedded in the executable (identified by anIconResourceid or name), and the defaultdefault_window_iconfromtauri::generate_contextmacro is now loaded usingfrom_app_icon_resource. The resource idtauri-buildembeds the application icon with is exposed astauri_utils::platform::WINDOWS_APP_ICON_RESOURCE_ID.
Bug Fixes
29c87c3d3(#15777) Emit embedded assets and CSP script/style hashes in sorted order sogenerate_context!output no longer depends on the filesystem walk order, which varies across machines and broke reproducible builds.c735ba32b(#15241) Select the largest entry of an ICO file instead of the first one when embedding it withinclude_image!or as the tray icon, so the OS downscales a high-resolution source instead of upscaling the 16x16 entry.
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
2.6.x
2.6.3
Jun 17, 2026
Dependencies
- Upgraded to
tauri-utils@2.9.3
2.6.2
May 16, 2026
Dependencies
- Upgraded to
tauri-utils@2.9.2
2.6.1
May 6, 2026
Dependencies
- Upgraded to
tauri-utils@2.9.1
2.6.0
Apr 30, 2026
Dependencies
- Upgraded to
tauri-utils@2.9.0 df05c0056Upgraded totauri-utils@2.9.0
2.5.x
2.5.5
Mar 4, 2026
Dependencies
- Upgraded to
tauri-utils@2.8.3
2.5.4
Feb 4, 2026
Bug Fixes
eb5d88427(#14883 by @lucasfernog) Fixtauri::Contextcode generation failing withcan't capture dynamic environment in a fn itemwhen custom assets are provided.
2.5.3
Feb 2, 2026
Dependencies
- Upgraded to
tauri-utils@2.8.2
2.5.2
Nov 30, 2025
Dependencies
- Upgraded to
tauri-utils@2.8.1
2.5.1
Nov 13, 2025
Performance Improvements
8e3bd63db(#14457 by @Legend-Master) Wrap the generated context code in a function to make rust analyzer faster
2.5.0
Oct 20, 2025
Bug Fixes
c5008b829(#14274) Do not hash empty scripts when generating the Content-Security-Policy SHA-256 hashes.7b0d4e732(#14265) Fix JavaScript SHA256 hash generation on Windows not ignoring carriage return characters.
Dependencies
- Upgraded to
tauri-utils@2.8.0 6aa7f2d85Upgraded totauri-utils@2.8.0
2.4.x
2.4.0
Aug 18, 2025
Dependencies
- Upgraded to
tauri-utils@2.7.0.
2.3.x
2.3.1
Jul 20, 2025
Dependencies
- Upgraded to
tauri-utils@2.6.0
2.3.0
Jun 24, 2025
New Features
414619c36(#13536 by @Tunglies) Added support for thebundleNameproperty in the macOS bundler configuration. This allows specifying theCFBundleNamevalue for generated macOS bundles.
What's Changed
168629646(#13418 by @Legend-Master) Put dynamic ACL into a featuredynamic-acl, this is currently enabled by default to align with the previous behaviors, you can disable it throughdefault-features = falseto reduce the final binary size by not including the ACL references
Dependencies
- Upgraded to
tauri-utils@2.5.0
2.2.x
2.2.0
Apr 15, 2025
Dependencies
- Upgraded to
tauri-utils@2.4.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.1 Jul 20, 2025
- v2.3.0 Jun 24, 2025
- 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.2 Oct 21, 2024
- v2.0.1 Oct 3, 2024
- v2.0.0 Oct 2, 2024
- v2.0.0-rc.13 Sep 27, 2024
- v2.0.0-rc.12 Sep 17, 2024
- v2.0.0-rc.11 Sep 15, 2024
- v2.0.0-rc.10 Sep 10, 2024
- v2.0.0-rc.9 Sep 5, 2024
- v2.0.0-rc.8 Sep 4, 2024
- v2.0.0-rc.7 Aug 28, 2024
- v2.0.0-rc.6 Aug 22, 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.2 Dec 20, 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.4 Aug 16, 2021
- v1.0.0-beta.3 Jul 16, 2021
- v1.0.0-beta.2 Jun 28, 2021
- v1.0.0-beta.1 Jun 23, 2021
- v1.0.0-beta.0 May 11, 2021
© 2026 Tauri Contributors. CC-BY / MIT