Repository navigation
chore(deps-dev): bump @tanstack/hotkeys from 0.27.1 to 0.33.0 - #1391
Open
dependabot[bot] wants to merge 1 commit into
Open
dependabot[bot] wants to merge 1 commit into
dependabot[bot] wants to merge 1 commit into
Conversation
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
3 times, most recently
from
November 11, 2026 16:47
1c49079 to
20da831
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
from
November 12, 2026 18:05
20da831 to
9adb5a8
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
2 times, most recently
from
November 13, 2026 00:21
d9a3961 to
02080da
Compare
1 of 2 tasks
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
from
November 14, 2026 23:44
02080da to
1263c9a
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
from
November 15, 2026 18:08
1263c9a to
b033b5b
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
from
November 18, 2026 11:53
b033b5b to
a25cd16
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
3 times, most recently
from
November 18, 2026 23:14
566e068 to
31662e2
Compare
allisonmahmood
added a commit
that referenced
this pull request
Nov 18, 2026
## What changed `patchy/hotkeys` now bundles TanStack Hotkeys 0.27.1 (core) and 0.21.1 (Preact adapter), up from 0.19.0 and 0.17.1. Shortcuts behave for patch authors and viewers as they did. Patches pick it up at their next publish. 0.29.0 / 0.23.0 came out yesterday, so pnpm's 24-hour release-age rule holds them back. Supersedes #1391, which fails in typecheck rather than at install. preact-hotkeys 0.17.1 still pulls core 0.19.0, so our 0.19.0 patch keeps applying to that copy. Meanwhile the new core lacks the patch's `Element` target type and its sequence `allowStep`/`onStep` options, which `hotkeys.ts` uses. ## Look at **The patch on TanStack, part by part.** I read every changelog entry from 0.20 to 0.27.1 and diffed the 0.19.0 and 0.27.1 dist: | What the patch did | Now | | --- | --- | | No match while an input method composes, Enter, Escape and the arrows included. Safari's keydown that commits after `compositionend` (keyCode 229 only) counts as composing. | **Dropped: upstream has it** since 0.22.0. `_match.js` refuses any composing key, and `normalizeKeyboardEvent` counts keyCode 229. | | Sequences ask `allowStep` before taking a key and call `onStep` as they take one. A sequence on an element takes its keys ahead of chords and sequences further out. | **Re-created on 0.27.1.** Upstream has no equivalent. | | A target may be any `Element` (an SVG chart), not only `HTMLElement`. | **Re-created** (types only). | | — | **New hunk.** Since 0.24.0, every document-level Escape hotkey stands aside while a modal `<dialog>` or an auto popover is open. That contradicts the hotkeys skill, which says a live Escape hotkey takes the key, and it breaks the skill's "register Escape inside, and close from its `run`". The browser would close the dialog but leave it mounted, with its `HotkeyScope` still holding the page's keys. The patch keeps today's behaviour. Adopting upstream's rule is a product decision for another PR, along with the skill text. | The `pnpm-workspace.yaml` comment says each part and when to drop it. **A test for the Escape hunk, red then green.** `a native modal dialog's own Escape hotkey takes the key, so its run closes it and the scope goes` is new in `hotkeys.spec.ts`. With upstream's Escape rule put back into the installed copy: ``` ✘ hotkeys.spec.ts:671:1 › a native modal dialog's own Escape hotkey takes the key, so its run closes it and the scope goes Error: expect(locator).toHaveCount(expected) failed Expected: 0 Received: 1 ``` With this branch's patch: ``` ✓ hotkeys.spec.ts:671:1 › a native modal dialog's own Escape hotkey takes the key, so its run closes it and the scope goes (662ms) ``` **A test for composition.** The browser spec covers Safari's committing Enter only inside a text field, where `fieldKeeps` holds it back whatever TanStack does. A new unit case in `hotkeys.test.ts` pins TanStack's own matching for Escape, Enter, ArrowDown, Mod+Enter and K. Each matches plainly, not with `isComposing`, and not with keyCode 229 alone. Unpatched 0.19.0 fails it: every one of those matches with keyCode 229, and all but K match while composing. **Other upstream changes that reach pages**, all matching fixes, none touching our API: - A press reported as `Unidentified` that has a usable `code` is no longer treated as composing (0.25.0). Chrome on Wayland sends Ctrl+\` this way. `fieldKeeps` still keeps every `Unidentified` key in text fields. Android's composing keys carry keyCode 229 and are still ignored. - Windows: Ctrl+Alt on a letter key that types a Latin letter, such as Polish ą, no longer fires `Mod+Alt+<letter>` (0.26.0). - Turkish `ı` is its own key, and Firefox numpad 5 without NumLock no longer fires `5` (0.27.0). - TanStack Store is gone from the bundle (0.20.0): the stores are TanStack Hotkeys' own. The release's `dist/licenses` now carries one TanStack notice, and ADR-0011 says so. Formatting with `formatHotkey`/`hotkeyKeys` is byte-identical between versions for every form we use, modifiers alone included, on Mac and elsewhere. ## How it was verified - `pnpm verify` (mise's Node 24 first on PATH): format, lint, typecheck, synth, postgres-concurrency, cli-smoke, install and tier2-smoke pass. The rest failed on the shared machine while sibling worktrees ran their own suites, at a load average of 25 to 50. `test` and `test (bun)` failed with timeouts only. `browser` failed when a throwaway instance couldn't bind its port, which stopped the run. Rerun at a load of about 6: `test:bun` passes, and `test` passes but for two 5-second timeouts in `company-database` and `patches`. The full Chromium browser suite passed earlier, 188 of 188. CI arbitrates. - `hotkeys.test.ts`, `hotkeyRules.test.ts`, `hotkeySheet.test.ts`, `pageImports.test.ts` and core's switcher `key.test.ts`, which uses TanStack's matcher as its oracle, pass. - Chromium: the whole tier 1 suite, 188 passed, the new test included. Firefox: `focus.spec.ts`, 10 passed. - By hand on this worktree's `pnpm dev`: `patchy init` a tier 1 repo from the instance's release, which bundles the patched TanStack. I published a page with a sequence beside its first step's chord, a list's own ArrowDown, a field, and a native modal dialog in a `HotkeyScope` that closes from its Escape. Then I drove it in desktop Chromium as the dev persona: - `G H` fired the page's G and G H. - ArrowDown fired the list's in the list and the page's elsewhere. - Typing `gh` in the field fired nothing; Mod+K there fired. - Escape and Ctrl+Enter mid-composition, then Safari's committing Enter, fired nothing, and the field kept か. - In the dialog, S fired the dialog's and ArrowDown nothing. Mod+/ opened the sheet over it, listing Close, Save and the openers. - Escape closed the sheet alone, then the dialog's Escape closed the dialog, and the page's `G H` fired again. - `?` opened and closed the sheet. - Not checked: Safari itself. The Safari keydown is replayed through Chrome's DevTools protocol, as the existing spec does. ## Release impact - [ ] **Breaking** — requires action from anyone already running this - [x] **Not breaking** — no action required Bundled SDK dependency. `patchy/hotkeys` keeps its API and behaviour; published pages keep their own bundle until they are republished. - **What does a revert leave behind?** Nothing on the server: no schema, data or contract. Patches published in between carry the newer TanStack in their own bundle and keep working. - **Does the release before it still work with that?** Yes. Claude Opus 5.5, T3 Code via Claude Code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
2 times, most recently
from
November 19, 2026 00:24
2314a1a to
1afaafc
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
3 times, most recently
from
November 20, 2026 03:09
4f47e83 to
0c493c7
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
from
November 22, 2026 13:09
0c493c7 to
ae3ab77
Compare
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
2 times, most recently
from
November 23, 2026 22:47
d5ae665 to
189d030
Compare
Bumps [@tanstack/hotkeys](https://github.com/TanStack/hotkeys/tree/HEAD/packages/hotkeys) from 0.27.1 to 0.33.0. - [Release notes](https://github.com/TanStack/hotkeys/releases) - [Changelog](https://github.com/TanStack/hotkeys/blob/main/packages/hotkeys/CHANGELOG.md) - [Commits](https://github.com/TanStack/hotkeys/commits/@tanstack/[email protected]/packages/hotkeys) --- updated-dependencies: - dependency-name: "@tanstack/hotkeys" dependency-version: 0.24.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
dependabot
Bot
force-pushed
the
dependabot/npm_and_yarn/tanstack/hotkeys-0.24.0
branch
from
November 23, 2026 23:31
189d030 to
dbd25d8
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps @tanstack/hotkeys from 0.27.1 to 0.33.0.
Release notes
Sourced from @tanstack/hotkeys's releases.
Changelog
Sourced from @tanstack/hotkeys's changelog.
... (truncated)
Commits
5bfc1a0ci: Version Packages (#285)8e01130feat(hotkeys): Type keys from other keyboard layouts through Register (#284)3f7321aci: Version Packages (#283)24d4182fix(hotkeys): Register nothing for a null target in HotkeyManager.register (#...5a4a1c6fix(hotkeys): Stop the inline meta render loop, and add AppHotkeysProvider fo...fb6af94ci: Version Packages (#280)82727f5fix(hotkeys): Leave Escape to the innermost open dialog, popover, or menu (#279)a82e0a3ci: Version Packages (#277)5c96d11refactor: Define shared types and adapter helpers once in core (#276)1f0a2c6ci: Version Packages (#273)