github shadcn-ui/ui @shadcn/registry@0.2.0

latest releases: @shadcn/helpers@0.3.0, shadcn@4.22.0
3 hours ago

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.

Don't miss a new ui release

NewReleases is sending notifications on new releases.