Skip to content

Commit 180458b

Browse files
apply version updates (#1549)
Co-authored-by: lucasfernog <[email protected]>
1 parent 41f4a3a commit 180458b

File tree

10 files changed

+21
-40
lines changed

10 files changed

+21
-40
lines changed

.changes/builder-naming.md

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

.changes/ios-bg-color.md

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

.changes/remove-and-then.md

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

.changes/webview2-com-038.md

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

.changes/windows-default-bg-color.md

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

.changes/x11-feature.md

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

CHANGELOG.md

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

3+
## \[0.52.0]
4+
5+
- [`5e6b0e6`](https://github.com/tauri-apps/wry/commit/5e6b0e689e38068c817ed1beb87af60b0fcbe0e2) ([#1555](https://github.com/tauri-apps/wry/pull/1555) by [@FabianLars](https://github.com/tauri-apps/wry/../../FabianLars)) Added iOS support for `set_background_color`.
6+
- [`99dab51`](https://github.com/tauri-apps/wry/commit/99dab51fef0dfd49647a8e568f383553bbab6551) ([#1570](https://github.com/tauri-apps/wry/pull/1570) by [@renovate](https://github.com/tauri-apps/wry/../../renovate)) Updated `webview2-com` to `0.38`.
7+
- [`41f4a3a`](https://github.com/tauri-apps/wry/commit/41f4a3a65e0c2ec8e63eedaee9b7fa4d6d3f4fa7) ([#1572](https://github.com/tauri-apps/wry/pull/1572) by [@FabianLars](https://github.com/tauri-apps/wry/../../FabianLars)) On Windows on systems running WebView2 v137+ wry now uses a new default background color API which should reduce white flashes. The use of the `RemoveRedirectionBitmap` browser flag (v134+) was removed due to crashes on Insider builds.
8+
- [`eb40ac8`](https://github.com/tauri-apps/wry/commit/eb40ac8b2ab691bbc0e75bc9c27ba53e2f645e03) ([#1528](https://github.com/tauri-apps/wry/pull/1528) by [@aurelj](https://github.com/tauri-apps/wry/../../aurelj)) Added `x11` feature flag (enabled by default).
9+
10+
### breaking
11+
12+
- [`1567635`](https://github.com/tauri-apps/wry/commit/1567635ba5f660827d4ae20f4e226ed7fa595f12) ([#1558](https://github.com/tauri-apps/wry/pull/1558) by [@amrbashir](https://github.com/tauri-apps/wry/../../amrbashir)) Rename `WebViewBuilder` methods for consistency and clarity:
13+
14+
- Renamed `WebViewBuilder::with_web_context` to `WebViewBuilder::new_with_web_context`
15+
- Renamed `WebViewBuilder::with_attributes` to `WebViewBuilder::new_with_attributes`
16+
- [`f868658`](https://github.com/tauri-apps/wry/commit/f868658d6ffbf0a6b944faebb3b7565726c82f57) ([#1556](https://github.com/tauri-apps/wry/pull/1556) by [@Legend-Master](https://github.com/tauri-apps/wry/../../Legend-Master)) `WebContext::is_custom_protocol_registered` now takes `&str` instead of `String`
17+
318
## \[0.51.2]
419

520
- [`f7781a7`](https://github.com/tauri-apps/wry/commit/f7781a788dbb0d07bea27f18daf844d70a3958a3) ([#1544](https://github.com/tauri-apps/wry/pull/1544) by [@lucasfernog](https://github.com/tauri-apps/wry/../../lucasfernog)) Allow modifying or removing the input accessory view on iOS via `WebViewBuilderExtIos::with_input_accessory_view_builder`.

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.51.2"
5+
version = "0.52.0"
66
authors = ["Tauri Programme within The Commons Conservancy"]
77
edition = "2021"
88
license = "Apache-2.0 OR MIT"

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ WebView2 provided by Microsoft Edge Chromium is used. So wry supports Windows 7,
241241

242242
In order for `wry` to be able to create webviews on Android, there is a few requirements that your application needs to uphold:
243243
1. You need to set a few environment variables that will be used to generate the necessary kotlin
244-
files that you need to include in your Android application for wry to function properly.
245-
- `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`
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`
247-
- `WRY_ANDROID_KOTLIN_FILES_OUT_DIR`: for example, `path/to/app/src/main/kotlin/com/wry/example`
244+
files that you need to include in your Android application for wry to function properly.
245+
- `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`
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`
247+
- `WRY_ANDROID_KOTLIN_FILES_OUT_DIR`: for example, `path/to/app/src/main/kotlin/com/wry/example`
248248
2. Your main Android Activity needs to inherit `AppCompatActivity`, preferably it should use the generated `WryActivity` or inherit it.
249249
3. Your Rust app needs to call `wry::android_setup` function to setup the necessary logic to be able to create webviews later on.
250250
4. Your Rust app needs to call `wry::android_binding!` macro to setup the JNI functions that will be called by `WryActivity` and various other places.
@@ -279,7 +279,6 @@ Wry uses a set of feature flags to toggle several advanced features.
279279
loading assets.
280280
- `drag-drop` (default): Enables [`WebViewBuilder::with_drag_drop_handler`] to control the behaviour when there are files
281281
interacting with the window.
282-
- `x11` (default): Enables x11 support and dependencies on Linux.
283282
- `devtools`: Enables devtools on release builds. Devtools are always enabled in debug builds.
284283
On **macOS**, enabling devtools, requires calling private apis so you should not enable this flag in release
285284
build if your app needs to publish to App Store.

0 commit comments

Comments
 (0)