shadcn@4.3.1

blakeblackshear/frigateshadcn@4.3.1Apr 20, 2026by github-actions[bot]

AI Summary

Ensures the `init` command only runs template post-init hooks for newly created projects and fixes registry fetch headers for JSON content negotiation.

Key Highlights

  • Init hook isolation for new projects
  • Registry header fix for JSON content negotiation

New Features

  • Improved init behavior
  • Registry header 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.