Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update rust crate wry to 0.36 #146

Merged
merged 4 commits into from
Feb 7, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 21, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update Change
wry dev-dependencies minor 0.34 -> 0.36

Release Notes

tauri-apps/wry (wry)

v0.36.0

Compare Source

  • 8646120(#​1159) On android, fix no non-static method ".evalScript(ILjava/lang/String;)" when calling Window::eval.

  • 8646120(#​1159) On macOS, fix a release build crashes with SEGV when calling WebView::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 of HasRawWindowHandle.
    • wry::raw_window_handle now re-exports v0.6.
  • 8646120(#​1159) On macOS, fix menu keyboard shortcuts. This issue bug was introduced in v2 when added webview as child.

v0.35.2

Compare Source

  • 0ef041f(#​1133) On Linux, apply passed webview bounds when using WebView::new_gtk or WebViewBuilder::new_gtk with gtk::Fixed widget. This allows to create multiple webviews inside gtk::Fixed in the same window.
  • 0ef041f(#​1133) Added tracing spans for evaluate_script, ipc_handler and custom_protocols behind the tracing feature flag.

v0.35.1

Compare Source

v0.35.0

Compare Source

  • e61e7f8(#​1090) Breaking change Consistently use WebView in API names. The following APIs were renamed:

    • WebviewExtWindowsWebViewExtWindows
    • WebviewExtUnixWebViewExtUnix
    • WebviewExtMacOSWebViewExtMacOS
    • WebviewExtIOSWebViewExtIOS
    • WebviewExtAndroidWebViewExtAndroid
    • WebviewUriLoaderWebViewUriLoader
  • e61e7f8(#​1090) Add WebViewExtWindows::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 add os-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, and webivew module is moved to root module.
    • WebViewBuilder::new, WebView::new now take RawWindowHandle instead.
    • Add WebViewBuilder::new_as_child, WebView::new_as_child to crate a webview as a child inside a parent window.
    • Webview::inner_size is removed.
    • Add WebViewBuilderExtUnix trait to extend WebViewBuilder on Unix platforms.
    • Add new_gtk functions to WebViewBuilderExtUnix and WebviewExtUnix.
    • raw-window-handle crate is re-exported as 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:

    • Webview attributes ipc_handler, file_drop_handler, document_change_handler don't take the Window as first parameter anymore.
      Users should use closure to capture the types they want to use.
    • Position field in FileDrop event is now a tuple of (x, y) physical position instead of PhysicalPosition. Users need to handle scale factor
    • We exposed the android_setup function that needs to be called once to setup necessary logic.
    • Previously the android_binding! had internal call to tao::android_binding but now that tao 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

v0.34.1

Compare Source


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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/wry-0.x branch from 4ed9633 to 55ea439 Compare February 3, 2024 22:29
@renovate renovate bot force-pushed the renovate/wry-0.x branch from 55ea439 to fb66e56 Compare February 6, 2024 12:26
@renovate renovate bot changed the title chore(deps): update rust crate wry to 0.35 chore(deps): update rust crate wry to 0.36 Feb 6, 2024
@amrbashir amrbashir merged commit 305e7a0 into dev Feb 7, 2024
9 checks passed
@amrbashir amrbashir deleted the renovate/wry-0.x branch February 7, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant