Packages/shadcn

Releases of shadcn

106 stable releases, newest first. Release notes are kept for the last 90 days; older ones link to where they were published.

  1. 4.21.5

    14 October 2026

    Patch Changes

    • Update @modelcontextprotocol/sdk, browserslist, open and postcss-selector-parser.

    • Move @shadcn/registry modules out of utils.

    • Fix MCP search and list results showing [object Promise] instead of the add command.

  2. 4.21.4

    7 October 2026

    Patch Changes

    • Drop the ts-morph dependency from @shadcn/registry.

    • Run the icons and asChild transformers without ts-morph.

    • Edit the Next.js layout for font items without ts-morph, and skip it with a warning instead of writing a broken layout.

  3. 4.21.3

    6 October 2026

    Patch Changes

    • Fix ERR_REQUIRE_CYCLE_MODULE when running the CLI with pnpm dlx on Windows.

    • Updated dependencies:

      • @shadcn/registry@0.1.2

  4. 4.21.2

    5 October 2026

    Patch Changes

    • Accept components.json and package.json files that start with a UTF-8 byte order mark.

    • replace cosmiconfig with a smaller custom reader.

    • Skip npm audit and the funding check when installing or removing dependencies, or creating a project, with npm.

  5. 4.21.1

    1 October 2026

    Patch Changes

    • Add @shadcn/registry, the registry engine behind the CLI. shadcn now depends on it, and shadcn/registry and shadcn/schema re-export it, so there are no changes for existing users.

    • fix shimmer reduced motion handling when used with a variant

    • shadcn docs only rewrites links on the ui.shadcn.com host.

  6. 4.21.0

    4 September 2026

    Minor Changes

    • install cn and generate export { cn } from "cn" for lib/utils on init. Registry components now import cn from the cn package.

    Patch Changes

    • use twMerge from cn instead of tailwind-merge internally.

  7. 4.20.1

    2 September 2026

    Patch Changes

    • preserve leading comments when running shadcn migrate cn.

  8. 4.20.0

    2 September 2026

    Minor Changes

    • add npx shadcn migrate cn to replace clsx, tailwind-merge and cnfast in Tailwind CSS v4 projects.

  9. 4.19.1

    31 August 2026

    Patch Changes

    • Add the official shadcn/ui website to the package metadata.

  10. 4.19.0

    21 August 2026

    Minor Changes

    • add private repository support to GitHub registries via GitHub CLI credentials or GH_TOKEN.

    • add npx shadcn migrate base-color to switch a project's base color.

  11. 4.18.0

    13 August 2026

    Minor Changes

    • merge registries from package.json and components.json, and support adding registries to package.json when components.json is not present

    Patch Changes

    • Skip unreadable directories during file scans instead of failing with EACCES.

  12. 4.17.0

    11 August 2026

    Minor Changes

    • Add SOCKS4/SOCKS5 proxy support to the registry HTTP stack via ALL_PROXY=socks5://... (the curl convention), backed by the socks package.

      Proxy selection now goes through a createProxyDispatcher(env) factory that checks ALL_PROXY / all_proxy for a socks*:// URL before falling back to the existing HTTP/HTTPS handling. ALL_PROXY with a non-SOCKS scheme is ignored here — HTTP_PROXY / HTTPS_PROXY remain the way to configure those. Existing HTTPS_PROXY / HTTP_PROXY / NO_PROXY handling via undici.EnvHttpProxyAgent is unchanged.

  13. 4.16.2

    6 August 2026

    Patch Changes

    • Include registry item titles in searchRegistries results and fuzzy matching.

  14. 4.16.1

    31 July 2026

    Patch Changes

    • fix shadcn build failing with ENOENT when registry item names contain path segments (e.g. extension/foo) by creating nested output directories before writing

    • forward search params to registries for server-side dynamic search

  15. 4.16.0

    27 July 2026

    Minor Changes

    • make addRegistryItems accept explicit registry configuration instead of loading components.json

    • add getRegistriesConfig and registries in package.json support

  16. 4.15.0

    25 July 2026

    Minor Changes

    • Add a public addRegistryItems API for installing registry items programmatically without invoking the CLI.

  17. 4.14.1

    23 July 2026

    Patch Changes

    • Add Base UI Toast support.

  18. 4.14.0

    22 July 2026

    Minor Changes

    • add support for icon migration

  19. 4.13.1

    17 July 2026
  20. 4.13.0

    3 July 2026
  21. 4.12.0

    26 June 2026
  22. 4.11.1

    26 June 2026
  23. 4.11.0

    8 June 2026
  24. 4.10.0

    1 June 2026
  25. 4.9.0

    31 May 2026
  26. 4.8.3

    29 May 2026
  27. 4.8.2

    27 May 2026
  28. 4.8.1

    26 May 2026
  29. 4.8.0

    21 May 2026
  30. 4.7.0

    5 May 2026
  31. 4.6.0

    28 April 2026
  32. 4.5.0

    25 April 2026
  33. 4.4.0

    21 April 2026
  34. 4.3.1

    20 April 2026
  35. 4.3.0

    16 April 2026
  36. 4.2.0

    7 April 2026
  37. 4.1.2

    31 March 2026
  38. 4.1.1

    27 March 2026
  39. 4.1.0

    19 March 2026
  40. 4.0.8

    15 March 2026
  41. 4.0.7

    14 March 2026
  42. 4.0.6

    13 March 2026
  43. 4.0.5

    11 March 2026
  44. 4.0.4

    11 March 2026
  45. 4.0.3

    10 March 2026
  46. 4.0.2

    8 March 2026
  47. 4.0.1

    8 March 2026
  48. 4.0.0

    6 March 2026
  49. 3.8.5

    16 February 2026
  50. 3.8.4

    6 February 2026