S

shadcn/ui

S
shadcn/ui Web v4.23.0

shadcn@4.23.0

Minor Changes #12296 15f59b4 Thanks @mattzcarey! - Upgrade the MCP server to MCP TypeScript SDK v2 (@modelcontextprotocol/server). shadcn mcp now serves MCP protocol 2026-07-28 as well as earlier versions. The shadcn/mcp export is now an McpServer, and a new createServer() export returns a fresh instance per connection. Code that called server.setRequestHandler(...) on the old Server export should…

S
shadcn/ui Web v4.22.2

shadcn@4.22.2

Patch Changes #12479 8f04138 Thanks @dependabot! - Update undici to 7.30.1. Updated dependencies [8f04138]: @shadcn/registry@0.2.1

S
shadcn/ui Web v4.22.1

shadcn@4.22.1

Patch Changes #12360 4381eeb Thanks @shadcn! - Fix shadcn add --all and the component picker to only include components available for the project's style.

S
shadcn/ui Web v0.3.0

@shadcn/helpers@0.3.0

Minor Changes #12307 4233ed1 Thanks @shadcn! - Add { preliminary: true } to the tool handle's output() to stream preliminary tool output.

S
shadcn/ui Web v4.22.0

shadcn@4.22.0

Minor Changes #12298 954ce95 Thanks @shadcn! - Upgrade to Zod 4. shadcn/schema and @shadcn/registry/schema now export Zod 4 schemas, so passing them to Zod 3's z no longer typechecks. On Zod 3, use the exported types (RegistryItem, RegistryItemFile, Config) and the schema's own methods (registryItemSchema.array()) instead of z.infer and z.array. Zod errors expose issues, not errors. Validation mes…

S
shadcn/ui Web v0.2.0

@shadcn/registry@0.2.0

Minor Changes #12298 954ce95 Thanks @shadcn! - Upgrade to Zod 4. shadcn/schema and @shadcn/registry/schema now export Zod 4 schemas, so passing them to Zod 3's z no longer typechecks. On Zod 3, use the exported types (RegistryItem, RegistryItemFile, Config) and the schema's own methods (registryItemSchema.array()) instead of z.infer and z.array. Zod errors expose issues, not errors. Validation mes…

S
shadcn/ui Web v4.21.5

shadcn@4.21.5

Patch Changes #12214 4407349 Thanks @dependabot! - Update @modelcontextprotocol/sdk, browserslist, open and postcss-selector-parser. #12192 dd34945 Thanks @shadcn! - Move @shadcn/registry modules out of utils. #12297 7aa2110 Thanks @mattzcarey! - Fix MCP search and list results showing [object Promise] instead of the add command. #12174 2af71ac Thanks @dependabot! - Update @modelcontextprotocol/sd…

S
shadcn/ui Web v0.1.4

@shadcn/registry@0.1.4

Patch Changes #12195 97ddbf4 Thanks @shadcn! - Remove narrating comments and no-op guards from @shadcn/registry. #12192 dd34945 Thanks @shadcn! - Move @shadcn/registry modules out of utils. #12048 cfb4cb6 Thanks @dependabot! - Update undici to 7.29.1.

S
shadcn/ui Web v4.21.4

shadcn@4.21.4

Patch Changes #12189 76fd499595ba7cc01f49d159bd7ac82d7aca8e63 Thanks @shadcn! - Drop the ts-morph dependency from @shadcn/registry. #12184 995c2cfff44c373bd210d451089726ec097ab917 Thanks @shadcn! - Run the icons and asChild transformers without ts-morph. #12160 6efecd8fe9aa167886fe2cc0c05c5623a5bb5670 Thanks @shadcn! - Edit the Next.js layout for font items without ts-morph, and skip it with a war…

S
shadcn/ui Web v0.1.3

@shadcn/registry@0.1.3

Patch Changes #12189 76fd499595ba7cc01f49d159bd7ac82d7aca8e63 Thanks @shadcn! - Drop the ts-morph dependency from @shadcn/registry. #12184 995c2cfff44c373bd210d451089726ec097ab917 Thanks @shadcn! - Run the icons and asChild transformers without ts-morph. #12160 6efecd8fe9aa167886fe2cc0c05c5623a5bb5670 Thanks @shadcn! - Edit the Next.js layout for font items without ts-morph, and skip it with a war…

S
shadcn/ui Web v4.21.3

shadcn@4.21.3

Patch Changes #12148 596be8dda8f94927281184b8c4575150531f85ea Thanks @shadcn! - Fix ERR_REQUIRE_CYCLE_MODULE when running the CLI with pnpm dlx on Windows. Updated dependencies [596be8dda8f94927281184b8c4575150531f85ea]: @shadcn/registry@0.1.2

S
shadcn/ui Web v0.1.2

@shadcn/registry@0.1.2

Patch Changes #12148 596be8dda8f94927281184b8c4575150531f85ea Thanks @shadcn! - Fix ERR_REQUIRE_CYCLE_MODULE when running the CLI with pnpm dlx on Windows.

S
shadcn/ui Web v4.21.2

shadcn@4.21.2

Patch Changes #12143 8c2bf3882cb856ac10abbb162bdc0b8383ebd432 Thanks @shadcn! - Accept components.json and package.json files that start with a UTF-8 byte order mark. #12142 95efb5cd8d7f13adba70b58b1119211e8980683f Thanks @shadcn! - replace cosmiconfig with a smaller custom reader. #12140 3b1ae6e43f082dd82d0e5710b813cfad929abdb4 Thanks @shadcn! - Skip npm audit and the funding check when installin…

S
shadcn/ui Web v0.1.1

@shadcn/registry@0.1.1

Patch Changes #12143 8c2bf3882cb856ac10abbb162bdc0b8383ebd432 Thanks @shadcn! - Accept components.json and package.json files that start with a UTF-8 byte order mark. #12142 95efb5cd8d7f13adba70b58b1119211e8980683f Thanks @shadcn! - replace cosmiconfig with a smaller custom reader. #12140 3b1ae6e43f082dd82d0e5710b813cfad929abdb4 Thanks @shadcn! - Skip npm audit and the funding check when installin…

S
shadcn/ui Web v4.21.1

shadcn@4.21.1

Patch Changes #12087 bf6646b449684e687f28531305eca4e4768c2782 Thanks @shadcn! - Add @shadcn/registry, the registry engine behind the CLI. shadcn now depends on it, and shadcn/registry and shadcn/schema re-export it, so there are no changes for existing users. #12061 a9c1da49ec4eab488dc99c69ae20a7ffaa4897d4 Thanks @shadcn! - fix shimmer reduced motion handling when used with a variant #12087 bf6646…

S
shadcn/ui Web v0.1.0

@shadcn/registry@0.1.0

Minor Changes #12087 bf6646b449684e687f28531305eca4e4768c2782 Thanks @shadcn! - Add @shadcn/registry, the registry engine behind the CLI. shadcn now depends on it, and shadcn/registry and shadcn/schema re-export it, so there are no changes for existing users.

S
shadcn/ui Web v4.21.0

shadcn@4.21.0

Minor Changes #11758 c257f688cf4de7ec10cc1be84cad29cd4631182c Thanks @shadcn! - install cn and generate export { cn } from "cn" for lib/utils on init. Registry components now import cn from the cn package. Patch Changes 8720dec73f5aebed9f649ea58636f54599fdedf1 Thanks @shadcn! - use twMerge from cn instead of tailwind-merge internally.

S
shadcn/ui Web v4.20.1

shadcn@4.20.1

Patch Changes #11742 04bb134c52af23af7d77673618ef4e3862b7c310 Thanks @shadcn! - preserve leading comments when running shadcn migrate cn.

S
shadcn/ui Web v4.20.0

shadcn@4.20.0

Minor Changes #11728 51f3e12203b0026ea106cafb4f770bda9abead87 Thanks @shadcn! - add npx shadcn migrate cn to replace clsx, tailwind-merge and cnfast in Tailwind CSS v4 projects.

S
shadcn/ui Web v4.19.1

shadcn@4.19.1

Patch Changes #11713 f9ea1e600ea5dd7b1b79769b7b25cafa400cee6f Thanks @shadcn! - Add the official shadcn/ui website to the package metadata.

S
shadcn/ui Web v0.3.1

@shadcn/react@0.3.1

Patch Changes #11720 503a3a57aec9a3817e37f90aa0817b1fabd284d0 Thanks @shadcn! - Set data-pending-scroll on the MessageScroller root and viewport until defaultScrollPosition ("end" or "last-anchor") is applied, so the viewport can be hidden and a server-rendered transcript does not flash the top of the thread on reload.

S
shadcn/ui Web v4.19.0

shadcn@4.19.0

Minor Changes #11582 33c81f991f1013653444d6819107b2b356563f57 Thanks @shadcn! - add private repository support to GitHub registries via GitHub CLI credentials or GH_TOKEN. #11248 b4f2023b1d5c733db67d4e90eb9485a95c5ed480 Thanks @rbadillap! - add npx shadcn migrate base-color to switch a project's base color.

S
shadcn/ui Web v4.18.0

shadcn@4.18.0

Minor Changes #11501 aef1cdca54e8da689351cdddf959342909e45e76 Thanks @shadcn! - merge registries from package.json and components.json, and support adding registries to package.json when components.json is not present Patch Changes #11500 e66b99b14dd9c54afc434dbf5a702f170b1153b0 Thanks @shadcn! - Skip unreadable directories during file scans instead of failing with EACCES. #11504 9f4e3ff26025d16a2…

S
shadcn/ui Web v0.2.0

@shadcn/helpers@0.2.0

Minor Changes #11484 401d10b8180b17eb1fdd36d537abaa8aeb68708f Thanks @shadcn! - Add human-in-the-loop mocking for the AI SDK. #11484 401d10b8180b17eb1fdd36d537abaa8aeb68708f Thanks @shadcn! - Make createChat generic over the UI message type, like useChat.

S
shadcn/ui Web v4.17.0

shadcn@4.17.0

Minor Changes #10453 deda4df80fb350230b2fce2b575e769a90cae076 Thanks @nbouvrette! - Add SOCKS4/SOCKS5 proxy support to the registry HTTP stack via ALL_PROXY=socks5://... (the curl convention), backed by the socks package. Proxy selection now goes through a createProxyDispatcher(env) factory that checks ALL_PROXY / all_proxy for a socks*:// URL before falling back to the existing HTTP/HTTPS handlin…

S
shadcn/ui Web v4.16.2

shadcn@4.16.2

Patch Changes #11348 df664e1bba86c6712bc5e08c8626590dca736089 Thanks @OwenKephart! - Include registry item titles in searchRegistries results and fuzzy matching.

S
shadcn/ui Web v0.3.0

@shadcn/react@0.3.0

Minor Changes #11414 3e54530e31020e2277df03490a30a08e3bc1792b Thanks @shadcn! - Add the Questionnaire primitive for multi-step questions, freeform answers, validation, and keyboard navigation.

S
shadcn/ui Web v4.16.1

shadcn@4.16.1

Patch Changes #11322 bfa1b5e9a69a155b2f590523d50fda810bde1a9a Thanks @AndrewBarba! - fix shadcn build failing with ENOENT when registry item names contain path segments (e.g. extension/foo) by creating nested output directories before writing #11352 5ca53ca7c7dea390e0e78091ff7c54adc48c773a Thanks @shadcn! - forward search params to registries for server-side dynamic search

S
shadcn/ui Web v4.16.0

shadcn@4.16.0

Minor Changes #11307 431da7169cae753643e67e56e168b93ec31dfe90 Thanks @shadcn! - make addRegistryItems accept explicit registry configuration instead of loading components.json #11304 bf906bb8aeebc64d374afb54497b822d587ac6d7 Thanks @shadcn! - add getRegistriesConfig and registries in package.json support