shadcn@4.21.5 @shadcn/registry@0.2.0
shadcn-ui/uiOct 14, 2026 → Oct 16, 20262 days between releases
What's New
Upgrades to Zod 4 requiring schema validation and type definition updates
Breaking Changes
- Upgraded to Zod 4, breaking `z.infer` usage and requiring schema method updates
Improvements
- Validation message wording updated to Zod 4 standards
Upgrade Notes
Update type definitions to use exported types like `RegistryItem` instead of `z.infer`. Use schema methods like `registryItemSchema.array()` instead of `z.array`. Note that Zod errors expose `issues` instead of `errors`.
The Two Releases
shadcn@4.21.5
Oct 14, 2026· 8 days ago
This patch release focuses on updating external dependencies and refactoring internal project structure. It moves registry modules out of utils and fixes a bug where MCP search results incorrectly displayed `[object Promise]`.
Full release notes@shadcn/registry@0.2.0
Oct 16, 2026· 6 days ago
Upgrades to Zod 4, requiring consumers to update their schema validation and type definitions.
Full release notes