tauri-codegen@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
© 2026 Tauri Contributors. CC-BY / MIT