Skip to content

tauri-codegen

Compile-time code generation for Tauri.

2.7.x

2.7.0

Sep 26, 2026
New Features
  • 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.
Bug Fixes
  • 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.
What's Changed
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
  • df05c0056 Upgraded to tauri-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) Fix tauri::Context code generation failing with can't capture dynamic environment in a fn item when 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

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

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 the bundleName property in the macOS bundler configuration. This allows specifying the CFBundleName value for generated macOS bundles.
What's Changed
  • 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
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
  • 48b12b440 Update to tauri-utils@2.4.0

Full Changelog

tauri-codegen full changelog

Version List


© 2026 Tauri Contributors. CC-BY / MIT