Skip to content

tauri-runtime-wry full changelog

Jun 30, 2026
  • ba865f2ef (#15614 by @Legend-Master) Fix getting the DPI internally leaks HDC handles on Windows. This also improves the resizing speed on undecorated windows
Jun 17, 2026
  • f1fe2d683 (#15504 by @Legend-Master) Fix cookies_for_url can cause deadlocks if called with another windowing/webview method
  • 056069ad0 (#15502 by @bclarke123) Fix a RefCell BorrowMutError panic on mobile: the Resumed/Suspended event branch held a windows borrow across the window-event handlers and the RunEvent callback, so any of them that created or closed a window (e.g. from a resume/suspend handler) panicked.
  • Upgraded to tauri-utils@2.9.3
  • Upgraded to tauri-runtime@2.11.3
May 16, 2026
  • Upgraded to tauri-utils@2.9.2
  • Upgraded to tauri-runtime@2.11.2
May 6, 2026
  • Upgraded to tauri-utils@2.9.1
  • Upgraded to tauri-runtime@2.11.1
Apr 30, 2026
  • 001c8fe3d (#14722) Add a WebView option to control browser-level general autofill behavior. This option does not disable password or credit card autofill. On Windows (WebView2), setting it to true disables the general autofill "Suggestions" UI, which may appear even when autocomplete="off" is specified on input elements. On Linux, macOS, iOS, and Android, this option is currently unsupported and performs no operation.
  • b27be063f (#14925) Add eval_with_callback to the Tauri webview APIs and runtime dispatch layers.
  • cc5c97602 (#14486) Trigger RunEvent::Opened on Android.
  • eb0312ea9 (#15199) Propagates the Event::Suspended and Event::Resumed events from tao when they are emitted on mobile targets.
  • 093e2b47c (#14484) Support creating multiple windows on Android (activity embedding) and iOS (scenes).
  • 1063c48c5 (#14523) Add handler for web content process termination on macOS and iOS.
  • 110336c88 (#15250) Fix initial window position when positioning it to another monitor.
  • 9808236eb (#14655) Fix monitor work area Y position on macOS.
  • d34497ef1 (#14862) The new window handler passed to on_new_window no longer requires Sync, and runs on main thread on Windows, aligning with other platforms
  • Upgraded to tauri-runtime@2.11.0
  • Upgraded to tauri-utils@2.9.0
Mar 4, 2026
  • Upgraded to tauri-utils@2.8.3
  • Upgraded to tauri-runtime@2.10.1
Feb 2, 2026
Dec 9, 2025
Nov 30, 2025
  • Upgraded to tauri-utils@2.8.1
  • Upgraded to tauri-runtime@2.9.2
Oct 22, 2025
  • Upgraded to tauri-runtime@2.9.1
Oct 20, 2025
  • f5851ee00 (#14089) Adds the scroll_bar_style option to the Webview and WebviewWindow builders. The possible values for this option are gated behind conditional compilation flags, and will need to be applied using conditional compilation if customised.
  • 684791efa (#14276) Always try to create macOS WebKit webview, even if webkit runtime doesn't get detected correctly
  • Upgraded to tauri-utils@2.8.0
  • Upgraded to tauri-runtime@2.9.0
Aug 25, 2025
  • 03e7c1193 (#14080 by @lucasfernog) Ignore initial navigation to about:blank so on_new_window does not give a warning on first navigation on macOS.
Aug 18, 2025
  • 82e264552 (#13968 by @s5bug) Use WM_NCDESTROY instead of WM_DESTROY to free window userdata, fixing a double-free occurring in the Windows resizing handler for undecorated windows which caused STATUS_HEAP_CORRUPTION
  • 196ace3c0 (#13970 by @Legend-Master) Return tauri_runtime::Error::CreateWindow instead of panic on window creation failed
  • Upgraded to tauri-utils@2.7.0
  • Upgraded to tauri-runtime@2.8.0
Jul 20, 2025
  • Upgraded to tauri-utils@2.6.0
  • Upgraded to tauri-runtime@2.7.1
Jun 27, 2025
Jun 24, 2025
  • 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.
  • 96ecfca42 (#13406 by @amrbashir) Check if the webview runtime is accessible when creating a webview, returning an error if it doesn't.
  • Upgraded to tauri-utils@2.5.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.
Apr 15, 2025
  • dd4f13ce4 (#13185) MacOS: Add set_dock_visibility method to support setting the visibility of the application in the dock.

  • ea36294cb (#13208) Added WebviewAttributes::input_accessory_view_builder on iOS.

  • c1cd0a2dd (#13090) macOS/iOS: add option to disable or enable link previews when building a webview (the webkit api has it enabled by default)

    • WebViewBuilder.allow_link_preview(allow_link_preview: bool)
    • WebviewWindowBuilder.allow_link_preview(allow_link_preview: bool)
  • b072e2b29 (#9687) Add preventOverflow config option to prevent the window from overflowing the monitor size on creation

  • 07953fb9c (#13222) Emit WindowEvent::Focused events when using the multiwebview (unstable feature flag) mode on Windows.
Apr 1, 2025
  • Upgraded to tauri-utils@2.3.1
  • Upgraded to tauri-runtime@2.5.1
Mar 20, 2025
  • be2e6b85f (#12944 by @Simon-Laux) add Window.is_always_on_top() and WebviewWindow.is_always_on_top()

  • 20c190691 (#12821 by @Simon-Laux) Add WebviewBuilder.disable_javascript and WebviewWindowBuilder.disable_javascript api to disable JavaScript.

  • 658e5f5d1 (#12668 by @thomaseizinger) Add App::run_return function. Contrary to App::run, this will not exit the process but instead return the requested exit-code. This allows the host app to perform further cleanup after Tauri has exited. App::run_return is not available on iOS and fallbacks to the regular App::run functionality.

    The App::run_iteration function is deprecated as part of this because calling it in a loop - as suggested by the name - will cause a busy-loop.

  • c698a6d6f (#12818 by @Simon-Laux) feat: add Webview.reload and WebviewWindow.reload

  • 30f5a1553 (#12366 by @FabianLars) Added trafficLightPosition window configuration to set the traffic light buttons position on macOS.

  • 30f5a1553 (#12366 by @FabianLars) Added traffic_light_position window builder method to set the traffic light buttons position on macOS.

  • cedb24d49 (#12665 by @charrondev) Added WebviewDispatch::cookies() and WebviewDispatch::cookies_for_url().

  • Upgraded to tauri-runtime@2.5.0
  • Upgraded to tauri-utils@2.3.0
Feb 28, 2025
  • e103e87f1 (#12848 by @amrbashir) Fix crash on Windows because of missing functions on older Windows systems, regression in 2.3.0
Feb 26, 2025
  • a2d36b8c3 (#12181 by @bastiankistner) Add an option to change the default background throttling policy (currently for WebKit only).
  • d6520a21c (#12541 by @FabianLars) Updated wry to 0.50, windows to 0.60, webview2-com to 0.36, and objc2 to 0.6. This can be a breaking change if you use the with_webview API!
  • Upgraded to tauri-runtime@2.4.0
  • Upgraded to tauri-utils@2.2.0
Jan 2, 2025
  • 18bd639f6 (#11798 by @lars-berger) Add WebviewWindowBuilder/WebviewBuilder::data_store_identifier on macOS.

  • dc4d79477 (#11628 by @SpikeHD) Add WebviewWindowBuilder/WebviewBuilder::extensions_path on Linux and Windows.

  • 020ea0556 (#11661 by @ahqsoftwares) Add badging APIs:

    • Window/WebviewWindow::set_badge_count for Linux, macOS and IOS.
    • Window/WebviewWindow::set_overlay_icon for Windows Only.
    • Window/WebviewWindow::set_badge_labelfor macOS Only.
  • Upgraded to tauri-runtime@2.3.0
  • Upgraded to tauri-utils@2.1.1
Nov 9, 2024
  • 4d545ab3c (#11486 by @amrbashir) Added Window::set_background_color and WindowBuilder::background_color.
  • f37e97d41 (#11477 by @amrbashir) Add WebviewWindowBuilder/WebviewBuilder::use_https_scheme to choose whether the custom protocols should use https://<scheme>.localhost instead of the default http://<scheme>.localhost on Windows and Android
  • cbc095ec5 (#11451 by @amrbashir) Add WebviewWindowBuilder::devtools and WebviewBuilder::devtools to enable or disable devtools for a specific webview.
  • 2a75c64b5 (#11469 by @amrbashir) Added WindowBuilder/WebviewWindowBuilder::window_classname method to specify the name of the window class on Windows.
  • Upgraded to tauri-utils@2.1.0
  • Upgraded to tauri-runtime@2.2.0
Oct 20, 2024
  • Upgraded to tauri-utils@2.0.2
Oct 15, 2024
  • ef2482dde (#11366) Update wry to 0.46.1 to fix a crash on macOS older than Sequoia.
Oct 12, 2024
  • 2d087ee4b (#11268 by @amrbashir) On Linux, fix commands, that use Webview or WebviewWindow as an argument, receiving an incorrect webview when using multi webviews.
  • 2d087ee4b (#11268 by @amrbashir) On Linux, fix events only emitted to first webview only when using multi webviews.
  • 2d087ee4b (#11268 by @amrbashir) On Linux, fix custom protocols receiving an incorrect webview label when using multi webviews
  • Upgraded to tauri-runtime@2.1.0
Oct 3, 2024
  • Upgraded to tauri-utils@2.0.1
  • Upgraded to tauri-runtime@2.0.1
Oct 2, 2024
  • Upgraded to tauri-utils@2.0.0
  • Upgraded to tauri-runtime@2.0.0
Sep 27, 2024
  • Upgraded to tauri-runtime@2.0.0-rc.13
  • Upgraded to tauri-utils@2.0.0-rc.13
Sep 17, 2024
  • Upgraded to tauri-utils@2.0.0-rc.12
  • Upgraded to tauri-runtime@2.0.0-rc.12
Sep 15, 2024
  • bc4804d48 (#10924 by @madsmtm) Change the pointer type of PlatformWebview's inner, controller, ns_window and view_controller to c_void, to avoid publically depending on objc.
Sep 15, 2024
  • Upgraded to tauri-utils@2.0.0-rc.11
  • Upgraded to tauri-runtime@2.0.0-rc.11
Sep 10, 2024
  • Upgraded to tauri-utils@2.0.0-rc.10
  • Upgraded to tauri-runtime@2.0.0-rc.10
Sep 5, 2024
  • Upgraded to tauri-utils@2.0.0-rc.9
  • Upgraded to tauri-runtime@2.0.0-rc.9
Sep 4, 2024
  • Upgraded to tauri-utils@2.0.0-rc.8
  • Upgraded to tauri-runtime@2.0.0-rc.8
  • 77056b194 (#10895 by @lucasfernog) Update tao to 0.30 and wry to 0.43.
  • 5048a7293 (#10840 by @lucasfernog) The linux-ipc-protocol feature is now always enabled, so the Cargo feature flag was removed. This increases the minimum webkit2gtk version to a release that does not affect the minimum target Linux distros for Tauri apps.
Aug 28, 2024
  • Upgraded to tauri-utils@2.0.0-rc.7
  • Upgraded to tauri-runtime@2.0.0-rc.7
Aug 22, 2024
  • Upgraded to tauri-utils@2.0.0-rc.6
  • Upgraded to tauri-runtime@2.0.0-rc.6
Aug 20, 2024
  • Upgraded to tauri-utils@2.0.0-rc.5
  • Upgraded to tauri-runtime@2.0.0-rc.5
Aug 20, 2024
  • Upgraded to tauri-utils@2.0.0-rc.4
  • Upgraded to tauri-runtime@2.0.0-rc.4
Aug 17, 2024
  • Upgraded to tauri-utils@2.0.0-rc.3
  • Upgraded to tauri-runtime@2.0.0-rc.3
  • d39c392b7 (#10655 by @lucasfernog) Update tao to 0.29 and wry to 0.42.
Aug 9, 2024
  • Upgraded to tauri-utils@2.0.0-rc.2
  • Upgraded to tauri-runtime@2.0.0-rc.2
Aug 7, 2024
  • Upgraded to tauri-utils@2.0.0-rc.1
  • Upgraded to tauri-runtime@2.0.0-rc.1
Aug 2, 2024
  • Upgraded to tauri-utils@2.0.0-rc.0
  • Upgraded to tauri-runtime@2.0.0-rc.0
Jul 29, 2024
  • 9546548ec (#10297 by @pewsheen) On macOS, set default titlebar style to Visible to prevent webview move out of the view.
  • da25f7353 (#10242 by @amrbashir) Add inner_size_constraints method on WindowBuilder trait and set_size_constraints method on WindowDispatch trait.
  • Upgraded to tauri-runtime@2.0.0-beta.21
Jul 12, 2024
  • Upgraded to tauri-utils@2.0.0-beta.19
  • Upgraded to tauri-runtime@2.0.0-beta.20
Jul 2, 2024
  • f29b78811 (#9862) On Windows, handle resizing undecorated windows natively which improves performance and fixes a couple of annoyances with previous JS implementation:

    • No more cursor flickering when moving the cursor across an edge.
    • Can resize from top even when data-tauri-drag-region element exists there.
    • Upon starting rezing, clicks don't go through elements behind it so no longer accidental clicks.
  • 669b9c6b5 (#9621) Set the gtk application to the identifier defined in tauri.conf.json to ensure the app uniqueness.
  • Upgraded to tauri-utils@2.0.0-beta.18
  • Upgraded to tauri-runtime@2.0.0-beta.19
  • d4c908cfb (#10048) Update windows crate to version 0.57 and webview2-com crate to version 0.31
May 29, 2024
  • 9ac930380(#9850) Emit cargo:rustc-check-cfg instruction so Cargo validates custom cfg attributes on Rust 1.80 (or nightly-2024-05-05).
  • Upgraded to tauri-utils@2.0.0-beta.17
  • Upgraded to tauri-runtime@2.0.0-beta.18
May 23, 2024
  • d950ac123 Only process IPC commands from the main frame.
  • Upgraded to tauri-utils@2.0.0-beta.16
  • Upgraded to tauri-runtime@2.0.0-beta.17
May 9, 2024
  • 78839b6d2(#4865) Add RunEvent::Reopen for handle click on dock icon on macOS.
  • 783ef0f2d(#9647) Changed WebviewDispatch::url getter to return a result.
  • Upgraded to tauri-runtime@2.0.0-beta.16
  • Upgraded to tauri-utils@2.0.0-beta.15
May 6, 2024
  • Upgraded to tauri-utils@2.0.0-beta.14
  • Upgraded to tauri-runtime@2.0.0-beta.15
Apr 30, 2024
  • 477bb8cd4(#9297) Add App/AppHandle/Window/Webview/WebviewWindow::cursor_position getter to get the current cursor position.
  • Upgraded to tauri-runtime@2.0.0-beta.14
Apr 22, 2024
  • 005fe8ce1(#9410) Fix closable, maximizable and minimizable options not taking effect when used in tauri.conf.json or from JS APIs.
  • Upgraded to tauri-utils@2.0.0-beta.13
  • Upgraded to tauri-runtime@2.0.0-beta.13
Apr 15, 2024
  • 58a7a552d(#9378) Added the set_zoom function to the webview API.
  • 58a7a552d(#9378) Add zoom_hotkeys_enabled to enable browser native zoom controls on creating webviews.
  • 2f20fdf1d(#9361) Fixes an issue causing compilation to fail for i686 and armv7 32-bit targets.
  • 4c2e7477e(#9309) Fix window centering not taking taskbar into account on Windows
  • 02eaf0787(#9428) Fixes inner_size crash when the window has no webviews.
  • f22ea2998(#9465) Revert the fix for webview's visibility doesn't change with the app window on Windows as it caused white flashes on show/restore.
  • Upgraded to tauri-utils@2.0.0-beta.12
  • Upgraded to tauri-runtime@2.0.0-beta.12
Apr 2, 2024
  • Upgraded to tauri-utils@2.0.0-beta.11
  • Upgraded to tauri-runtime@2.0.0-beta.11
  • 06833f4fa(#9100) Upgraded to wry@0.38.0
  • 06833f4fa(#9100) The IPC handler closure now receives a http::Request instead of a String representing the request body.
  • 06833f4fa(#9100) Rename FileDrop to DragDrop on structs, enums and enum variants. Also renamed file_drop to drag_drop on fields and function names.
Mar 18, 2024
  • Upgraded to tauri-utils@2.0.0-beta.10
  • Upgraded to tauri-runtime@2.0.0-beta.10
Mar 11, 2024
  • Upgraded to tauri-utils@2.0.0-beta.9
  • Upgraded to tauri-runtime@2.0.0-beta.9
Mar 7, 2024
  • Upgraded to tauri-utils@2.0.0-beta.8
  • Upgraded to tauri-runtime@2.0.0-beta.8
Mar 6, 2024
  • 46de49aaa(#9059) When using the unstable feature flag, WebviewWindow will internally use the child webview interface for flexibility.
  • Upgraded to tauri-utils@2.0.0-beta.7
  • Upgraded to tauri-runtime@2.0.0-beta.7
Feb 29, 2024
  • 222a96b7(#8999) Fixes auto resize and positioning when using the multiwebview mode.
  • Upgraded to tauri-utils@2.0.0-beta.6
  • Upgraded to tauri-runtime@2.0.0-beta.6
Feb 27, 2024
  • Upgraded to tauri-utils@2.0.0-beta.5
  • Upgraded to tauri-runtime@2.0.0-beta.5
Feb 22, 2024
  • fdcaf935(#8939) Added the reparent function to the webview API.
  • 6e3bd4b9(#8942) Fix window centering not taking monitor scale into account
  • Upgraded to tauri-utils@2.0.0-beta.4
  • Upgraded to tauri-runtime@2.0.0-beta.4
  • d75713ac(#8936) Upgraded to wry@0.37.0
Feb 21, 2024
  • Upgraded to tauri-utils@2.0.0-beta.3
  • Upgraded to tauri-runtime@2.0.0-beta.3
Feb 19, 2024
  • 76ce9f61(#3002) Enhance centering a newly created window, it will no longer jump to center after being visible.
  • 16e550ec(#8844) Add WebviewEvent, RunEvent::WebviewEvent and WebviewDispatch::on_webview_event.
  • Upgraded to tauri-utils@2.0.0-beta.2
  • Upgraded to tauri-runtime@2.0.0-beta.2
  • 2f55bfec(#8795) Update wry to 0.36.
Feb 4, 2024
  • Upgraded to tauri-utils@2.0.0-beta.1
  • Upgraded to tauri-runtime@2.0.0-beta.1
Feb 3, 2024
  • af610232(#8710) Added Window::destroy to force close a window.
  • c77b4032(#8280) Add multiwebview support behind the unstable feature flag. See WindowBuilder and WebviewBuilder for more information.
  • 00e15675(#8708) Added RuntimeHandle::request_exit function.
  • 95da1a27(#8713) Fix calling set_activation_policy when the event loop is running.
  • 9f8037c2(#8633) On Windows, fix decorated window not transparent initially until resized.
  • 9eaeb5a8(#8622) Added WindowBuilder::transient_for and Renamed WindowBuilder::owner_window to WindowBuilder::owner and WindowBuilder::parent_window to WindowBuilder::parent.
  • 7f033f6d(#8537) Add Window::start_resize_dragging and ResizeDirection enum.
  • 6639a579(#8441) Added the WindowConfig::proxy_url WebviewBuilder::proxy_url() / WebviewWindowBuilder::proxy_url() options when creating a webview.
  • Upgraded to tauri-utils@2.0.0-beta.0
  • Upgraded to tauri-runtime@2.0.0-beta.0
  • Upgrated to tao@0.25.
  • af610232(#8710) WindowDispatch::close now triggers the CloseRequested flow.
  • 9eaeb5a8(#8622) Changed WindowBuilder::with_config to take a reference to a WindowConfig instead of an owned value.
Jan 16, 2024
  • 29ced5ce(#8159) Added download event closure via PendingWindow::download_handler.
  • d621d343(#8607) Added tracing for window startup, plugins, Window::eval, events, IPC, updater and custom protocol request handlers behind the tracing feature flag.
  • cb640c8e(#8393) Fix RunEvent::WindowEvent(event: WindowEvent::FileDrop(FileDropEvent)) never triggered and always prevent default OS behavior when disable_file_drop_handler is not used.
  • Upgraded to tauri-utils@2.0.0-alpha.13
  • Upgraded to tauri-runtime@1.0.0-alpha.8
Dec 19, 2023
  • Upgraded to tauri-utils@2.0.0-alpha.12
  • Upgraded to tauri-runtime@1.0.0-alpha.7
Dec 19, 2023
  • Upgraded to tauri-runtime@1.0.0-alpha.6
  • `` Update to wry v0.35.
Nov 20, 2023
  • Upgraded to tauri-utils@2.0.0-alpha.11
  • Upgraded to tauri-runtime@1.0.0-alpha.5
Oct 28, 2023
  • c6c59cf2 Pull changes from Tauri 1.5 release.
  • Upgraded to tauri-utils@2.0.0-alpha.10
  • Upgraded to tauri-runtime@1.0.0-alpha.4
  • 9580df1d(#8084) Upgrade gtk to 0.18.
  • c7c2507d(#8035) Update windows to version 0.51 and webview2-com to version 0.27
  • 9580df1d(#8084) Updated to wry@0.34, removing the dox feature flag.
Oct 19, 2023
  • c085adda(#8009) Added set_progress_bar to Window.
  • c1ec0f15(#7933) Added Window::set_always_on_bottom and the always_on_bottom option when creating a window.
  • 880266a7(#8031) Bump the MSRV to 1.70.
  • Upgraded to tauri-runtime@1.0.0-alpha.3
  • Upgraded to tauri-utils@2.0.0-alpha.9
  • 8b166e9b(#7949) Check if automation is enabled with the TAURI_WEBVIEW_AUTOMATION environment variable instead of TAURI_AUTOMATION.
  • 2558fab8(#7939) Changed WebviewId to be an alias for u32 instead of u64
Oct 8, 2023
  • Upgraded to tauri-utils@2.0.0-alpha.8
  • Upgraded to tauri-runtime@1.0.0-alpha.2
Sep 11, 2023
Sep 6, 2023
  • 0d63732b(#7754) Update wry to 0.32 to include asynchronous custom protocol support.
  • 6177150b(#7601) Changed FileDropEvent to include drop and hover position.
  • Upgraded to tauri-runtime@1.0.0-alpha.1
  • 0d63732b(#7754) tauri-runtime no longer implements its own HTTP types and relies on the http crate instead.
Aug 14, 2023
  • Upgraded to tauri-runtime@1.0.0-alpha.0
  • Upgraded to tauri-utils@2.0.0-alpha.7
  • fbeb5b91(#7170) Removed the linux-headers feature (now always enabled) and added linux-protocol-body.
  • 7fb419c3(#7535) Dispatch::create_window, Runtime::create_window and RuntimeHandle::create_window has been changed to accept a 3rd parameter which is a closure that takes RawWindow and to be executed right after the window is created and before the webview is added to the window.
  • 7fb419c3(#7535) System tray and menu related APIs and structs have all been removed and are now implemented in tauri outside of the runtime-space.
  • 7fb419c3(#7535) Runtime::new and Runtime::new_any_thread now accept a RuntimeInitArgs.
  • 7fb419c3(#7535) Removed system-tray feature flag
Feb 28, 2024
  • d42668ce(#9003) Fix panic during intialization on wayland when using clipboard feature, instead propagate the error during API usage.
Feb 18, 2024
  • 24210735(#8117) Fixes a crash on macOS when accessing the windows map.
  • 510b6226(#8822) Add missing arboard feature flag to prevent panics in wayland session.
Dec 20, 2023
  • 0d0501cb(#8394) Use arboard instead of tao clipboard implementation to prevent a crash.
  • b2f83f03(#8402) Use Arc instead of Rc to prevent crashes on macOS.
  • Upgraded to tauri-utils@1.5.2
  • Upgraded to tauri-runtime@0.14.2
Dec 1, 2023
  • 5e05236b(#8289) Added tracing for window startup, plugins, Window::eval, events, IPC, updater and custom protocol request handlers behind the tracing feature flag.
Sep 28, 2023
  • 9aa34ada(#7645) Add setting to switch to http://<scheme>.localhost/ for custom protocols on Windows.
  • 4bf1e85e(#7722) Properly respect the focused option when creating the webview.
  • Upgraded to tauri-utils@1.5.0
  • Upgraded to tauri-runtime@0.14.1
Jun 14, 2023
  • c4d6fb4b(#2353) Added the maximizable, minimizable and closable methods to WindowBuilder.
  • c4d6fb4b(#2353) Added set_maximizable, set_minimizable, set_closable, is_maximizable, is_minimizable and is_closable methods to the Dispatch trait.
  • 000104bc(#6472) Add Window::is_focused getter.
  • b41b57eb(#7105) Fix panics when registering an invalid global shortcuts or checking it is registered and return proper errors instead.
  • 076e1a81(#7119) Use u32 instead of u64 for js event listener ids
May 3, 2023
  • Added the additional_browser_args option when creating a window.
    • 3dc38b15 feat(core): expose additional_browser_args to window config (fix: #5757) (#5799) on 2022-12-14
  • Added the content_protected option when creating a window and Window::set_content_protected to change it at runtime.
  • Added Builder::device_event_filter and App::set_device_event_filter methods.
    • 73fd60ee expose set_device_event_filter in tauri (#5562) on 2022-12-13
  • Fixes tray events not being delivered.
    • 138cb8d7 fix(tauri-runtime-wry): tray event listener not registered (#6270) on 2023-02-14
  • Add is_minimized() window method.
  • Disable cursor mouse events on Linux.
    • 8c842a54 feature: disable mouse event when building windows on Linux, closes #5913 (#6025) on 2023-01-16
  • Bump minimum supported Rust version to 1.60.
    • 5fdc616d feat: Use the zbus-backed of notify-rust (#6332) on 2023-03-31
  • Pin raw-window-handle to 0.5.0 to keep MSRV.
    • c46c09f3 fix(deps): pin raw-window-handle to 0.5.0 (#6480) on 2023-03-17
  • Add title getter on window.
  • Added TrayHandle::set_tooltip and SystemTray::with_tooltip.
    • 2265e097 feat(windows): implement with_tooltip (#5938) on 2023-01-01
  • Added window's url() getter.
  • On Windows, change webview theme based on Window theme for more accurate prefers-color-scheme support.
    • 7a8d570d fix: sync webview theme with window theme on Windows, closes #5802 (#5874) on 2022-12-27
  • On Windows, Fix missing WindowEvent::Focused in App::run callback.
    • ff4ea1ea fix: dispatch focus event to app.run on Windows, closes #6460 (#6504) on 2023-03-31
  • Implement the webview navigation handler.
    • 3f35b452 Expose wry navigation_handler via WindowBuilder closes #4080 (#5686) on 2022-12-27
Jun 17, 2023
  • e0f0dce2(#6442) Added the window_effects option when creating a window and Window::set_effects to change it at runtime.
May 18, 2023
  • 39f1b04f(#6943) Moved the event JS APIs to a plugin.
  • 3188f376(#6883) Bump the MSRV to 1.65.
  • cebd7526(#6728) Moved the clipboard feature to its own plugin in the plugins-workspace repository.
  • 3f17ee82(#6737) Moved the global-shortcut feature to its own plugin in the plugins-workspace repository.
  • 31444ac1(#6725) Update wry to 0.28
Apr 10, 2023
  • Added android configuration object under tauri > bundle.
    • Bumped due to a bump in tauri-utils.
    • db4c9dc6 feat(core): add option to configure Android's minimum SDK version (#6651) on 2023-04-07
Apr 3, 2023
  • Pull changes from Tauri 1.3 release.
    • on undefined
Mar 20, 2023
  • Add find_class, run_on_android_context on RuntimeHandle.
    • 05dad087 feat: initial work for iOS plugins (#6205) on 2023-02-11
  • Allow a wry plugin to be registered at runtime.
    • ae296f3d refactor(tauri-runtime-wry): register runtime plugin after run() (#6478) on 2023-03-17
  • Added the shadow option when creating a window and Window::set_shadow.
  • Implemented with_webview on Android and iOS.
    • 05dad087 feat: initial work for iOS plugins (#6205) on 2023-02-11
Feb 2, 2023
  • Update gtk to 0.16.
  • Bump the MSRV to 1.64.
  • Update wry to 0.26.
    • f0a1d9cd chore: update rfd and wry versions (#6174) on 2023-02-03
Dec 9, 2022
  • Support with_webview for Android platform alowing execution of JNI code in context.
    • 8ea87e9c feat(android): with_webview access for jni execution (#5148) on 2022-09-08
May 3, 2023
  • Block remote URLs from accessing the IPC.
    • 9c0593c33 feat(core): block remote URLs from accessing the IPC on 2023-04-12
Dec 8, 2022
  • Fix compatibility with older Linux distributions.
    • b490308c fix(core): compilation error on older Linux versions, fixes #5684 (#5697) on 2022-11-28
  • Update wry to 0.23.
    • fdcd7733 chore(deps): update wry to 0.23 on 2022-12-08
Nov 24, 2022
  • Fix allowlist > app > show/hide always disabled when allowlist > app > all: false.
    • Bumped due to a bump in tauri-utils.
    • bb251087 fix(core): extend allowlist with app's allowlist, closes #5650 (#5652) on 2022-11-18
Nov 8, 2022
  • Add accept_first_mouse option for macOS windows.
    • 95f467ad feat(core): add window accept_first_mouse option, closes #5347 (#5374) on 2022-10-17
  • Disable automatic window tabbing on macOS when the tabbing_identifier option is not defined, the window is transparent or does not have decorations.
  • Drop the WebContext when the WebView is dropped.
    • 9d8b3774 feat(tauri-runtime-wry): drop the WebContext on WebView drop (#5240) on 2022-10-19
  • Readd the option to create an unfocused window via the focused method. The focus function has been deprecated.
    • 4036e15f feat(core): reimplement window initial focus flag, closes #5120 (#5338) on 2022-10-08
  • Add hidden_title option for macOS windows.
    • 321f3fed feat(macos): title_bar_style and hidden_title window options, closes #2663 (#3965) on 2022-09-30
  • Custom protocol headers are now implemented on Linux when running on webkit2gtk 2.36 or above.
    • 357480f4 feat(core): custom protocol headers on Linux, closes #4496 (#5421) on 2022-10-17
  • Added Runtime::show(), RuntimeHandle::show(), Runtime::hide(), RuntimeHandle::hide() for hiding/showing the entire application on macOS.
    • 39bf895b feat(macOS): Add application show and hide methods (#3689) on 2022-10-03
  • Fix regression in SystemTray::with_menu_on_left_click
    • f8a3becb feat(core): add option to disable tray menu on left click, closes #4584 (#4587) on 2022-07-05
    • 7bbf167c Apply Version Updates From Current Changes (#4560) on 2022-07-06
    • 63011ca8 fix(macos): fix regression in with_menu_on_left_click, closes #5220 (#5235) on 2022-09-30
  • Added tabbing_identifier to the window builder on macOS.
  • Add title_bar_style option for macOS windows.
    • 321f3fed feat(macos): title_bar_style and hidden_title window options, closes #2663 (#3965) on 2022-09-30
  • Fix regression introduce in tauri@1.1 which prevented removing tray icon when the app exits on Windows.
    • f756cd5e fix(core): wait for tray cleanup before exiting app, closes #5244 (#5245) on 2022-10-04
  • Added methods to set the system tray title on macOS.
    • 8f1ace77 feat: expose set_title for MacOS tray (#5182) on 2022-09-30
  • Added the user_agent option when creating a window.
    • a6c94119 feat(core): expose user_agent to window config (#5317) on 2022-10-02
May 3, 2023
  • Block remote URLs from accessing the IPC.
    • 58ea0b452 feat(core): block remote URLs from accessing the IPC on 2023-04-12
Sep 16, 2022
  • Add missing allowlist config for set_cursor_grab, set_cursor_visible, set_cursor_icon and set_cursor_position APIs.
    • Bumped due to a bump in tauri-utils.
    • c764408d fix: Add missing allowlist config for cursor apis, closes #5207 (#5211) on 2022-09-16
Sep 15, 2022
  • Ignore window events with unknown IDs.
    • 0668dd42 fix(tauri-runtime-wry): ignore events on unknown windows on 2022-08-29
  • Implement theme APIs for Linux.
    • f21cbecd feat(core): implement theme APIs for Linux (#4808) on 2022-08-02
  • Changed windows map to be stored in a RefCell instead of a Mutex.
    • 64546cb9 refactor: use RefCell instead of Mutex for windows map, closes #4870 (#4909) on 2022-08-10
  • Added APIs to create a system tray at runtime.
  • Update windows to 0.39.0 and webview2-com to 0.19.1.
    • e6d9b670 refactor: remove unneeded focus code (#5065) on 2022-09-03
May 3, 2023
  • Block remote URLs from accessing the IPC.
    • fa90214b0 feat(core): block remote URLs from accessing the IPC on 2023-04-12
Jul 6, 2022
  • Disable drag-n-drop of tao based on fileDropEnabled value.
    • a1d569bb fix(core): disable tao's drag-n-drop based on fileDropEnabled, closes #4580 (#4592) on 2022-07-05
  • Added option to disable tray menu on left click on macOS.
    • f8a3becb feat(core): add option to disable tray menu on left click, closes #4584 (#4587) on 2022-07-05
Jun 30, 2022
  • Fixes a deadlock on the file drop handler.
    • 23a48007 fix(tauri-runtime-wry): deadlock on file drop, closes #4527 (#4535) on 2022-06-30
  • Send theme value only once on the getter function implementation on macOS.
    • 63841c10 fix(tauri-runtime-wry): do not send theme twice on macOS, closes #4532 (#4540) on 2022-06-30
  • Fixes a deadlock when the window focus change on Windows.
    • 185b0e31 fix(tauri-runtime-wry): deadlock when window focus change, closes #4533 (#4539) on 2022-06-30
Jun 29, 2022
  • Implement raw_window_handle::HasRawWindowHandle on Linux.
    • 3efbc67f feat: implement raw_window_handle on Linux (#4469) on 2022-06-26
  • Moved the window and menu event listeners to the window struct.
    • 46196fe9 refactor(tauri-runtime-wry): move window and menu listeners to window (#4485) on 2022-06-27
  • Refactored the tauri-runtime-wry plugin interface.
    • e39e2999 refactor(tauri-runtime-wry): enhance plugin interface (#4476) on 2022-06-27
  • Removed the hwnd and ns_window functions from Dispatch in favor of raw_window_handle.
    • 3efbc67f feat: implement raw_window_handle on Linux (#4469) on 2022-06-26
  • The theme API is now implemented on macOS 10.14+.
    • 6d94ce42 feat(core): theme is now implemented on macOS (#4380) on 2022-06-17
  • Suppress unused variable warning in release builds.
    • 45981851 chore(lint): unused variable warnings for release builds (#4411) on 2022-06-22
  • Update tao to 0.12 and wry to 0.19.
    • f6edc6df chore(deps): update tao to 0.12, wry to 0.19, closes #3220 (#4502) on 2022-06-28
  • Fixes deadlocks when using window setters in the main thread.
    • 123f6e69 fix(tauri-runtime-wry): release windows lock immediately, closes #4390 (#4392) on 2022-06-19
Jun 16, 2022
  • Upgrade to stable!
    • Bumped due to a bump in tauri-utils.
    • f4bb30cc feat(covector): prepare for v1 (#4351) on 2022-06-15
Jun 15, 2022
  • Add Menu::os_default which will create a menu filled with default menu items and submenus.
    • Bumped due to a bump in tauri-runtime.
    • 4c4acc30 feat: implement Default for Menu, closes #2398 (#4291) on 2022-06-15
Jun 15, 2022
  • Removed TrayIcon and renamed WindowIcon to Icon, a shared type for both icons.
    • 4ce8e228 refactor(core): use Icon for tray icons (#4342) on 2022-06-14
Jun 14, 2022
  • Breaking change: Removed the gtk-tray and ayatana-tray Cargo features.
    • 6216eb49 refactor(core): drop ayatana-tray and gtk-tray Cargo features (#4247) on 2022-06-02
May 24, 2022
  • Account the monitor position when centering a window.
    • a7a9fde1 fix(core): account for monitor position when centering window (#4166) on 2022-05-21
  • Update windows-rs to 0.37.0, which requires Rust 1.61.0+.
    • 2326be39 feat(core): update windows-rs to 0.37.0 (#4199) on 2022-05-24
May 18, 2022
  • Use the event loop proxy to create a window so it doesn't deadlock on Windows.
    • 61e37652 fix(core): deadlock when creating window from IPC handler, closes #4121 (#4123) on 2022-05-13
May 10, 2022
  • Added the plugin method to the Wry runtime, allowing extensions to the event loop.
    • c8e0e5b9 feat(tauri-runtime-wry): add plugin API (#4094) on 2022-05-10
  • Update wry to 0.16.2 and webkit2gtk to 0.18.0.
    • 71a553b7 chore(deps): update wry to 0.16.2, webkit2gtk to 0.18.0 (#4099) on 2022-05-10
May 7, 2022
  • The file drop event payloads are now percent-decoded.
    • a0ecd81a fix(core): percent decode file drop payloads, closes #4034 (#4035) on 2022-05-03
  • Fixes a crash when using the menu with the inspector window focused on macOS. In this case the window_id will be the id of the first app window.
    • 891eb748 fix(tauri-runtime-wry): menu even panic on macOS inspector, closes #3875 (#4027) on 2022-05-02
  • Fixes a freeze when calling set_size in the main thread on Windows.
    • 8f259f4e fix(core): use EventLoopProxy to prevent set_size freeze closes #3990 (#4014) on 2022-04-30
  • Expose methods to access the underlying native handles of the webview.
    • c82b4761 feat(core): expose with_webview API to access the platform webview (#4058) on 2022-05-04
Apr 26, 2022
  • *Breaking change:: Added the clipboard Cargo feature.
    • 24e4ff20 refactor(core): add clipboard Cargo feature, enhancing binary size (#3957) on 2022-04-24
  • Expose Window cursor APIs set_cursor_grab, set_cursor_visible, set_cursor_icon and set_cursor_position.
  • Fixes a panic when using the create_tao_window API.
    • 320329a9 fix(core): insert to webview_id_map on tao window creation, closes #3883 (#3932) on 2022-04-21
  • Fixes a panic when a menu event is triggered when all windows are minimized on macOS.
    • 70ff55c1 fix(core): panic on menu event with minimized windows, closes #3902 (#3918) on 2022-04-20
  • Fixes a rendering issue when resizing the window with the devtools open.
  • *Breaking change:: Added the global-shortcut Cargo feature.
    • e11878bc refactor(core): add global-shortcut Cargo feature, enhancing binary size (#3956) on 2022-04-24
  • Added WindowEvent::ThemeChanged(theme).
  • Added theme getter on Window.
  • Added theme setter to the WindowBuilder.
  • Create webview immediately when executed in the main thread.
    • fa2baba7 feat(core): create webview immediately when running in main thread (#3891) on 2022-04-12
Mar 29, 2022
  • Fixes WindowEvent::Destroyed not firing.
    • 169b5035 fix(core): actually fire WindowEvent::Destroyed (#3797) on 2022-03-28
Mar 28, 2022
  • Added close_devtools and is_devtools_open APIs to the Dispatch trait.
  • Emit RunEvent::Exit on tao::event::Event::LoopDestroyed instead of after RunEvent::ExitRequested.
    • 3c4ee7c9 refactor(wry): emit RunEvent::Exit on Event::LoopDestroyed (#3785) on 2022-03-27
  • Breaking change: The MenuItem::About variant is now associated with a tuple value (String, AboutMetadata).
    • 5fb74332 chore(deps): update wry to 0.14, tao to 0.7 (#3790) on 2022-03-28
  • Support window parenting on macOS
  • The file drop event is now part of the WindowEvent enum instead of a having a dedicated handler.
  • Breaking change: Use the dedicated WindowEvent enum on RunEvent.
    • edad9f4f refactor(core): add RunEvent::WindowEvent (#3793) on 2022-03-28
  • Added create_proxy to the Runtime and RuntimeHandle traits.
    • 5d538ec2 refactor(core): use the event loop proxy to send updater events (#3687) on 2022-03-15
  • Allow specifying a user event type for the event loop message.
    • 5d538ec2 refactor(core): use the event loop proxy to send updater events (#3687) on 2022-03-15
  • Use a random window id instead of tao::window::WindowId to not block the thread waiting for the event loop to process the window creation.
    • 7cd39c70 refactor(core): use random window id to simplify window creation, closes #3645 #3597 (#3684) on 2022-03-15
  • Update wry to 0.14 and tao to 0.7.
    • f2d24ef2 chore(deps): update wry (#1482) on 2021-04-14
    • e267ebf1 Apply Version Updates From Current Changes (#1486) on 2021-04-14
    • 5fb74332 chore(deps): update wry to 0.14, tao to 0.7 (#3790) on 2022-03-28
  • Added the WindowEvent::FileDrop variant.
Mar 7, 2022
  • Fixes a deadlock on the Focused event when the window is not visible.
    • c08cc6d5 fix(core): deadlock on focus events with invisible window,#3534 (#3622) on 2022-03-06
  • Breaking change: Move ico and png parsing behind icon-ico and icon-png Cargo features.
    • 8c935872 refactor(core): move png and ico behind Cargo features (#3588) on 2022-03-05
  • Print a warning to stderr if the window transparency has been set to true but macos-private-api is not enabled.
    • 080755b5 feat(core): warn if private APIs are not enabled, closes #3481 (#3511) on 2022-02-19
Feb 18, 2022
  • Fix requirements for RuntimeHandle, ClipboardManager, GlobalShortcutHandle and TrayHandle.
    • Bumped due to a bump in tauri-runtime.
    • 84895a9c fix(runtime): trait requirements (#3489) on 2022-02-17
Feb 12, 2022
  • Change default value for the freezePrototype configuration to false.
    • Bumped due to a bump in tauri-utils.
    • 3a4c0160 fix(core): change default freezePrototype to false, closes #3416 #3406 (#3423) on 2022-02-12
Feb 10, 2022
  • Fix window.center panic when window size is bigger than screen size.
    • 76ce9f61 fix(core): fix window.center panic when window size > screen, closes #2978 (#3002) on 2021-12-09
  • Enable non-session cookie persistence on Linux.
    • d7c02a30 feat(core): persist non-session cookies on Linux (#3052) on 2021-12-09
  • Fixes a deadlock when creating a window from a menu event handler.
    • 9c82006b fix(core): deadlock when creating window from menu handler, closes #3110 (#3126) on 2021-12-28
  • Fixes WindowEvent::Focus and WindowEvent::Blur events not firing.
    • 3b33d67a fix: re-adding focus/blur events for linux and macos (fix #2485) (#2489) on 2021-08-24
  • Use webview's inner_size instead of window's value to get the correct size on macOS.
  • Reimplement remove_system_tray on Windows to drop the SystemTray to run its cleanup code.
    • a03b8554 fix(core): tray not closing on Windows (#3351) on 2022-02-07
  • Replace WindowBuilder's has_menu with get_menu.
    • ac37b56e fix(core): menu id map not reflecting the current window menu (#2726) on 2021-10-08
  • Fix empty header from CORS on Linux.
  • The run_return API is now available on Linux.
    • 8483fde9 feat(core): expose run_return on Linux (#3352) on 2022-02-07
  • Allow window, global shortcut and clipboard APIs to be called on the main thread.
    • 2812c446 feat(core): window, shortcut and clipboard API calls on main thread (#2659) on 2021-09-26
    • d24fd8d1 feat(tauri-runtime-wry): allow window creation and closing on the main thread (#2668) on 2021-09-27
  • Change event loop callbacks definition to allow callers to move in mutable values.
    • bdbf905e Transformed event-loop callback to FnMut to allow mutable values (#2667) on 2021-09-27
  • Breaking change: Add macos-private-api feature flag, enabled via tauri.conf.json > tauri > macOSPrivateApi.
    • 6ac21b3c feat: add private api feature flag (#7) on 2022-01-09
  • Refactor create_tao_window API to return Weak<Window> instead of Arc<Window>.
    • c1494b35 refactor: return Weak<Window> on create_tao_window on 2021-08-31
  • Added any_thread constructor on the Runtime trait (only possible on Linux and Windows).
    • af44bf81 feat(core): allow app run on any thread on Linux & Windows, closes #3172 (#3353) on 2022-02-07
  • Added run_on_main_thread API on RuntimeHandle.
    • 53fdfe52 feat(core): expose run_on_main_thread API (#2711) on 2021-10-04
  • Breaking change: Renamed the RPC interface to IPC.
    • 3420aa50 refactor: IPC handler [TRI-019] (#9) on 2022-01-09
  • Added open_devtools to the Dispatcher trait.
  • The minimum Rust version is now 1.56.
    • a9dfc015 feat: update to edition 2021 and set minimum rust to 1.56 (#2789) on 2021-10-22
  • Replace all of the winapi crate references with the windows crate, and replace webview2 and webview2-sys with webview2-com and webview2-com-sys built with the windows crate. This goes along with updates to the TAO and WRY next branches.
    • bb00d5bd Replace winapi with windows crate and use webview2-com instead of webview2 (#2615) on 2021-09-24
  • Update the windows crate to 0.25.0, which comes with pre-built libraries. WRY and Tao can both reference the same types directly from the windows crate instead of sharing bindings in webview2-com-sys.
    • 34be6cf3 Update webview2-com and windows crates (#2875) on 2021-11-11
  • This is a temporary fix of null pointer crash on get_content of web resource request. We will switch it back once upstream is updated.
  • Update wry to 0.13.
Aug 23, 2021
  • Migrate to latest custom protocol allowing Partial content streaming and Header parsing.
Aug 16, 2021
  • Fix blur/focus events being incorrect on Windows.

    • d832d575 fix(windows): use webview events on windows (#2277) on 2021-07-23
  • Add ExitRequested event that allows preventing the app from exiting when all windows are closed, and an AppHandle.exit() function to exit the app manually.

    • 892c63a0 feat(#2287): Add ExitRequested event to let users prevent app from exiting (#2293) on 2021-08-09
  • Update gtk and its related libraries to v0.14. This also remove requirements of clang as build dependency.

  • Implement Debug on public API structs and enums.

    • fa9341ba feat(core): implement Debug on public API structs/enums, closes #2292 (#2387) on 2021-08-11
  • Fix the error "cannot find type MenuHash in this scope"

    • 226414d1 "cannot find type MenuHash in this scope" (#2240) on 2021-07-20
  • Panic when a dispatcher getter method (Window, GlobalShortcutHandle, ClipboardManager and MenuHandle APIs) is called on the main thread.

    • 50ffdc06 feat(core): panic when a dispatcher getter is used on the main thread (#2455) on 2021-08-16
  • Remove menu feature flag since there's no package dependency need to be installed on any platform anymore.

  • Adds Resumed and MainEventsCleared variants to the RunEvent enum.

    • 6be3f433 feat(core): add Resumed and MainEventsCleared events, closes #2127 (#2439) on 2021-08-15
  • Adds set_activation_policy API to the Runtime trait (macOS only).

  • Allow creation of empty Window with create_tao_window() and management with send_tao_window_event() on the AppHandler.

    • 88080855 feat(window): Allow creation of Window without wry (#2321) on 2021-07-29
    • 15566cfd feat(core): add API to send wry window message to the event loop (#2339) on 2021-08-02
  • Images you mark as template images should consist of only black and clear colors. You can use the alpha channel in the image to adjust the opacity of black content, however.

  • 426a6b49 feat(macOS): Implement tray icon template (#2322) on 2021-07-29

  • Add Event::Ready on the run() callback. Triggered once when the event loop is ready.

  • Add webdriver support to Tauri.

Jul 16, 2021
  • Allow preventing window close when the user requests it.
    • 8157a68a feat(core): allow listening to event loop events & prevent window close (#2131) on 2021-07-06
  • Fixes SVG loading on custom protocol.
  • Fixes center and focus not being allowed in tauri.conf.json &gt; tauri &gt; windows and ignored in WindowBuilderWrapper.
    • bc2c331d fix: center and focus not being allowed in config (#2199) on 2021-07-12
  • Expose gtk_window getter.
  • Remove a few locks requirement in tauri-runtime-wry
    • 6569c2bf refactor(wry): remove a few locks requirements (#2137) on 2021-07-02
  • Fix macOS high CPU usage.
  • Bump wry 0.11 and fix focus integration to make it compatible with tao 0.4.
  • Params has been removed, along with all the associated types on it. Functions that previously accepted those associated types now accept strings instead. Type that used a generic parameter Params now use Runtime instead. If you use the wry feature, then types with a Runtime generic parameter should default to Wry, letting you omit the explicit type and let the compiler infer it instead.

tauri:

  • See Params note
  • If you were using Params inside a function parameter or definition, all references to it have been replaced with a simple runtime that defaults to Wry. If you are not using a custom runtime, just remove Params from the definition of functions/items that previously took it. If you are using a custom runtime, you may need to pass the runtime type to these functions.
  • If you were using custom types for Params (uncommon and if you don't understand you probably were not using it), all methods that were previously taking the custom type now takes an Into&lt;String&gt; or a &amp;str. The types were already required to be string-able, so just make sure to convert it into a string before passing it in if this breaking change affects you.

tauri-macros:

  • (internal) Added private default_runtime proc macro to allow us to give item definitions a custom runtime only when the specified feature is enabled.

tauri-runtime:

  • See Params note
  • Removed Params, MenuId, Tag, TagRef.
  • Added menu::{MenuHash, MenuId, MenuIdRef} as type aliases for the internal type that menu types now use.
    • All previous menu items that had a MenuId generic now use the underlying MenuId type without a generic.
  • Runtime, RuntimeHandle, and Dispatch have no more generic parameter on create_window(...) and instead use the Runtime type directly
  • Runtime::system_tray has no more MenuId generic and uses the string based SystemTray type directly.
  • (internal) CustomMenuItem::id_value() is now hashed on creation and exposed as the id field with type MenuHash.

tauri-runtime-wry:

  • See Params note
  • update menu and runtime related types to the ones changed in tauri-runtime.

tauri-utils:

  • Assets::get signature has changed to take a &amp;AssetKey instead of impl Into&lt;AssetKey&gt; to become trait object safe.
  • fd8fab50 refactor(core): remove Params and replace with strings (#2191) on 2021-07-15
Jun 28, 2021
  • Window is now Send + Sync on Windows.
    • fe32afcc fix(core): Window must be Send + Sync on Windows, closes #2078 (#2093) on 2021-06-27
Jun 23, 2021
  • Adds clipboard APIs (write and read text).
    • 285bf64b feat(core): add clipboard writeText and readText APIs (#2035) on 2021-06-21
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Fixes window event being emitted to all windows listeners.
    • fca97640 fix(wry): window event listeners being emitted to all windows (#2056) on 2021-06-23
  • Panic on window getters usage on the main thread when the event loop is not running and document it.
  • Adds focus API to the WindowBuilder.
    • 5f351622 feat(core): add focus API to the WindowBuilder and WindowOptions, #1737 on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds support to PNG icons.
  • Adds is_decorated getter on Window.
    • f58a2114 feat(core): add is_decorated Window getter on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds is_resizable getter on Window.
    • 1e8af280 feat(core): add is_resizable Window getter on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds is_visible getter on Window.
    • 36506c96 feat(core): add is_visible API on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Removes image dependency. For now only .ico icons on Windows are supported, and we'll implement other types on demand to optimize bundle size.
    • 1be37a3f refactor(core): remove image dependency (#1859) on 2021-05-18
  • The run_on_main_thread API now uses WRY's UserEvent, so it wakes the event loop.
    • 9bf82f0d fix(core): run_on_main_thread now wakes the event loop (#1949) on 2021-06-04
  • Adds global shortcut interfaces.
    • 3280c4aa refactor(core): global shortcut is now provided by tao (#2031) on 2021-06-21
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds request_user_attention API to the Dispatcher trait.
    • 7dcca6e9 feat(core): add request_user_attention API, closes #2023 (#2026) on 2021-06-20
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds fn run_iteration (macOS and Windows only) to the Runtime trait.
    • 8c0d0739 feat(core): add run_iteration, parent_window and owner_window APIs, closes #1872 (#1874) on 2021-05-21
  • Adds show_menu, hide_menu and is_menu_visible APIs to the Dispatcher trait.
    • 954460c5 feat(core): MenuHandle show, hide, is_visible and toggle APIs (#1958) on 2021-06-15
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds set_focus API on Window.
    • bb6992f8 feat(core): add set_focus window API, fixes #1737 on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds set_skip_taskbar API on Window.
    • e06aa277 feat(core): add set_skip_taskbar API on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Update wry to v0.10.0 and replace the removed dispatch_script and evaluate_script methods with the new evaluate_script method in handle_event_loop.
    • cca8115d refactor: update wry, simplify script eval (#1965) on 2021-06-16
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds skip_taskbar API to the WindowBuilder.
    • 5525b03a feat(core): add skip_taskbar API to the WindowBuilder/WindowOptions on 2021-05-30
    • dee71ad5 fix(workflows): update docs workflow syntax (#2054) on 2021-06-23
  • Adds Window#center and WindowBuilder#center APIs.
  • Adds parent_window and owner_window setters to the WindowBuilder (Windows only).
    • 8c0d0739 feat(core): add run_iteration, parent_window and owner_window APIs, closes #1872 (#1874) on 2021-05-21
  • Adds window native handle getter (HWND on Windows).
    • abf78c58 fix(core): set parent window handle on dialogs, closes #1876 (#1889) on 2021-05-21
May 12, 2021
  • Fixes system-tray feature usage.
    • 1ab8dd9 fix(core): system-tray cargo feature usage, fixes #1798 (#1801) on 2021-05-12
  • Fixes webview transparency.
    • f5a480f fix(core): window transparency (#1800) on 2021-05-12
May 11, 2021
  • Breaking: Context fields are now private, and is expected to be created through Context::new(...). All fields previously available through Context are now public methods.
    • 5542359 refactor(core): Context fields now private, Icon used on all platforms (#1774) on 2021-05-11
  • tauri-runtime-wry initial release.
    • 45a7a11 feat(core): add tauri-wry crate (#1756) on 2021-05-09

© 2026 Tauri Contributors. CC-BY / MIT