From 4b699e873e650e9ca83d01080f87f7ab29160999 Mon Sep 17 00:00:00 2001 From: wusyong Date: Sat, 5 Feb 2022 13:05:01 +0000 Subject: [PATCH] publish new versions --- .changes/15.md | 5 --- .changes/clipboard.md | 6 --- .changes/fix-windows7-runtime.md | 5 --- .changes/linux-clipboard.md | 5 --- .changes/linux-cookie-storage.md | 5 --- .changes/mac-exception.md | 6 --- .changes/mac-inner-size.md | 5 --- .changes/mac-priv.md | 6 --- .changes/mac-webcontext.md | 6 --- .changes/remove-shared-mod.md | 6 --- .changes/resizing-undecorated-window-touch.md | 6 --- .changes/webkit2gtk.md | 6 --- .changes/webview-user-agent.md | 4 -- .changes/webview2-com.md | 5 --- .changes/webview2-null.md | 6 --- .changes/windows-0.25.0.md | 5 --- .changes/windows-0.29.0.md | 5 --- .changes/windows-0.30.0.md | 5 --- CHANGELOG.md | 42 +++++++++++++++++++ Cargo.toml | 12 +++--- 20 files changed, 48 insertions(+), 103 deletions(-) delete mode 100644 .changes/15.md delete mode 100644 .changes/clipboard.md delete mode 100644 .changes/fix-windows7-runtime.md delete mode 100644 .changes/linux-clipboard.md delete mode 100644 .changes/linux-cookie-storage.md delete mode 100644 .changes/mac-exception.md delete mode 100644 .changes/mac-inner-size.md delete mode 100644 .changes/mac-priv.md delete mode 100644 .changes/mac-webcontext.md delete mode 100644 .changes/remove-shared-mod.md delete mode 100644 .changes/resizing-undecorated-window-touch.md delete mode 100644 .changes/webkit2gtk.md delete mode 100644 .changes/webview-user-agent.md delete mode 100644 .changes/webview2-com.md delete mode 100644 .changes/webview2-null.md delete mode 100644 .changes/windows-0.25.0.md delete mode 100644 .changes/windows-0.29.0.md delete mode 100644 .changes/windows-0.30.0.md diff --git a/.changes/15.md b/.changes/15.md deleted file mode 100644 index deb28552b..000000000 --- a/.changes/15.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": minor ---- - -Update gtk to 0.15 diff --git a/.changes/clipboard.md b/.changes/clipboard.md deleted file mode 100644 index 7471ebb46..000000000 --- a/.changes/clipboard.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -Add clipboard field in WebViewAttributes. - diff --git a/.changes/fix-windows7-runtime.md b/.changes/fix-windows7-runtime.md deleted file mode 100644 index 2e39a9571..000000000 --- a/.changes/fix-windows7-runtime.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Ignore transparency on Windows 7 to prevent application crash. diff --git a/.changes/linux-clipboard.md b/.changes/linux-clipboard.md deleted file mode 100644 index 966418a94..000000000 --- a/.changes/linux-clipboard.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Remove clipboard property for consistency across platforms. diff --git a/.changes/linux-cookie-storage.md b/.changes/linux-cookie-storage.md deleted file mode 100644 index f45a207be..000000000 --- a/.changes/linux-cookie-storage.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Enable cookie persistence on Linux if the `data_directory` is provided. diff --git a/.changes/mac-exception.md b/.changes/mac-exception.md deleted file mode 100644 index 23ea412c1..000000000 --- a/.changes/mac-exception.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -Enable objc's exception features so they can be treated as panic message. - diff --git a/.changes/mac-inner-size.md b/.changes/mac-inner-size.md deleted file mode 100644 index a22e11127..000000000 --- a/.changes/mac-inner-size.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Add inner size method for webview. This can reflect correct size of webview on macOS. diff --git a/.changes/mac-priv.md b/.changes/mac-priv.md deleted file mode 100644 index c9b10dccd..000000000 --- a/.changes/mac-priv.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -Add "transparent" and "fullscreen" featrue flags on macOS to toggle private API. - diff --git a/.changes/mac-webcontext.md b/.changes/mac-webcontext.md deleted file mode 100644 index 920d43f57..000000000 --- a/.changes/mac-webcontext.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -Implement WebContextImpl on mac to extend several callback lifetimes. - diff --git a/.changes/remove-shared-mod.md b/.changes/remove-shared-mod.md deleted file mode 100644 index 73702159a..000000000 --- a/.changes/remove-shared-mod.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -The only thing that private mod shared does is re-export http mod to public, -we can just pub mod http. diff --git a/.changes/resizing-undecorated-window-touch.md b/.changes/resizing-undecorated-window-touch.md deleted file mode 100644 index 660fcd026..000000000 --- a/.changes/resizing-undecorated-window-touch.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -* Fix hovering over an edge of undecorated window on Linux won't change cursor. -* Undecorated window can be resized using touch on Linux. \ No newline at end of file diff --git a/.changes/webkit2gtk.md b/.changes/webkit2gtk.md deleted file mode 100644 index d5bb720e8..000000000 --- a/.changes/webkit2gtk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -Update webkit2gtk to 0.15 - diff --git a/.changes/webview-user-agent.md b/.changes/webview-user-agent.md deleted file mode 100644 index 95119f6fa..000000000 --- a/.changes/webview-user-agent.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -"wry": minor ---- -Add `with_user_agent(&str)` to `WebViewBuilder`. diff --git a/.changes/webview2-com.md b/.changes/webview2-com.md deleted file mode 100644 index 87175648b..000000000 --- a/.changes/webview2-com.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Replace all of the `winapi` crate references with the `windows` crate, and replace `webview2` and `webview2-sys` with `webview2-com` and `webview2-com-sys` built with the `windows` crate. The replacement bindings are in the `webview2-com-sys` crate, with `pub use` in the `webview2-com` crate. They can be shared with TAO. \ No newline at end of file diff --git a/.changes/webview2-null.md b/.changes/webview2-null.md deleted file mode 100644 index 1296c7a98..000000000 --- a/.changes/webview2-null.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"wry": patch ---- - -Fix null pointer crash on `get_content` of web resource request. This is a temporary fix. -We will switch it back once upstream is updated. \ No newline at end of file diff --git a/.changes/windows-0.25.0.md b/.changes/windows-0.25.0.md deleted file mode 100644 index 9bbc76243..000000000 --- a/.changes/windows-0.25.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Update the `windows` crate to 0.25.0, which comes with pre-built libraries. WRY and Tao can both reference the same types directly from the `windows` crate instead of sharing bindings in `webview2-com-sys`. \ No newline at end of file diff --git a/.changes/windows-0.29.0.md b/.changes/windows-0.29.0.md deleted file mode 100644 index 0ebc29837..000000000 --- a/.changes/windows-0.29.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Update the `windows` crate to 0.29.0 and `webview2-com` to 0.9.0. \ No newline at end of file diff --git a/.changes/windows-0.30.0.md b/.changes/windows-0.30.0.md deleted file mode 100644 index df73b3664..000000000 --- a/.changes/windows-0.30.0.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"wry": patch ---- - -Update the `windows` crate to 0.30.0 and `webview2-com` to 0.10.0. \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ebfeef652..32ef5f233 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,47 @@ # Changelog +## \[0.13.0] + +- Update gtk to 0.15 + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Add clipboard field in WebViewAttributes. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Ignore transparency on Windows 7 to prevent application crash. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Remove clipboard property for consistency across platforms. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Enable cookie persistence on Linux if the `data_directory` is provided. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Enable objc's exception features so they can be treated as panic message. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Add inner size method for webview. This can reflect correct size of webview on macOS. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Add "transparent" and "fullscreen" featrue flags on macOS to toggle private API. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Implement WebContextImpl on mac to extend several callback lifetimes. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- The only thing that private mod shared does is re-export http mod to public, + we can just pub mod http. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- - Fix hovering over an edge of undecorated window on Linux won't change cursor. +- Undecorated window can be resized using touch on Linux. +- [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Update webkit2gtk to 0.15 + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Add `with_user_agent(&str)` to `WebViewBuilder`. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Replace all of the `winapi` crate references with the `windows` crate, and replace `webview2` and `webview2-sys` with `webview2-com` and `webview2-com-sys` built with the `windows` crate. The replacement bindings are in the `webview2-com-sys` crate, with `pub use` in the `webview2-com` crate. They can be shared with TAO. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Fix null pointer crash on `get_content` of web resource request. This is a temporary fix. + We will switch it back once upstream is updated. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Update the `windows` crate to 0.25.0, which comes with pre-built libraries. WRY and Tao can both reference the same types directly from the `windows` crate instead of sharing bindings in `webview2-com-sys`. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Update the `windows` crate to 0.29.0 and `webview2-com` to 0.9.0. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 +- Update the `windows` crate to 0.30.0 and `webview2-com` to 0.10.0. + - [219d20c](https://github.com/tauri-apps/wry/commit/219d20ce66a6bdf6c3e1af6156c9f2a74f2eed29) Merge next back to dev branch ([#477](https://github.com/tauri-apps/wry/pull/477)) on 2022-02-05 + ## \[0.12.2] - Fixed a Linux multi-window issue where the internal url loader didn't unlock when flushed while empty diff --git a/Cargo.toml b/Cargo.toml index 482ea852e..157356c96 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ workspace = { } [package] name = "wry" -version = "0.12.2" +version = "0.13.0" authors = [ "Tauri Programme within The Commons Conservancy" ] edition = "2021" license = "Apache-2.0 OR MIT" @@ -60,9 +60,9 @@ webview2-com = "0.10.0" windows_macros = "0.30.0" sys-info = "0.9" -[target."cfg(target_os = \"windows\")".dependencies.windows] -version = "0.30.0" -features = [ + [target."cfg(target_os = \"windows\")".dependencies.windows] + version = "0.30.0" + features = [ "alloc", "Win32_Foundation", "Win32_Graphics_Gdi", @@ -71,11 +71,11 @@ features = [ "Win32_System_Ole", "Win32_System_SystemServices", "Win32_UI_Shell", - "Win32_UI_WindowsAndMessaging", + "Win32_UI_WindowsAndMessaging" ] [target."cfg(any(target_os = \"ios\", target_os = \"macos\"))".dependencies] cocoa = "0.24" core-graphics = "0.22" -objc = { version = "0.2", features = ["exception"] } +objc = { version = "0.2", features = [ "exception" ] } objc_id = "0.1"