chore(deps): update dependency shadcn to v4 #43
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/katana!43
Loading…
Reference in a new issue
No description provided.
Delete branch "renovate/shadcn-4.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
^3.8.5→^4.0.0Release Notes
shadcn-ui/ui (shadcn)
v4.24.1Compare Source
Patch Changes
#12964
40533c6Thanks @shadcn! - Fix import rewriting for projects whose alias root isn'tsrc/(e.g.@/*->resources/js/*), and keep exact path matches over same-named files.Updated dependencies [
40533c6]:v4.24.0Compare Source
Minor Changes
05e7346Thanks @shadcn! - Add UI SDK as a base option (ui-sdk) forinit,addand presets.Patch Changes
05e7346]:v4.23.1Compare Source
Patch Changes
#12845
d4f8278Thanks @shadcn! - Upgrade ts-morph to v28 to resolve the minimatch advisory (GHSA-g3hv-75wg-m249).Updated dependencies [
d4f8278]:v4.23.0Compare Source
Minor Changes
15f59b4Thanks @mattzcarey! - Upgrade the MCP server to MCP TypeScript SDK v2 (@modelcontextprotocol/server).shadcn mcpnow serves MCP protocol 2026-07-28 as well as earlier versions. Theshadcn/mcpexport is now anMcpServer, and a newcreateServer()export returns a fresh instance per connection. Code that calledserver.setRequestHandler(...)on the oldServerexport should useserver.registerTool(...)orserver.server.setRequestHandler(...)instead.v4.22.2Compare Source
Patch Changes
#12479
8f04138Thanks @dependabot! - Updateundicito 7.30.1.Updated dependencies [
8f04138]:v4.22.1Compare Source
Patch Changes
4381eebThanks @shadcn! - Fixshadcn add --alland the component picker to only include components available for the project's style.v4.22.0Compare Source
Minor Changes
954ce95Thanks @shadcn! - Upgrade to Zod 4.shadcn/schemaand@shadcn/registry/schemanow export Zod 4 schemas, so passing them to Zod 3'szno longer typechecks. On Zod 3, use the exported types (RegistryItem,RegistryItemFile,Config) and the schema's own methods (registryItemSchema.array()) instead ofz.inferandz.array. Zod errors exposeissues, noterrors. Validation messages now use Zod 4's wording.Patch Changes
954ce95]:v4.21.5Compare Source
Patch Changes
#12214
4407349Thanks @dependabot! - Update@modelcontextprotocol/sdk,browserslist,openandpostcss-selector-parser.#12192
dd34945Thanks @shadcn! - Move @shadcn/registry modules out of utils.#12297
7aa2110Thanks @mattzcarey! - Fix MCP search and list results showing[object Promise]instead of the add command.#12174
2af71acThanks @dependabot! - Update@modelcontextprotocol/sdkto 1.31.0.#12048
cfb4cb6Thanks @dependabot! - Updateundicito 7.29.1.Updated dependencies [
97ddbf4,dd34945,cfb4cb6]:v4.21.4Compare Source
Patch Changes
#12189
76fd499595ba7cc01f49d159bd7ac82d7aca8e63Thanks @shadcn! - Drop the ts-morph dependency from @shadcn/registry.#12184
995c2cfff44c373bd210d451089726ec097ab917Thanks @shadcn! - Run the icons and asChild transformers without ts-morph.#12160
6efecd8fe9aa167886fe2cc0c05c5623a5bb5670Thanks @shadcn! - Edit the Next.js layout for font items without ts-morph, and skip it with a warning instead of writing a broken layout.#12188
efa11781f756c86debb0392fbea4fe468250b41bThanks @shadcn! - Rewrite imports and crawl file imports without ts-morph.#12177
e8c3143b1cd191280befcd6c9538284bb43399a8Thanks @shadcn! - Edit tailwind.config without ts-morph, and skip it with a warning instead of writing a broken config.#12183
f56bbd7282f0116a925a601cb6d7e0c3fede448bThanks @shadcn! - Run the rsc, import, CSS variable, cleanup, font and menu transformers without ts-morph.#12185
4a90344c42dc9ae47494179065219377ff5f2a8fThanks @shadcn! - Run the Tailwind prefix and RTL transformers without ts-morph.Updated dependencies [
76fd499595ba7cc01f49d159bd7ac82d7aca8e63,995c2cfff44c373bd210d451089726ec097ab917,6efecd8fe9aa167886fe2cc0c05c5623a5bb5670,232d7e2c128d94d37a6dae74e3b0e1a8f08ff6e4,efa11781f756c86debb0392fbea4fe468250b41b,e8c3143b1cd191280befcd6c9538284bb43399a8,f56bbd7282f0116a925a601cb6d7e0c3fede448b,4a90344c42dc9ae47494179065219377ff5f2a8f]:v4.21.3Compare Source
Patch Changes
#12148
596be8dda8f94927281184b8c4575150531f85eaThanks @shadcn! - FixERR_REQUIRE_CYCLE_MODULEwhen running the CLI withpnpm dlxon Windows.Updated dependencies [
596be8dda8f94927281184b8c4575150531f85ea]:v4.21.2Compare Source
Patch Changes
#12143
8c2bf3882cb856ac10abbb162bdc0b8383ebd432Thanks @shadcn! - Acceptcomponents.jsonandpackage.jsonfiles that start with a UTF-8 byte order mark.#12142
95efb5cd8d7f13adba70b58b1119211e8980683fThanks @shadcn! - replace cosmiconfig with a smaller custom reader.#12140
3b1ae6e43f082dd82d0e5710b813cfad929abdb4Thanks @shadcn! - Skipnpm auditand the funding check when installing or removing dependencies, or creating a project, with npm.Updated dependencies [
8c2bf3882cb856ac10abbb162bdc0b8383ebd432,95efb5cd8d7f13adba70b58b1119211e8980683f,3b1ae6e43f082dd82d0e5710b813cfad929abdb4]:v4.21.1Compare Source
Patch Changes
#12087
bf6646b449684e687f28531305eca4e4768c2782Thanks @shadcn! - Add@shadcn/registry, the registry engine behind the CLI.shadcnnow depends on it, andshadcn/registryandshadcn/schemare-export it, so there are no changes for existing users.#12061
a9c1da49ec4eab488dc99c69ae20a7ffaa4897d4Thanks @shadcn! - fix shimmer reduced motion handling when used with a variant#12087
bf6646b449684e687f28531305eca4e4768c2782Thanks @shadcn! -shadcn docsonly rewrites links on the ui.shadcn.com host.Updated dependencies [
bf6646b449684e687f28531305eca4e4768c2782]:v4.21.0Compare Source
Minor Changes
c257f688cf4de7ec10cc1be84cad29cd4631182cThanks @shadcn! - installcnand generateexport { cn } from "cn"forlib/utilson init. Registry components now importcnfrom thecnpackage.Patch Changes
8720dec73f5aebed9f649ea58636f54599fdedf1Thanks @shadcn! - usetwMergefromcninstead oftailwind-mergeinternally.v4.20.1Compare Source
Patch Changes
04bb134c52af23af7d77673618ef4e3862b7c310Thanks @shadcn! - preserve leading comments when runningshadcn migrate cn.v4.20.0Compare Source
Minor Changes
51f3e12203b0026ea106cafb4f770bda9abead87Thanks @shadcn! - addnpx shadcn migrate cnto replaceclsx,tailwind-mergeandcnfastin Tailwind CSS v4 projects.v4.19.1Compare Source
Patch Changes
f9ea1e600ea5dd7b1b79769b7b25cafa400cee6fThanks @shadcn! - Add the official shadcn/ui website to the package metadata.v4.19.0Compare Source
Minor Changes
#11582
33c81f991f1013653444d6819107b2b356563f57Thanks @shadcn! - add private repository support to GitHub registries via GitHub CLI credentials or GH_TOKEN.#11248
b4f2023b1d5c733db67d4e90eb9485a95c5ed480Thanks @rbadillap! - addnpx shadcn migrate base-colorto switch a project's base color.v4.18.0Compare Source
Minor Changes
aef1cdca54e8da689351cdddf959342909e45e76Thanks @shadcn! - merge registries from package.json and components.json, and support adding registries to package.json when components.json is not presentPatch Changes
#11500
e66b99b14dd9c54afc434dbf5a702f170b1153b0Thanks @shadcn! - Skip unreadable directories during file scans instead of failing withEACCES.#11504
9f4e3ff26025d16a243ea03cc891c734c4cf0b59Thanks @shadcn! - Skip unreadable directories when resolving monorepo targets.#11502
87d71b3629c34f3c38a353a211ec8591c1ff1721Thanks @shadcn! - resolve registries declared in package.json when adding components.shadcn add,search,viewandinitnow resolve registries from package.json in memory without persisting them to components.json#9248
03c45b822e60195796dfd3d2fcf7c223ff4ece86Thanks @Grafikart! - Fix shadcn for projects with unreadable permission filesv4.17.0Compare Source
Minor Changes
#10453
deda4df80fb350230b2fce2b575e769a90cae076Thanks @nbouvrette! - Add SOCKS4/SOCKS5 proxy support to the registry HTTP stack viaALL_PROXY=socks5://...(the curl convention), backed by thesockspackage.Proxy selection now goes through a
createProxyDispatcher(env)factory that checksALL_PROXY/all_proxyfor asocks*://URL before falling back to the existing HTTP/HTTPS handling.ALL_PROXYwith a non-SOCKS scheme is ignored here —HTTP_PROXY/HTTPS_PROXYremain the way to configure those. ExistingHTTPS_PROXY/HTTP_PROXY/NO_PROXYhandling viaundici.EnvHttpProxyAgentis unchanged.v4.16.2Compare Source
Patch Changes
df664e1bba86c6712bc5e08c8626590dca736089Thanks @OwenKephart! - Include registry item titles insearchRegistriesresults and fuzzy matching.v4.16.1Compare Source
Patch Changes
#11322
bfa1b5e9a69a155b2f590523d50fda810bde1a9aThanks @AndrewBarba! - fixshadcn buildfailing with ENOENT when registry item names contain path segments (e.g.extension/foo) by creating nested output directories before writing#11352
5ca53ca7c7dea390e0e78091ff7c54adc48c773aThanks @shadcn! - forward search params to registries for server-side dynamic searchv4.16.0Compare Source
Minor Changes
#11307
431da7169cae753643e67e56e168b93ec31dfe90Thanks @shadcn! - make addRegistryItems accept explicit registry configuration instead of loading components.json#11304
bf906bb8aeebc64d374afb54497b822d587ac6d7Thanks @shadcn! - add getRegistriesConfig and registries in package.json supportv4.15.0Compare Source
Minor Changes
7d90dfc0a5ec70cdc3bd08b741a42440041907acThanks @cmpadden! - Add a publicaddRegistryItemsAPI for installing registry items programmatically without invoking the CLI.v4.14.1Compare Source
Patch Changes
6cd3f4c65c361ab6554e06a77e6a0af9cf8b6e37Thanks @shadcn! - Add Base UI Toast support.v4.14.0Compare Source
Minor Changes
3c26ee2dbd3a772c1cddc2c76249cc1cb0a250d5Thanks @shadcn! - add support for icon migrationv4.13.1Compare Source
Patch Changes
#11196
c49c3061b5b86b130736d36bf20008349f89b416Thanks @shadcn! - Drop custom registry headers on cross-origin redirects to prevent credential leakage.#11191
df2656111fc8ca030eb768ade2da26cef2fd11b5Thanks @shadcn! - Validate file paths for registry items without an explicit target to prevent path traversal.#11195
b8a8e9209659fa810514b61c60ad593bc81973f9Thanks @shadcn! - Prevent flag injection from registry-supplied dependency strings during install.#11208
2b89d67e19ceda27381477e127b349f9aaa25355Thanks @shadcn! - Add React Aria support.v4.13.0Compare Source
Minor Changes
f3e7de11752b087b1c4bf61f4035a866f3a4f9edThanks @shadcn! - base-ui is now defaultv4.12.0Compare Source
Minor Changes
18fcf0f766857a7249cc0daac3c1609610edd158Thanks @shadcn! - add scroll-fade and shimmer utilitiesv4.11.1Compare Source
Patch Changes
#10905
9197676b3d09b77f51b17b63e5978db29e498ca4Thanks @shadcn! - replace node-fetch with native fetch#10967
365d53b590a6ddb79c1487a9dbeabcde5f4ac37fThanks @shadcn! - Preserve existing dependency specifiers in package.json when runningshadcn add.v4.11.0Compare Source
Minor Changes
05eb2b968bdc769ad78df9628dc2260e1dec903cThanks @shadcn! - improve search commandPatch Changes
7dfd933102fdb881f8abd24fc1ef11a669682b94Thanks @harshithasompura! - move msw to devDependenciesv4.10.0Compare Source
Minor Changes
7c63c467361dee9e20631b2999040912439b35d4Thanks @shadcn! - add support for GitHub registriesv4.9.0Compare Source
Minor Changes
8e2d2d1439f54260aa0c51747261c220334ec641Thanks @shadcn! - add npx shadcn ejectv4.8.3Compare Source
Patch Changes
#10659
07900769d91b09def00e68179bcb7a821f59b954Thanks @raashish1601! - update template handling#10495
360e8a19c3ee13ac78b656027462007c8bdaa6d5Thanks @artemxknpv! - Preserve quotes in className literals when applying RTL transforms.v4.8.2Compare Source
Patch Changes
55ea86f2525e63c2d0373754314f0e31212572d2Thanks @shadcn! - Update template handling.v4.8.1Compare Source
Patch Changes
df1752dfe092957f84aa467d2270436139e3ecc7Thanks @shadcn! - add style rheav4.8.0Compare Source
Minor Changes
#10715
51e3cfaf32faeff2589e5c74d81ffd109f509e93Thanks @shadcn! - add shadcn registry validate command#10708
c8ab3801ecf97c0350ac0234a25e61f19ccaba62Thanks @shadcn! - add include to registry.jsonPatch Changes
1c4a53a37adeba36dbd5c07980c5bb6d295cea9eThanks @shadcn! - fix failing version derivation testv4.7.0Compare Source
Minor Changes
#10519
eb42ae25fda81e90e621f1e334e5126b1f22371dThanks @shadcn! - add support for package imports#10528
309d95017fce3936548c15d2ef827c84560cc45aThanks @shadcn! - allow alias placeholders in target for registry itemsPatch Changes
28b3e5f36086677b0533583817407d8f936a567bThanks @shadcn! - add previous version error suggestionv4.6.0Compare Source
Minor Changes
#10530
ea6086cbcc33b359bb876651374e26f643ea85b1Thanks @shadcn! - add shadcn preset commands#10516
c236d0c009b4ff87c77a04c618d2b348cac7cdcbThanks @shadcn! - add preset info to npx shadcn infoPatch Changes
#10526
55fd4dc71be9e6410a528d6ce6bc7287ffba262cThanks @shadcn! - update docs and info urls#10524
6dea65ebcbbdb8773b3072ca74c9cee4e386988bThanks @shadcn! - fix apply in monorepov4.5.0Compare Source
Minor Changes
#10488
eb6e783fb3861aba3b35289a473954080e6f1607Thanks @shadcn! - add --pointer option to cli.npx shadcn init --pointer will enable cursor: pointer on buttons.
v4.4.0Compare Source
Minor Changes
e456fed9d3f0b7aacf7084aecc02a75e8fde622dThanks @shadcn! - add apply --onlyPatch Changes
9c572ab778b5a0ab42693eb07bc4a75d0c24603eThanks @shadcn! - fix chartColor in presetsv4.3.1Compare Source
Patch Changes
#10436
b7cfc364aca36bc90f8efa86773bc81011502036Thanks @shadcn! - Ensureinitonly runs template post-init hooks for newly created projects.#10179
d00605c5fb5fe3cfbcb68cea65398430cdd819f8Thanks @EthanThatOneKid! - SendAccept: application/vnd.shadcn.v1+json, application/json;q=0.9andUser-Agent: shadcnon registry fetches so servers using HTTP content negotiation can reliably serve JSON to the CLI. Fixes #10164.v4.3.0Compare Source
Minor Changes
101741046813622d48c081dfc19c40d0aa76484bThanks @shadcn! - add style serav4.2.0Compare Source
Minor Changes
c1e29824cd7a6809448e45b6b7fe8f7be71ecb0fThanks @shadcn! - add shadcn apply commandv4.1.2Compare Source
Patch Changes
44c09a19b0658cf8e72ac84bbba5b76e05192a0dThanks @shadcn! - add style lumav4.1.1Compare Source
Patch Changes
12b49c986fcf7e6db9be7f515df6142f822f2236Thanks @shadcn! - fix packageManager in package.jsonv4.1.0Compare Source
Minor Changes
#10115
687f09817b614a3450f0f56779edf367082e1e53Thanks @shadcn! - add fontHeading to presets#10115
687f09817b614a3450f0f56779edf367082e1e53Thanks @shadcn! - add chartColorv4.0.8Compare Source
Patch Changes
a97ebe54f1824032d8ad00d1d0c079e3dc6f52d7Thanks @shadcn! - Bundle @antfu/ni and tinyexec to fix missing module error with npxv4.0.7Compare Source
Patch Changes
f9b365bc7f9d591c995952976711dbdd7b1bc45aThanks @kapishdima! - add dependency field to registry:fontv4.0.6Compare Source
Patch Changes
7e93eb81ea8160c06c86f98bb6bfeb1ddfd0d237Thanks @shadcn! - ensure monorepo respect package managerv4.0.5Compare Source
Patch Changes
5ee456735377158c12cf55eefbe872f7303e1325Thanks @shadcn! - update handling of init urlsv4.0.4Compare Source
Patch Changes
aa841e35cf405e574123478b46f4058cff0e179aThanks @shadcn! - fix cache in resolveRegistryBaseConfigv4.0.3Compare Source
Patch Changes
ce2c3ca688916db4fdb5fe173e9c6902f78696edThanks @shadcn! - add support for translucent menuv4.0.2Compare Source
Patch Changes
f5ac4a0d2aa5af87202f67558a4b9b8f92c00bd2Thanks @shadcn! - scaffold templates from github remotev4.0.1Compare Source
Patch Changes
#9896
1ce9c2dd6a3d16422a6586e39632ebbccc45d3a4Thanks @shadcn! - fix apple metadata files in template#9897
5edf9c95b7d13dcbd325aa4cf6b48d58a53b07c6Thanks @shadcn! - fix fallback style resolving issuev4.0.0Compare Source
Major Changes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Security
View full report
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.