Skip to content

Releases: tauri-apps/tao

tao v0.15.2

08 Nov 23:18
a6c098a
Compare
Choose a tag to compare

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
    • 081664dc fix(Windows): fix build regression when tray feature is used (#618) on 2022-11-09

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

08 Nov 21:55
c37bc7d
Compare
Choose a tag to compare

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

08 Nov 10:50
091ca47
Compare
Choose a tag to compare

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 and ArrowRight in a str as valid key. Previously only Up, Down, Left and Right worked.
    • 5e85dbef fix: parse Arrow* in a accelerator string (#609) on 2022-10-31
  • Add WindowBuilder::with_content_protection.
    • 8084c800 feat: add WindowBuilder::with_content_protection (#605) on 2022-10-30
  • On macOS, fix default cursor always being arrow cursor
    • 1359fccf On macOS, fix default cursor always being arrow cursor (#614) on 2022-11-06
  • On Windows, fixed focus event emission on minimize.
    • 37bca310 fix(windows): fix focus event emission on minimize (#559) on 2022-09-21
  • Update jni to 0.20.
    • 38fef108 feat(android): update to jni 0.20 (#610) on 2022-10-31
  • On Linux, add DeviceEvent::Key.
    • 775974d7 feat(linux): add DeviceEvent::Key (#600) on 2022-10-21
  • fix(linux): Improve event loop process on Linux a bit. This changes only a few check and should make dragging windows on egui smoother.
    • b529eec9 fix(linux): improve event loop process on Linux (#587) on 2022-10-12
  • Fix inverted delta in WindowEvent::MouseWheel on Linux
    • 8451f754 fix: Inverse mouse scroll wheel on Linux (#585) on 2022-10-11
  • Add EventLoopExtMacOS::set_activate_ignoring_other_apps on macOS.
    • d2c6a91c feat: add EventLoopExtMacOS::set_activate_ignoring_other_apps (#612) on 2022-11-01
  • Add WindowExtMacOS::set_allows_automatic_window_tabbing, WindowExtMacOS::allows_automatic_window_tabbing, and WindowBuilderExtMacOS::with_automatic_window_tabbing on macOS.
    • 7c7ce8ab feat(macos): add allows_automatic_window_tabbing APIs (#586) on 2022-10-12
  • Support cross compiling for macos from a non macos host.
  • Add WindowExtMacOS::is_doucmented_edited and WindowExtMacOS::set_is_doucmented_edited on macOS.
    • 33fdeab6 feat(macos): add document edited apis, closes #268 (#287) on 2022-10-03
  • On macOS, scale menu item icons height to 18.
    • 5e3d344c fix(macos): scale menu item icon height to 18, closes #584 (#590) on 2022-10-15
  • Add support for the "+" key in menu accelerators using KeyCode::Plus or the "Plus" keyword.
    See documentation for KeyCode::Plus for notes on platform-dependent behaviour.
    • 937aba7b feat(menus): add support for Plus key in accelerators, closes #227 (#573) on 2022-09-27
  • Add the application name to the "Quit" and "Hide" native menu items on macOS.
    • 65f768e5 fix(menus): add app name to native Quit and Hide items on macOS, closes #536 (#570) on 2022-09-25
  • Fix the native Services menu on macOS.
    • d343abf8 fix(menus): fix macOS Services menu not working, closes #243 (#569) on 2022-09-25
  • Scale the tray icon according to its aspect ratio on macOS.
    • dbbfd97c feat(macos): support to change tray icon aspect ratio, close #564 (#565) on 2022-09-25
  • Add builder methods on Linux to control the drawing behavior of the window. WindowBuilderExtUnix::with_double_buffered, WindowBuilderExtUnix::with_rgba_visual and WindowBuilderExtUnix::with_app_paintable
    • 0637c605 feat(linux): add drawing behavior builder methods, closes #567 (#572) on 2022-09-27
  • On Windows, show Window menu (also known as the System menu or Control menu) in response to Alt+Space.
    • 0d76094e fix(Windows): show window menu on alt+space, closes 547 (#593) on 2022-10-19
  • On Windows, fix icons specified on WindowBuilder not taking effect for windows created after the firt one.
    • d72b1e1a fix(Windows): fix icons specified on WindowBuilder not taking effect for windows created after the first one (#604) on 2022-10-27
  • Added tabbing identifier APIs on macOS.
    • 8815291e feat(macos): add tabbing identifier APIs (#592) on 2022-10-18
  • On Linux, reduce channel redirect. Now sending user events and redraw request will send to event loops directly.
    • dd86a9eb refactor(linux): reduce channel redirect (#588) on 2022-10-16
  • Add WindowBuilder::with_focused to specify whether to initially focus the window or not.
    • e42ff071 feat: add WindowBuilder::with_focused (#576) on 2022-10-03
  • 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.
    • a50fd867 feat: options to disable individual window controls, closes #116 (#574) on 2022-10-11
  • 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.
    • d15a756c Prevent global shortcut activation from repeating on Windows (#602) on 2022-10-23

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

13 Sep 12:57
24222d8
Compare
Choose a tag to compare

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.
    • 6d8cc7e3 fix(android): unescape escaped underscore in package name (#531) on 2022-08-16
  • Add Window::set_content_protection for macOS and Windows.
    • 802146fb feat: implement set_content_protection, closes #550 (#551) on 2022-09-04
    • 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.
    • 759b7db3 fix(macos): retain tray to prevent segfault when event loop is running (#539) on 2022-08-20
  • 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 a 100, 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.
    • 4524d5d3 fix(Linux): resize doesn't work when calling with resizable, fix #545 (#553) on 2022-09-08
  • Add Window::is_focused.
  • On Linux, fix global shortcut are never triggered when a Lock key is ON, eg. NumLock, CapsLock.
    • 07e3c1f5 fix(linux/globalShorcut): extract needed mods from event state, closes #307, closes #537 (#538) on 2022-08-19
    • 871ad037 chore: remove changefile, bug still exists on 2022-08-20
    • 7e5556e0 fix(linux/globalShortcut): grab the shortcut with extra mods, closes #307 (#540) on 2022-08-20
  • Disables the global shortcut manager on wayland as its X11-specific.
    • 27ab6f4d fix(linux/globalShortcut): disable on wayland (#543) on 2022-08-26
  • Added SystemTrayExtMacOS::set_title to SystemTray and SystemTrayBuilderExtMacOS::with_title to set the tray icon title on MacOS
    • 972307dd feat: added text support to system tray for macos, closes #65 (#554) on 2022-09-10
  • 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

14 Aug 11:42
d7c641e
Compare
Choose a tag to compare

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.
    • b464b8ae feat(android): implement custom protocol (#527) on 2022-08-13
  • Changed WebViewMessage::Eval to evaluate an specific script.
    • 903c7e7f feat(android): change WebViewMessage::Eval to run specific script (#529) on 2022-08-13
  • Fix webview initialization scripts implementation on Android.
    • 3d66ad0b fix(android): run initialization scripts before page loads (#528) on 2022-08-13
  • Removed the webview logic from the Android glue.
    • 152aaa44 refactor(android): remove WebView logic, allow wry to hook into it (#530) on 2022-08-14
  • Implement SystemTray::set_tooltip and SystemTrayBuilder::with_tooltip on Windows.
    • 06949a79 feat(windows): implement with_tooltip&set_tooltip, closes #205 (#524) on 2022-08-10

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

09 Aug 16:41
5f5eed5
Compare
Choose a tag to compare

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.
    • aca4d3fb feat(tray): remove from tray on Drop on macOS (#520) on 2022-08-04
  • Fixes Window::is_decorated always returning true on macOS.
    • c3e076e9 fix(window): is_decorated wrong return value, closes #518 (#519) on 2022-08-04
  • Fix theme feature to support Darker theme on Linux.
    • c6d6c011 fix: support Darker theme on Linux (#511) on 2022-08-03
  • Add Window::is_minimized().
  • Implement SystemTrayBuilder::with_tooltip and SystemTray::set_tooltip on macOS.
    • 14e26568 feat(macos): add SystemTray::set_tooltip, ref #409 (#410) on 2022-08-03
  • On Windows, fix a ghost window appearing occasionally when clicking the tray icon.
    • ad1f641f fix(windows): fix tray event window showing up on click, closes #506 (#507) on 2022-08-02
  • Added SystemTrayBuilder::with_id and the id field to Event::TrayEvent for better multitray support.
    • 4ea78bcb feat(tray): add identifier to allow multiple tray setup (#514) on 2022-08-04
  • Hide the app indicator when dropping SystemTray on Linux
    • 9c6a543c feat(tray): hide indicator on drop on Linux (#521) on 2022-08-04

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

29 Jul 09:21
3e360ff
Compare
Choose a tag to compare

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.
    • eb880f48 Fix window can't be displayed on wayland (#504) on 2022-07-28

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

27 Jul 11:02
d582cb7
Compare
Choose a tag to compare

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.
    • b86ada73 Receive only one draw event per cycle (#500) on 2022-07-25
    • On Linux, add EventLoopWindowTargetExtUnix for methods to determine if the backend is x11 or wayland.
  • 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 to 0.5 and added Window::raw_display_handle and EventLoopWindowTarget::raw_display_handle.
    • b905852d chore(deps): update raw-window-handle to 0.5 (#493) on 2022-07-24
  • On Windows, respect min/max inner sizes when creating the window.
    • c1c6822e fix(windows): respect min/max sizes when creating window, closes #498 (#499) on 2022-07-25

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

21 Jul 17:56
98b9cb1
Compare
Choose a tag to compare

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.
    • 9d97e4a6 fix(windows): get correct monitor in WM_NCCALCSIZE, closes #471 (#472) on 2022-07-12
  • Fixed set_inner_size is reset when resizable is set to false.
    • 17203d08 fix: fixed inner_size even if resizable is set to false (#461) on 2022-07-05
  • On Windows, prevent ghost window from showing up in the taskbar after either several hours of use or restarting explorer.exe.
    • feb21272 fix(windows): prevent ghost window from showing up on taskbar (#489) on 2022-07-21
  • Add theme feature on Linux.
    • 74425e8e feat: add theme feature on Linux (#468) on 2022-07-10
  • 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.
    • 13f9f182 feat(macos): implement CustomMenuItem::set_icon() (#459) on 2022-07-07
  • 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.
    • 9450329e fix(windows): subscribe to taskbar restart event, closes #476 (#487) on 2022-07-21
  • On Windows, fix focus events being sent to inactive windows.
    • 23ae71b7 fix(windows): fix focus events being sent to inactive windows. (#488) on 2022-07-21

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

01 Jul 07:02
48a34d7
Compare
Choose a tag to compare

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.
    • 38f9a587 Revert "Remove most RedrawWindow to event target window" (#457) on 2022-07-01

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)
\`