OpenBB-finance / pywry

MIT License
80 stars 11 forks source link

Bump wry from 0.31.1 to 0.35.0 #109

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 9 months ago

Bumps wry from 0.31.1 to 0.35.0.

Release notes

Sourced from wry's releases.

wry v0.35.0

Updating crates.io index

Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
      Loaded 578 security advisories (from /home/runner/.cargo/advisory-db)
    Updating crates.io index
    Scanning Cargo.lock for vulnerabilities (438 crate dependencies)

[0.35.0]

  • 4f42acb(#1074) Breaking change Consistently use WebView in API names. The following APIs were renamed:

    • WebviewExtWindowsWebViewExtWindows
    • WebviewExtUnixWebViewExtUnix
    • WebviewExtMacOSWebViewExtMacOS
    • WebviewExtIOSWebViewExtIOS
    • WebviewExtAndroidWebViewExtAndroid
    • WebviewUriLoaderWebViewUriLoader
  • f420665(#1053) 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.

  • 4d6f08e(#1076) Enhance initalization script implementation on Android supporting any kind of URL.

  • e61e7f8(#1090) Fix wkwebview crashed when received invalid UTF8 string from IPC.

  • 783b142(#1041) 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.

... (truncated)

Changelog

Sourced from wry's changelog.

[0.35.0]

  • 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.

[0.34.2]

  • c2e6980(#1047) Fix doc building by removing dox feature requirement from webkit2gtk.
  • 82908d4(#1045) Fix docs.rs build.

[0.34.1]

  • 3de68e7(#1043) Fix compilation with the linux-body feature.

[0.34.0]

  • ce95730(#1036) Upgrade gtk to 0.18 and bump MSRV to 1.70.0.
  • 591fda8(#1042) Use gtk's re-exported modules instead.
  • b22a19e(#1037) Update windows and windows-implement crate to 0.51

[0.33.1]

... (truncated)

Commits


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 8 months ago

Superseded by #113.