# What changed in cmdk

> 15 changes in cmdk 1 from its official release notes, upgrade guides and advisories: 3 breaking, 3 new APIs and options. Each one cited. Sources checked 2026-10-23. HTML: https://unstale.sh/npm/cmdk/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## cmdk 1

### Breaking changes

- 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.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Rendering Command.List is now mandatory; omitting it causes an error. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Values passed to Command.Item and received in onSelect are now case sensitive, though they are still trimmed. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)

### New APIs and options

- Added the asChild prop to all component parts. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Added a Command prop to disable item selection via pointer. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Added the keywords prop to Command.Item. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)

### Performance

- Fixed excessive re-renders when using forceMount. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)

### Behavior and default changes

- Command.List can now be rendered in a portal. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Keyboard navigation is now allowed even when the text input is not focused. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)

### Fixes and other changes

- Fixed Command.Empty not appearing on first render. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- ESM support was fixed via a new exports field. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Fixed item sorting not working correctly. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Fixed a DOM error caused by quotes in the search query. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- The selected item is now scrolled into view only on first render and via keyboard. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
- Fixed the labels for the suggestions list and loading progressbar. (1.0.0) — [release notes](https://github.com/dip/cmdk/releases/tag/v1.0.0)
