shadcn@4.3.1
aigc3d/LAMshadcn@4.3.1Apr 20, 2026by github-actions[bot]
AI Summary
A patch release improving the CLI's interaction with the registry and ensuring template initialization behaves correctly for newly created projects.
Key Highlights
- Improved registry fetch reliability with specific HTTP headers
- Fixed template post-init hook logic to ensure it only runs for new projects
New Features
- Registry fetch header updates
- Template post-init hook fix
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.