Skip to content

Latest commit

 

History

History
207 lines (123 loc) · 14.7 KB

CHANGELOG.md

File metadata and controls

207 lines (123 loc) · 14.7 KB

Changelog

[0.14.3]

  • e257d6b (#169) On Windows, fix Enter event emitted only once and never emitted again.

[0.14.2]

  • f1f3adb(#166) Switch from dirs_next to dirs as dirs_next is now unmaintained while dirs is

[0.14.1]

  • b491c98(#164) Fix tray icon rect scaled by dpi on Windows

[0.14.0]

  • 587292b(#161) This release contains breaking change to the event structs in order to be able to add new Enter, Move and Leave events:

    • Changed TrayIconEvent to be an enum instead of a struct.
    • Added new events for when the mouse enters, moves or leaves the tray icon region.
    • Removed ClickType enum and replaced it with MouseButton enum.
    • Added MouseButtonState enum.

[0.13.5]

  • a1cd50e(#145) Fix tray icon gets blurry after changing dpi on Windows
  • ad317c7(#150) On macOS, fix tray event position not scaled properly.
  • 6d099ee(#149) On macOS, fix the y position of the tray icon to be top-left not bottom-left of the icon.
  • 599bb8f(#147) Add TrayIcon::rect method to retrieve the tray icon rectangle on Windows and macOS.

[0.13.4]

  • 6b09b8e(#136) Add Icon::from_resource_name to support icon resource without a ordinal id on Windows

[0.13.3]

  • 646f56c(#138) Fix unexpected crashes on I/O or Png encoding errors on macOS and Linux.

[0.13.2]

  • c368bbc(#134) Fix incorrect icon size reported in events on macOS

[0.13.1]

  • 784e01e(#130) On macOS, reset the tray icon when using setIconAsTemplate to avoid artifacts.

[0.13.0]

  • 63abc69(#127) Update muda dependency to 0.13

  • 63abc69(#127) Added dpi module and changed position and sizes in TrayIconEvent to use the new dpi module:

    • Removed TrayIconEvent.x and TrayIconEvent.y and replaced with TrayIconEvent.position
    • Replaced Rectangle type with Rect which has just two fields position and size.

[0.12.0]

[0.11.3]

  • 5407f14(#114) On Linux, fix TrayIcon::set_visible incorrect inverted behavior.

[0.11.2]

[0.11.1]

  • 6382ea5(#103) On Linux, fix tray menu failing to show.

[0.11.0]

  • 6e8374a Update muda crate to 0.11

[0.10.0]

  • 8463328(#92) Upgraded gtk to 0.18 and bumped MSRV to 1.70.0.

[0.9.0]

[0.8.3]

  • 75fed4a Derive serde for more types.

[0.8.2]

  • cd6fb13(#80) Add PartialEq<&str> for &TrayIconId and PartialEq<String> for &TrayIconId implementations. Also add a blanket From<T> for TrayIconId where T: ToString implementation.

[0.8.1]

  • 0cf36ad(#77) Add TrayIconId::new convenience method.

[0.8.0]

  • 95c1be8(#75) Th icon module has been removed and instead its types are exported from crate root.
  • 95c1be8(#75) Update to muda@0.8
  • f93b57d Add TrayIconId struct an changed all .id() methods to return TrayIconId instead of a u32.
  • 95c1be8(#75) Changed the order of arguments for TrayIcon::with_id function to take the id as the first argument instead of the second.

[0.7.7]

  • 197f431(#73) Always highlight tray icon on click on macOS.

[0.7.6]

  • a458317(#71) Fixes a crash on mouse events on macOS.

[0.7.5]

  • 54fc7de(#69) Refactor macOS implementation to fix missing click issues.

[0.7.4]

  • 71d25a1(#66) On Linux, fix the issue that gtk caches the icon if you use TrayIcon::set_icon repeatedly.

[0.7.3]

  • c0d16c5(#63) Fixes multiple set_menu calls not updating the tray menu on macOS.

[0.7.2]

  • d0a25b0(#61) On Windows, fix dropping tray icon caused the whole process to close.
  • d0a25b0(#61) On Windows, fix TrayIcon::set_menu not firing events for the new menu.

[0.7.1]

  • 04ed58f Remove accidental impl of Sync and Send for TrayIcon where it is not.

[0.7.0]

  • d8d6082(#57) Add TrayIconBuilder::id to access the unique id that will be assigend to the tray icon upon creation.
  • dd63ef3 Add TrayIconEvent::id method.
  • 3901519 Update to muda@0.7
  • 13d448a(#55) Implement Clone for TrayIcon.
  • 13d448a(#55) - Breaking change: TrayEvent has been renamed to TrayIconEvent for consistency with other struct names.
    • Breaking change: ClickEvent enum has been renamed to ClickType and TrayEvent's event field has been renamed to click_type
  • d8d6082(#57) Add TrayIcon::with_id and TrayIconBuilder::with_id to create the tray icon with specified id.

[0.6.0]

[0.5.2]

  • 9409f36(#46) Fix compiling on i686-pc-windows-msvc target

[0.5.1]

  • ff7f7bc(#40) Fix building for i686-pc-windows-msvc target.

[0.5.0]

  • On macOS, fix set_visible(false) still occupying space on the system menu bar.
    • 71f9d29 fix(macos): remove tray icon when set_visible(false) (#37) on 2023-04-18

[0.4.4]

  • Make Rectangle's point fields public.
    • 12a0daf Make Rectangle's point fields public. (#33) on 2023-03-23

[0.4.3]

  • Update documentation.
    • 258b49a docs: update docs on 2023-02-08
    • 3293885 Apply Version Updates From Current Changes (#22) on 2023-02-08
    • e58a6ce docs: document menu and icon relation on Linux on 2023-02-12

[0.4.2]

  • Update docs.
    • 258b49a docs: update docs on 2023-02-08

[0.4.1]

  • Bump muda to 0.4 and libappindicator to 0.8
    • d92dd6d chore(deps): update deps (#17) on 2023-01-26

[0.4.0]

  • On macOS and Linux, add TrayIconBuilder::with_title and TrayIcon::set_title to optionally add a text next to the icon.
    • 6df6fc7 feat: add with_title and set_title (#11) on 2023-01-10
    • b83f14e chore: adjust change bumps on 2023-01-12
  • Add TrayIcon::set_visible.
    • ba4580e feat: add set_visible (#14) on 2023-01-12
    • b83f14e chore: adjust change bumps on 2023-01-12

[0.3.0]

  • Add TrayEvent::set_event_handler to set a handler for new tray events.
    • 9247abb refactor: allow changing the menu event sender (#8) on 2023-01-03
  • Update muda to 0.3.
    • 9247abb refactor: allow changing the menu event sender (#8) on 2023-01-03
    • b64b57e chore: update changefile on 2023-01-03
  • Breaking change Remove tray_event_receiver function, use TrayEvent::receiver instead.
    • 9247abb refactor: allow changing the menu event sender (#8) on 2023-01-03

[0.2.0]

  • Update muda dependency to 0.2.
    • aa3aa1e chore: add change file on 2022-12-30

[0.1.1]

  • Initial Release.
    • 0651773 chore: prepare for initial release on 2022-12-05