ci: Version Packages #212
main fromrefs/pull/212/head·merged by KevinVandy This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases#
@tanstack/alpine-hotkeys@0.8.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.
Patch Changes#
@tanstack/angular-hotkeys@0.18.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/angular-hotkeys-devtools@0.4.0#
Minor Changes#
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
@tanstack/ember-hotkeys@0.7.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.
Patch Changes#
@tanstack/hotkeys@0.20.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- Console warnings and errors are logged only in development. Production builds, whereprocess.env.NODE_ENVis'production', skip them and drop the warning code.checkHotkeystill returns whether a hotkey is valid.#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
@tanstack/hotkeys-devtools@1.7.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
@tanstack/lit-hotkeys@0.19.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.
Patch Changes#
@tanstack/octane-hotkeys@0.8.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/preact-hotkeys@0.18.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/preact-hotkeys-devtools@0.12.0#
Minor Changes#
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
@tanstack/react-hotkeys@0.19.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/react-hotkeys-devtools@0.13.0#
Minor Changes#
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
@tanstack/solid-hotkeys@0.18.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/solid-hotkeys-devtools@0.12.0#
Minor Changes#
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
@tanstack/svelte-hotkeys@0.18.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/svelte-hotkeys-devtools@0.4.0#
Minor Changes#
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
@tanstack/vue-hotkeys@0.18.0#
Minor Changes#
#211
8b93ed5- 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, orpgdn, 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 asCtrl,Cmd, andOptionstill work. validateHotkeyandcheckHotkeywarn about keys that aren't written like a known key, such asescape, instead of checking a list of key names. In development, registering such a hotkey logs a warning that it may never fire.formatForDisplayaccepts hotkeys only, including single keys and modifiers on their own such as'Shift', instead of any string. Pass a key from aKeyboardEvent, such as a held key fromuseHeldKeys, as{ key }.HotkeyManager.triggerRegistrationmoves 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 astoString. Previously, saved custom hotkeys could keep those ids, andformatForDisplaycould show function source text for them.
- Spellings that the hotkey types don't allow, such as
#211
8b93ed5- TanStack Hotkeys no longer depends on@tanstack/storeor the framework store adapters. Its stores, such asmanager.registrationsandrecorder.store, keep the samestate,get,setState, andsubscribeAPI 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
Storeinstances from@tanstack/store, soinstanceof Storechecks and other TanStack Store features, such asactions, no longer apply to them.#211
8b93ed5- Providers no longer bundle app hotkey support unless the app usesdefineAppHotkeys. A React app withHotkeysProviderand no app hotkeys is about 1 kB smaller (brotli).
Patch Changes#
@tanstack/vue-hotkeys-devtools@0.12.0#
Minor Changes#
#211
8b93ed5- Each devtools adapter now lists its TanStack Devtools host as an optional peer dependency at the current release, such as@tanstack/react-devtools0.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-devtools0.12.0. Package managers now warn about an old host at install time.Update
@tanstack/devtools-utilsand@tanstack/devtools-uito 0.7.2. The Preact panel now unmounts its core on Preact 11 (TanStack/devtools#551).
Patch Changes#
- 1
KevinVandy merged this5d9d833
KevinVandy closed this
Sign in to join this conversation.
Important
Review skipped#
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.c59d9e7b-d231-45dc-94ec-7e50ab96ddbcYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share