@shadcn/registry@0.2.0
shadcn-ui/ui@shadcn/registry@0.2.0Oct 16, 2026by github-actions[bot]
Upgrading?
AI Summary
Upgrades to Zod 4, requiring consumers to update their schema validation and type definitions.
Key Highlights
- Upgrade to Zod 4
- Use exported types instead of `z.infer`
- Use schema methods instead of `z.array`
- Validation message wording updated to Zod 4 standards
Full Release Notes
### Minor Changes - [#12298](https://github.com/shadcn-ui/ui/pull/12298) [`954ce95`](https://github.com/shadcn-ui/ui/commit/954ce953412867a57b7e067c076fa7fd395ea115) Thanks [@shadcn](https://github.com/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.
Related Repositories
openclaw/openclaw★ 392,715
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
nilbuild/developer-roadmap★ 370,095
Interactive roadmaps, guides and other educational content to help developers grow in their careers.
morluto/rea★ 360,219
Reverse engineer anything with agents, from app behavior down to native binaries.
anomalyco/opencode★ 219,858
The open source coding agent.
n8n-io/n8n★ 208,278
Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.