Aller au contenu
Tauri

tauri@2.6.0

Ce contenu n’est pas encore disponible dans votre langue.

New Features

  • 50ebddaa2 (#13319 by @kingsword09) Expose the setAutoResize API for webviews in @tauri-apps/api.
  • 267368fd4 (#13276 by @amrbashir) Add Monitor::work_area getter
  • 267368fd4 (#13276 by @amrbashir) Added tauri::PhysicalRect and tauri::LogicalRect types.
  • 09c19932d (#13304 by @39zde) Adds the option to configure the HTTP Service-Worker-Allowed response header in app > security > headers
  • 9c16eefa3 (#13629 by @sftse) Added x11 Cargo feature (enabled by default). Disabling it is useful for apps that only support Wayland, reducing its size. NOTE: When manually disabling tauri default features, you must enable the x11 feature to support it.

Enhancements

  • 96ecfca42 (#13406 by @amrbashir) Check if the webview runtime is accessible when creating a webview, returning an error if it doesn’t.

Bug Fixes

Performance Improvements

  • 6a39f4999 (#13464 by @Legend-Master) Use dynamic dispatch for async commands in dev, this should speed up the compilation time by quite a bit, and significantly reduces the incremental compilation time

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
  • b5c549d18 (#13325 by @Legend-Master) transformCallback now registers the callbacks inside window.__TAURI_INTERNALS__.callbacks instead of directly on window['_{id}']

Dependencies

  • Upgraded to tauri-utils@2.5.0
  • Upgraded to tauri-runtime-wry@2.7.0
  • Upgraded to tauri-macros@2.3.0
  • Upgraded to tauri-build@2.3.0
  • Upgraded to tauri-runtime@2.7.0
  • 9c16eefa3 (#13629 by @sftse) Updated tao to 0.34, wry to 0.52 and webview2-com to 0.38.

Breaking Changes


© 2025 Tauri Contributors. CC-BY / MIT