diff --git a/.changeset/case-sensitive-key-names.md b/.changeset/case-sensitive-key-names.md deleted file mode 100644 index d11f72c4a..000000000 --- a/.changeset/case-sensitive-key-names.md +++ /dev/null @@ -1,23 +0,0 @@ ---- -'@tanstack/hotkeys': minor -'@tanstack/react-hotkeys': minor -'@tanstack/preact-hotkeys': minor -'@tanstack/solid-hotkeys': minor -'@tanstack/vue-hotkeys': minor -'@tanstack/svelte-hotkeys': minor -'@tanstack/angular-hotkeys': minor -'@tanstack/lit-hotkeys': minor -'@tanstack/alpine-hotkeys': minor -'@tanstack/octane-hotkeys': minor -'@tanstack/ember-hotkeys': minor -'@tanstack/hotkeys-devtools': minor ---- - -Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. - -- Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. -- `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. -- `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. -- `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. -- The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". -- Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. diff --git a/.changeset/dev-only-warnings.md b/.changeset/dev-only-warnings.md deleted file mode 100644 index 3a4114eac..000000000 --- a/.changeset/dev-only-warnings.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@tanstack/hotkeys': minor ---- - -Console warnings and errors are logged only in development. Production builds, where `process.env.NODE_ENV` is `'production'`, skip them and drop the warning code. `checkHotkey` still returns whether a hotkey is valid. diff --git a/.changeset/devtools-host-peers.md b/.changeset/devtools-host-peers.md deleted file mode 100644 index 3c3994c6a..000000000 --- a/.changeset/devtools-host-peers.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -'@tanstack/hotkeys-devtools': minor -'@tanstack/react-hotkeys-devtools': minor -'@tanstack/preact-hotkeys-devtools': minor -'@tanstack/solid-hotkeys-devtools': minor -'@tanstack/vue-hotkeys-devtools': minor -'@tanstack/svelte-hotkeys-devtools': minor -'@tanstack/angular-hotkeys-devtools': minor ---- - -Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. - -Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). diff --git a/.changeset/drop-tanstack-store.md b/.changeset/drop-tanstack-store.md deleted file mode 100644 index 2313c01a5..000000000 --- a/.changeset/drop-tanstack-store.md +++ /dev/null @@ -1,17 +0,0 @@ ---- -'@tanstack/hotkeys': minor -'@tanstack/react-hotkeys': minor -'@tanstack/preact-hotkeys': minor -'@tanstack/solid-hotkeys': minor -'@tanstack/vue-hotkeys': minor -'@tanstack/angular-hotkeys': minor -'@tanstack/octane-hotkeys': minor -'@tanstack/alpine-hotkeys': minor -'@tanstack/ember-hotkeys': minor -'@tanstack/svelte-hotkeys': minor -'@tanstack/lit-hotkeys': minor ---- - -TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. - -The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. diff --git a/.changeset/lazy-app-hotkeys-store.md b/.changeset/lazy-app-hotkeys-store.md deleted file mode 100644 index 7aa91c8e2..000000000 --- a/.changeset/lazy-app-hotkeys-store.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'@tanstack/hotkeys': minor -'@tanstack/react-hotkeys': minor -'@tanstack/preact-hotkeys': minor -'@tanstack/solid-hotkeys': minor -'@tanstack/vue-hotkeys': minor -'@tanstack/svelte-hotkeys': minor -'@tanstack/angular-hotkeys': minor -'@tanstack/octane-hotkeys': minor ---- - -Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). diff --git a/examples/angular/injectHeldKeys/package.json b/examples/angular/injectHeldKeys/package.json index 38736e31e..3a248bf02 100644 --- a/examples/angular/injectHeldKeys/package.json +++ b/examples/angular/injectHeldKeys/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectHotkey-sequences/package.json b/examples/angular/injectHotkey-sequences/package.json index 70f29aaaa..00f1f90d9 100644 --- a/examples/angular/injectHotkey-sequences/package.json +++ b/examples/angular/injectHotkey-sequences/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectHotkey/package.json b/examples/angular/injectHotkey/package.json index b3b8cceb2..a2e18b049 100644 --- a/examples/angular/injectHotkey/package.json +++ b/examples/angular/injectHotkey/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectHotkeyRecorder-sequences/package.json b/examples/angular/injectHotkeyRecorder-sequences/package.json index d0dec75b5..88478262f 100644 --- a/examples/angular/injectHotkeyRecorder-sequences/package.json +++ b/examples/angular/injectHotkeyRecorder-sequences/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectHotkeyRecorder/package.json b/examples/angular/injectHotkeyRecorder/package.json index f7b4790a7..dc0dad1d4 100644 --- a/examples/angular/injectHotkeyRecorder/package.json +++ b/examples/angular/injectHotkeyRecorder/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectHotkeys-sequences/package.json b/examples/angular/injectHotkeys-sequences/package.json index c21b5eaaa..aea9f1ee3 100644 --- a/examples/angular/injectHotkeys-sequences/package.json +++ b/examples/angular/injectHotkeys-sequences/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectHotkeys/package.json b/examples/angular/injectHotkeys/package.json index c33da8a54..3504dab32 100644 --- a/examples/angular/injectHotkeys/package.json +++ b/examples/angular/injectHotkeys/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/injectKeyHold/package.json b/examples/angular/injectKeyHold/package.json index 6cdffc8d9..12c127f3a 100644 --- a/examples/angular/injectKeyHold/package.json +++ b/examples/angular/injectKeyHold/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/kitchen-sink/package.json b/examples/angular/kitchen-sink/package.json index c3c780b45..d05a943f8 100644 --- a/examples/angular/kitchen-sink/package.json +++ b/examples/angular/kitchen-sink/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/angular/scopes/package.json b/examples/angular/scopes/package.json index 407c44567..b9afddb3e 100644 --- a/examples/angular/scopes/package.json +++ b/examples/angular/scopes/package.json @@ -18,8 +18,8 @@ "@angular/platform-browser-dynamic": "^22.2.1", "@angular/router": "^22.2.1", "@tanstack/angular-devtools": "^0.0.13", - "@tanstack/angular-hotkeys": "^0.17.1", - "@tanstack/angular-hotkeys-devtools": "^0.3.2", + "@tanstack/angular-hotkeys": "^0.18.0", + "@tanstack/angular-hotkeys-devtools": "^0.4.0", "rxjs": "~7.8.2", "tslib": "^2.8.1", "zone.js": "~0.16.3" diff --git a/examples/lit/held-keys/package.json b/examples/lit/held-keys/package.json index 80f63133a..cff4154e6 100644 --- a/examples/lit/held-keys/package.json +++ b/examples/lit/held-keys/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/lit/hotkey-recorder-sequences/package.json b/examples/lit/hotkey-recorder-sequences/package.json index 99093befe..a8e0bdb26 100644 --- a/examples/lit/hotkey-recorder-sequences/package.json +++ b/examples/lit/hotkey-recorder-sequences/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/lit/hotkey-recorder/package.json b/examples/lit/hotkey-recorder/package.json index 1949992b0..35fb08340 100644 --- a/examples/lit/hotkey-recorder/package.json +++ b/examples/lit/hotkey-recorder/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/lit/hotkey-sequences/package.json b/examples/lit/hotkey-sequences/package.json index e6258f2f4..7e914f34d 100644 --- a/examples/lit/hotkey-sequences/package.json +++ b/examples/lit/hotkey-sequences/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/lit/hotkey/package.json b/examples/lit/hotkey/package.json index 356ec89a1..0f403ab94 100644 --- a/examples/lit/hotkey/package.json +++ b/examples/lit/hotkey/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/lit/key-hold/package.json b/examples/lit/key-hold/package.json index 61613a00d..c28e0328f 100644 --- a/examples/lit/key-hold/package.json +++ b/examples/lit/key-hold/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/lit/kitchen-sink/package.json b/examples/lit/kitchen-sink/package.json index 23993c2ad..3daa4dcba 100644 --- a/examples/lit/kitchen-sink/package.json +++ b/examples/lit/kitchen-sink/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/lit-hotkeys": "0.18.1", + "@tanstack/lit-hotkeys": "0.19.0", "lit": "^3.3.3" }, "devDependencies": { diff --git a/examples/preact/kitchen-sink/package.json b/examples/preact/kitchen-sink/package.json index 4ae0e9e55..13c4bb31b 100644 --- a/examples/preact/kitchen-sink/package.json +++ b/examples/preact/kitchen-sink/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/scopes/package.json b/examples/preact/scopes/package.json index c70c8792a..1b15d9478 100644 --- a/examples/preact/scopes/package.json +++ b/examples/preact/scopes/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHeldKeys/package.json b/examples/preact/useHeldKeys/package.json index 0bd3dd5cd..c90b00d25 100644 --- a/examples/preact/useHeldKeys/package.json +++ b/examples/preact/useHeldKeys/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHotkey-sequences/package.json b/examples/preact/useHotkey-sequences/package.json index 088546b53..bc84838d9 100644 --- a/examples/preact/useHotkey-sequences/package.json +++ b/examples/preact/useHotkey-sequences/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHotkey/package.json b/examples/preact/useHotkey/package.json index d3039c990..8b2541457 100644 --- a/examples/preact/useHotkey/package.json +++ b/examples/preact/useHotkey/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHotkeyRecorder-sequences/package.json b/examples/preact/useHotkeyRecorder-sequences/package.json index 4ad84425a..0c71efcaf 100644 --- a/examples/preact/useHotkeyRecorder-sequences/package.json +++ b/examples/preact/useHotkeyRecorder-sequences/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHotkeyRecorder/package.json b/examples/preact/useHotkeyRecorder/package.json index 9fd556f19..fd0896477 100644 --- a/examples/preact/useHotkeyRecorder/package.json +++ b/examples/preact/useHotkeyRecorder/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHotkeys-sequences/package.json b/examples/preact/useHotkeys-sequences/package.json index 8d21385b7..978c77475 100644 --- a/examples/preact/useHotkeys-sequences/package.json +++ b/examples/preact/useHotkeys-sequences/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useHotkeys/package.json b/examples/preact/useHotkeys/package.json index 435da8f95..5a31fb894 100644 --- a/examples/preact/useHotkeys/package.json +++ b/examples/preact/useHotkeys/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/preact/useKeyhold/package.json b/examples/preact/useKeyhold/package.json index ebf27420a..785c08028 100644 --- a/examples/preact/useKeyhold/package.json +++ b/examples/preact/useKeyhold/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/preact-hotkeys": "^0.17.1", + "@tanstack/preact-hotkeys": "^0.18.0", "preact": "^11.0.1" }, "devDependencies": { "@preact/preset-vite": "^2.10.6", "@tanstack/preact-devtools": "0.10.15", - "@tanstack/preact-hotkeys-devtools": "^0.11.2", + "@tanstack/preact-hotkeys-devtools": "^0.12.0", "typescript": "6.0.3", "vite": "^8.3.2" } diff --git a/examples/react/kitchen-sink/package.json b/examples/react/kitchen-sink/package.json index 2ebbb2b6e..9c353360c 100644 --- a/examples/react/kitchen-sink/package.json +++ b/examples/react/kitchen-sink/package.json @@ -11,14 +11,14 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "@tanstack/react-router": "^1.170.41", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/scopes/package.json b/examples/react/scopes/package.json index cf707caff..a3598c22d 100644 --- a/examples/react/scopes/package.json +++ b/examples/react/scopes/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHeldKeys/package.json b/examples/react/useHeldKeys/package.json index 6e42ce63e..5131f8210 100644 --- a/examples/react/useHeldKeys/package.json +++ b/examples/react/useHeldKeys/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHotkey-sequences/package.json b/examples/react/useHotkey-sequences/package.json index 79b590f10..6c990b582 100644 --- a/examples/react/useHotkey-sequences/package.json +++ b/examples/react/useHotkey-sequences/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHotkey/package.json b/examples/react/useHotkey/package.json index e847214b5..5c9cdbf23 100644 --- a/examples/react/useHotkey/package.json +++ b/examples/react/useHotkey/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHotkeyRecorder-sequences/package.json b/examples/react/useHotkeyRecorder-sequences/package.json index 3ae92b7a7..fb619fe23 100644 --- a/examples/react/useHotkeyRecorder-sequences/package.json +++ b/examples/react/useHotkeyRecorder-sequences/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHotkeyRecorder/package.json b/examples/react/useHotkeyRecorder/package.json index c7df0983f..f1d53e796 100644 --- a/examples/react/useHotkeyRecorder/package.json +++ b/examples/react/useHotkeyRecorder/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHotkeys-sequences/package.json b/examples/react/useHotkeys-sequences/package.json index 0cab71cde..4fb723c57 100644 --- a/examples/react/useHotkeys-sequences/package.json +++ b/examples/react/useHotkeys-sequences/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useHotkeys/package.json b/examples/react/useHotkeys/package.json index 4538c17d0..242f31c86 100644 --- a/examples/react/useHotkeys/package.json +++ b/examples/react/useHotkeys/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/react/useKeyhold/package.json b/examples/react/useKeyhold/package.json index 219f8215a..e81f906e2 100644 --- a/examples/react/useKeyhold/package.json +++ b/examples/react/useKeyhold/package.json @@ -11,13 +11,13 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/react-hotkeys": "^0.18.0", + "@tanstack/react-hotkeys": "^0.19.0", "react": "^19.3.0", "react-dom": "^19.3.0" }, "devDependencies": { "@tanstack/react-devtools": "0.10.14", - "@tanstack/react-hotkeys-devtools": "^0.12.0", + "@tanstack/react-hotkeys-devtools": "^0.13.0", "@types/react": "^19.3.0", "@types/react-dom": "^19.3.0", "@vitejs/plugin-react": "^6.1.1", diff --git a/examples/solid/createHeldKeys/package.json b/examples/solid/createHeldKeys/package.json index fe2b6cadd..333edf717 100644 --- a/examples/solid/createHeldKeys/package.json +++ b/examples/solid/createHeldKeys/package.json @@ -9,8 +9,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createHotkey-sequences/package.json b/examples/solid/createHotkey-sequences/package.json index ce88e9f58..1a82f5749 100644 --- a/examples/solid/createHotkey-sequences/package.json +++ b/examples/solid/createHotkey-sequences/package.json @@ -9,8 +9,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createHotkey/package.json b/examples/solid/createHotkey/package.json index d0fa22cd8..c4e50b5bf 100644 --- a/examples/solid/createHotkey/package.json +++ b/examples/solid/createHotkey/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createHotkeyRecorder-sequences/package.json b/examples/solid/createHotkeyRecorder-sequences/package.json index c985d881c..02b349259 100644 --- a/examples/solid/createHotkeyRecorder-sequences/package.json +++ b/examples/solid/createHotkeyRecorder-sequences/package.json @@ -9,8 +9,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createHotkeyRecorder/package.json b/examples/solid/createHotkeyRecorder/package.json index e750ef149..68b3d8183 100644 --- a/examples/solid/createHotkeyRecorder/package.json +++ b/examples/solid/createHotkeyRecorder/package.json @@ -9,8 +9,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createHotkeys-sequences/package.json b/examples/solid/createHotkeys-sequences/package.json index 5a3a429c5..f2fb365cd 100644 --- a/examples/solid/createHotkeys-sequences/package.json +++ b/examples/solid/createHotkeys-sequences/package.json @@ -9,8 +9,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createHotkeys/package.json b/examples/solid/createHotkeys/package.json index e0cdc40bb..d49a52d0c 100644 --- a/examples/solid/createHotkeys/package.json +++ b/examples/solid/createHotkeys/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/createKeyHold/package.json b/examples/solid/createKeyHold/package.json index 7a7faa5ca..5d64cc347 100644 --- a/examples/solid/createKeyHold/package.json +++ b/examples/solid/createKeyHold/package.json @@ -9,8 +9,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/kitchen-sink/package.json b/examples/solid/kitchen-sink/package.json index 3999e2cf2..60a96894f 100644 --- a/examples/solid/kitchen-sink/package.json +++ b/examples/solid/kitchen-sink/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/solid/scopes/package.json b/examples/solid/scopes/package.json index 5a5633489..6f52b2965 100644 --- a/examples/solid/scopes/package.json +++ b/examples/solid/scopes/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/solid-devtools": "0.8.14", - "@tanstack/solid-hotkeys": "^0.17.1", - "@tanstack/solid-hotkeys-devtools": "^0.11.2", + "@tanstack/solid-hotkeys": "^0.18.0", + "@tanstack/solid-hotkeys-devtools": "^0.12.0", "solid-js": "^1.9.15" }, "devDependencies": { diff --git a/examples/svelte/create-hotkey-recorder-sequences/package.json b/examples/svelte/create-hotkey-recorder-sequences/package.json index 66a5e2060..41aa1d75b 100644 --- a/examples/svelte/create-hotkey-recorder-sequences/package.json +++ b/examples/svelte/create-hotkey-recorder-sequences/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/create-hotkey-recorder/package.json b/examples/svelte/create-hotkey-recorder/package.json index 821159a87..0d5c4fce9 100644 --- a/examples/svelte/create-hotkey-recorder/package.json +++ b/examples/svelte/create-hotkey-recorder/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/create-hotkey-sequences/package.json b/examples/svelte/create-hotkey-sequences/package.json index b906c01db..97690bdaa 100644 --- a/examples/svelte/create-hotkey-sequences/package.json +++ b/examples/svelte/create-hotkey-sequences/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/create-hotkey/package.json b/examples/svelte/create-hotkey/package.json index a463fa4b9..e70c7d55e 100644 --- a/examples/svelte/create-hotkey/package.json +++ b/examples/svelte/create-hotkey/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/create-hotkeys-sequences/package.json b/examples/svelte/create-hotkeys-sequences/package.json index d69fa16d5..8b507ffb4 100644 --- a/examples/svelte/create-hotkeys-sequences/package.json +++ b/examples/svelte/create-hotkeys-sequences/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/create-hotkeys/package.json b/examples/svelte/create-hotkeys/package.json index 049efc32f..f876b21ca 100644 --- a/examples/svelte/create-hotkeys/package.json +++ b/examples/svelte/create-hotkeys/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/get-held-keys/package.json b/examples/svelte/get-held-keys/package.json index bdab48946..f0c858153 100644 --- a/examples/svelte/get-held-keys/package.json +++ b/examples/svelte/get-held-keys/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/get-is-key-held/package.json b/examples/svelte/get-is-key-held/package.json index 5b445c0d1..64a280d1d 100644 --- a/examples/svelte/get-is-key-held/package.json +++ b/examples/svelte/get-is-key-held/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/kitchen-sink/package.json b/examples/svelte/kitchen-sink/package.json index c8cf34d19..e3b7e9a8a 100644 --- a/examples/svelte/kitchen-sink/package.json +++ b/examples/svelte/kitchen-sink/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/svelte/scopes/package.json b/examples/svelte/scopes/package.json index a9e624d33..d0b8e528d 100644 --- a/examples/svelte/scopes/package.json +++ b/examples/svelte/scopes/package.json @@ -12,8 +12,8 @@ }, "dependencies": { "@tanstack/svelte-devtools": "^0.1.8", - "@tanstack/svelte-hotkeys": "0.17.1", - "@tanstack/svelte-hotkeys-devtools": "^0.3.2", + "@tanstack/svelte-hotkeys": "0.18.0", + "@tanstack/svelte-hotkeys-devtools": "^0.4.0", "svelte": "^5.57.1" }, "devDependencies": { diff --git a/examples/vanilla/formatForDisplay/package.json b/examples/vanilla/formatForDisplay/package.json index 79ad01c2a..6397c03c2 100644 --- a/examples/vanilla/formatForDisplay/package.json +++ b/examples/vanilla/formatForDisplay/package.json @@ -11,7 +11,7 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/hotkeys": "^0.19.0" + "@tanstack/hotkeys": "^0.20.0" }, "devDependencies": { "typescript": "6.0.3", diff --git a/examples/vue/kitchen-sink/package.json b/examples/vue/kitchen-sink/package.json index 084304b34..af9bba62c 100644 --- a/examples/vue/kitchen-sink/package.json +++ b/examples/vue/kitchen-sink/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/scopes/package.json b/examples/vue/scopes/package.json index de0a2c3b2..854a876d8 100644 --- a/examples/vue/scopes/package.json +++ b/examples/vue/scopes/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHeldKeys/package.json b/examples/vue/useHeldKeys/package.json index 09c32fa69..bbd94053f 100644 --- a/examples/vue/useHeldKeys/package.json +++ b/examples/vue/useHeldKeys/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHotkey-sequences/package.json b/examples/vue/useHotkey-sequences/package.json index 1664ca5cf..59a603db0 100644 --- a/examples/vue/useHotkey-sequences/package.json +++ b/examples/vue/useHotkey-sequences/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHotkey/package.json b/examples/vue/useHotkey/package.json index b80d5f303..77b140901 100644 --- a/examples/vue/useHotkey/package.json +++ b/examples/vue/useHotkey/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHotkeyRecorder-sequences/package.json b/examples/vue/useHotkeyRecorder-sequences/package.json index 620acf8e5..3727978a0 100644 --- a/examples/vue/useHotkeyRecorder-sequences/package.json +++ b/examples/vue/useHotkeyRecorder-sequences/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHotkeyRecorder/package.json b/examples/vue/useHotkeyRecorder/package.json index 6a98e405f..3908b1e38 100644 --- a/examples/vue/useHotkeyRecorder/package.json +++ b/examples/vue/useHotkeyRecorder/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHotkeys-sequences/package.json b/examples/vue/useHotkeys-sequences/package.json index d674022a1..24f51e8b3 100644 --- a/examples/vue/useHotkeys-sequences/package.json +++ b/examples/vue/useHotkeys-sequences/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useHotkeys/package.json b/examples/vue/useHotkeys/package.json index 1226e6810..b90a6cc73 100644 --- a/examples/vue/useHotkeys/package.json +++ b/examples/vue/useHotkeys/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/examples/vue/useKeyhold/package.json b/examples/vue/useKeyhold/package.json index 8f1ae4790..e6c730910 100644 --- a/examples/vue/useKeyhold/package.json +++ b/examples/vue/useKeyhold/package.json @@ -11,12 +11,12 @@ "test:types": "tsc" }, "dependencies": { - "@tanstack/vue-hotkeys": "^0.17.1", + "@tanstack/vue-hotkeys": "^0.18.0", "vue": "^3.5.43" }, "devDependencies": { "@tanstack/vue-devtools": "^0.2.28", - "@tanstack/vue-hotkeys-devtools": "^0.11.2", + "@tanstack/vue-hotkeys-devtools": "^0.12.0", "@typescript-eslint/parser": "^8.71.0", "@vitejs/plugin-vue": "^6.0.9", "typescript": "6.0.3", diff --git a/packages/alpine-hotkeys/CHANGELOG.md b/packages/alpine-hotkeys/CHANGELOG.md index 35ef9ef00..e1e4a0f32 100644 --- a/packages/alpine-hotkeys/CHANGELOG.md +++ b/packages/alpine-hotkeys/CHANGELOG.md @@ -1,5 +1,27 @@ # @tanstack/alpine-hotkeys +## 0.8.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.7.0 ### Minor Changes diff --git a/packages/alpine-hotkeys/package.json b/packages/alpine-hotkeys/package.json index 515fb4806..e73c0bbfe 100644 --- a/packages/alpine-hotkeys/package.json +++ b/packages/alpine-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/alpine-hotkeys", - "version": "0.7.0", + "version": "0.8.0", "description": "Alpine adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/angular-hotkeys-devtools/CHANGELOG.md b/packages/angular-hotkeys-devtools/CHANGELOG.md index 428c4bd05..428662e8c 100644 --- a/packages/angular-hotkeys-devtools/CHANGELOG.md +++ b/packages/angular-hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,18 @@ # @tanstack/angular-hotkeys-devtools +## 0.4.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys-devtools@1.7.0 + ## 0.3.2 ### Patch Changes diff --git a/packages/angular-hotkeys-devtools/package.json b/packages/angular-hotkeys-devtools/package.json index 95c57031c..e27bb082c 100644 --- a/packages/angular-hotkeys-devtools/package.json +++ b/packages/angular-hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/angular-hotkeys-devtools", - "version": "0.3.2", + "version": "0.4.0", "description": "Angular devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/angular-hotkeys/CHANGELOG.md b/packages/angular-hotkeys/CHANGELOG.md index 3f20e5722..d7c062a4b 100644 --- a/packages/angular-hotkeys/CHANGELOG.md +++ b/packages/angular-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/angular-hotkeys +## 0.18.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.17.1 ### Patch Changes diff --git a/packages/angular-hotkeys/package.json b/packages/angular-hotkeys/package.json index bc947574e..3d9d9eac4 100644 --- a/packages/angular-hotkeys/package.json +++ b/packages/angular-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/angular-hotkeys", - "version": "0.17.1", + "version": "0.18.0", "description": "Angular adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/ember-hotkeys/CHANGELOG.md b/packages/ember-hotkeys/CHANGELOG.md index e37102da3..c8a3d33e2 100644 --- a/packages/ember-hotkeys/CHANGELOG.md +++ b/packages/ember-hotkeys/CHANGELOG.md @@ -1,5 +1,27 @@ # @tanstack/ember-hotkeys +## 0.7.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.6.1 ### Patch Changes diff --git a/packages/ember-hotkeys/package.json b/packages/ember-hotkeys/package.json index f2f1f0927..cdc23452f 100644 --- a/packages/ember-hotkeys/package.json +++ b/packages/ember-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/ember-hotkeys", - "version": "0.6.1", + "version": "0.7.0", "description": "Ember adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/hotkeys-devtools/CHANGELOG.md b/packages/hotkeys-devtools/CHANGELOG.md index f97f7c1ce..8221f943d 100644 --- a/packages/hotkeys-devtools/CHANGELOG.md +++ b/packages/hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,27 @@ # @tanstack/hotkeys-devtools +## 1.7.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 1.6.1 ### Patch Changes diff --git a/packages/hotkeys-devtools/package.json b/packages/hotkeys-devtools/package.json index 2ca85b6a1..bc718ad75 100644 --- a/packages/hotkeys-devtools/package.json +++ b/packages/hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/hotkeys-devtools", - "version": "1.6.1", + "version": "1.7.0", "description": "Devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/hotkeys/CHANGELOG.md b/packages/hotkeys/CHANGELOG.md index 39c31cc1e..d5041b6a9 100644 --- a/packages/hotkeys/CHANGELOG.md +++ b/packages/hotkeys/CHANGELOG.md @@ -1,5 +1,26 @@ # @tanstack/hotkeys +## 0.20.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Console warnings and errors are logged only in development. Production builds, where `process.env.NODE_ENV` is `'production'`, skip them and drop the warning code. `checkHotkey` still returns whether a hotkey is valid. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + ## 0.19.0 ### Minor Changes diff --git a/packages/hotkeys/package.json b/packages/hotkeys/package.json index 1949f3c22..724fe5890 100644 --- a/packages/hotkeys/package.json +++ b/packages/hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/hotkeys", - "version": "0.19.0", + "version": "0.20.0", "description": "Type-safe, framework-agnostic keyboard hotkey management for the browser", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/lit-hotkeys/CHANGELOG.md b/packages/lit-hotkeys/CHANGELOG.md index 54e29d689..3c394815f 100644 --- a/packages/lit-hotkeys/CHANGELOG.md +++ b/packages/lit-hotkeys/CHANGELOG.md @@ -1,5 +1,27 @@ # @tanstack/react-hotkeys +## 0.19.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.18.1 ### Patch Changes diff --git a/packages/lit-hotkeys/package.json b/packages/lit-hotkeys/package.json index 72010a738..b591e2604 100644 --- a/packages/lit-hotkeys/package.json +++ b/packages/lit-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/lit-hotkeys", - "version": "0.18.1", + "version": "0.19.0", "description": "Lit adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/octane-hotkeys/CHANGELOG.md b/packages/octane-hotkeys/CHANGELOG.md index 3020d2d7c..2267f93b7 100644 --- a/packages/octane-hotkeys/CHANGELOG.md +++ b/packages/octane-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/octane-hotkeys +## 0.8.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.7.1 ### Patch Changes diff --git a/packages/octane-hotkeys/package.json b/packages/octane-hotkeys/package.json index e15e730f3..d21ce08b9 100644 --- a/packages/octane-hotkeys/package.json +++ b/packages/octane-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/octane-hotkeys", - "version": "0.7.1", + "version": "0.8.0", "description": "Octane adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/preact-hotkeys-devtools/CHANGELOG.md b/packages/preact-hotkeys-devtools/CHANGELOG.md index 049ba1828..40e4839f6 100644 --- a/packages/preact-hotkeys-devtools/CHANGELOG.md +++ b/packages/preact-hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,18 @@ # @tanstack/preact-hotkeys-devtools +## 0.12.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys-devtools@1.7.0 + ## 0.11.2 ### Patch Changes diff --git a/packages/preact-hotkeys-devtools/package.json b/packages/preact-hotkeys-devtools/package.json index c00853114..c396869f0 100644 --- a/packages/preact-hotkeys-devtools/package.json +++ b/packages/preact-hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/preact-hotkeys-devtools", - "version": "0.11.2", + "version": "0.12.0", "description": "Preact devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/preact-hotkeys/CHANGELOG.md b/packages/preact-hotkeys/CHANGELOG.md index d4754cf54..cfc5815a7 100644 --- a/packages/preact-hotkeys/CHANGELOG.md +++ b/packages/preact-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/preact-hotkeys +## 0.18.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.17.1 ### Patch Changes diff --git a/packages/preact-hotkeys/package.json b/packages/preact-hotkeys/package.json index 8c1957667..702b79f51 100644 --- a/packages/preact-hotkeys/package.json +++ b/packages/preact-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/preact-hotkeys", - "version": "0.17.1", + "version": "0.18.0", "description": "Preact adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-hotkeys-devtools/CHANGELOG.md b/packages/react-hotkeys-devtools/CHANGELOG.md index 4ed8ae128..d5d650851 100644 --- a/packages/react-hotkeys-devtools/CHANGELOG.md +++ b/packages/react-hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,18 @@ # @tanstack/react-hotkeys-devtools +## 0.13.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys-devtools@1.7.0 + ## 0.12.0 ### Minor Changes diff --git a/packages/react-hotkeys-devtools/package.json b/packages/react-hotkeys-devtools/package.json index e20f4151e..67a72768d 100644 --- a/packages/react-hotkeys-devtools/package.json +++ b/packages/react-hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-hotkeys-devtools", - "version": "0.12.0", + "version": "0.13.0", "description": "React devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/react-hotkeys/CHANGELOG.md b/packages/react-hotkeys/CHANGELOG.md index 6dd2994c9..620d48819 100644 --- a/packages/react-hotkeys/CHANGELOG.md +++ b/packages/react-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/react-hotkeys +## 0.19.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.18.0 ### Minor Changes diff --git a/packages/react-hotkeys/package.json b/packages/react-hotkeys/package.json index cd460a0db..d1802d220 100644 --- a/packages/react-hotkeys/package.json +++ b/packages/react-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/react-hotkeys", - "version": "0.18.0", + "version": "0.19.0", "description": "React adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/solid-hotkeys-devtools/CHANGELOG.md b/packages/solid-hotkeys-devtools/CHANGELOG.md index 0ed2c4077..b13826004 100644 --- a/packages/solid-hotkeys-devtools/CHANGELOG.md +++ b/packages/solid-hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,18 @@ # @tanstack/solid-hotkeys-devtools +## 0.12.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys-devtools@1.7.0 + ## 0.11.2 ### Patch Changes diff --git a/packages/solid-hotkeys-devtools/package.json b/packages/solid-hotkeys-devtools/package.json index de33fc130..f8012376c 100644 --- a/packages/solid-hotkeys-devtools/package.json +++ b/packages/solid-hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-hotkeys-devtools", - "version": "0.11.2", + "version": "0.12.0", "description": "SolidJS devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/solid-hotkeys/CHANGELOG.md b/packages/solid-hotkeys/CHANGELOG.md index 59aab00a3..4e4d926ce 100644 --- a/packages/solid-hotkeys/CHANGELOG.md +++ b/packages/solid-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/solid-hotkeys +## 0.18.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.17.1 ### Patch Changes diff --git a/packages/solid-hotkeys/package.json b/packages/solid-hotkeys/package.json index f58d6f07b..5fdd70fd4 100644 --- a/packages/solid-hotkeys/package.json +++ b/packages/solid-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/solid-hotkeys", - "version": "0.17.1", + "version": "0.18.0", "description": "SolidJS adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/svelte-hotkeys-devtools/CHANGELOG.md b/packages/svelte-hotkeys-devtools/CHANGELOG.md index 6fc408f3d..5cc0dec15 100644 --- a/packages/svelte-hotkeys-devtools/CHANGELOG.md +++ b/packages/svelte-hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,18 @@ # @tanstack/svelte-hotkeys-devtools +## 0.4.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys-devtools@1.7.0 + ## 0.3.2 ### Patch Changes diff --git a/packages/svelte-hotkeys-devtools/package.json b/packages/svelte-hotkeys-devtools/package.json index 8090f5aec..fba95a82b 100644 --- a/packages/svelte-hotkeys-devtools/package.json +++ b/packages/svelte-hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-hotkeys-devtools", - "version": "0.3.2", + "version": "0.4.0", "description": "Svelte devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/svelte-hotkeys/CHANGELOG.md b/packages/svelte-hotkeys/CHANGELOG.md index b091a667c..44d83c30d 100644 --- a/packages/svelte-hotkeys/CHANGELOG.md +++ b/packages/svelte-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/svelte-hotkeys +## 0.18.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.17.1 ### Patch Changes diff --git a/packages/svelte-hotkeys/package.json b/packages/svelte-hotkeys/package.json index 7272fac34..5bba84563 100644 --- a/packages/svelte-hotkeys/package.json +++ b/packages/svelte-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/svelte-hotkeys", - "version": "0.17.1", + "version": "0.18.0", "description": "Svelte adapter for TanStack Hotkeys", "author": "Kunal Rao", "license": "MIT", diff --git a/packages/vue-hotkeys-devtools/CHANGELOG.md b/packages/vue-hotkeys-devtools/CHANGELOG.md index 955c6d182..989c98985 100644 --- a/packages/vue-hotkeys-devtools/CHANGELOG.md +++ b/packages/vue-hotkeys-devtools/CHANGELOG.md @@ -1,5 +1,18 @@ # @tanstack/vue-hotkeys-devtools +## 0.12.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as `@tanstack/react-devtools` 0.10.14. Older hosts pass the plugin a theme string instead of props, so the panel ignored the theme, and TypeScript rejects the React plugin since `@tanstack/react-hotkeys-devtools` 0.12.0. Package managers now warn about an old host at install time. + + Update `@tanstack/devtools-utils` and `@tanstack/devtools-ui` to 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys-devtools@1.7.0 + ## 0.11.2 ### Patch Changes diff --git a/packages/vue-hotkeys-devtools/package.json b/packages/vue-hotkeys-devtools/package.json index dabdaf4df..4685864f7 100644 --- a/packages/vue-hotkeys-devtools/package.json +++ b/packages/vue-hotkeys-devtools/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/vue-hotkeys-devtools", - "version": "0.11.2", + "version": "0.12.0", "description": "Vue devtools for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT", diff --git a/packages/vue-hotkeys/CHANGELOG.md b/packages/vue-hotkeys/CHANGELOG.md index 593c424c3..da3510b12 100644 --- a/packages/vue-hotkeys/CHANGELOG.md +++ b/packages/vue-hotkeys/CHANGELOG.md @@ -1,5 +1,29 @@ # @tanstack/vue-hotkeys +## 0.18.0 + +### Minor Changes + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Key names are case-sensitive, and key aliases are no longer resolved, which removes the key-name lookup tables from every bundle. Typed hotkeys, recording, matching, and display behave as before. + + - Spellings that the hotkey types don't allow, such as `escape`, `Esc`, `f1`, `Plus`, or `pgdn`, now stay as written and don't match. Use the canonical names: `Escape`, `F1`, `+`, `PageDown`. Letters still match in any case, and modifier aliases such as `Ctrl`, `Cmd`, and `Option` still work. + - `validateHotkey` and `checkHotkey` warn about keys that aren't written like a known key, such as `escape`, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire. + - `formatForDisplay` accepts hotkeys only, including single keys and modifiers on their own such as `'Shift'`, instead of any string. Pass a key from a `KeyboardEvent`, such as a held key from `useHeldKeys`, as `{ key }`. + - `HotkeyManager.triggerRegistration` moves into the devtools package, which was its only user. + - The recorder rejects whitespace characters, such as the non-breaking space from Option+Space on macOS, with the message "Whitespace keys cannot be recorded". + - Saved custom hotkeys and display labels ignore names inherited from `Object.prototype`, such as `toString`. Previously, saved custom hotkeys could keep those ids, and `formatForDisplay` could show function source text for them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - TanStack Hotkeys no longer depends on `@tanstack/store` or the framework store adapters. Its stores, such as `manager.registrations` and `recorder.store`, keep the same `state`, `get`, `setState`, and `subscribe` API and still work with TanStack Store's framework adapters. Bundles shrink by about 1.3 kB (brotli) in core and about 2.4 kB in the React adapter. + + The stores are no longer `Store` instances from `@tanstack/store`, so `instanceof Store` checks and other TanStack Store features, such as `actions`, no longer apply to them. + +- [#211](https://github.com/TanStack/hotkeys/pull/211) [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b) - Providers no longer bundle app hotkey support unless the app uses `defineAppHotkeys`. A React app with `HotkeysProvider` and no app hotkeys is about 1 kB smaller (brotli). + +### Patch Changes + +- Updated dependencies [[`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b), [`8b93ed5`](https://github.com/TanStack/hotkeys/commit/8b93ed5076532efeffce6b37ee56e4ea007a465b)]: + - @tanstack/hotkeys@0.20.0 + ## 0.17.1 ### Patch Changes diff --git a/packages/vue-hotkeys/package.json b/packages/vue-hotkeys/package.json index f9a12d4a0..3140c8b30 100644 --- a/packages/vue-hotkeys/package.json +++ b/packages/vue-hotkeys/package.json @@ -1,6 +1,6 @@ { "name": "@tanstack/vue-hotkeys", - "version": "0.17.1", + "version": "0.18.0", "description": "Vue adapter for TanStack Hotkeys", "author": "Tanner Linsley", "license": "MIT",