Skip to content

Commit

Permalink
Revert "Publish New Versions (#777)" (#779)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
lucasfernog and github-actions[bot] authored Aug 11, 2023
1 parent 50c46b6 commit 448ec06
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changes/jni-0.21.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tao": minor
---

Update jni to 0.21.
13 changes: 13 additions & 0 deletions .changes/removed-feats.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
"tao": "minor"
---

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`
13 changes: 0 additions & 13 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,5 @@
# 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.22.0"
version = "0.21.1"
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

0 comments on commit 448ec06

Please sign in to comment.