NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #1143 most downloaded on npm
<p align="center"> <img src="./website/public/og.png" /> </p>
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 8 days to 11 months
Some releases are documented
notes for 12 of 36 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
39 releases · first in 2020
One column per quarter.
Fix unintended double triggering of key bindings during IME composition by @JaeSeoKim in #339
Full Changelog: v1.1.0...v1.1.1
fix useCmdk return type by @lsmurray in #329
@radix-ui/react-compose-refs to merge refs, save on bundle sizeuseSyncExternalStore and remove shim. Note that React 18 has always been a required peerDependency of cmdkFull Changelog: v1.0.4...v1.1.0
Fix use-sync-external-store import for greater compatibility by @kachkaev in #328
Fix use-sync-external-store shim for compatibility with Next.js 15 and React 19 RC
use-sync-external-store shim for compatibility with Next.js 15 and React 19 RCNothing published for this version
Nothing published for this version
Nothing published for this version
fix: docs mistake we are no longer lowercasing by @itsjoeoui in #227
Full Changelog: v1.0.0...v1.0.1
This is a major version release as it contains breaking changes.
This is a major version release as it contains breaking changes.
You will need to update your code to account for these changes before upgrading to cmdk@1.0.0.
value is now case sensitive 3dae25dThe value prop you pass to Command.Item and receive in onSelect is now case sensitive. But while the value is no longer lowercased, it is still trimmed.
Command.List is now required (CommandList in shadcn) 54aa261Rendering the Command.List part (CommandList if using shadcn) is now mandatory. Otherwise, you should expect to see an error like this:
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
The fix:
// Before
<Command label="Command Menu">
<Command.Input />
<Command.Item />
{/* ... */}
</Command>// After
<Command label="Command Menu">
<Command.Input />
<Command.List>
<Command.Item />
{/* ... */}
</Command.List>
</Command>[aria-disabled] and [aria-selected] CSS selectors c57e6b7The aria-disabled and aria-selected props will now be set to false, instead of being undefined. If you previously used CSS selectors based on attribute presence, you will now need to use the attribute value.
/* Before */
[aria-disabled] {}
:not([aria-disabled]) {}
/* After */
[aria-disabled="true"] {}
[aria-disabled="false"] {}Command.List in a portal in 54aa261Command.Empty not appearing on first render in be4388edisablePointerSelection prop to Command to disable item selection via pointer, like Raycast by @joaom00 in #116forceMount by @joaom00 in #143@radix-ui/react-dialog version by @wmcheung in #194keywords prop to the Command.Item component by @itaikeren in #158asChild prop to all component parts by @joaom00 in #138Full Changelog: v0.2.1...v1.0.0
Been a while—this is a hefty release. Sorry for the delay.
Been a while—this is a hefty release. Sorry for the delay.
<Command /> by @revogabe in #123forceMount prop to <Command.Item /> and <Command.Group /> by @MildTomato in #101overlayClassName and contentClassName props to <Command.Dialog />: by @joaom00 in #114data-disabled to <Command.Item /> by @joaom00 in #122aria-activedescendant in <Command.Input /> by @joaom00 in #108offsetHeight to calculate list height by @joaom00 in #121<Command.Loading /> to indicate it spreads onto a div element by @0xcadams in #154Full Changelog: v0.2.0...v0.2.1
Add "data-selected" attribute to Item Component by @Saintpreston in #80
GroupProps by @pondorasti in #91Full Changelog: v0.1.21...v0.2.0
Nothing published for this version
prune: yarn.lock; docs(website): pnpm; chore: enforce pnpm by @JeromeFitz in #39
last fn respects disabled items by @thiskevinwang in #47onValueChange after filtering the list by @Andarist in #70Full Changelog: v0.1.19...v0.1.21
Nothing published for this version
Nothing published for this version
Fix group filtering when shouldFilter is disabled by @flaviouk in https://github.com/pacocoursey/cmdk/pull/33
shouldFilter is disabled by @flaviouk in https://github.com/pacocoursey/cmdk/pull/33Full Changelog: https://github.com/pacocoursey/cmdk/compare/v0.1.18...v0.1.19
Use [hidden] on group instead of changing render structure by @pacocoursey in https://github.com/pacocoursey/cmdk/pull/27
Full Changelog: https://github.com/pacocoursey/cmdk/commits/v0.1.18
fix: className is now correctly forwarded to all items and groups
className is now correctly forwarded to all items and groupsNothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →