tauri@2.0.0-alpha.11
4db363a0(#6589) Addedvisible_on_all_workspacesconfiguration option toWindowBuilder,Window, andWindowConfig.84c41597(#6394) AddApp::primary_monitor,App::available_monitors,AppHandle::primary_monitor, andAppHandle::available_monitors2a000e15(#7235) AddedWindow::navigate.3b98141a(#3736) Added support to file associations.3a2c3e74(#7306) AddedPluginBuilder::on_navigation. AddedPlugin::on_navigation.753900dd(#7440) ExposeRunEvent::Openedon macOS and iOS for deep link support.7fb419c3(#7535) AddApp::cleanup_before_exitandAppHandle::cleanup_before_exitto manually call the cleanup logic. You should always exit the tauri app immediately after this function returns and not use any tauri-related APIs.7fb419c3(#7535) On Linux, addWindow::default_vboxto get a reference to thegtk::Boxthat contains the menu bar and the webview.7fb419c3(#7535) Addlinux-libxdofeature flag (disabled by default) to enable linking tolibxdowhich is used to makeCut,Copy,PasteandSelectAllnative menu items work on Linux.7fb419c3(#7535) On macOS, addWindow::ns_viewto get a pointer to the NSWindow content view.7fb419c3(#7535) Exposerun_on_main_threadmethod onAppthat is similar toAppHandle::run_on_main_thread.
a5752db9(#7436) Listen toonNewIntentand forward it to registered plugins.fbeb5b91(#7170) AddedChannel::newallowing communication from a mobile plugin with Rust.fbeb5b91(#7170) Use custom protocols on the IPC implementation to enhance performance.
- Upgraded to
tauri-runtime@1.0.0-alpha.0 - Upgraded to
tauri-utils@2.0.0-alpha.7 - Upgraded to
tauri-macros@2.0.0-alpha.7 - Upgraded to
tauri-runtime-wry@1.0.0-alpha.0 - Upgraded to
tauri-build@2.0.0-alpha.7 d1a6e2f3(#7252) Updatestateto v0.6.
-
fd5dc788(#7352) - Removedtauri::api::fileandtauri::api::dirmodules, usestd::fsinstead.- Removed
tauri::api::versionmodule, usesemvercrate instead.
- Removed
-
fbeb5b91(#7170) Movedtauri::api::ipctotauri::ipcand refactored all types. -
fbeb5b91(#7170) Removed thelinux-protocol-headersfeature (now always enabled) and addedlinux-ipc-protocol. -
7fb419c3(#7535) ChangedApp::handleandManager::app_handleto return a reference to anAppHandleinstead of an owned value. -
7fb419c3(#7535) The tray icon and menu have received a huge refactor with a lot of breaking changes in order to add new functionalities and improve the DX around using them and here is an overview of the changes:- All menu and tray types are now exported from
tauri::menuandtauri::traymodules with new names so make sure to check the new types. - Removed
tauri::Builder::system_tray, instead you should usetauri::tray::TrayIconBuilderinsidetauri::Builder::setuphook to create your tray icons. - Changed
tauri::Builder::menuto be a function to accommodate for new menu changes, you can passetauri::menu::Menu::defaultto it to create a default menu. - Renamed
tauri::Contextmethodssystem_tray_icon,tauri::Context::system_tray_icon_mutandtauri::Context::set_system_tray_icontotauri::Context::tray_icon,tauri::Context::tray_icon_mutandtauri::Context::set_tray_iconto be consistent with new type names. - Added
RunEvent::MenuEventandRunEvent::TrayIconEvent. - Added
App/AppHandle::set_menu,App/AppHandle::remove_menu,App/AppHandle::show_menu,App/AppHandle::hide_menuandApp/AppHandle::menuto access, remove, hide or show the app-wide menu that is used as the global menu on macOS and on all windows that don’t have a specific menu set for it on Windows and Linux. - Added
Window::set_menu,Window::remove_menu,Window::show_menu,Window::hide_menu,Window::is_menu_visibleandWindow::menuto access, remove, hide or show the menu on this window. - Added
Window::popup_menuandWindow::popup_menu_atto show a context menu on the window at the cursor position or at a specific position. You can also popup a context menu usingpopupandpopup_atmethods fromContextMenutrait which is implemented forMenuandSubmenutypes. - Added
App/AppHandle::tray,App/AppHandle::tray_by_id,App/AppHandle::remove_trayandApp/AppHandle::remove_tray_by_idto access or remove a registered tray. - Added
WindowBuilder/App/AppHandle::on_menu_eventto register a new menu event handler. - Added
App/AppHandle::on_tray_icon_eventto register a new tray event handler.
- All menu and tray types are now exported from
-
7fb419c3(#7535) Renamedsystem-trayfeature flag totray-icon. -
3a2c3e74(#7306) TheWindow#on_navigationclosure now receives a&Urlargument instead ofUrl.
© 2025 Tauri Contributors. CC-BY / MIT