tauri@2.6.0
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
New Features
Section titled “New Features”50ebddaa2(#13319 by @kingsword09) Expose thesetAutoResizeAPI for webviews in@tauri-apps/api.267368fd4(#13276 by @amrbashir) AddMonitor::work_areagetter267368fd4(#13276 by @amrbashir) Addedtauri::PhysicalRectandtauri::LogicalRecttypes.09c19932d(#13304 by @39zde) Adds the option to configure the HTTPService-Worker-Allowedresponse header inapp > security > headers9c16eefa3(#13629 by @sftse) Addedx11Cargo 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 thex11feature to support it.
Enhancements
Section titled “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
Section titled “Bug Fixes”94b77b36e(#13288 by @oscartbeaumont) Prevent the JavaScript runtime crashing when channel events fire in a webview that no longer has callbacks for the channel.bc2f0e48a(#13401 by @oscartbeaumont) fix(macOS): caculation for work areadfacb656d(#13360 by @velocitysystems) Fixes multiple event listeners registration for iOS plugins.23b9da75b(#13324 by @kingsword09) Fixed path joining behavior wherepath.join('', 'a')incorrectly returns "/a" instead of "a".638804e9c(#13423 by @kingsword09) Fixed set_window_effects not runs on main thread in WindowBuilder.039f44b7b(#13307 by @lucasfernog) FixTrayIcon.getByIdreturning a new resource ID instead of reusing a previously created id fromTrayIcon.new.76cbeef20(#13278 by @situ2001) Fix JavaScript APIWebview.proxyUrlhad no effect when used in theWebviewconstructorb985eaf0a(#13306 by @lucasfernog) Immediately unregister event listener when the unlisten function is called.
Performance Improvements
Section titled “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
Section titled “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 referencesb5c549d18(#13325 by @Legend-Master)transformCallbacknow registers the callbacks insidewindow.__TAURI_INTERNALS__.callbacksinstead of directly onwindow['_{id}']
Dependencies
Section titled “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
Section titled “Breaking Changes”b7cdb3b39(#13410 by @Legend-Master) Feature gated the HTML manipulation code intauri-utilsbehined a flag to reduce compile time
© 2026 Tauri Contributors. CC-BY / MIT