tauri@2.0.0-beta.0
74a2a603(#8661) Implement access control list for IPC usage.a2fc3a63(#8657) AddvisibleOnAllWorkspacesoption when creating the window in JS andWindow.setVisibleOnAllWorkspacesmethod.af610232(#8710) AddedWindow::destroyto force close a window.c77b4032(#8280) Add multiwebview support behind theunstablefeature flag. SeeWindowBuilderandWebviewBuilderfor more information.9eaeb5a8(#8622) AddWindowBuilder::parentwhich is a convenient wrapper around parent functionality for Windows, Linux and macOS. Also addedWindowBuilder::owneron Windows only. Also addedWindowBuilder::transient_forandWindowBuilder::transient_for_rawon Linux only.
e8d3793c(#8732) Addcommon-controls-v6cargo feature flag (enabled by default).58fe2e81(#8670) Allow IPC calls when window origin is a defined custom protocol.
95da1a27(#8713) Fix callingset_activation_policywhen the event loop is running.e1eb911f(#8582) Ensure initalize logic and dropping of menu item is done on the main thread, this fixes the crash when a menu item is dropped on another thread.a093682d(#8621) Fix can not prevent closing a window from another webview.7f033f6d(#8537) Fix undecorated window resizing on Windows and Linux.
9f8037c2(#8633) On Windows, fix decorated window not transparent initially until resized.7f033f6d(#8537) AddWindow::start_resize_draggingandResizeDirectionenum.6639a579(#8441) Added theWindowConfig::proxy_urlWebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url()options when creating a webview.
- Upgraded to
tauri-build@22.0.0-beta.0 - Upgraded to
tauri-utils@2.0.0-beta.0 - Upgraded to
tauri-macros@2.0.0-beta.0 - Upgraded to
tauri-runtime@2.0.0-beta.0 - Upgraded to
tauri-runtime-wry@2.0.0-beta.0
-
8de308d1(#8723) Restructured Tauri config per RFC#5:- Moved
package.productName,package.versionandtauri.bundle.identifierfields to the top-level. - Removed
packageobject. - Renamed
tauriobject toapp. - Moved
tauri.bundleobject to the top-level. - Renamed
build.distDirfield tofrontendDist. - Renamed
build.devPathfield todevUrland will no longer accepts paths, it will only accept URLs. - Moved
tauri.patterntoapp.security.pattern. - Removed
tauri.bundle.updaterobject, and its fields have been moved to the updater plugin underplugins.updaterobject. - Moved
build.withGlobalTauritoapp.withGlobalTauri. - Moved
tauri.bundle.dmgobject tobundle.macOS.dmg. - Moved
tauri.bundle.debobject tobundle.linux.deb. - Moved
tauri.bundle.appimageobject tobundle.linux.appimage. - Removed all license fields from each bundle configuration object and instead added
bundle.licenseandbundle.licenseFile. - Renamed
AppUrltoFrontendDistand refactored its variants to be more explicit.
- Moved
-
c77b4032(#8280) Theinvoke_system,on_page_loadhooks now gives you aWebviewargument instead of aWindow. -
e1eb911f(#8582) All menu item constructorsacceleratorargument have been changed toOption<impl AsRef<str>>so when providingNoneyou need to specify the generic argument likeNone::<&str>. -
e1eb911f(#8582) All menu item constructors have been changed to return aResult<Self> -
aa758a85(#8716) Moved thecommandmodule items to theipcmodule so its import name does not clash with thecommandmacro. -
00e15675(#8708)AppHandle::exitandAppHandle::restartnow go triggersRunEvent::ExitRequestedandRunEvent::Exitand cannot be executed on the event loop handler. -
ec9818ac(#8696) Added a callback to theApp::run_iterationand removed its return value. -
a093682d(#8621) Refactored the event system to better accommodate the new window types:- Added
EventTargetenum. - Added
App/AppHandle::listen,App/AppHandle::onceandApp/AppHandle::unlistento listen to events targetingApp/AppHandle App/AppHandle/Window/Webview/WebviewWindow::emitwill now emit to all event listeners.App/AppHandle/Window/Webview/WebviewWindow::emit_towill emit to event targets that match the given label, seeEventTargetenum.App/AppHandle/Window/Webview/WebviewWindow::emit_filterwill emit to event targets based on a filter callback which now takes&EventTargetinstead of&Window.- Renamed
Manager::listen_globalandManager::once_globaltolisten_anyandonce_anyrespectively to be consistent withEventTarget::Any, it will now also listen to any event to any target (aka event sniffer).
- Added
-
9eaeb5a8(#8622) RenamedWindowBuilder::owner_windowtoWindowBuilder::owner_rawandWindowBuilder::parent_windowtoWindowBuilder::parent_raw. -
9eaeb5a8(#8622) ChangedWindowBuilder::from_configto return aResult<Self>. -
c77b4032(#8280) RenamedWindowtoWebviewWindow,WindowBuildertoWebviewWindowBuilder,Manager::windowstoManager::webview_windowsandManager::get_windowtoManager::get_webview_window. -
af610232(#8710)Window::closenow triggers a close requested event instead of forcing the window to be closed. -
c77b4032(#8280) Renamed thewindow-data-urlfeature flag towebview-data-url.
© 2025 Tauri Contributors. CC-BY / MIT