shadcn@4.3.1
shadcn-ui/uishadcn@4.3.1Apr 20, 2026by github-actions[bot]
AI Summary
This patch ensures the init command only runs post-init hooks for newly created projects and improves registry fetch reliability.
Key Highlights
- Improved `init` hook behavior
- Added headers for registry fetches
New Features
- Registry fetch headers (Accept, User-Agent)
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.