wry@0.35.0
-
e61e7f8(#1090) Breaking change Consistently useWebViewin API names. The following APIs were renamed:WebviewExtWindows→WebViewExtWindowsWebviewExtUnix→WebViewExtUnixWebviewExtMacOS→WebViewExtMacOSWebviewExtIOS→WebViewExtIOSWebviewExtAndroid→WebViewExtAndroidWebviewUriLoader→WebViewUriLoader
-
e61e7f8(#1090) AddWebViewExtWindows::set_memory_usage_levelAPI to set the memory usage target level on Windows. Setting ‘Low’ memory usage target level when an application is going to inactive can significantly reduce the memory consumption. Please read the guide for WebView2 for more details. -
e61e7f8(#1090) - Add cfg_aliases for easier feature configuration. And addos-webviewas default feature. -
e61e7f8(#1090) Enhance initalization script implementation on Android supporting any kind of URL. -
e61e7f8(#1090) Fix wkwebview crashed when received invalid UTF8 string from IPC. -
e61e7f8(#1090) Refactor new method to take raw window handle instead. Following are APIs got affected:applicationmodule is removed, andwebivewmodule is moved to root module.WebViewBuilder::new,WebView::newnow takeRawWindowHandleinstead.- Add
WebViewBuilder::new_as_child,WebView::new_as_childto crate a webview as a child inside a parent window. Webview::inner_sizeis removed.- Add
WebViewBuilderExtUnixtrait to extendWebViewBuilderon Unix platforms. - Add
new_gtkfunctions toWebViewBuilderExtUnixandWebviewExtUnix. - raw-window-handle crate is re-exported as
wry::raw_window_handle.
This also means that we removed
taoas a dependency completely which required some changes to the public APIs and to the Android backend:- Webview attributes
ipc_handler,file_drop_handler,document_change_handlerdon’t take theWindowas first parameter anymore. Users should use closure to capture the types they want to use. - Position field in
FileDropevent is now a tuple of(x, y)physical position instead ofPhysicalPosition. Users need to handle scale factor - We exposed the
android_setupfunction that needs to be called once to setup necessary logic. - Previously the
android_binding!had internal call totao::android_bindingbut now thattaohas been removed, the macro signature has changed and you now need to calltao::android_bindingyourself, checkout the crate documentation for more information.
© 2025 Tauri Contributors. CC-BY / MIT