Skip to content

tauri-codegen

Compile-time code generation for Tauri.

Sep 26, 2026
  • d203f74a2 (#15274) Added Image::from_app_icon_resource and Image::from_icon_resource on Windows for loading images from icon resources embedded in the executable (identified by an IconResource id or name), and the default default_window_icon from tauri::generate_context macro is now loaded using from_app_icon_resource. The resource id tauri-build embeds the application icon with is exposed as tauri_utils::platform::WINDOWS_APP_ICON_RESOURCE_ID.
  • 29c87c3d3 (#15777) Emit embedded assets and CSP script/style hashes in sorted order so generate_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 with include_image! or as the tray icon, so the OS downscales a high-resolution source instead of upscaling the 16x16 entry.
Jun 17, 2026
May 16, 2026
May 6, 2026
Apr 30, 2026
Mar 4, 2026
Feb 4, 2026
  • eb5d88427 (#14883 by @lucasfernog) Fix tauri::Context code generation failing with can't capture dynamic environment in a fn item when custom assets are provided.
Feb 2, 2026
Nov 30, 2025
Nov 13, 2025
Oct 20, 2025
  • 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.
Aug 18, 2025
Jul 20, 2025
Jun 24, 2025
  • 414619c36 (#13536 by @Tunglies) Added support for the bundleName property in the macOS bundler configuration. This allows specifying the CFBundleName value for generated macOS bundles.
  • 168629646 (#13418 by @Legend-Master) Put dynamic ACL into a feature dynamic-acl, this is currently enabled by default to align with the previous behaviors, you can disable it through default-features = false to reduce the final binary size by not including the ACL references
Apr 15, 2025

tauri-codegen full changelog


© 2026 Tauri Contributors. CC-BY / MIT