Skip to content

Latest commit

 

History

History
95 lines (56 loc) · 6.51 KB

CHANGELOG.md

File metadata and controls

95 lines (56 loc) · 6.51 KB

Changelog

[2.0.0-beta.7]

  • 381a466d (#1117 by @amrbashir) Refactored the JS APIs:

    • Enhanced register and unregister to take either a single shortcut or an array.
    • Removed registerAll instead use register with an array.
  • 22a17980 (#1537 by @lucasfernog) Update to tauri beta.24.

[2.0.0-beta.6]

[2.0.0-beta.5]

[2.0.0-beta.4]

[2.0.0-beta.3]

  • 9c7eb359(#1244) Refactored APIs to introduce new pressed and released events:

    • Added ShortcutEvent and ShortcutState types in Rust.
    • Changed the handler function passed to GlobalShortcut::on_shortcut, GlobalShortcut::on_all_shortcuts and Builder::with_handler to take a 3rd argument of type ShortcutEvent.
    • Added ShortcutEvent interface in JS.
    • Changed ShortcutHandler type alias (which affects the JS register and registerAll APIs) to take ShortcutEvent instead of a string.
  • bd1ed590(#1237) Update to tauri beta.17.

[2.0.0-beta.3]

  • a04ea2f(#1071) The global API script is now only added to the binary when the withGlobalTauri config is true.

  • 62dafda(#969) Breaking change Refactored the plugin Rust APIs for better DX and flexibility:

    • Changed Builder::with_handler to 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_shortcut and Builder::with_shortcuts to register shortcuts on the plugin builder.
    • Added on_shortcut and on_all_shortcuts to register shortcuts with a handler.

[2.0.0-beta.2]

[2.0.0-beta.1]

[2.0.0-beta.0]

[2.0.0-alpha.5]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.13.

[2.0.0-alpha.4]

  • 387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.12.

[2.0.0-alpha.3]

  • e438e0a(#676) Update to @tauri-apps/api v2.0.0-alpha.11.

[2.0.0-alpha.2]

  • 5c13736(#673) Update to @tauri-apps/api v2.0.0-alpha.9.

[2.0.0-alpha.2]

[2.0.0-alpha.1]

[2.0.0-alpha.0]

  • 717ae67(#371) First v2 alpha release! te to alpha.11.

[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! 717ae670978feb4492fac1f295998b93f2b9347f)(#371) First v2 alpha release! ](tauri-apps#371)) First v2 alpha release! 717ae670978feb4492fac1f295998b93f2b9347f)(#371) First v2 alpha release!