Releases: tauri-apps/tao
tao v0.15.2
Updating crates.io index
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 469 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (187 crate dependencies)
[0.15.2]
- On Windows, fix compliation regression introduced in 0.15.1 when
tray
feature is active
Cargo Publish
`\`\`
Updating crates.io index
Packaging tao v0.15.2 (/home/runner/work/tao/tao)
Uploading tao v0.15.2 (/home/runner/work/tao/tao)
tao v0.15.1
Updating crates.io index
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 469 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (187 crate dependencies)
[0.15.1]
- On Windows, fix window always visible initially.
- ae06c3e2 fix(Windows): fix windows always visible initially on 2022-11-08
Cargo Publish
`\`\`
Updating crates.io index
Packaging tao v0.15.1 (/home/runner/work/tao/tao)
Uploading tao v0.15.1 (/home/runner/work/tao/tao)
tao v0.15.0
Updating crates.io index
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 469 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (187 crate dependencies)
[0.15.0]
- Add support for parsing
ArrowUp
,ArrowDown
,ArrowLeft
andArrowRight
in a str as valid key. Previously onlyUp
,Down
,Left
andRight
worked. - Add
WindowBuilder::with_content_protection
. - On macOS, fix default cursor always being arrow cursor
- On Windows, fixed focus event emission on minimize.
- Update jni to 0.20.
- On Linux, add DeviceEvent::Key.
- fix(linux): Improve event loop process on Linux a bit. This changes only a few check and should make dragging windows on egui smoother.
- Fix inverted delta in
WindowEvent::MouseWheel
on Linux - Add
EventLoopExtMacOS::set_activate_ignoring_other_apps
on macOS. - Add
WindowExtMacOS::set_allows_automatic_window_tabbing
,WindowExtMacOS::allows_automatic_window_tabbing
, andWindowBuilderExtMacOS::with_automatic_window_tabbing
on macOS. - Support cross compiling for macos from a non macos host.
- Add
WindowExtMacOS::is_doucmented_edited
andWindowExtMacOS::set_is_doucmented_edited
on macOS. - On macOS, scale menu item icons height to 18.
- Add support for the "+" key in menu accelerators using
KeyCode::Plus
or the "Plus" keyword.
See documentation forKeyCode::Plus
for notes on platform-dependent behaviour. - Add the application name to the "Quit" and "Hide" native menu items on macOS.
- Fix the native Services menu on macOS.
- Scale the tray icon according to its aspect ratio on macOS.
- Add builder methods on Linux to control the drawing behavior of the window.
WindowBuilderExtUnix::with_double_buffered
,WindowBuilderExtUnix::with_rgba_visual
andWindowBuilderExtUnix::with_app_paintable
- On Windows, show Window menu (also known as the System menu or Control menu) in response to Alt+Space.
- On Windows, fix icons specified on
WindowBuilder
not taking effect for windows created after the firt one. - Added tabbing identifier APIs on macOS.
- On Linux, reduce channel redirect. Now sending user events and redraw request will send to event loops directly.
- Add
WindowBuilder::with_focused
to specify whether to initially focus the window or not. - Add APIs for disabling the individual window controls on desktop platforms,
Window::set_closable
,Window::is_closable
,WindowBuilder::with_closable
,Window::set_minimizable
,Window::is_minimizable
,WindowBuilder::with_minimizable
,Window::set_maximizable
,Window::is_maximizable
,WindowBuilder::with_maximizable
. See the docs for platform-specific notes, especially regarding Linux. - Add
Window::title
to get the current window title. - Default to MOD_NOREPEAT for registering global shortcuts / hotkeys via win32 RegisterHotKey on Windows. This prevents shortcuts from repeatedly activating when the accelerator is pressed and held down, and ensures that we maintain platform-agnostic consistency.
Cargo Publish
`\`\`
Updating crates.io index
Packaging tao v0.15.0 (/home/runner/work/tao/tao)
Uploading tao v0.15.0 (/home/runner/work/tao/tao)
tao v0.14.0
Updating crates.io index
Cargo Audit
Fetching advisory database from `https://github.com/RustSec/advisory-db.git`
Loaded 457 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (183 crate dependencies)
[0.14.0]
- Implement "always on bottom" as contrary to "always on top".
- Fix calling android functions when package name contained escaped underscore.
- Add
Window::set_content_protection
for macOS and Windows. -
- Add DeviceEventFilter on Windows.
- Breaking: On Windows, device events are now ignored for unfocused windows by default, use
EventLoopWindowTarget::set_device_event_filter
to set the filter level. - 5bbd4f8f Add DeviceEventFilter on Windows (#465) on 2022-08-17
- Fix system tray creation after event loop starts on macOS.
- Fix resize doesn't work when calling with resizable. Also add platform specific note to
set_resizable
.
On Linux, most size methods like maximized are async and do not work well with calling
sequentailly. For setting inner or outer size, you don't need to set resizable to true before
it. It can resize no matter what. But if you insist to do so, it has a100, 100
minimum
limitation somehow. For maximizing, it requires resizable is true. If you really want to set
resizable to false after it. You might need a mechanism to check the window is really
maximized. - Add
Window::is_focused
. - On Linux, fix global shortcut are never triggered when a Lock key is ON, eg. NumLock, CapsLock.
- Disables the global shortcut manager on wayland as its X11-specific.
- Added
SystemTrayExtMacOS::set_title
toSystemTray
andSystemTrayBuilderExtMacOS::with_title
to set the tray icon title on MacOS - Update
windows-rs
to the latest 0.39.0 release.
The alloc
feature has been removed, which means it no longer accepts Rust String
or &str
parameters and implicitly converts them to PWSTR
or PSTR
.
For string literals, that feature was replaced with s!()
and w!()
macros which null terminate the string literal at compile time and convert to UTF-16 if necessary. The s!()
macro is fine, however the w!()
macro uses HSTRING
types from WinRT for maximum compatibility with WinRT types. Since Tao only uses Win32 APIs, this change relies on util::encode_wide
to convert to a Vec<u16>
instead.
Cargo Publish
`\`\`
Updating crates.io index
Packaging tao v0.14.0 (/home/runner/work/tao/tao)
Uploading tao v0.14.0 (/home/runner/work/tao/tao)
tao v0.13.3
Updating crates.io index
Cargo Audit
\
`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 440 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (186 crate dependencies)
\
`
[0.13.3]
- Implement custom protocol on Android.
- Changed
WebViewMessage::Eval
to evaluate an specific script. - Fix webview initialization scripts implementation on Android.
- Removed the webview logic from the Android glue.
- Implement
SystemTray::set_tooltip
andSystemTrayBuilder::with_tooltip
on Windows.
Cargo Publish
\
`
Updating crates.io index
Packaging tao v0.13.3 (/home/runner/work/tao/tao)
Uploading tao v0.13.3 (/home/runner/work/tao/tao)
\
`
tao v0.13.2
Updating crates.io index
Cargo Audit
\
`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 436 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (186 crate dependencies)
\
`
[0.13.2]
- Remove the NSStatusItem from the menu bar when the
SystemTray
instance is dropped. - Fixes
Window::is_decorated
always returningtrue
on macOS. - Fix theme feature to support Darker theme on Linux.
- Add
Window::is_minimized()
. - Implement
SystemTrayBuilder::with_tooltip
andSystemTray::set_tooltip
on macOS. - On Windows, fix a ghost window appearing occasionally when clicking the tray icon.
- Added
SystemTrayBuilder::with_id
and theid
field toEvent::TrayEvent
for better multitray support. - Hide the app indicator when dropping
SystemTray
on Linux
Cargo Publish
\
`
Updating crates.io index
Packaging tao v0.13.2 (/home/runner/work/tao/tao)
Uploading tao v0.13.2 (/home/runner/work/tao/tao)
\
`
tao v0.13.1
Updating crates.io index
Cargo Audit
\
`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 422 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (186 crate dependencies)
\
`
[0.13.1]
- On Linux, fix Window can't be displayed on wayland.
Cargo Publish
\
`
Updating crates.io index
Packaging tao v0.13.1 (/home/runner/work/tao/tao)
Uploading tao v0.13.1 (/home/runner/work/tao/tao)
\
`
tao v0.13.0
Updating crates.io index
Cargo Audit
\
`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 422 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (186 crate dependencies)
\
`
[0.13.0]
- On Linux, receive only one draw event per cycle to prevent receiving infinite draw events.
-
- On Linux, add
EventLoopWindowTargetExtUnix
for methods to determine if the backend is x11 or wayland.
- On Linux, add
- On Linux, add
x11
module for glutin internal use. This is basically just x11-dl, but winit secretly exports it. - On Linux, add
WindowBuilder::with_transparent_draw
to disable the internal draw for transparent window and allows users to draw it manually. - db7e5cb4 feat(linux): Add necessary features for creating GL windows (#495) on 2022-07-25
- Breaking Updated
raw-window-handle
to0.5
and addedWindow::raw_display_handle
andEventLoopWindowTarget::raw_display_handle
. - On Windows, respect min/max inner sizes when creating the window.
Cargo Publish
\
`
Updating crates.io index
Packaging tao v0.13.0 (/home/runner/work/tao/tao)
Uploading tao v0.13.0 (/home/runner/work/tao/tao)
\
`
tao v0.12.2
Updating crates.io index
Cargo Audit
\
`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 421 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (186 crate dependencies)
\
`
[0.12.2]
- On Windows, fix assigning the wrong mintor rect to undecorated maximized window. This caused a blank window downstream in wry and tauri.
- Fixed set_inner_size is reset when resizable is set to false.
- On Windows, prevent ghost window from showing up in the taskbar after either several hours of use or restarting
explorer.exe
. - Add theme feature on Linux.
- Fix maximizing window on Linux.
- On macOS, fallback resize event for NSWindow to handle.
- ab2e57e9 On macOS, fallback resize event for NSWindow to handle on 2022-07-12
- Add
CustomMenuItem::set_icon
. Only implemented on macOS for now. - On Windows, subscribe to taskbar restart event and re-add the system tray icon.
Also skip the window from the taskbar if it was already skipped. - On Windows, fix focus events being sent to inactive windows.
Cargo Publish
\
`
Updating crates.io index
Packaging tao v0.12.2 (/home/runner/work/tao/tao)
Uploading tao v0.12.2 (/home/runner/work/tao/tao)
\
`
tao v0.12.1
Updating crates.io index
Cargo Audit
\
`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 419 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (181 crate dependencies)
\
`
[0.12.1]
- Revert #427 due to random crash caused by it.
Cargo Publish
\
`
Updating crates.io index
Packaging tao v0.12.1 (/home/runner/work/tao/tao)
Uploading tao v0.12.1 (/home/runner/work/tao/tao)
\
`