Skip to content

Releases: tauri-apps/tao

tao v0.6.1

10 Feb 10:25
5ed41e5
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 397 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (190 crate dependencies)
\`

[0.6.1]

  • Fix global shortcut support on Linux (both x11 and wayland).

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.6.1 (/home/runner/work/tao/tao)
Uploading tao v0.6.1 (/home/runner/work/tao/tao)
\`

tao v0.6.0

05 Feb 12:38
553055f
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 395 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (160 crate dependencies)
\`

[0.6.0]

  • Update to gtk 0.15
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Emit errors when parsing an invalid accelerator from a string.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add support for more accelerator keys: , - . = ; / \ ' ` [ ] Space Tab and F13-F24
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Increased Borderless window resizing inset.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Update to 2021 edition and msrv to 1.56
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Breaking: Rename the Exit variant of ControlFlow to ExitWithCode, which holds a value to control the exit code after running. Add an Exit constant which aliases to ExitWithCode(0) instead to avoid major breakage. This shouldn't affect most existing programs.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fixes the MenuItem::Quit behavior on Windows.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add support for SPACE shortcut key on Windows.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
    • Fix redrawn event that causing infinite lopp on Linux
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix linux native menu items not working.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
    • Fix resizing undecorated window on Linux.
  • Undecorated window can be resized using touch on Linux.
  • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix focus events not firing on Linux
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add monitor selection when fullscreen on Linux and close possible way to create VideoMode on Linux since gtk doesn't acutally have such feature.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
    • Add RedrawEventsCleared and RedrawRequested on Linux
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add run_return trait on Linux
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • window.set_skip_taskbar() on Linux will now also skip the pager (Alt+Tab), this matches the behavior on Windows.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Update tray dependency version.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix deadlock when unregistering shortcut on Linux.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fire WindowEvent::Resized and WindowEvent::Moved when window is min/maximized on Linux to align with Windows behavior.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix menubar missing on borderless window.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix core-video-sys dependency.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix linking to the ColorSync framework on macOS 10.7, and in newer Rust versions.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Allow more strings to parse to keycode, for example , is now parsed as a comma.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
    • Update raw-window-handle to 0.4
  • Add raw_window_handle() implementation on linux.
  • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix click events missing whe tray has menu.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add macOS show_application() method
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add new_any_thread to Unix event loop.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Replace all of the winapi crate references with the windows crate. The generated bindings are in the webview2-com-sys crate to share types with WRY later.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Implement Clone for EventLoopWindowTarget.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Update the windows crate to 0.25.0, which comes with pre-built libraries. Tao no longer depends on webview2-com-sys to generate bindings shared with WRY.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Update the windows crate to 0.29.0.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Update the windows crate to 0.30.0. This version re-introduced a lot of new-types for things like HWND, LRESULT, WPARAM, LPARAM, etc.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Fix using WindowBuilder::with_visible and WindowBuilder::with_maximized not behaving correctly.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • On Windows, send correct position on system tray events.
    • 0dd71973 Merge next back to dev branch (#305) on 2022-02-05
  • Add support for more accelerator keys: , - . = ; / \ ' ` [ ] Space Tab and F13-F24
    • b047ae41 feat: support accelerator key strings , - . Space Tab and F13-F24 (#228) on 2021-11-15
  • Allow more strings to parse t...
Read more

tao v0.5.2

12 Aug 13:35
b42db64
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 323 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (192 crate dependencies)
\`

[0.5.2]

  • Fix missing Sync trait on EventLoopProxy. This commit also introduces crossbeam-channel crate which could also improve the performance.

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.5.2 (/home/runner/work/tao/tao)
Uploading tao v0.5.2 (/home/runner/work/tao/tao)
\`

tao v0.5.1

09 Aug 15:28
89daf45
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 322 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (192 crate dependencies)
\`

[0.5.1]

  • Remove feature flag that break doc builds
    • 324eca05 Update README.md on 2021-05-08
    • 2a90e63c publish new versions on 2021-05-08
    • eb6f4f9e Remove feature flag that breaks doc build (#178) on 2021-08-09

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.5.1 (/home/runner/work/tao/tao)
Uploading tao v0.5.1 (/home/runner/work/tao/tao)
\`

tao v0.5.0

08 Aug 23:55
28ad210
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 322 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (192 crate dependencies)
\`

[0.5.0]

  • Move global_shortcut mod to the lib root.

    • 6e72e54c refactor: move global_shortcut mod to lib roo (#145) on 2021-07-20
  • Bump gtk-rs to version 0.14. This also introduces a new feature ayatana for developers to use updated
    libayatana-appindicator since the original libappindicator is no longer maintained.

  • Remove Clipboard MenuItem on Linux since they only work on a few sepcific widget.

    • 969052ab fix(linux): remove clipboard menuitems on Linux (#150) on 2021-07-21
  • Fixes incorrect monitor size on Linux.

  • Fix no key equivalent for Accelerator for Space, Escape, Minus and Equal keycode.

    • ecd3c405 fix(accelerator): add missing KeyCode to prevent no key equivalent for Accelerator (#148) on 2021-07-20
  • Fix incorrect macOS Redo and Close Window shortcuts

    • f4d718a8 fix(macos): Fix incorrect Redo and CloseWindow accelerators (#166) on 2021-08-03
  • Images you mark as template images should consist of only black and clear colors. You can use the alpha channel in the image to adjust the opacity of black content, however.

  • 577458c4 feat(tray): Support macOS icon template (#162) on 2021-07-29

  • macOS: Add with_parent_window() on WindowBuilder.

    • 73c7aac7 feat(macOS): Allow creation of child Window (#160) on 2021-08-04
  • Removed SystemTrayExtWindows::remove(), the icon will be automatically removed when SystemTray is dropped.

    • cc9d2b17 refactor: refactor system_tray impl on windows (#153) on 2021-07-22
  • Add MenuItem::SelectAll implementation on windows.

    • 222adeb2 feat(window): add Select all native menu item (#146) on 2021-07-21
  • Add flags to support all other possible unix systems.

    • 546f51a3 Add flags to support other unix systems. (#142) on 2021-07-20
  • Fix confliction between set_skip_taksbar(true) and set_visible(false).

    • 226e6611 fix(Windows): conflict between taskbar and visible (#172) on 2021-08-06

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.5.0 (/home/runner/work/tao/tao)
Uploading tao v0.5.0 (/home/runner/work/tao/tao)
\`

tao v0.4.0

14 Jul 17:19
8a92948
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 317 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (176 crate dependencies)
\`

[0.4.0]

  • On Windows, Allow resizing of decorations: false aka borderless window.
    • f35dd03d fix(windows): fix aero-snap and resizing of borderless window, fixes #103 #104 (#110) on 2021-07-07
  • Do not close the window on CloseRequested event and let the user handle it, keeping compatibility with macOS and Windows behavior.
    • ea7330ef fix(linux): do not close window on CloseRequested event (#114) on 2021-07-05
  • On Windows, fix Aero-Snap for decorations: false aka borderless window.
    • f35dd03d fix(windows): fix aero-snap and resizing of borderless window, fixes #103 #104 (#110) on 2021-07-07
  • Implement MonitorHandle and related methods on Linux.
    • 6fcfa629 feat(linux): implement MonitorHandle and related methods (#125) on 2021-07-12
  • Add is_menu_visilbe getter on Window
  • On macOS, make sure the set_focus is triggered even if the window is not visible.
    • 3da167aa fix(macos): set_focus should be triggered even if the window isn't visible (#128) on 2021-07-14
  • Fix with_visible(bool) in WindowBuilder for macOS.
    • a0ac7075 fix(macos): Window state (visible) (#119) on 2021-07-06
  • Mark enums as #[non_exhaustive] to prevent breaking changes on enum update.
    • 9b906f50 refactor: add #[non_exhaustive] attributes to enums (#90) on 2021-07-07
  • Remove with_focus and focus field in WindowAttribute. Use set_focus instead in most cases.
    • e2399bc9 Remove with_focus and focus field in WindowAttribute (#121) on 2021-07-06
  • Revert d344825 and move set_skip_taskbar back behind a WindowExtWindows and WindowExtUnix.
    • a641d3a3 refactor: Revert d344825, move set_skip_taskbar behind platform-ext (#118) on 2021-07-06
  • SystemTray expose set_menu to update the system tray menu once created.
    • 578dd23e feat: implement set_menu for system tray (#106) on 2021-07-14
  • Only show window behaviour when it is visible. winuser::ShowWindow will show the window and make with_visible(false) obsolete.
    • ff0903f6 Only show window behaviour when it is visible (#126) on 2021-07-14
  • Add with_skip_taskbar behind WindowBuilderExtWindows and WindowBuilderExtUnix.
    • e7cdb950 feat(taskbar): add with_skip_taskbar for windows and linux (#127) on 2021-07-14

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.4.0 (/home/runner/work/tao/tao)
Uploading tao v0.4.0 (/home/runner/work/tao/tao)
\`

tao v0.3.1

23 Jun 14:11
cbd4cdb
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 307 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (175 crate dependencies)
\`

[0.3.1]

  • Add window_id to MenuEvent.
    • 96651dcc feat(menu): Add window_id to MenuEvent (#89) on 2021-06-22
  • Prevent duplicate MenuEvent on window menu in Windows.
    • 8cf4033f fix(windows): menu event (#91) on 2021-06-22

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.3.1 (/home/runner/work/tao/tao)
Uploading tao v0.3.1 (/home/runner/work/tao/tao)
\`

tao v0.3.0

21 Jun 13:19
435d17a
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 307 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (175 crate dependencies)
\`

[0.3.0]

  • Drop the event callback before exiting on macOS.
    • 52ebebbc Drop the event callback before exiting (#86) on 2021-06-18
  • Add clipboard api exposing read_text and write_text.
  • Fix LoopDestroyed to really exit the application.
    • 55e52a91 Fix LoopDestroy condition to really exit the app on 2021-06-01
  • Implement all control flow variants
    • 16e2ac06 Add change file on 2021-05-19
  • Add checks before focusing window
    • 1bd3b1c0 Add change file on 2021-05-22
  • Add is_visible getter on Window
    • c402a38b feat: Add is_visible getter to Window (#61) on 2021-05-27
  • Breaking change: New keyboard API, including Accelerator and GlobalShortcut.

WindowEvent::ModifiersChanged is emitted when a new keyboard modifier is pressed. This is your responsibility to keep a local state. When the modifier is released, ModifiersState::empty() is emitted.

WindowEvent::KeyboardInput as been refactored and is exposing the event KeyEvent.

All menus (ContextMenu and MenuBar), now includes Accelerator support on Windows, macOS and Linux.

New modules available: keyboard, accelerator and platform::global_shortcut.

Please refer to the docs and examples for more details.

  • 01fc43b0 refactor: keyboards events (#82) on 2021-06-21
  • Breaking change: New menu/tray API.

System tray now expose set_icon() to update the tray icon after initialization. The system_tray::SystemTrayBuilder has been moved to the root of the package as a module and available on Windows, Linux and macOS, only when the tray feature is enabled. Windows expose a remove() function available with SystemTrayExtWindows.

Menu builder has been rebuilt from scratch, exposing 2 different types, ContextMenu and MenuBar.

Please refer to the docs and examples for more details.

  • 7546dbd1 refactor: menu & tray (#77) on 2021-06-03
  • Fix match branch of run loop observer on iOS.
    • 4e9fede6 Add change file on 2021-05-23
    • skip_taskbar is renamed to set_skip_taskbar.
  • set_skip_taskbar is now available on Window and is no longer behind a PlatformExt.
  • set_skip_taskbar takes a boolean to either show or hide the window icon from the taskbar.
  • Add with_skip_taskbar to WindowBuilder.
  • c0aac091 add with_skip_taskbar on 2021-05-29
  • Add skip_taskbar implementation for windows
    • 83341701 feat: add skip_taskabr impl for windows (#78) on 2021-05-29

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.3.0 (/home/runner/work/tao/tao)
Uploading tao v0.3.0 (/home/runner/work/tao/tao)
\`

tao v0.2.6

17 May 13:16
afd1316
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 302 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (173 crate dependencies)
\`

[0.2.6]

  • Add is_decorated getter on Window
  • Add is_resizable getter on Window
  • Fix panic from borrowing in event loop on linux.
    • 12d7ccbc Fix event loop on linux on 2021-05-17
  • Implement set_focus() and with_focus() for macOS, Windows and Linux.
    • 448e4c17 Add change file on 2021-05-07

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.2.6 (/home/runner/work/tao/tao)
Uploading tao v0.2.6 (/home/runner/work/tao/tao)
\`

tao v0.2.5

17 May 10:16
70ad91a
Compare
Choose a tag to compare

Updating crates.io index

Cargo Audit

\`
Fetching advisory database from https://github.com/RustSec/advisory-db.git
Loaded 302 security advisories (from /home/runner/.cargo/advisory-db)
Updating crates.io index
Scanning Cargo.lock for vulnerabilities (173 crate dependencies)
\`

[0.2.5]

  • Fix Priority import on Linux.
    • 20128896 Add change file on 2021-05-17

Cargo Publish

\`
Updating crates.io index
Packaging tao v0.2.5 (/home/runner/work/tao/tao)
Uploading tao v0.2.5 (/home/runner/work/tao/tao)
\`