Skip to content

Releases: tauri-apps/wry

wry v0.38.0

19 Mar 13:44
17f3c08
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.38.0]

  • e6f0fbd(#1180) Fixes a null pointer exception when running window.ipc.postMessage(null) on Android.

  • 5789bf7(#1187) Breaking change: Refactored the file-drop handling on the webview for better representation of the actual drag and drop operation:

    • Renamed file-drop cargo feature flag to drag-drop.
    • Removed FileDropEvent enum and replaced with a new DragDropEvent enum.
    • Renamed WebViewAttributes::file_drop_handler field to WebViewAttributes::drag_drop_handler.
    • Renamed WebViewAttributes::with_file_drop_handler method to WebViewAttributes::with_drag_drop_handler.
  • b8fea39(#1183) Changed WebViewBuilder::with_ipc_handler closure to take http::Request instead of String so the request URL is available.

  • 3a2026b(#1182) Breaking changes: Changed a few methods on WebView type to return a Result:

    • Webview::url
    • Webview::zoom
    • Webview::load_url
    • Webview::load_url_with_headers
    • Webview::bounds
    • Webview::set_bounds
    • Webview::set_visible
    • WebviewExtWindows::set_theme
    • WebviewExtWindows::set_memory_usage_level
    • WebviewExtWindows::reparent
    • WebviewExtUnix::reparent
    • WebviewExtMacOS::reparent
  • e1e2e07(#1190) Update webview2-com crate to 0.29

  • e1e2e07(#1190) Update windows crate to 0.54

  • 00bc96d(#1179) Added WryActivity::onWebViewCreate(android.webkit.WebView) on Android.

Cargo Publish

Updating crates.io index
   Packaging wry v0.38.0 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 59 files, 587.1KiB (144.1KiB compressed)
   Uploading wry v0.38.0 (/home/runner/work/wry/wry)
    Uploaded wry v0.38.0 to registry `crates-io`
note: Waiting for `wry v0.38.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.38.0 at registry `crates-io`

wry v0.37.0

21 Feb 20:53
91ac2e4
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.37.0]

  • 8c86fba Breaking change: Removed data: url support, as its native support in Windows and macOS are buggy and unreliable, use Webview::with_html instead.

  • 8c86fba On Linux, decode FilDropEvent paths before emitting them to make it consistent across all platforms.

  • 8c86fba Added WebViewExtMacOS::reparent,WebViewExtWindows::reparent and WebViewExtUnix::reparent.

  • 8c86fba Revert global keys shortcuts (wry#1156)

  • 8c86fba Breaking change: Removed internal url parsing which had a few side-effects such as encoded url content, now it is up to the user to pass a valid URL as a string. This also came with a few breaking changes:

    • Removed Url struct re-export
    • Removed Error::UrlError variant.
    • Changed WebviewAttributes::url field type to String.
    • Changed WebviewBuilder::with_url and WebviewBuilder::with_url_and_headers return type to WebviewBuilder instead of Result<WebviewBuilder>.
    • Changed Webview::url getter to return a String instead of Url.

Cargo Publish

Updating crates.io index
   Packaging wry v0.37.0 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 59 files, 575.0KiB (141.5KiB compressed)
   Uploading wry v0.37.0 (/home/runner/work/wry/wry)
    Uploaded wry v0.37.0 to registry `crates-io`
note: Waiting for `wry v0.37.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.37.0 at registry `crates-io`

wry v0.36.0

06 Feb 11:10
8f92a35
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.36.0]

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

Cargo Publish

Updating crates.io index
   Packaging wry v0.36.0 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 58 files, 570.1KiB (140.6KiB compressed)
   Uploading wry v0.36.0 (/home/runner/work/wry/wry)
    Uploaded wry v0.36.0 to registry `crates-io`
note: Waiting for `wry v0.36.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.36.0 at registry `crates-io`

wry v0.35.2

02 Jan 11:29
eb4e6b4
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.35.2]

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

Cargo Publish

Updating crates.io index
   Packaging wry v0.35.2 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 58 files, 566.6KiB (139.8KiB compressed)
   Uploading wry v0.35.2 (/home/runner/work/wry/wry)
    Uploaded wry v0.35.2 to registry `crates-io`
note: Waiting for `wry v0.35.2` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.35.2 at registry `crates-io`

wry v0.35.1

19 Dec 13:36
df7c713
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.35.1]

  • eef33c9(#1124) Fix the API documentation cannot be built on docs.rs.
  • eef33c9(#1124) Fix screen share permissions dialog not showing up on macOS 14.0+
  • eef33c9(#1124) Fix IPC crash on wkwebview if receiving invalid types.
  • eef33c9(#1124) Add WebView::bounds getter.
  • eef33c9(#1124) On Windows, fix file drop handler.

Cargo Publish

Updating crates.io index
   Packaging wry v0.35.1 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 57 files, 554.1KiB (137.5KiB compressed)
   Uploading wry v0.35.1 (/home/runner/work/wry/wry)
    Uploaded wry v0.35.1 to registry `crates-io`
note: Waiting for `wry v0.35.1` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.35.1 at registry `crates-io`

wry v0.24.7

19 Dec 13:32
09c2d07
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.24.7]

  • dba375f(#1106) Update the unmaintained kuchiki crate to the maintained kuchikiki crate.

Cargo Publish

Updating crates.io index
   Packaging wry v0.24.7 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 62 files, 433.5KiB (108.2KiB compressed)
   Uploading wry v0.24.7 (/home/runner/work/wry/wry)
    Uploaded wry v0.24.7 to registry `crates-io`
note: Waiting for `wry v0.24.7` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.24.7 at registry `crates-io`

wry v0.24.6

23 Nov 17:46
a6d4304
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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 (255 crate dependencies)
Crate:     kuchiki
Version:   0.8.1
Warning:   unmaintained
Title:     `kuchiki` is unmaintained
Date:      2023-01-21
ID:        RUSTSEC-2023-0019
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0019
Dependency tree:
kuchiki 0.8.1
└── wry 0.24.6

warning: 1 allowed warning found

[0.24.6]

  • 7dd542f(#1093) Added tracing spans for evaluate_script, ipc_handler and custom_protocols behind the tracing feature flag.

Cargo Publish

Updating crates.io index
   Packaging wry v0.24.6 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 80 files, 2.4MiB (2.0MiB compressed)
   Uploading wry v0.24.6 (/home/runner/work/wry/wry)
    Uploaded wry v0.24.6 to registry `crates-io`
note: Waiting for `wry v0.24.6` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.24.6 at registry `crates-io`

wry v0.35.0

21 Nov 04:07
c241b48
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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.

Cargo Publish

Updating crates.io index
   Packaging wry v0.35.0 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 75 files, 2.6MiB (2.1MiB compressed)
   Uploading wry v0.35.0 (/home/runner/work/wry/wry)
    Uploaded wry v0.35.0 to registry `crates-io`
note: Waiting for `wry v0.35.0` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.35.0 at registry `crates-io`

wry v0.24.5

21 Nov 04:26
0ee3be6
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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 (252 crate dependencies)
Crate:     kuchiki
Version:   0.8.1
Warning:   unmaintained
Title:     `kuchiki` is unmaintained
Date:      2023-01-21
ID:        RUSTSEC-2023-0019
URL:       https://rustsec.org/advisories/RUSTSEC-2023-0019
Dependency tree:
kuchiki 0.8.1
└── wry 0.24.5

warning: 1 allowed warning found

[0.24.5]

  • c78c69b(#1085) Fix wkwebview crashed when received invalid UTF8 string from IPC.

Cargo Publish

Updating crates.io index
   Packaging wry v0.24.5 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 80 files, 2.4MiB (2.0MiB compressed)
   Uploading wry v0.24.5 (/home/runner/work/wry/wry)
    Uploaded wry v0.24.5 to registry `crates-io`
note: Waiting for `wry v0.24.5` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.24.5 at registry `crates-io`

wry v0.34.2

26 Oct 13:21
2939072
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

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

[0.34.2]

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

Cargo Publish

Updating crates.io index
   Packaging wry v0.34.2 (/home/runner/work/wry/wry)
    Updating crates.io index
    Packaged 87 files, 2.5MiB (2.1MiB compressed)
   Uploading wry v0.34.2 (/home/runner/work/wry/wry)
    Uploaded wry v0.34.2 to registry `crates-io`
note: Waiting for `wry v0.34.2` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published wry v0.34.2 at registry `crates-io`