Skip to content

Commit

Permalink
publish new versions (#823)
Browse files Browse the repository at this point in the history
Co-authored-by: wusyong <[email protected]>
  • Loading branch information
github-actions[bot] and wusyong authored Nov 20, 2023
1 parent 69317ca commit 397b70f
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 50 deletions.
8 changes: 0 additions & 8 deletions .changes/android_macros.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/drag_resize_window.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/linux-primary-monitor.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changes/mac-destroy.md

This file was deleted.

9 changes: 0 additions & 9 deletions .changes/rwh-06.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/windows-themes.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/windows-ws-clipchildren.md

This file was deleted.

17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Changelog

## \[0.24.0]

- [`43c94f0b`](https://github.com/tauri-apps/tao/commit/43c94f0b2021d3831846c53bfd268cdda2c87b51)([#830](https://github.com/tauri-apps/tao/pull/830)) This patch contains a couple of changes to how the anroid macros:

- Changed `android_binding` macro 4th argument signature, which is a setup function that is called once when the event loop is first created, from `unsafe fn(JNIEnv, &ForeignLooper, GlobalRef)` to `unsafe fn(&str, JNIEnv, &ForeignLooper, GlobalRef)`.
- Moved `android_fn!` and `generate_package_name` macro from crate root `platform::android::prelude`
- [`f497b5dc`](https://github.com/tauri-apps/tao/commit/f497b5dc828c202376f37ed835d5fd48b1a93530)([#829](https://github.com/tauri-apps/tao/pull/829)) Add `Window::drag_resize_window` and `ResizeDirection` enum to initialize window resizing. Supported on Windows and Linux only.
- [`28b53f80`](https://github.com/tauri-apps/tao/commit/28b53f80c49bbf2ae8902b98a2e28f6451a5a8f1)([#705](https://github.com/tauri-apps/tao/pull/705)) Fix `Window::primary_monitor` panicking on Linux when there is no primary monitor, e.g. with Wayland.
- [`e33104c2`](https://github.com/tauri-apps/tao/commit/e33104c2cf06fd1fcabba89332a48a06b975929e)([#831](https://github.com/tauri-apps/tao/pull/831)) On macOS, fix `WindowEvent::Destroyed` may fire twice.
- [`853101be`](https://github.com/tauri-apps/tao/commit/853101bea465098e56756aa700c4d50f503ee95a)([#821](https://github.com/tauri-apps/tao/pull/821)) This release includes an update to `raw-window-handle` crate to `0.6` but will also provide a feature flags to select which `raw-window-handle` to use:

- `rwh_06` (default): `[email protected]`
- ` rwh_05: `[email protected]\`
- ` rwh_04: `[email protected]\`
- [`fce9d260`](https://github.com/tauri-apps/tao/commit/fce9d2603e55f2b37ff69acfbbd484de6298351e)([#844](https://github.com/tauri-apps/tao/pull/844)) On Windows, fix `WindowBuilder::with_theme` has no effect when forcing light theme on a dark mode system.
- [`c0278d83`](https://github.com/tauri-apps/tao/commit/c0278d83f93d8ee18d1e9eeee88e71d84c12357a)([#839](https://github.com/tauri-apps/tao/pull/839)) On Windows, remove `WS_CLIPCHILDREN` from window style

## \[0.23.0]

- [`cf22c902`](https://github.com/tauri-apps/tao/commit/cf22c902d4c961be0f6cfba6a8c865e11073b027)([#85](https://github.com/tauri-apps/tao/pull/85)) **Breaking change**: Removed clipboard implementation. Use `arboard` crate instead.
Expand Down
14 changes: 7 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tao"
version = "0.23.0"
version = "0.24.0"
description = "Cross-platform window manager library."
authors = [
"Tauri Programme within The Commons Conservancy",
Expand All @@ -15,11 +15,8 @@ repository = "https://github.com/tauri-apps/tao"
documentation = "https://docs.rs/tao"
categories = [ "gui" ]

[features]
default = ["rwh_06"]

[package.metadata.docs.rs]
features = ["rwh_04", "rwh_05", "rwh_06", "serde"]
features = [ "rwh_04", "rwh_05", "rwh_06", "serde" ]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"i686-pc-windows-msvc",
Expand All @@ -29,6 +26,9 @@ targets = [
"x86_64-apple-darwin"
]

[features]
default = [ "rwh_06" ]

[workspace]
members = [ "tao-macros" ]

Expand All @@ -42,8 +42,8 @@ libc = "0.2"
log = "0.4"
serde = { version = "1", optional = true, features = [ "serde_derive" ] }
rwh_04 = { package = "raw-window-handle", version = "0.4", optional = true }
rwh_05 = { package = "raw-window-handle", version = "0.5", features = ["std"], optional = true }
rwh_06 = { package = "raw-window-handle", version = "0.6", features = ["std"], optional = true }
rwh_05 = { package = "raw-window-handle", version = "0.5", features = [ "std" ], optional = true }
rwh_06 = { package = "raw-window-handle", version = "0.6", features = [ "std" ], optional = true }
bitflags = "1"
crossbeam-channel = "0.5"
url = "2"
Expand Down

0 comments on commit 397b70f

Please sign in to comment.