@shadcn/helpers@0.3.0 shadcn@4.22.0

high risk

shadcn-ui/uiOct 16, 2026 → Oct 16, 20260 days between releases

What's New

Package names differ; shadcn upgraded to Zod 4

Breaking Changes

  • Exports from `shadcn/schema` and `@shadcn/registry/schema` are now Zod 4, incompatible with Zod 3
  • Zod validation errors now expose `issues` instead of `errors`
  • Validation message wording changed in Zod 4

Improvements

  • Updated `@shadcn/registry` dependency to version 0.2.0

Upgrade Notes

Note that the newer release is for the `shadcn` package, not `@shadcn/helpers`. To migrate, switch from `z.infer` and `z.array` to the exported types (`RegistryItem`, `Config`) and schema methods like `registryItemSchema.array()`. Update error handling to check `issues` instead of `errors`.

The Two Releases

@shadcn/helpers@0.3.0

@shadcn/helpers@0.3.0

Oct 16, 2026· 6 days ago

Adds the ability to stream preliminary tool output by introducing a new option to the `output()` method.

Full release notes
shadcn@4.22.0

shadcn@4.22.0

Oct 16, 2026· 6 days ago

Upgrades to Zod 4, requiring updates to type inference and error handling logic in consuming code.

Full release notes