chore(deps): update rust crate wry to 0.36 #146
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.34
->0.36
Release Notes
tauri-apps/wry (wry)
v0.36.0
Compare Source
8646120
(#1159) On android, fixno non-static method ".evalScript(ILjava/lang/String;)"
when callingWindow::eval
.8646120
(#1159) On macOS, fix a release build crashes with SEGV when callingWebView::evaluate_script
. This crash bug was introduced at v0.35.2.8646120
(#1159) Breaking change Update raw-window-handle crate to v0.6.HasWindowHandle
trait is required for window types instead ofHasRawWindowHandle
.wry::raw_window_handle
now re-exports v0.6.8646120
(#1159) OnmacOS
, fix menu keyboard shortcuts. This issue bug was introduced inv2
when addedwebview
aschild
.v0.35.2
Compare Source
0ef041f
(#1133) On Linux, apply passed webview bounds when usingWebView::new_gtk
orWebViewBuilder::new_gtk
withgtk::Fixed
widget. This allows to create multiple webviews insidegtk::Fixed
in the same window.0ef041f
(#1133) Added tracing spans forevaluate_script
,ipc_handler
andcustom_protocols
behind thetracing
feature flag.v0.35.1
Compare Source
a4a39b9
(#1098) Fix the API documentation cannot be built on docs.rs.e116d42
(#1111) Fix screen share permissions dialog not showing up on macOS 14.0+a8c0d38
(#1097) Fix IPC crash on wkwebview if receiving invalid types.8fddbb6
(#1091) AddWebView::bounds
getter.30a85f3
(#1122) On Windows, fix file drop handler.v0.35.0
Compare Source
e61e7f8
(#1090) Breaking change Consistently useWebView
in API names. The following APIs were renamed:WebviewExtWindows
→WebViewExtWindows
WebviewExtUnix
→WebViewExtUnix
WebviewExtMacOS
→WebViewExtMacOS
WebviewExtIOS
→WebViewExtIOS
WebviewExtAndroid
→WebViewExtAndroid
WebviewUriLoader
→WebViewUriLoader
e61e7f8
(#1090) AddWebViewExtWindows::set_memory_usage_level
API 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-webview
as 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:application
module is removed, andwebivew
module is moved to root module.WebViewBuilder::new
,WebView::new
now takeRawWindowHandle
instead.WebViewBuilder::new_as_child
,WebView::new_as_child
to crate a webview as a child inside a parent window.Webview::inner_size
is removed.WebViewBuilderExtUnix
trait to extendWebViewBuilder
on Unix platforms.new_gtk
functions toWebViewBuilderExtUnix
andWebviewExtUnix
.wry::raw_window_handle
.This also means that we removed
tao
as a dependency completely which required some changes to the public APIs and to the Android backend:ipc_handler
,file_drop_handler
,document_change_handler
don't take theWindow
as first parameter anymore.Users should use closure to capture the types they want to use.
FileDrop
event is now a tuple of(x, y)
physical position instead ofPhysicalPosition
. Users need to handle scale factorandroid_setup
function that needs to be called once to setup necessary logic.android_binding!
had internal call totao::android_binding
but now thattao
has been removed,the macro signature has changed and you now need to call
tao::android_binding
yourself, checkout the crate documentation for more information.v0.34.2
Compare Source
c2e6980
(#1047) Fix doc building by removing dox feature requirement fromwebkit2gtk
.82908d4
(#1045) Fix docs.rs build.v0.34.1
Compare Source
3de68e7
(#1043) Fix compilation with thelinux-body
feature.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.