ci: Version Packages #205
main fromrefs/pull/205/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.7.0#
Minor Changes#
#204
5053876- The adapter no longer importsalpinejs. It uses the Alpine instance passed toAlpine.plugin(hotkeysPlugin), orwindow.Alpinewithout the plugin. Install the plugin beforeAlpine.start(); using a scope with neither throws an error that says so.Before, a page that loaded Alpine from a script tag and the adapter from a CDN got a second copy of Alpine, so held keys and getter options stopped updating with no error. Importing the package in Node also threw
MutationObserver is not defined, even for helpers such asformatForDisplay.
Patch Changes#
#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/hotkeys@0.19.0#
Minor Changes#
#209
132e0c9- Input detection now matches what users type into. Single-key hotkeys such asKcan fire where they were blocked before, so check any hotkeys that relied on the old behavior.- Checkbox, radio, range, color, file, and image inputs, and read-only text inputs and textareas, are no longer text fields. Hotkeys skip only the keys each control uses, such as Space on a checkbox and the arrow keys on a range input.
role="textbox"androle="searchbox"elements count as text fields.- A custom element with focus inside a closed shadow root, or a form-associated custom element without a
roleattribute, counts as a text field, because its contents can't be seen from outside. hasActiveRegistrationand hotkey hints see focus on content slotted into a hotkey's target, and focus in nested shadow roots.
#210
ebd7e84- Stop matching a key by its US position when the browser already reports what it typed. On AZERTY, Cmd++ (zoom in) no longer firesMod+/, and on German QWERTZ, Cmd+- (zoom out) no longer fires it either. With NumLock off, the numpad's End and arrow keys no longer fire digit hotkeys.Behavior change: an ASCII symbol on another key's position (Dvorak's
'on Q), a Latin letter such asüorøon a punctuation position without Control or Command, and a named key such asEndnow match only themselves. Non-Latin layouts, macOS Option, dead keys, the digit row, and symbols typed with Shift still fall back to the key's position.
Patch Changes#
- #208
d43b9aa-HotkeyRecorder.start()does nothing without adocument. A recorder started during a server render no longer stays in the shared recording set and suspends hotkey dispatch for the rest of the process.
@tanstack/react-hotkeys@0.18.0#
Minor Changes#
#204
5053876- The hooks andHotkeysProviderare now marked'use client', so a React Server Component such as a Next.jsapp/layout.tsxcan renderHotkeysProviderwithout a wrapper. Before, the Next.js build failed withcreateContext is not a function. Server components can still import helpers such asformatForDisplayfrom the package.Both packages now require React 18 or newer. The old
>=16.8range admitted React 16.8 to 16.13, which can't build the package because@tanstack/react-storeimportsreact/jsx-runtime.
Patch Changes#
@tanstack/react-hotkeys-devtools@0.12.0#
Minor Changes#
#204
5053876- The hooks andHotkeysProviderare now marked'use client', so a React Server Component such as a Next.jsapp/layout.tsxcan renderHotkeysProviderwithout a wrapper. Before, the Next.js build failed withcreateContext is not a function. Server components can still import helpers such asformatForDisplayfrom the package.Both packages now require React 18 or newer. The old
>=16.8range admitted React 16.8 to 16.13, which can't build the package because@tanstack/react-storeimportsreact/jsx-runtime.
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.Updated dependencies [
5053876]:- @tanstack/hotkeys-devtools@1.6.1
@tanstack/angular-hotkeys@0.17.1#
Patch Changes#
@tanstack/angular-hotkeys-devtools@0.3.2#
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.Updated dependencies [
5053876]:- @tanstack/hotkeys-devtools@1.6.1
@tanstack/ember-hotkeys@0.6.1#
Patch Changes#
#204
5053876- Fix classic ember-cli apps that load the addon through ember-auto-import. The package now has theember-addonkeyword and no longer sets"type": "module", which made webpack load the whole module object for default imports such as@ember/component/helper.ember-modifieris now a caret range, so an app that already has ember-modifier 4.3 installs one copy instead of two.The
ember-sourcepeer range is now>=6.8.3 <6.9.0 || >=6.10.1. Classic builds of 6.8.0 to 6.8.2, 6.9.0 and 6.10.0 don't include@ember/reactive/collections, which the adapter imports.Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/hotkeys-devtools@1.6.1#
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/lit-hotkeys@0.18.1#
Patch Changes#
#207
48a4870- Fix two Lit controller bugs:- Controllers no longer leak store subscriptions during server rendering with
@lit-labs/ssr'sconnectedCallback: trueoption. On the server, they read the current state and subscribe to nothing. KeyHoldControlleraccepts a getter key and reads it again on each host update, so it follows a reactive property. It also reads a key that is already held when it connects.
- Controllers no longer leak store subscriptions during server rendering with
Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/octane-hotkeys@0.7.1#
Patch Changes#
@tanstack/preact-hotkeys@0.17.1#
Patch Changes#
#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/preact-hotkeys-devtools@0.11.2#
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
Updated dependencies [
5053876]:- @tanstack/hotkeys-devtools@1.6.1
@tanstack/solid-hotkeys@0.17.1#
Patch Changes#
- #203
7f99e69- Cap thesolid-jspeer range at^1. The previous open-ended>=range would accept Solid 2.0.0 once it is released, but these packages are built against Solid 1 and do not work with Solid 2. - Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/solid-hotkeys-devtools@0.11.2#
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
#203
7f99e69- Cap thesolid-jspeer range at^1. The previous open-ended>=range would accept Solid 2.0.0 once it is released, but these packages are built against Solid 1 and do not work with Solid 2.Updated dependencies [
5053876]:- @tanstack/hotkeys-devtools@1.6.1
@tanstack/svelte-hotkeys@0.17.1#
Patch Changes#
#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
#207
48a4870-createHotkey,createHotkeys, andcreateHotkeyRecordernow work inside$effect.root, such as shared state in a.svelte.tsmodule. They threwlifecycle_outside_componentbefore. They clean up when the root is destroyed, and still clean up when a component is destroyed.#204
5053876- Relative imports in the published files now end in.js, so the types resolve withmoduleResolution: "nodenext". The devtools types also declareComponent<Props>instead ofComponent<Props, {}, string>, which current Svelte types reject withskipLibCheck: false.Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/svelte-hotkeys-devtools@0.3.2#
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
#204
5053876- Relative imports in the published files now end in.js, so the types resolve withmoduleResolution: "nodenext". The devtools types also declareComponent<Props>instead ofComponent<Props, {}, string>, which current Svelte types reject withskipLibCheck: false.Updated dependencies [
5053876]:- @tanstack/hotkeys-devtools@1.6.1
@tanstack/vue-hotkeys@0.17.1#
Patch Changes#
#204
5053876- Fix framework peer ranges so they match the versions each package builds and runs on:- Preact
>=10.5.2. Older releases can't resolvepreact/jsx-runtime. - Solid devtools
^1.9.15. The panel crashes below 1.9.15, where two copies of Solid get installed. - Vue
>=3.3.0. The adapter usestoValue, added in Vue 3.3. - Svelte
^5.40.0. The adapter usescreateContext, added in Svelte 5.40. - Alpine
^3.13.0, down from^3.15.12. npm no longer refuses to install the adapter next to Alpine 3.13 and 3.14.
- Preact
#207
48a4870- Fix three Vue composable bugs:- Server rendering no longer leaks store subscriptions. Composables return the current state on the server and subscribe only in the browser.
useKeyHoldnow follows a getter or ref key without waiting for a key event.- Composables called in an
effectScopeoutside a component no longer loginject()warnings.
Updated dependencies [
132e0c9,ebd7e84,d43b9aa]:- @tanstack/hotkeys@0.19.0
@tanstack/vue-hotkeys-devtools@0.11.2#
Patch Changes#
#204
5053876- Fix type errors in the devtools packages withskipLibCheck: false. Their declarations used types from@tanstack/devtools-utils, which import@tanstack/devtoolswithout depending on it, so TypeScript reportedCannot find module '@tanstack/devtools', and withskipLibCheck: truethe panel props becameany. The packages now declare their own panel and plugin types.@tanstack/hotkeys-devtoolsexportsHotkeysDevtoolsPanelProps,HotkeysDevtoolsThemeandHotkeysDevtoolsCoreClass.The React devtools types no longer refer to
JSXfromreact, which some@types/react18 releases don't export.#204
5053876- FixHotkeysDevtoolsPanel, which threwCannot read properties of undefined (reading 'color')and rendered nothing, both on its own and insideTanStackDevtoolsfrom@tanstack/vue-devtools. The panel now defaultsthemeto'dark'anddevtoolsOpentotrue, reads the props the Vue devtools dock passes, and remounts when the theme changes.The package no longer depends on
@tanstack/devtools-utils, and itsvuepeer is now>=3.3.0, matching@tanstack/vue-hotkeys.Updated dependencies [
5053876]:- @tanstack/hotkeys-devtools@1.6.1
- 1
🚀 Changeset Version Preview#
1 package(s) bumped directly, 17 bumped as dependents.
🟨 Minor bumps#
Package Version Reason @tanstack/hotkeys0.19.0 → 0.20.0 Changeset 🟩 Patch bumps#
Package Version Reason @tanstack/alpine-hotkeys0.7.0 → 0.7.1 Dependent @tanstack/angular-hotkeys0.17.1 → 0.17.2 Dependent @tanstack/angular-hotkeys-devtools0.3.2 → 0.3.3 Dependent @tanstack/ember-hotkeys0.6.1 → 0.6.2 Dependent @tanstack/hotkeys-devtools1.6.1 → 1.6.2 Dependent @tanstack/lit-hotkeys0.18.1 → 0.18.2 Dependent @tanstack/octane-hotkeys0.7.1 → 0.7.2 Dependent @tanstack/preact-hotkeys0.17.1 → 0.17.2 Dependent @tanstack/preact-hotkeys-devtools0.11.2 → 0.11.3 Dependent @tanstack/react-hotkeys0.18.0 → 0.18.1 Dependent @tanstack/react-hotkeys-devtools0.12.0 → 0.12.1 Dependent @tanstack/solid-hotkeys0.17.1 → 0.17.2 Dependent @tanstack/solid-hotkeys-devtools0.11.2 → 0.11.3 Dependent @tanstack/svelte-hotkeys0.17.1 → 0.17.2 Dependent @tanstack/svelte-hotkeys-devtools0.3.2 → 0.3.3 Dependent @tanstack/vue-hotkeys0.17.1 → 0.17.2 Dependent @tanstack/vue-hotkeys-devtools0.11.2 → 0.11.3 Dependent @tanstack/alpine-hotkeys
npm i https://pkg.pr.new/@tanstack/alpine-hotkeys@205@tanstack/angular-hotkeys
npm i https://pkg.pr.new/@tanstack/angular-hotkeys@205@tanstack/angular-hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/angular-hotkeys-devtools@205@tanstack/ember-hotkeys
npm i https://pkg.pr.new/@tanstack/ember-hotkeys@205@tanstack/hotkeys
npm i https://pkg.pr.new/@tanstack/hotkeys@205@tanstack/hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/hotkeys-devtools@205@tanstack/lit-hotkeys
npm i https://pkg.pr.new/@tanstack/lit-hotkeys@205@tanstack/octane-hotkeys
npm i https://pkg.pr.new/@tanstack/octane-hotkeys@205@tanstack/preact-hotkeys
npm i https://pkg.pr.new/@tanstack/preact-hotkeys@205@tanstack/preact-hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/preact-hotkeys-devtools@205@tanstack/react-hotkeys
npm i https://pkg.pr.new/@tanstack/react-hotkeys@205@tanstack/react-hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/react-hotkeys-devtools@205@tanstack/solid-hotkeys
npm i https://pkg.pr.new/@tanstack/solid-hotkeys@205@tanstack/solid-hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/solid-hotkeys-devtools@205@tanstack/svelte-hotkeys
npm i https://pkg.pr.new/@tanstack/svelte-hotkeys@205@tanstack/svelte-hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/svelte-hotkeys-devtools@205@tanstack/vue-hotkeys
npm i https://pkg.pr.new/@tanstack/vue-hotkeys@205@tanstack/vue-hotkeys-devtools
npm i https://pkg.pr.new/@tanstack/vue-hotkeys-devtools@205commit:
fc67b1eKevinVandy merged this8602ebe
KevinVandy closed this
Sign in to join this conversation.
Important
Review skipped#
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.75cdaf4f-98e8-41c0-9d5d-9f6c0d42078aYou 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