Skip to content

build(deps-dev): bump shadcn from 4.7.0 to 4.13.0 - #259

Closed
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/shadcn-4.13.0
Closed

dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/dev/shadcn-4.13.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 13, 2026 •

Copy link
Copy Markdown
Contributor

Bumps shadcn from 4.7.0 to 4.13.0.

Release notes

Sourced from shadcn's releases.

[email protected]

Minor Changes

[email protected]

Minor Changes

[email protected]

Patch Changes

[email protected]

Minor Changes

Patch Changes

[email protected]

Minor Changes

[email protected]

Minor Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

[email protected]

Patch Changes

... (truncated)

Changelog

Sourced from shadcn's changelog.

4.13.0

Minor Changes

4.12.0

Minor Changes

4.11.1

Patch Changes

4.11.0

Minor Changes

Patch Changes

4.10.0

Minor Changes

4.9.0

Minor Changes

4.8.3

Patch Changes

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 13, 2026
@dependabot
dependabot Bot requested a review from Ducksss as a code owner July 13, 2026 07:57
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jul 13, 2026
@vercel

vercel Bot commented Jul 13, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
payload-components Ready Ready Preview, Comment Jul 14, 2026 7:18pm
payload-components-97bf Ready Ready Preview, Comment Jul 14, 2026 7:18pm

@Ducksss

Ducksss commented Jul 16, 2026

Copy link
Copy Markdown
Owner

Closing this version-only bump because shadcn 4.7.0 is an explicit compatibility contract here: package.json, the CLI's shadcnCliPackage, smoke tests, and registry publication tests are pinned together. 4.13 also changes the default component backend to Base UI, so a safe upgrade needs a dedicated migration with regenerated fixtures and full direct-install coverage, not only a lockfile update.

@Ducksss Ducksss closed this Jul 16, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 16, 2026

Copy link
Copy Markdown
Contributor Author

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/dev/shadcn-4.13.0 branch July 16, 2026 07:31
Ducksss added a commit that referenced this pull request Jul 29, 2026
Supersedes the Dependabot bump in #368, which could only ever touch the
`shadcn` devDependency and so always failed the release gate.

The version was previously written in four places — the devDependency,
`shadcnCliPackage` in tools/payload-components/utils.ts (compiled into the
published CLI), the mocked argument strings in the registry install spec, and
a literal `toBe('4.7.0')` assertion. Any bump that moved only one of them
tripped the gate, which is why #259, #300 and #368 each failed identically.

Now the `shadcn` devDependency is the single source. tsup inlines it into the
bundle via `define`, so the published CLI keeps working without reading the
repo's package.json at runtime; the source path (vitest, tsx) falls back to
reading the pin off package.json. The gate still asserts what it cared about —
that the pin is an exact version, not a range, and that the CLI spec tracks it.

Verified against 4.15.0:
- `shadcn add` output is byte-identical to 4.7.0 for our full public-UI
  surface (accordion, badge, button, card, input, textarea) and for a built
  registry item; still Radix-backed, no Base UI switch on the default style
- `registry:build` produces zero artifact churn
- test:int 379 passed, lint / test:registry / test:pack all clean
- a simulated future bump to 4.16.0 passes with no test or source edits

Co-Authored-By: Claude Opus 5 <[email protected]>
Ducksss added a commit that referenced this pull request Jul 29, 2026
Supersedes the Dependabot bump in #368, which could only ever touch the
`shadcn` devDependency and so always failed the release gate.

The version was previously written in four places — the devDependency,
`shadcnCliPackage` in tools/payload-components/utils.ts (compiled into the
published CLI), the mocked argument strings in the registry install spec, and
a literal `toBe('4.7.0')` assertion. Any bump that moved only one of them
tripped the gate, which is why #259, #300 and #368 each failed identically.

Now the `shadcn` devDependency is the single source. tsup inlines it into the
bundle via `define`, so the published CLI keeps working without reading the
repo's package.json at runtime; the source path (vitest, tsx) falls back to
reading the pin off package.json. The gate still asserts what it cared about —
that the pin is an exact version, not a range, and that the CLI spec tracks it.

Verified against 4.15.0:
- `shadcn add` output is byte-identical to 4.7.0 for our full public-UI
  surface (accordion, badge, button, card, input, textarea) and for a built
  registry item; still Radix-backed, no Base UI switch on the default style
- `registry:build` produces zero artifact churn
- test:int 379 passed, lint / test:registry / test:pack all clean
- a simulated future bump to 4.16.0 passes with no test or source edits

Co-authored-by: Claude Opus 5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – payload-components-97bf — eb4fcd61 Deployed Jul 14, 2026 by vercel[bot]
Preview – payload-components — eb4fcd61 Deployed Jul 14, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant