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

Update wry requirement from 0.45.0 to 0.46.0 #13

Merged
merged 1 commit into from
Oct 14, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 14, 2024

Updates the requirements on wry to permit the latest version.

Release notes

Sourced from wry's releases.

wry v0.46.0

Updating crates.io index
     Locking 391 packages to latest compatible versions
      Adding android-activity v0.5.2 (latest: v0.6.0)
      Adding ash v0.37.3+1.3.251 (latest: v0.38.0+1.3.281)
      Adding bit-set v0.5.3 (latest: v0.8.0)
      Adding bit-vec v0.6.3 (latest: v0.8.0)
      Adding bitflags v1.3.2 (latest: v2.6.0)
      Adding block2 v0.3.0 (latest: v0.5.1)
      Adding cairo-rs v0.18.5 (latest: v0.20.1)
      Adding cairo-sys-rs v0.18.2 (latest: v0.20.0)
      Adding calloop v0.12.4 (latest: v0.14.1)
      Adding calloop-wayland-source v0.2.0 (latest: v0.4.0)
      Adding cfg-expr v0.15.8 (latest: v0.17.0)
      Adding cfg_aliases v0.1.1 (latest: v0.2.1)
      Adding convert_case v0.4.0 (latest: v0.6.0)
      Adding core-foundation v0.9.4 (latest: v0.10.0)
      Adding core-graphics v0.23.2 (latest: v0.24.0)
      Adding core-graphics-types v0.1.3 (latest: v0.2.0)
      Adding cssparser v0.27.2 (latest: v0.34.0)
      Adding d3d12 v0.19.0 (latest: v22.0.0)
      Adding derive_more v0.99.18 (latest: v1.0.0)
      Adding gdk-pixbuf v0.18.5 (latest: v0.20.4)
      Adding gdk-pixbuf-sys v0.18.0 (latest: v0.20.4)
      Adding generic-array v0.14.7 (latest: v1.1.0)
      Adding gethostname v0.4.3 (latest: v0.5.0)
      Adding getrandom v0.1.16 (latest: v0.2.15)
      Adding gio v0.18.4 (latest: v0.20.4)
      Adding gio-sys v0.18.1 (latest: v0.20.4)
      Adding glib v0.18.5 (latest: v0.20.4)
      Adding glib-macros v0.18.5 (latest: v0.20.4)
      Adding glib-sys v0.18.1 (latest: v0.20.4)
      Adding glow v0.13.1 (latest: v0.14.2)
      Adding glutin_wgl_sys v0.5.0 (latest: v0.6.0)
      Adding gobject-sys v0.18.0 (latest: v0.20.4)
      Adding gpu-allocator v0.25.0 (latest: v0.27.0)
      Adding gpu-descriptor v0.2.4 (latest: v0.3.0)
      Adding gpu-descriptor-types v0.1.2 (latest: v0.2.0)
      Adding hashbrown v0.12.3 (latest: v0.15.0)
      Adding hashbrown v0.14.5 (latest: v0.15.0)
      Adding heck v0.4.1 (latest: v0.5.0)
      Adding html5ever v0.26.0 (latest: v0.29.0)
      Adding icrate v0.0.4 (latest: v0.1.2)
      Adding idna v0.5.0 (latest: v1.0.2)
      Adding indexmap v1.9.3 (latest: v2.6.0)
      Adding itoa v0.4.8 (latest: v1.0.11)
</tr></table> 

... (truncated)

Changelog

Sourced from wry's changelog.

[0.46.0]

  • 8cc2a7f (#1384 by @​amrbashir) This release contains quite the breaking changes, because even though [email protected], 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), use WebContext::is_custom_protocol_registered with #[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::new and WebViewBuilder::build methods to make them more ergonomic to work with.

    • Added Error::DuplicateCustomProtocol enum variant.
    • Added Error::ContextDuplicateCustomProtocol enum variant.
    • On Linux, return an error in WebViewBuilder::build if registering a custom protocol multiple times.
    • Added WebContext::is_custom_protocol_registered to check if a protocol has been regsterd for this web context.
    • Added WebViewId alias type.
    • Breaking Changed WebViewAttributes to have a lifetime parameter.
    • Added WebViewAttributes.id field to specify an id for the webview.
    • Added WebViewBuilder::with_id method to specify an id for the webview.
    • Added WebViewAttributes.context field to specify a shared context for the webview.
    • Breaking Changed WebViewAttributes.custom_protocols field,WebViewBuilder::with_custom_protocol method and WebViewBuilder::with_asynchronous_custom_protocol method handler function to take WebViewId as the first argument to check which webview made the request to the protocol.
    • Breaking Changed WebViewBuilder::with_web_context to be a static method to create a builder with a webcontext, instead of it being a setter method. It is now an alternative to WebviewBuilder::new
    • Added WebViewBuilder::with_attributes to create a webview builder with provided attributes.
    • Breaking Changed WebViewBuilder::new to take no arguments.
    • Breaking Changed WebViewBuilder::build method to take a reference to a window to create the webview in it.
    • Breaking Removed WebViewBuilder::new_as_child.
    • Added WebViewBuilder::build_as_child method, which takes a reference to a window to create the webview in it.
    • Breaking Removed WebViewBuilderExtUnix::new_gtk.
    • Added WebViewBuilderExtUnix::build_gtk.
  • 0abc221 (#1316 by @​pewsheen) Migrate to obj2.

  • b01eac3 (#1386 by @​lucasfernog) Use unescaped Android package identifier for the proguard rules.

[0.45.0]

[0.44.1]

[0.44.0]

[0.43.1]

... (truncated)

Commits
  • a11b827 apply version updates (#1387)
  • 70ac70b fix: add exception feature flag for the objc2 crate
  • 0abc221 refactor(macos): migrate to objc2 (#1316)
  • 8cc2a7f refactor!: add webview id to protocol handlers and improve API ergonomics (#1...
  • b01eac3 fix(android): use unescaped Android package id for the proguard rules (#1386)
  • 4a5b6e8 style: simplify string formatting for readability (#1381)
  • eafaadb chore: fix gtk_multiwebview example on wayland (#1371)
  • c2766bf covector: hide cargo lock file generation output under cargo audit section (#...
  • See full diff in compare view

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 <dependency name> 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)

Updates the requirements on [wry](https://github.com/tauri-apps/wry) to permit the latest version.
- [Release notes](https://github.com/tauri-apps/wry/releases)
- [Changelog](https://github.com/tauri-apps/wry/blob/dev/CHANGELOG.md)
- [Commits](tauri-apps/wry@wry-v0.45...wry-v0.46)

---
updated-dependencies:
- dependency-name: wry
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 14, 2024
@pelasgus pelasgus merged commit 8388efd into main Oct 14, 2024
1 check failed
@dependabot dependabot bot deleted the dependabot/cargo/wry-0.46.0 branch October 14, 2024 01:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant