Skip to content

Commit 2b02067

Browse files
apply version updates
1 parent 43e78ff commit 2b02067

File tree

6 files changed

+17
-24
lines changed

6 files changed

+17
-24
lines changed

.changes/app-bound-domains.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changes/cookies-api.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# Changelog
22

3+
## \[0.52.2]
4+
5+
- [`43e78ff`](https://github.com/tauri-apps/wry/commit/43e78ff6b09fe9cac84ff7d73460f170a8c32081) ([#1588](https://github.com/tauri-apps/wry/pull/1588) by [@zphrs](https://github.com/tauri-apps/wry/../../zphrs)) Add `WebViewBuilder::with_limit_navigations_to_app_bound_domains` only on iOS.
6+
Function is a no-op if iOS version is less than iOS 14.
7+
- [`60dba38`](https://github.com/tauri-apps/wry/commit/60dba38ddcc01c428feccea2957adf69128373ef) ([#1569](https://github.com/tauri-apps/wry/pull/1569) by [@WSH032](https://github.com/tauri-apps/wry/../../WSH032)) Add `WebView::set_cookie` and `WebView::delete_cookie` APIs.
8+
39
## \[0.52.1]
410

511
- [`63eaab8`](https://github.com/tauri-apps/wry/commit/63eaab80bad7c5f888893c79690c5b626d015eb3) ([#1573](https://github.com/tauri-apps/wry/pull/1573) by [@Legend-Master](https://github.com/tauri-apps/wry/../../Legend-Master)) Fix `wry::DragDropEvent::Drop::paths` returns random data on Windows

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ workspace = {}
22

33
[package]
44
name = "wry"
5-
version = "0.52.1"
5+
version = "0.52.2"
66
authors = ["Tauri Programme within The Commons Conservancy"]
77
edition = "2021"
88
license = "Apache-2.0 OR MIT"

README.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg](https://good-labs.github.io/greater-good-affirmation/assets/images/badge.svg)](https://good-labs.github.io/greater-good-affirmation)
88
[![support](https://img.shields.io/badge/sponsor-Open%20Collective-blue.svg)](https://opencollective.com/tauri)
99

10-
Wry is a cross-platform WebView rendering library.
10+
Wry is a Cross-platform WebView rendering library.
1111

1212
The webview requires a running event loop and a window type that implements [`HasWindowHandle`],
1313
or a gtk container widget if you need to support X11 and Wayland.
@@ -233,19 +233,17 @@ If you are cross-compiling for macOS using [osxcross](https://github.com/tpoecht
233233
```bash
234234
RUSTFLAGS="-l framework=WebKit" cargo build --target=x86_64-apple-darwin --release
235235
```
236-
237236
#### Windows
238237

239238
WebView2 provided by Microsoft Edge Chromium is used. So wry supports Windows 7, 8, 10 and 11.
240239

241240
#### Android
242241

243-
In order for `wry` to be able to create webviews on Android, there are a few requirements that your application needs to uphold:
244-
242+
In order for `wry` to be able to create webviews on Android, there is a few requirements that your application needs to uphold:
245243
1. You need to set a few environment variables that will be used to generate the necessary kotlin
246244
files that you need to include in your Android application for wry to function properly.
247245
- `WRY_ANDROID_PACKAGE`: which is the reversed domain name of your android project and the app name in snake_case, for example, `com.wry.example.wry_app`
248-
- `WRY_ANDROID_LIBRARY`: for example, if your cargo project has a lib name `wry_app`, it will generate `libwry_app.so` so you set this env var to `wry_app`
246+
- `WRY_ANDROID_LIBRARY`: for example, if your cargo project has a lib name `wry_app`, it will generate `libwry_app.so` so you se this env var to `wry_app`
249247
- `WRY_ANDROID_KOTLIN_FILES_OUT_DIR`: for example, `path/to/app/src/main/kotlin/com/wry/example`
250248
2. Your main Android Activity needs to inherit `AppCompatActivity`, preferably it should use the generated `WryActivity` or inherit it.
251249
3. Your Rust app needs to call `wry::android_setup` function to setup the necessary logic to be able to create webviews later on.
@@ -260,7 +258,7 @@ It is recommended to use [`tao`](https://docs.rs/tao/latest/tao/) crate as it pr
260258
com_example,
261259
wry_app,
262260
WryActivity,
263-
wry::android_setup, // pass the wry::android_setup function to tao which will be invoked when the event loop is created
261+
wry::android_setup, // pass the wry::android_setup function to tao which will invoke when the event loop is created
264262
_start_app
265263
);
266264
wry::android_binding!(com_example, ttt);
@@ -269,7 +267,7 @@ It is recommended to use [`tao`](https://docs.rs/tao/latest/tao/) crate as it pr
269267

270268
If this feels overwhelming, you can just use the preconfigured template from [`cargo-mobile2`](https://github.com/tauri-apps/cargo-mobile2).
271269

272-
For more information, check out [MOBILE.md](https://github.com/tauri-apps/wry/blob/dev/MOBILE.md).
270+
For more inforamtion, checkout [MOBILE.md](https://github.com/tauri-apps/wry/blob/dev/MOBILE.md).
273271

274272
### Feature flags
275273

@@ -279,18 +277,18 @@ Wry uses a set of feature flags to toggle several advanced features.
279277
for the crate to work. This feature was added in preparation of other ports like cef and servo.
280278
- `protocol` (default): Enables [`WebViewBuilder::with_custom_protocol`] to define custom URL scheme for handling tasks like
281279
loading assets.
282-
- `drag-drop` (default): Enables [`WebViewBuilder::with_drag_drop_handler`] to control the behavior when there are files
280+
- `drag-drop` (default): Enables [`WebViewBuilder::with_drag_drop_handler`] to control the behaviour when there are files
283281
interacting with the window.
284282
- `devtools`: Enables devtools on release builds. Devtools are always enabled in debug builds.
285-
On **macOS**, enabling devtools, requires calling private APIs so you should not enable this flag in release
283+
On **macOS**, enabling devtools, requires calling private apis so you should not enable this flag in release
286284
build if your app needs to publish to App Store.
287285
- `transparent`: Transparent background on **macOS** requires calling private functions.
288286
Avoid this in release build if your app needs to publish to App Store.
289287
- `fullscreen`: Fullscreen video and other media on **macOS** requires calling private functions.
290288
Avoid this in release build if your app needs to publish to App Store.
291289
- `linux-body`: Enables body support of custom protocol request on Linux. Requires
292-
WebKit2GTK v2.40 or above.
293-
- `tracing`: enables [`tracing`] for `evaluate_script`, `ipc_handler`, and `custom_protocols`.
290+
webkit2gtk v2.40 or above.
291+
- `tracing`: enables [`tracing`] for `evaluate_script`, `ipc_handler` and `custom_protocols.
294292

295293
### Partners
296294

0 commit comments

Comments
 (0)