shadcn Release Notes
58 release notes curated from 2 sources by the Releasebot Team. Last updated: Oct 28, 2026
shadcn Products
- Oct 27, 2026
- Date parsed from source:Oct 27, 2026
- First seen by Releasebot:Oct 28, 2026
ui upgrades its MCP server to SDK v2, supports the 2026-07-28 protocol, and adds fresh server instances per connection.
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 use server.registerTool(...) or server.server.setRequestHandler(...) instead.
Original source - Oct 27, 2026
- Date parsed from source:Oct 27, 2026
- First seen by Releasebot:Oct 28, 2026
ui updates its registry package dependencies, including undici 7.30.1.
Patch Changes
- #12479 8f04138 Thanks @dependabot! - Update undici to 7.30.1.
Updated dependencies [8f04138]:
- @shadcn/[email protected]
All of your release notes in one feed
Join Releasebot and get updates from shadcn and hundreds of other software products.
- Oct 27, 2026
- Date parsed from source:Oct 27, 2026
- First seen by Releasebot:Oct 28, 2026
- Oct 18, 2026
- Date parsed from source:Oct 18, 2026
- First seen by Releasebot:Oct 18, 2026
ui fixes `shadcn add --all` and the component picker to show only components available for the project's style.
Patch Changes
- #12360 4381eeb Thanks @shadcn! - Fix shadcn add --all and the component picker to only include components available for the project's style.
- Oct 16, 2026
- Date parsed from source:Oct 16, 2026
- First seen by Releasebot:Oct 16, 2026
ui upgrades to Zod 4 schemas, updates validation messages, and provides guidance for using exported types with Zod 3.
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 messages now use Zod 4's wording.
Patch Changes
Updated dependencies [954ce95]:
- @shadcn/[email protected]
Similar to shadcn with recent updates:
- Zoom release notes229 release notes · Latest Nov 20, 2026
- Google release notes2591 release notes · Latest Nov 23, 2026
- 1Password release notes248 release notes · Latest Nov 17, 2026
- Anthropic release notes970 release notes · Latest Nov 23, 2026
- Zed release notes180 release notes · Latest Nov 20, 2026
- Cursor release notes144 release notes · Latest Nov 6, 2026
- Oct 16, 2026
- Date parsed from source:Oct 16, 2026
- First seen by Releasebot:Oct 16, 2026
@shadcn/[email protected]
ui upgrades its registry schemas to Zod 4, updates type compatibility guidance, and adopts Zod 4 validation error wording.
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 messages now use Zod 4's wording.
Original source - Oct 16, 2026
- Date parsed from source:Oct 16, 2026
- First seen by Releasebot:Oct 16, 2026
@shadcn/[email protected]
ui adds preliminary output streaming to tool handles, allowing tools to share results before completion.
Minor Changes
- #12307 4233ed1 Thanks @shadcn! - Add { preliminary: true } to the tool handle's output() to stream preliminary tool output.
- Oct 15, 2026
- Date parsed from source:Oct 15, 2026
- First seen by Releasebot:Oct 15, 2026
October 2026 - Trace, Code Block and AI Elements
shadcn releases Trace and Code Block components for building agentic interfaces, plus 21 copy-ready AI Elements patterns. The new components support Base UI, React Aria, and Radix across eight styles, bringing chat, reasoning, tool, and code-output experiences together.
Today, we are releasing two new components, Trace and Code Block, and AI Elements, a set of patterns for agentic interfaces built from shadcn/ui components.
Trace and Code Block are available for Base UI, React Aria and Radix across all eight styles.
Trace
Trace is a list of lines for the steps an agent takes. We built it by studying hundreds of components from agentic interfaces and distilling what they share into one composition you can reuse.
Why does pnpm install fail in CI?
Thought for 5s
Ran pnpm --version
Ran git diff --stat HEAD~1 -- package.json pnpm-lock.yaml
package.json | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)Failed to run pnpm install --frozen-lockfile
Used 2 sources
The last commit bumped a version in package.json without updating pnpm-lock.yaml, so the frozen install fails. Run pnpm install locally and commit the lockfile.
Replay
"use client" import * as React from "react"View Code
Reasoning, tool calls, sources, plans and subagent runs all have the same shape: something the agent did, and what happened. In Trace, each one is a line with an icon, a title, and an optional description and status. A line can expand to show more detail, link to a page, or open a dialog or sheet, so every step looks and behaves the same in your interface.
- running, error and pending states, with a shimmer while a step runs.
- Lines that expand, link out, or open a dialog, sheet, drawer or popover.
- Nested lines, so a summary expands into steps and a step into its output.
- Works with the reasoning, tool and source parts from the AI SDK.
- Keyboard and screen reader support from the trigger that wraps each line.
pnpm dlx shadcn@latest add traceCopy
Code Block
CodeBlock displays code, terminal output, logs and diffs. It has a header with a title and actions, line numbers, wrapping, diff and highlighted lines, and a small size for tool output in a Trace.
app/api/chat/route.ts
Wrap lines
Download
Copy
import { streamText } from "ai" export async function POST ( request : Request ) { const { messages } = await request. json () const result = streamText ({ model: "anthropic/claude-sonnet-4.5", system: "You are a helpful assistant. Answer in one short paragraph.", messages, }) return result. toUIMessageStreamResponse () }"use client" import * as React from "react"View Code
pnpm dlx shadcn@latest add code-blockCopy
Building agentic interfaces
Trace and Code Block join the components for chat interfaces we released in June. Together, they cover every part of an agentic interface:
- Message Scroller holds the thread. It anchors each turn, follows the reply while it streams and loads history without jumping.
- Message is one turn, with an avatar, a header and a footer for actions.
- Bubble holds what the person sends.
- Trace shows the steps the agent takes inside a turn.
- Code Block shows the code, commands and output those steps produce.
- Marker adds notes and dividers between turns.
- Attachment shows the files that come with a message.
- Questionnaire asks the person to clarify before the agent continues.
AI Elements
AI Elements are patterns for agentic interfaces built from these components. There is no package to install. Each pattern is a composition you copy into your project, and the code is yours.
New Thread
Ask the agent to change your code.
Reset conversation
What should we build?
The agent can read your code, run commands and make changes. Press send to start.
Message
Add a dark mode toggle to the settings page.
Add context
Send
View Code
There are 21 patterns, from Chat and Prompt Input to Reasoning, Tool, Plan and Subagent. Each page shows how to render the pattern from AI SDK message parts.
Every page is also available as Markdown, so you can point your coding agent at it:
Prompt
Add the Reasoning pattern from https://ui.shadcn.com/docs/ai-elements/base/reasoning.md to my chat.
Migrating from AI SDK Elements
AI Elements replaces AI SDK Elements, and we are going to deprecate AI SDK Elements.
You do not need to migrate right away. The components you installed from AI SDK Elements were copied into your project, so they keep working.
When you are ready, each pattern page has a migration prompt. Paste it into your coding agent, and it rebuilds the wrapper in components/ai-elements on Trace, Code Block and the other shadcn/ui components. Every export keeps its name and props, so the code that uses it does not change.
See Migrating from AI SDK Elements for the element that replaces each file, and for the elements we did not rebuild. If you still need one of those, open an issue and we will help you build it.
Original source - Oct 14, 2026
- Date parsed from source:Oct 14, 2026
- First seen by Releasebot:Oct 14, 2026
ui fixes MCP search and list results, reorganizes registry modules, and updates several dependencies.
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/sdk to 1.31.0.
- #12048 cfb4cb6 Thanks @dependabot! - Update undici to 7.29.1.
Updated dependencies [97ddbf4, dd34945, cfb4cb6]:
@shadcn/[email protected]
Original source - Oct 14, 2026
- Date parsed from source:Oct 14, 2026
- First seen by Releasebot:Oct 14, 2026
@shadcn/[email protected]
ui moves registry modules, removes redundant comments and no-op guards, and updates undici to 7.29.1.
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.
- Oct 7, 2026
- Date parsed from source:Oct 7, 2026
- First seen by Releasebot:Oct 7, 2026
ui ships a patch update to @shadcn/registry that removes the ts-morph dependency and runs multiple transformers without it, improving Next.js layout and Tailwind config handling with warnings instead of broken output.
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 warning instead of writing a broken layout.
- #12188 efa11781f756c86debb0392fbea4fe468250b41b Thanks @shadcn! - Rewrite imports and crawl file imports without ts-morph.
- #12177 e8c3143b1cd191280befcd6c9538284bb43399a8 Thanks @shadcn! - Edit tailwind.config without ts-morph, and skip it with a warning instead of writing a broken config.
- #12183 f56bbd7282f0116a925a601cb6d7e0c3fede448b Thanks @shadcn! - Run the rsc, import, CSS variable, cleanup, font and menu transformers without ts-morph.
- #12185 4a90344c42dc9ae47494179065219377ff5f2a8f Thanks @shadcn! - Run the Tailwind prefix and RTL transformers without ts-morph.
Updated dependencies [76fd499595ba7cc01f49d159bd7ac82d7aca8e63, 995c2cfff44c373bd210d451089726ec097ab917, 6efecd8fe9aa167886fe2cc0c05c5623a5bb5670, 232d7e2c128d94d37a6dae74e3b0e1a8f08ff6e4, efa11781f756c86debb0392fbea4fe468250b41b, e8c3143b1cd191280befcd6c9538284bb43399a8, f56bbd7282f0116a925a601cb6d7e0c3fede448b, 4a90344c42dc9ae47494179065219377ff5f2a8f]:
- @shadcn/[email protected]
- Oct 7, 2026
- Date parsed from source:Oct 7, 2026
- First seen by Releasebot:Oct 7, 2026
@shadcn/[email protected]
ui patches registry tooling to remove the ts-morph dependency from many transformers, shrinking the read-only API bundle and making Next.js layout and Tailwind config edits safer with warnings instead of broken writes.
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 warning instead of writing a broken layout.
- #12146 232d7e2c128d94d37a6dae74e3b0e1a8f08ff6e4 Thanks @shadcn! - Load ts-morph only for addRegistryItems, so the read-only API bundles about 6 MB smaller.
- #12188 efa11781f756c86debb0392fbea4fe468250b41b Thanks @shadcn! - Rewrite imports and crawl file imports without ts-morph.
- #12177 e8c3143b1cd191280befcd6c9538284bb43399a8 Thanks @shadcn! - Edit tailwind.config without ts-morph, and skip it with a warning instead of writing a broken config.
- #12183 f56bbd7282f0116a925a601cb6d7e0c3fede448b Thanks @shadcn! - Run the rsc, import, CSS variable, cleanup, font and menu transformers without ts-morph.
- #12185 4a90344c42dc9ae47494179065219377ff5f2a8f Thanks @shadcn! - Run the Tailwind prefix and RTL transformers without ts-morph.
- Oct 6, 2026
- Date parsed from source:Oct 6, 2026
- First seen by Releasebot:Oct 6, 2026
ui fixes ERR_REQUIRE_CYCLE_MODULE for the CLI when run with pnpm dlx on Windows.
Patch Changes
#12148 596be8dda8f94927281184b8c4575150531f85ea Thanks @shadcn! - Fix ERR_REQUIRE_CYCLE_MODULE when running the CLI with pnpm dlx on Windows.
Updated dependencies [596be8dda8f94927281184b8c4575150531f85ea]:
@shadcn/[email protected]
Original source - Oct 6, 2026
- Date parsed from source:Oct 6, 2026
- First seen by Releasebot:Oct 6, 2026
@shadcn/[email protected]
ui fixes ERR_REQUIRE_CYCLE_MODULE in the CLI for pnpm dlx on Windows.
Patch Changes
- #12148 596be8dda8f94927281184b8c4575150531f85ea Thanks @shadcn! - Fix ERR_REQUIRE_CYCLE_MODULE when running the CLI with pnpm dlx on Windows.
- Oct 5, 2026
- Date parsed from source:Oct 5, 2026
- First seen by Releasebot:Oct 6, 2026
ui ships patch updates that improve project setup and dependency handling, including support for BOM-prefixed config files, a smaller custom reader, and skipping npm audit and funding checks during installs, removals, and project creation.
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 installing or removing dependencies, or creating a project, with npm.
Updated dependencies [8c2bf3882cb856ac10abbb162bdc0b8383ebd432, 95efb5cd8d7f13adba70b58b1119211e8980683f, 3b1ae6e43f082dd82d0e5710b813cfad929abdb4]:
@shadcn/[email protected]
Original source
Curated by the Releasebot team
Releasebot is an aggregator of official release notes from hundreds of software vendors and thousands of sources.
Our editorial process involves the manual review and audit of release notes procured with the help of automated systems.