unstale

npm / cmdk

cmdk

What changed in cmdk 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.

3 breaking3 new APIs and options1 performance2 behavior and defaults6 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.3 on npm

cmdk 115 changes

Breaking changes 3

  • aria-disabled and aria-selected are now set to false instead of undefined, so CSS selectors should match attribute values rather than attribute presence.

    1.0.0release notes

  • Rendering Command.List is now mandatory; omitting it causes an error.

    1.0.0release notes

  • Values passed to Command.Item and received in onSelect are now case sensitive, though they are still trimmed.

    1.0.0release notes

New APIs and options 3

  • Added the asChild prop to all component parts.

    1.0.0release notes

  • Added a Command prop to disable item selection via pointer.

    1.0.0release notes

  • Added the keywords prop to Command.Item.

    1.0.0release notes

Performance 1

  • Fixed excessive re-renders when using forceMount.

    1.0.0release notes

Behavior and default changes 2

  • Command.List can now be rendered in a portal.

    1.0.0release notes

  • Keyboard navigation is now allowed even when the text input is not focused.

    1.0.0release notes

Fixes and other changes 6

  • Fixed Command.Empty not appearing on first render.

    1.0.0release notes

  • ESM support was fixed via a new exports field.

    1.0.0release notes

  • Fixed item sorting not working correctly.

    1.0.0release notes

  • Fixed a DOM error caused by quotes in the search query.

    1.0.0release notes

  • The selected item is now scrolled into view only on first render and via keyboard.

    1.0.0release notes

  • Fixed the labels for the suggestions list and loading progressbar.

    1.0.0release notes