github tauri-apps/plugins-workspace global-shortcut-v2.0.0-beta.3
global-shortcut v2.0.0-beta.3

2 years ago

[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.

Cargo Publish

Updating crates.io index
warning: manifest has no documentation, homepage or repository.
See https://doc.rust-lang.org/cargo/reference/manifest.html#package-metadata for more info.
   Packaging tauri-plugin-global-shortcut v2.0.0-beta.3 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/global-shortcut)
   Verifying tauri-plugin-global-shortcut v2.0.0-beta.3 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/global-shortcut)
    Updating crates.io index
 Downloading crates ...
  Downloaded global-hotkey v0.2.4
  Downloaded keyboard-types v0.6.2
   Compiling tauri-plugin-global-shortcut v2.0.0-beta.3 (/mnt/target/package/tauri-plugin-global-shortcut-2.0.0-beta.3)
   Compiling keyboard-types v0.6.2
   Compiling global-hotkey v0.2.4
    Finished dev [unoptimized + debuginfo] target(s) in 3.14s
    Packaged 25 files, 118.3KiB (78.9KiB compressed)
   Uploading tauri-plugin-global-shortcut v2.0.0-beta.3 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/global-shortcut)
    Uploaded tauri-plugin-global-shortcut v2.0.0-beta.3 to registry `crates-io`
note: Waiting for `tauri-plugin-global-shortcut v2.0.0-beta.3` to be available at registry `crates-io`.
You may press ctrl-c to skip waiting; the crate should be available shortly.
   Published tauri-plugin-global-shortcut v2.0.0-beta.3 at registry `crates-io`

Don't miss a new plugins-workspace release

NewReleases is sending notifications on new releases.