cmdk
1.1.1 · 14 Mar 2025MIT51M / weekRepositoryHomepagenpmAtom feed
Upgrading cmdk From 0.1.21 to 1.1.1
10 releases in betweennotes for 8
- 1+
- change to make
- 0
- advisories fixed
- 17+
- new
- 26+
- fixes
Counted from 8 of 10 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking1.0.0
Release by release
- Fixed
Fix unintended double triggering of key bindings during IME composition
- Fixed
- Fixed
Fix useCmdk return type
- Fixed
Update the type of the defaultFilter
- Fixed
- Fixed
Fix use-sync-external-store import for greater compatibility
- Fixed
- Fixed
Fix
use-sync-external-storeshim for compatibility with Next.js 15 and React 19 RC
- Fixed
1.0.2no release note
- New
Export defaultFilter
- New
Allow react v19 as peer dep
- Fixed
Docs mistake we are no longer lowercasing
- Fixed
Controlled search change with hidden Command.List
- New
- Breaking
This is a major version release as it contains breaking changes.
- New
Added support for rendering
Command.Listin a portal in 54aa2617a80ce897dedfaea65a24cc439cd3c03f - New
Added
disablePointerSelectionprop toCommandto disable item selection via pointer, like Raycast - New
Added
keywordsprop to theCommand.Itemcomponent
- Breaking
- New
Bring in local dependency of command-score with vastly improved filtering performance by default
- New
Add defaultValue prop to
<Command /> - New
Add
forceMountprop to<Command.Item />and<Command.Group /> - New
Adds
overlayClassNameandcontentClassNameprops to<Command.Dialog />:
- New
6 other lines we could not sort, mostly version bumps
- 1.1.0
Use id instead of children
- 1.1.0
Use
@radix-ui/react-compose-refsto merge refs, save on bundle size - 1.1.0
Use React built-in
useSyncExternalStoreand remove shim. Note that React 18 has always been a required peerDependency ofcmdk - 1.0.1
Relax dependencies on Radix-UI to SemVer MAJOR releases
- 1.0.1
Upgrade @radix-ui/react-id
- 1.0.0
Bumped
@radix-ui/react-dialogversion
9 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.