shadcn@4.3.1

ace-step/ACE-Step-1.5shadcn@4.3.1Apr 20, 2026by github-actions[bot]

AI Summary

Optimizes the initialization process to only run hooks for new projects and fixes registry fetching by adding specific headers for HTTP content negotiation.

Key Highlights

  • Ensure init only runs template post-init hooks for newly created projects
  • Send Accept headers for registry fetches

New Features

  • Optimized init hooks
  • Fixed registry fetch headers

Full Release Notes

### Patch Changes

-   [#10436](https://github.com/shadcn-ui/ui/pull/10436) [`b7cfc364aca36bc90f8efa86773bc81011502036`](https://github.com/shadcn-ui/ui/commit/b7cfc364aca36bc90f8efa86773bc81011502036) Thanks [@shadcn](https://github.com/shadcn)! - Ensure `init` only runs template post-init hooks for newly created projects.

-   [#10179](https://github.com/shadcn-ui/ui/pull/10179) [`d00605c5fb5fe3cfbcb68cea65398430cdd819f8`](https://github.com/shadcn-ui/ui/commit/d00605c5fb5fe3cfbcb68cea65398430cdd819f8) Thanks [@EthanThatOneKid](https://github.com/EthanThatOneKid)! - Send `Accept: application/vnd.shadcn.v1+json, application/json;q=0.9` and `User-Agent: shadcn` on registry fetches so servers using HTTP content negotiation can reliably serve JSON to the CLI. Fixes #10164.