Skip to content

Command Palette ​

0.2.9 ​

2026-09-12

  • bindShortcuts now binds hotkeys for nested subCommands too, not just top-level commands.
  • The hotkey fallback executor (runFallback, used with no <CommandPalette> mounted) now correctly opens page-only commands and handles confirm/frecency tracking like the real executeCommand.
  • CommandItem's match highlighting now reuses the diacritic-aware FuzzySearch scorer instead of a separate, less accurate implementation.
  • The Nuxt module now registers the package's components via addComponent and auto-imports every composable/factory, not just 3 of them.
  • isLoading in CommandPalette.vue is now a ref-count across concurrent search pipelines, instead of one shared boolean that could clear prematurely.
  • Async result merging now replaces an already-merged sync result with a better-scoring async result of the same id, instead of "first-registered wins".
  • PaletteProvider (testing.ts) now also provides PALETTE_REGISTRY_KEY — named-instance lookups (useCommandPalette('name')) now resolve correctly under it.
  • Unified the global hotkey toggle (installPalette) and useCommandPalette()'s own toggle()/open()/close() onto one open/close implementation (including history clearing).
  • Function-valued Nuxt module options (vCommandPalette: onOpen, onError, search, onSearch, etc.) are no longer serialized into the client runtimeConfig.public — only the serializable subset crosses that boundary.