global-shortcut
Register global shortcuts for your app.
ae3c808e(#3602) The plugin's global API script (used withapp.withGlobalTauri) now resolves the core API fromwindow.__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. anImagefromwindow.__TAURI__.imagepassed toclipboardManager.writeImage, which previously failed theinstanceofcheck against the plugin's private copy), and the script is considerably smaller.9b29b601Update MSRV to 1.90 to match tauri.a87a3c7dUpdate documentation.
93426f85Fixed an issue that caused docs.rs builds to fail. No user facing changes.
3a79266b(#2173 by @FabianLars) Bumped all plugins tov2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.
a1a82208(#1873 by @lucasfernog) Downgrade MSRV to 1.77.2 to support Windows 7.
e2c4dfb6Update to tauri v2 stable release.
2.0.0-rc.x
Section titled “2.0.0-rc.x”2.0.0-rc.1
Section titled “2.0.0-rc.1”-
e2e97db5(#1701 by @lucasfernog) Update to tauri 2.0.0-rc.8 -
2c00c029(#1630 by @FabianLars) Fixed an issue that caused multi-word IIFE names to not be formatted correctly. For example thebarcode-scannerwas defined aswindow.__TAURI_PLUGIN_CLIPBOARDMANAGER__instead ofwindow.__TAURI_PLUGIN_CLIPBOARD_MANAGER__.
2.0.0-rc.0
Section titled “2.0.0-rc.0”9887d1Update to tauri RC.
2.0.0-beta.x
Section titled “2.0.0-beta.x”2.0.0-beta.8
Section titled “2.0.0-beta.8”99d6ac0f(#1606 by @FabianLars) The JS packages now specify the minimum@tauri-apps/apiversion instead of a single exact version.6de87966(#1597 by @Legend-Master) Update to tauri beta.25.
2.0.0-beta.7
Section titled “2.0.0-beta.7”-
381a466d(#1117 by @amrbashir) Refactored the JS APIs:- Enhanced
registerandunregisterto take either a single shortcut or an array. - Removed
registerAllinstead useregisterwith an array.
- Enhanced
-
22a17980(#1537 by @lucasfernog) Update to tauri beta.24.
2.0.0-beta.6
Section titled “2.0.0-beta.6”2.0.0-beta.5
Section titled “2.0.0-beta.5”2.0.0-beta.4
Section titled “2.0.0-beta.4”2.0.0-beta.3
Section titled “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
-
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
Section titled “2.0.0-beta.2”2.0.0-beta.1
Section titled “2.0.0-beta.1”569defbUpdate to tauri beta.4.
2.0.0-beta.0
Section titled “2.0.0-beta.0”Full Changelog
Section titled “Full Changelog”global-shortcut full changelog
Version List
Section titled “Version List”- v2.4.0 Sep 26, 2026
- v2.3.2 May 28, 2026
- v2.3.1 Oct 27, 2025
- v2.3.0 Jun 25, 2025
- v2.2.1 May 20, 2025
- v2.2.0 Dec 9, 2024
- v2.0.1 Oct 3, 2024
- v2.0.0 Oct 2, 2024
- v2.0.0-rc.1 Aug 29, 2024
- v2.0.0-rc.0 Aug 2, 2024
- v2.0.0-beta.8 Jul 31, 2024
- v2.0.0-beta.7 Jul 12, 2024
- v2.0.0-beta.6 Jul 2, 2024
- v2.0.0-beta.5 May 30, 2024
- v2.0.0-beta.4 May 30, 2024
- v2.0.0-beta.3 May 1, 2024
- v2.0.0-beta.2 Mar 7, 2024
- v2.0.0-beta.1 Feb 21, 2024
- v2.0.0-beta.0 Feb 3, 2024
- v2.0.0-alpha.5 Dec 20, 2023
- v2.0.0-alpha.4 Dec 14, 2023
- v2.0.0-alpha.3 Oct 29, 2023
- v2.0.0-alpha.2 Oct 23, 2023
- v2.0.0-alpha.1 Aug 14, 2023
- v2.0.0-alpha.0 May 24, 2023
© 2026 Tauri Contributors. CC-BY / MIT