mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-07-24 17:20:51 +02:00
e94b089e51
Co-authored-by: FabianLars <FabianLars@users.noreply.github.com>
4.8 KiB
4.8 KiB
Changelog
[2.0.0-beta.3]
-
9c7eb359(#1244) Refactored APIs to introduce new pressed and released events:- Added
ShortcutEventandShortcutStatetypes in Rust. - Changed the handler function passed to
GlobalShortcut::on_shortcut,GlobalShortcut::on_all_shortcutsandBuilder::with_handlerto take a 3rd argument of typeShortcutEvent. - Added
ShortcutEventinterface in JS. - Changed
ShortcutHandlertype alias (which affects the JSregisterandregisterAllAPIs) to takeShortcutEventinstead of a string.
- Added
[2.0.0-beta.3]
-
a04ea2f(#1071) The global API script is now only added to the binary when thewithGlobalTauriconfig is true. -
62dafda(#969) Breaking change Refactored the plugin Rust APIs for better DX and flexibility:- Changed
Builder::with_handlerto be a method instead of a static method, it will also be triggered for any and all shortcuts even if the shortcut is registered through JS. - Added
Builder::with_shortcutandBuilder::with_shortcutsto register shortcuts on the plugin builder. - Added
on_shortcutandon_all_shortcutsto register shortcuts with a handler.
- Changed
[2.0.0-beta.2]
[2.0.0-beta.1]
569defbUpdate to tauri beta.4.
[2.0.0-beta.0]
[2.0.0-alpha.5]
[2.0.0-alpha.4]
[2.0.0-alpha.3]
[2.0.0-alpha.2]
[2.0.0-alpha.2]
[2.0.0-alpha.1]
[2.0.0-alpha.0]
[2.0.0-alpha.0]
717ae67(#371) First v2 alpha release! -apps/plugins-workspace/pull/371)) First v2 alpha release! te to alpha.11.
[2.0.0-alpha.0]
717ae67(#371) First v2 alpha release!717ae67097)(#371) First v2 alpha release!