Skip to content

v1.1.1

Choose a tag to compare

@sapatmohit sapatmohit released this 07 Sep 10:51
· 33 commits to main since this release

Patch release fixing the copy-paste install path.

Fixed

shadcn add @elements/<component> was broken. Items in this registry listed
their shared dependencies (locale-types, use-controllable-state) by bare name,
and the shadcn CLI resolves a bare name against its own registry rather than the one
serving the item. Installing any component failed with:

The item at https://ui.shadcn.com/r/styles/new-york-v4/locale-types.json
was not found.

The registry now emits absolute URLs for its own items, and the bundled
npx @babelize/elements add CLI accepts either an absolute URL or a bare name.

If you are on 1.1.0 and use the bundled CLI, upgrade — 1.1.0's CLI cannot read the
current registry output.

No changes to the components themselves; upgrading from 1.1.0 is safe.