Skip to content

Conversation

@renovate
Copy link

@renovate renovate bot commented Apr 26, 2025

This PR contains the following updates:

Package Change Age Confidence
cmdk (source) ^0.2.0 -> ^1.0.0 age confidence

Release Notes

pacocoursey/cmdk (cmdk)

v1.1.1

Compare Source

What's Changed

  • Fix unintended double triggering of key bindings during IME composition by @​JaeSeoKim in #​339

New Contributors

Full Changelog: dip/cmdk@v1.1.0...v1.1.1

v1.1.0

Compare Source

What's Changed

  • fix useCmdk return type by @​lsmurray in #​329
  • fix: update the type of the defaultFilter by @​muZk in #​338
  • [Accessibility] Use id instead of children by @​UltimateGG in #​254
  • Use @radix-ui/react-compose-refs to merge refs, save on bundle size
  • Use React built-in useSyncExternalStore and remove shim. Note that React 18 has always been a required peerDependency of cmdk

New Contributors

Full Changelog: dip/cmdk@v1.0.4...v1.1.0

v1.0.4

Compare Source

What's Changed

New Contributors

Full Changelog: dip/cmdk@v1.0.3...v1.0.4

v1.0.3

Compare Source

  • Fix use-sync-external-store shim for compatibility with Next.js 15 and React 19 RC

v1.0.2

Compare Source

v1.0.1

Compare Source

What's Changed

New Contributors

Full Changelog: dip/cmdk@v1.0.0...v1.0.1

v1.0.0

Compare Source

This is a major version release as it contains breaking changes.

Breaking Changes

You will need to update your code to account for these changes before upgrading to [email protected].

value is now case sensitive 3dae25d

The 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) 54aa261

Rendering 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>
Update [aria-disabled] and [aria-selected] CSS selectors c57e6b7

The 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"] {}

What's Changed

New Contributors

Full Changelog: dip/cmdk@v0.2.1...v1.0.0

v0.2.1

Compare Source

Been a while—this is a hefty release. Sorry for the delay.

What's New

What's Fixed

  • Fixed a bug where using controlled item values would accidentally become uncontrolled if there are no results by @​joaom00 in #​109
  • Fixed items on mobile are now correctly selected on tap by @​joaom00 in #​113
  • Fixed a bug where focus would jump back to the first item instead of respecting the controlled value @​joaom00 in #​112
  • Fixed the props for the <Command.Loading /> to indicate it spreads onto a div element by @​0xcadams in #​154
  • Fixed pressing [Enter] to select an item while in the middle of an IME composition by @​hajimism in #​166
  • Fixes a bug where backspacing would not properly reveal items that didn't have their value explicitly set by @​WITS in #​176

Docs

Internal

New Contributors

Full Changelog: dip/cmdk@v0.2.0...v0.2.1


Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/cmdk-1.x branch from 3734eb2 to e6043c9 Compare September 27, 2025 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants