Files
tauri-plugins-workspace/plugins/global-shortcut/CHANGELOG.md
T
github-actions[bot]andLucas Nogueira cbfd428bcc Publish New Versions (v2) (#3618)
* publish new versions

* clippy

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
2026-09-26 17:21:49 -03:00

10 KiB

Changelog

[2.4.0]

  • ae3c808e (#3602) The plugin's global API script (used with app.withGlobalTauri) now resolves the core API from window.__TAURI__ instead of bundling its own copy of @tauri-apps/api. Values created with the core API are now accepted by plugin APIs in global mode (e.g. an Image from window.__TAURI__.image passed to clipboardManager.writeImage, which previously failed the instanceof check against the plugin's private copy), and the script is considerably smaller.
  • 9b29b601 Update MSRV to 1.90 to match tauri.
  • a87a3c7d Update documentation.

[2.3.2]

  • cb863d57 (#3408 by @renovate) Update crate global-hotkey to 0.8 to fix cpu usage while pressing the keys on windows and to add F13-F24 mappings on Linux/X11.

[2.3.1]

  • 93426f85 Fixed an issue that caused docs.rs builds to fail. No user facing changes.

[2.3.0]

[2.2.1]

  • 494d1fea (#2684 by @renovate) Updated global-hotkey crate to 0.7 to fix a panic when trying to register a key combination which was already registered by another program. No API changes.

[2.2.0]

  • 3a79266b (#2173 by @FabianLars) Bumped all plugins to v2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.

[2.0.1]

[2.0.0]

  • e2c4dfb6 Update to tauri v2 stable release.

[2.0.0-rc.1]

[2.0.0-rc.1]

  • 2c00c029 (#1630 by @FabianLars) Fixed an issue that caused multi-word IIFE names to not be formatted correctly. For example the barcode-scanner was defined as window.__TAURI_PLUGIN_CLIPBOARDMANAGER__ instead of window.__TAURI_PLUGIN_CLIPBOARD_MANAGER__.

[2.0.0-rc.0]

[2.0.0-beta.8]

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