Open
Conversation
Contributor
Package Changes Through 62f9accThere are 1 changes which include muda with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
62584a5 to
e15a09a
Compare
e15a09a to
b1e1c4f
Compare
b1e1c4f to
b3e5809
Compare
9261bb5 to
b226f20
Compare
b226f20 to
a3916fa
Compare
a3916fa to
96b3dca
Compare
96b3dca to
81992fe
Compare
81992fe to
590765a
Compare
343de89 to
c0734ba
Compare
c0f0756 to
1353b30
Compare
1353b30 to
b68cedd
Compare
b68cedd to
e88c2b3
Compare
e88c2b3 to
b537459
Compare
b537459 to
f681212
Compare
f681212 to
3e7e9d1
Compare
3e7e9d1 to
62f9acc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.45→0.54Release Notes
tauri-apps/wry (wry)
v0.54.1Compare Source
6704b20(#1655) Adds aPartialEqderive toRect.v0.54.0Compare Source
5fdd1a9(#1625) Use OnBackPressedCallback instead of the deprecated onKeyDown for back navigation on Android.51d06d0(#1646) Remove redundant clones in WebView and download handling. No user facing changes.7b77322(#1647) Fix clippy io_other_error. No user facing changes.ff8876d(#1652) Improve wkwebview performance. No user-facing changes.27ba73fAdd handler for web content process termination.4fcff14(#1547) SetWebsiteDataManagerBuilder::base_cache_directorywith the same path asbase_data_directory.This change allows the cache directory to be changed instead of using the default one from WebKitGTK.
64d9296(#1640) Update webkit2gtk-rs crates to2.0.2.v0.53.5Compare Source
v0.53.4Compare Source
093856a(#1622 by @lucasfernog) Add flag to opt out of automatic back navigation handling on Android viaWryActivity#handleBackNavigation.0f51d67(#1605 by @dgerhardt) On Linux, removed a workaround which forced inital requests for multiple webviews to be handled sequentially.The workaround was intended to fix a concurrency bug with loading multiple URIs at the same time on WebKitGTK.
But it prevented parallelization and could cause a deadlock in certain situations.
It is no longer needed with newer WebKitGTK versions.
v0.53.3Compare Source
6aa5854(#1609 by @lucasfernog) Enhance error handling of thewebview_versionfunction on macOS.v0.53.2Compare Source
1743e7f(#1608 by @lucasfernog) Fix new_window_req_handler craashing when creating new window for webview that has a custom data_store_identifier.v0.53.1Compare Source
ccdf912(#1603 by @lucasfernog) Fix the build when not enabling thex11feature.v0.53.0Compare Source
1456f8e(#1602 by @FabianLars) Enabled all downloads by default to match WebView2 and browser behavior on all platforms. To disable this, provide a customdownload_started_handler.43e78ff(#1588 by @zphrs) AddWebViewBuilder::with_limit_navigations_to_app_bound_domainsonly on iOS.Function is a no-op if iOS version is less than iOS 14.
60dba38(#1569 by @WSH032) AddWebView::set_cookieandWebView::delete_cookieAPIs.88cbb01(#1561 by @dgerhardt) On Linux, fix a deadlock, which could occur when destroying a WebView before loading has finished.eb562ca(#1596 by @lucasfernog) Do not firenew_window_req_handleron navigation events on macOS and iOS.78634b3(#1594 by @FabianLars) On Linux, macOS and iOS, thedownload_started_handlerwill now get the correct suggested destination path.5399823(#1600 by @lucasfernog) Fixesnew_window_req_handlernot creating the webview on Linux when executingwindow.open().eb562ca(#1596 by @lucasfernog) Fixesnew_window_req_handlernot fired on macOS when executingwindow.open().3f978d3(#1601 by @lucasfernog) RefactorWebViewBuilder::with_new_window_req_handlerto allow creating the webview manually.3f978d3(#1601 by @lucasfernog) Disable new window creation by default on Windows to match behavior of other platforms. UseWebViewBuilder::with_new_window_req_handlerto enable.v0.52.1Compare Source
63eaab8(#1573 by @Legend-Master) Fixwry::DragDropEvent::Drop::pathsreturns random data on Windowsv0.52.0Compare Source
5e6b0e6(#1555 by @FabianLars) Added iOS support forset_background_color.99dab51(#1570 by @renovate) Updatedwebview2-comto0.38.41f4a3a(#1572 by @FabianLars) On Windows on systems running WebView2 v137+ wry now uses a new default background color API which should reduce white flashes. The use of theRemoveRedirectionBitmapbrowser flag (v134+) was removed due to crashes on Insider builds.eb40ac8(#1528 by @aurelj) Addedx11feature flag (enabled by default).breaking
1567635(#1558 by @amrbashir) RenameWebViewBuildermethods for consistency and clarity:WebViewBuilder::with_web_contexttoWebViewBuilder::new_with_web_contextWebViewBuilder::with_attributestoWebViewBuilder::new_with_attributesf868658(#1556 by @Legend-Master)WebContext::is_custom_protocol_registerednow takes&strinstead ofStringv0.51.2Compare Source
f7781a7(#1544 by @lucasfernog) Allow modifying or removing the input accessory view on iOS viaWebViewBuilderExtIos::with_input_accessory_view_builder.v0.51.1Compare Source
3e24d6b(#1543 by @lucasfernog) Fix async custom protocol not responding.v0.51.0Compare Source
f99bbd9(#1507 by @Simon-Laux) RenamedError::UrlPrasetoError::UrlParseto fix typo.2d753c6(#1531 by @Legend-Master) Breaking Change:WebViewAttributes::initialization_scriptstakesVec::<InitializationScript>now instead ofVec::<(String, bool)>78b83a0(#1537 by @Brendonovich) Moved protocol handler functions to a thread local instead of storing them as ivars to prevent a race condition between webview close and custom protocol handling.5f1e4ba(#1538 by @syrel) macOS: Handle flipped coordinates when adding a WebView as a child4ec951a(#1526 by @Legend-Master) Updatedwebview2-comto0.37,windowsto0.61.2d753c6(#1531 by @Legend-Master) Init scripts are always executed on all frames on Windows WebView22d753c6(#1531 by @Legend-Master) Fix init script sometimes get executed too late on Windows WebView2feat
ecbced2(#1534 by @Simon-Laux) macOS/iOS: add option to disable link previews when building a webview (the webkit API has it enabled by default)WebViewBuilderExtDarwin.with_allow_link_preview(bool)v0.50.5Compare Source
enhance
353bd95(#1517 by @FabianLars) Added a Windows-only setting to disable all Webview2 context menus.bug
4f4ade3(#1520 by @lucasfernog) Fix crash setting macOS traffic light buttons inset when window is undecorated or buttons have been removed.v0.50.4Compare Source
349dfe3(#1512 by @Simon-Laux) AddedWebViewExtDarwinto expose WebView functions available to both macOS and iOS.349dfe3(#1512 by @Simon-Laux) fix: crash when usingWebViewBuilderExtDarwin.with_data_store_identifier349dfe3(#1512 by @Simon-Laux) feat: macOS: addWebViewExtDarwin::fetch_data_store_identifiersandWebViewExtDarwin::remove_data_store.d0b16a7(#1491 by @neilmcguire) On Windows, Add support for iframe requests in custom protocols. Requires WebView2 1.0.2365.46 or higher.148d7cd(#1513 by @FabianLars) Wry by default now passes--enable-features=RemoveRedirectionBitmapto WebView2 to hide the initial white flash of newly created webviews. Only takes effect on WebView2 Runtime versions 134 and above.v0.50.3Compare Source
94ecadb(#1496 by @Simon-Laux) AddWebViewBuilder.with_javascript_disabledapi to disable JavaScript.5120a5c(#1486 by @charrondev) FixWebview::cookiesandWebview::cookies_for_urldeadlock on macOS.8dfeb76(#1500 by @Simon-Laux) feat: addWebview.reloadv0.50.2Compare Source
cef818f(#1505 by @lucasfernog) Fixalready mutably borrowed: BorrowErrorpanic on webview initialization on Android.v0.50.1Compare Source
f9abf6b(#1501 by @Legend-Master) Fix webview not resized with parent when it gets maximized on Windowsv0.50.0Compare Source
933de78(#1492 by @Legend-Master) Updatedwebview2-comto0.36,windowsto0.60.v0.49.0Compare Source
0395df5(#1484 by @alexmoon) Removedobj-exceptionfeature.c27b4ff(#1468 by @madsmtm) Update toobjc2v0.6.This bumps MSRV on macOS/iOS to 1.71.
95a9319(#1454 by @Legend-Master) Updatedwebview2-comto0.35,windowsto0.59.9df094a(#1483 by @amrbashir) On Windows, fix webview slightly larger than the host window causing a pixel or two to be obscured.ce98c34(#1480 by @ahqsoftwares) Fixed an issue that could causeReturn type mismatch: expected 'kotlin.String', actual 'kotlin.String?'errors.enhance
0185644(#1452 by @mzdk100) Allow the use of TAB to cycle through focus elements in an HTML document.v0.48.1Compare Source
cbbcccc(#1446 by @FabianLars) Add functionality to set the traffic light inset on macOS. This is required to prevent flickers if the WebView is injected viabuild()instead ofbuild_as_child().enhance
26abf63(#1445 by @bastiankistner) Add an option to change the default background throttling policy (currently for WebKit only).v0.48.0Compare Source
eb0c816(#1423 by @SpikeHD) Rename{WebViewBuilderExtWindows, WebViewBuilderExtUnix}::with_extension_pathtowith_extensions_path.b4ba5b4(#1426 by @FabianLars) On Windows, Wry will now log PostMessage errors instead of panicking.f0c6b94(#1441 by @renovate) Updatedwebview2-comto0.34.v0.47.2Compare Source
7bb4f49(#1421 by @SpikeHD) Fix extension loading on Windows.v0.47.1Compare Source
59c1eef(#1418 by @amrbashir) Fix initialization scripts running twice on Windows.v0.47.0Compare Source
7221256(#1365 by @Norbiros) AddWebViewBuilder::with_initialization_script_for_main_onlyto enable injecting JavaScript code into main frame only or all subframes.c1b26b9(#1394 by @amrbashir) AddWebView::cookiesandWebView::cookies_for_urlAPIs.c193e2a(#1408 by @amrbashir) FixDragDropEvent::Dropevent never fired on Wayland (and sometimes on X11).1d63fa3(#1403 by @SpikeHD) AddWebViewBuilder::with_extension_pathAPI to Windows and Linux.0c192f4(#1414 by @lucasfernog) Fix Android static handlers not being replaced when the application UI is relaunched while still running in the foreground.9a2a2d4(#1412 by @amrbashir) Fix icons of dragged items getting stuck when usingWebViewBuilder::with_drag_drop_handleron some distros like Gnome.fa9875b(#1409 by @amrbashir) On Windows, disable Webview2's file drop when usingWebViewBuilder::with_drag_drop_handlerwhich fix drag events for files from "Recent files" view.6007608(#1400 by @amrbashir) On Windows, fix webview slightly larger than the window inner size, which resulted in a hidden 1px in the right and bottom borders of the webviewv0.46.3Compare Source
be122f6(#1397 by @lucasfernog) Fixwith_user_agentregression.v0.46.2Compare Source
1189e2a(#1392 by @chrox) Fix malformed headers in custom protocol response on macOS.v0.46.1Compare Source
bug
33c0193(#1389 by @amrbashir) Fix crash on macOS versions below 14.a57719e(#1385 by @huacnlee) AddWebView::focus_parentmethod.v0.46.0Compare Source
8cc2a7f(#1384 by @amrbashir) This release contains quite the breaking changes, because even though wry@0.44, ignored duplicate custom protocols, On Linux when using a shared web context, the custom protocol handler can only be registered once so we are bringing the duplicate custom protocols on Linux again, Windows and macOS are not affected. If using a shared web context, make sure to register a protocol only once on Linux (other platforms should be registed multiple times), useWebContext::is_custom_protocol_registeredwith#[cfg(target_os = "linux")].We also noticed that it is hard to know which webview made a request to the custom protocol so we added a method to attach an ID to a webview, and changed relevant custom protocol APIs to take a new argument that passes the specified id back to protocol handler.
We also made a few changes to the builder, specifically
WebViewBuilder::newandWebViewBuilder::buildmethods to make them more ergonomic to work with.Error::DuplicateCustomProtocolenum variant.Error::ContextDuplicateCustomProtocolenum variant.WebViewBuilder::buildif registering a custom protocol multiple times.WebContext::is_custom_protocol_registeredto check if a protocol has been regsterd for this web context.WebViewIdalias type.WebViewAttributesto have a lifetime parameter.WebViewAttributes.idfield to specify an id for the webview.WebViewBuilder::with_idmethod to specify an id for the webview.WebViewAttributes.contextfield to specify a shared context for the webview.WebViewAttributes.custom_protocolsfield,WebViewBuilder::with_custom_protocolmethod andWebViewBuilder::with_asynchronous_custom_protocolmethod handler function to takeWebViewIdas the first argument to check which webview made the request to the protocol.WebViewBuilder::with_web_contextto be a static method to create a builder with a webcontext, instead of it being a setter method. It is now an alternative toWebviewBuilder::newWebViewBuilder::with_attributesto create a webview builder with provided attributes.WebViewBuilder::newto take no arguments.WebViewBuilder::buildmethod to take a reference to a window to create the webview in it.WebViewBuilder::new_as_child.WebViewBuilder::build_as_childmethod, which takes a reference to a window to create the webview in it.WebViewBuilderExtUnix::new_gtk.WebViewBuilderExtUnix::build_gtk.0abc221(#1316 by @pewsheen) Migrate to obj2.b01eac3(#1386 by @lucasfernog) Use unescaped Android package identifier for the proguard rules.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 was generated by Mend Renovate. View the repository job log.