Skip to content

shadcn@4.22.0

Choose a tag to compare

@github-actions github-actions released this 16 Oct 13:24
· 2 commits to main since this release
shadcn@4.22.0
ad0a097

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/registry@0.2.0