Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publish New Versions #781

Merged
merged 1 commit into from
Aug 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changes/jni-0.21.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changes/macro-lifetime-support.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changes/removed-feats.md

This file was deleted.

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

## \[0.22.0]

- [`06b617ea`](https://github.com/tauri-apps/tao/commit/06b617eaa2cea7039e9b71b8322b517486e3b1e5)([#776](https://github.com/tauri-apps/tao/pull/776)) Update jni to 0.21.
- [`d0b20c94`](https://github.com/tauri-apps/tao/commit/d0b20c94eaf555ba27f3cfbbf2636e3f3b036a97)([#778](https://github.com/tauri-apps/tao/pull/778)) This release contains a number of **breaking changes** that aimed at removing menus, system-tray and global-shortcuts features which have been moved to different crates, [`muda`](https://github.com/tauri-apps/muda/), [`tray-icon`](https://github.com/tauri-apps/tray-icon/) and [`global-hotkey`](https://github.com/tauri-apps/global-hotkey) and here is a summary of the changes:

- Removed `tray` crago feature flag.
- Removed `accelerator`, `menu`, `system_tray` and `global_shortcut` modules and all associated types.
- Removed `Event::MenuEvent`, `Event::TrayEvent`, `Event::GlobalShortcutEvent`, `TrayEvent` and `Rectangle` types.
- Added `EventLoopBuilder` type.
- Removed `EventLoop::with_user_event`, instead use `EventLoopBuilder::<T>::with_user_event().build()`.
- Removed `EventLoopExtWindows`, `EventLoopExtMacOS` and `EventLoopExtUnix`, instead use `EventLoopBuilderExtWindows`, `EventLoopBuilderExtMacOS` and `EventLoopBuilderExtUnix`.
- Changed `WindowExtWindows::hinstance`, `WindowExtWindows::hwnd` and `MonitorHandleExtWindow::hmonitor` to return `isize` instead of `*const c_void`

## \[0.21.1]

- [`9a320882`](https://github.com/tauri-apps/tao/commit/9a320882ed824d18f9e20f8a9af7a97f51805c87)([#761](https://github.com/tauri-apps/tao/pull/761)) On Android, use a lockfree queue (crossbeam channel) to prevent deadlocks inside send_event.
Expand Down
20 changes: 10 additions & 10 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[package]
name = "tao"
version = "0.21.1"
version = "0.22.0"
description = "Cross-platform window manager library."
authors = [
"Tauri Programme within The Commons Conservancy",
"The winit contributors",
"The winit contributors"
]
edition = "2021"
rust-version = "1.56"
Expand All @@ -13,25 +13,25 @@ license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/tauri-apps/tao"
documentation = "https://docs.rs/tao"
categories = ["gui"]
categories = [ "gui" ]

[package.metadata.docs.rs]
features = ["serde", "dox"]
features = [ "serde", "dox" ]
default-target = "x86_64-unknown-linux-gnu"
targets = [
"i686-pc-windows-msvc",
"x86_64-pc-windows-msvc",
"i686-unknown-linux-gnu",
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-apple-darwin"
]

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

[features]
default = []
dox = ["gtk/dox"]
default = [ ]
dox = [ "gtk/dox" ]

[build-dependencies]
cc = "1"
Expand All @@ -41,7 +41,7 @@ instant = "0.1"
lazy_static = "1"
libc = "0.2"
log = "0.4"
serde = { version = "1", optional = true, features = ["serde_derive"] }
serde = { version = "1", optional = true, features = [ "serde_derive" ] }
raw-window-handle = "0.5"
bitflags = "1"
crossbeam-channel = "0.5"
Expand Down Expand Up @@ -104,7 +104,7 @@ windows-implement = "0.48.0"
"Win32_UI_Input_Touch",
"Win32_UI_Shell",
"Win32_UI_TextServices",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_WindowsAndMessaging"
]

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
Expand Down
4 changes: 4 additions & 0 deletions tao-macros/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## \[0.1.2]

- [`b7758314`](https://github.com/tauri-apps/tao/commit/b7758314abf8c6916c865d9b31eea5bd17b2fe16)([#780](https://github.com/tauri-apps/tao/pull/780)) Added support to lifetime parameters on `android_fn`.

## \[0.1.1]

- Fix passing empty array for args in `android_fn!` macro
Expand Down
2 changes: 1 addition & 1 deletion tao-macros/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "tao-macros"
description = "Proc macros for tao"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
authors = [ "Tauri Programme within The Commons Conservancy" ]
rust-version = "1.56"
Expand Down
Loading