Repository navigation
shadcn@4.22.0
·
2 commits
to main
since this release
Minor Changes
- #12298
954ce95Thanks @shadcn! - Upgrade to Zod 4.shadcn/schemaand@shadcn/registry/schemanow export Zod 4 schemas, so passing them to Zod 3'szno longer typechecks. On Zod 3, use the exported types (RegistryItem,RegistryItemFile,Config) and the schema's own methods (registryItemSchema.array()) instead ofz.inferandz.array. Zod errors exposeissues, noterrors. Validation messages now use Zod 4's wording.
Patch Changes
- Updated dependencies [
954ce95]:- @shadcn/registry@0.2.0