Repository navigation
chore(deps): update dependency vercel to v58 - #1890
squiggler-app[bot] wants to merge 1 commit into
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit b2776d3. Configure here.
b2776d3 to
3e1ce2a
Compare
3e1ce2a to
8120291
Compare
8120291 to
905e74d
Compare
905e74d to
fc3953b
Compare
fc3953b to
dee3ef0
Compare
dee3ef0 to
8f7b083
Compare
8f7b083 to
82d9bf1
Compare
82d9bf1 to
daba7fc
Compare
daba7fc to
a460593
Compare
Pull Request is not mergeable
88c24f2 to
3914a59
Compare
3914a59 to
6f9c176
Compare
6f9c176 to
e81d5b1
Compare
e81d5b1 to
f2a9f58
Compare
f2a9f58 to
4444b9e
Compare
4444b9e to
e3d83ca
Compare
e3d83ca to
b59be97
Compare
b59be97 to
e66d213
Compare
e66d213 to
e14423a
Compare
e14423a to
e65ffdb
Compare
Pull request was closed
Renovate Ignore NotificationBecause you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR. |
…etected pnpm 12 writes pnpm-lock.yaml as two YAML documents (a leading env document holding packageManagerDependencies). The pinned vercel CLI's bundled @vercel/[email protected] parses the lockfile as a single document, so detection threw 'Error while parsing config file', fell back to cliType npm, and 'npm install' failed on 'workspace:*'. @vercel/static-build runs execCommand(installCommand) instead of its package-manager detection whenever installCommand is a string, so setting it explicitly sidesteps the broken probe. Bumping the CLI is not an option: the parser fix first lands in build-utils 14.0.5 ([email protected]), and every vercel release from 58.7.0 on dropped its npm provenance attestations, so trustPolicy: no-downgrade rejects them. That is why GH-1890 was closed instead of merged.
…2048) <!-- CURSOR_AGENT_PR_BODY_BEGIN --> Puts this repo on the same pnpm version and settings as [sanity-io/ui](https://github.com/sanity-io/ui) `main`: `packageManager` `[email protected]`, ui's pnpm settings in `pnpm-workspace.yaml`, ui's CI setup action (`pnpm/setup@v3`) but with its store cache off, and a lockfile regenerated with pnpm 12.6.0. The `Dedupe lockfile` workflow stays, with the one change pnpm 12 needs. ## Builds on #2044, supersedes #2043, #2044 and #1131 - **#2044** (pnpm 12.6.0 + `autoDedupe` + Vercel CLI bump) is the base. Its commits are cherry-picked with `-x`. #2044's interim `installCommand` workaround in `dev/e2e-studio/vercel.json`, which it later removed, is left out, so this PR doesn't touch any Vercel config. #2044 left CI on `pnpm/action-setup` + `actions/setup-node`; this PR switches to ui's action. - **#2043** (Renovate's plain `packageManager` bump) fails `E2E / deploy-preview`, because `vercel@57` can't parse pnpm 12's lockfile (see below). - **#1131** (an early `pnpm/setup@v1` attempt) is covered by the CI change here. - **#2018** (lockfile regenerated from scratch) is not superseded: it re-resolves every dependency, which is out of this PR's scope. ## Changes | | Before | After | | --- | --- | --- | | `packageManager` | `[email protected]` | `[email protected]` (as in ui) | | `pnpm-workspace.yaml` | | `autoDedupe: true` and `strictPeerDependencies: false` (as in ui) | | `.github/actions/setup` | `pnpm/action-setup@v6` + `actions/setup-node@v7` + `pnpm install` | ui's action (`pnpm/setup@v3`, `runtime: node@lts`) with `cache: false`, where ui has `cache: true` | | `.github/workflows/pnpm-if-needed.yml` (`Dedupe lockfile`) | runs `pnpm dedupe` once | kept; runs `pnpm dedupe` twice | | `vercel` (root devDependency) | `^57.0.0` | `^60.1.3` | - **Lockfile:** main's lockfile after #2039, plus this PR's changes as pnpm 12.6.0 re-applied them. Those changes are the `packageManagerDependencies` block, the `[email protected]` tree with the optional-peer suffixes it brings, and `autoDedupe`'s dedupes: the same `zod` and `gaxios` ones as the pending #2052, plus the peer toggle described below. No other versions change, and `[email protected]` stays put. #2039's refresh had already removed the three duplicates the first revision collapsed. - **Vercel CLI:** pnpm 12 writes the lockfile as two YAML documents. `vercel@57`'s bundled `@vercel/build-utils` reads only the first, falls back to npm, and fails on `workspace:*`, which is #2043's failure. `58.9.5` is the first CLI that parses it, and every release from `58.7.0` on ships without npm provenance (still published from GitHub Actions OIDC). So `trustPolicy: no-downgrade` needs the exact versions pnpm reports as `ERR_PNPM_TRUST_DOWNGRADE` in `trustPolicyExclude`: `[email protected]` and 31 `@vercel/*` packages. - **CI setup:** `pnpm/setup` reads `packageManager`, installs Node LTS, runs `pnpm install`, and caches pnpm's lockfile-verification verdict across jobs, which saves the ~28s supply-chain check. `ailf-eval.yml` passes `runtime: node@lts` instead of `node-version: lts/*`. `release.yml` keeps `pnpm/action-setup` + `actions/setup-node`, as in ui. - **Store cache off, unlike ui** (commit `bddef7a4`). With `cache: true`, `pnpm/setup` uploads a new ~645 MiB store entry after every job, even for an unchanged lockfile, because its keys include the run id. That was 12 entries (7.7 GB) per push here, evicting the Playwright browser caches the e2e jobs reuse. With it off, test shards spend 16–19s in setup and nothing afterwards, against 19–23s plus 9–12s of upload with it on. ui keeps `cache: true` and has the same issue. Revert `bddef7a4` to match ui. - **`Dedupe lockfile` workflow kept, adapted for pnpm 12** (commit `a7e1057f`). On the current lockfile, pnpm 12.6.0's `pnpm dedupe` isn't idempotent. Each run toggles `@vitejs/devtools` and `oxc-transform-react` in the peer suffixes of `plugins/@sanity/debug-preview-url-secret-plugin`'s `sanity` and `@sanity/tsdown-config` entries, without changing any version. Run once, as before, the workflow would open a toggle-only PR after every lockfile change on `main`, and each automerged dedupe PR would trigger the next. A second run undoes the toggle and keeps real dedupes. An earlier commit in this branch deleted the workflow; `82810b5e` reverts that. - **Docs:** AGENTS.md, CONTRIBUTING.md and README.md now require pnpm v12. AGENTS.md and `e2e/README.md` explain the two-document lockfile and the Vercel CLI floor; per Copilot's review of #2044, the trust-policy wording only lists versions that pnpm reports as downgrades. AGENTS.md also says not to commit lockfile diffs that only flip the peer toggle. No changeset: no published package's manifest or runtime code changes, as with the pnpm 11 bump in #1579. ## Merge with main `main` gained one commit after this branch started: Renovate's lock file maintenance (#2039, `cb68d65e`). It conflicted only in `pnpm-lock.yaml`. `main` is merged in rather than rebased, so nothing was force-pushed. The resolution takes main's lockfile and lets pnpm 12.6.0 re-apply this PR's changes; `pnpm-workspace.yaml` needed no further changes. #2039's 25 source files merged cleanly. ## What Cody needs to do - **Add the "🤖 bot" label.** The agent's label tool can't edit PRs in this repo. - **Close #2044 and #1131** when this lands. Renovate autocloses #2043. The pending dedupe PR #2052 is redundant, since its four lines are already in this lockfile. It merges cleanly with this PR in either order. - **Vercel:** nothing to set up. No project, env var or `vercel.json` changes; only the root `vercel` CLI devDependency moves. - **Secrets and ruleset:** no new secrets, and the required checks (`lint`, `build`, `test`, Socket) keep their names. ## Open questions 1. **Vercel CLI trust exclusions.** This is #2044's call, which overrides the reason #1890 was closed: 32 exact versions without provenance in `trustPolicyExclude`. Every future `vercel` bump has to add its own versions, so Renovate's `vercel` PRs will fail their artifact update until someone does. The alternative is e2e previews that can't build on pnpm 12. 2. **`strictPeerDependencies: false`** matches ui but is already pnpm's default; ui carried it over from an old `.npmrc`. Keep it for parity, or drop it? 3. **Store cache in ui.** ui has the same per-job uploads. Turn its store cache off too? ## Known pnpm 12.6.0 issue The peer toggle also shows up locally. A fresh `pnpm install`, or the implicit install pnpm runs before scripts when `node_modules` looks stale, flips those two suffixes in `pnpm-lock.yaml`. Frozen installs, which CI uses, never do. The lockfile before #2039 didn't toggle; main's refreshed resolutions exposed it, and it happens with `autoDedupe` off too. ## Not in this PR - vitest 5, oxfmt (#2047), oxlint (#2049) and the tsdown setup are sibling PRs. Whichever lands later merges `main` and regenerates the lockfile. - ui's `packageExtensions` entry for `@testing-library/jest-dom` belongs to its vitest 5 setup. - ui's root `engines.node: ">=22.13"` and macOS test job are Node and test-matrix changes, not pnpm. Plugins' tooling needs Node ≥ 22.18 anyway (AGENTS.md). - Plugins-specific pnpm settings that ui doesn't have (`trustPolicy`, `dedupePeers`, `dedupeDirectDeps`, `publicHoistPattern`) stay. ## Verification - **Lockfile:** regenerated on `main` at `cb68d65e` by pnpm 12.6.0 run directly on Node 24.21.0. A cold `pnpm install --frozen-lockfile` passes the supply-chain check (2,615 entries), and without the Vercel exclusions it fails with `ERR_PNPM_TRUST_DOWNGRADE`. - **Dedupe workflow:** from the committed lockfile, from its toggled state, and from the committed lockfile with #2052's duplicates put back, two `CI=true pnpm dedupe --config.ignore-scripts=true` runs give, respectively, no change, no change, and exactly #2052's dedupes. A single run gives the toggle every time. - **Local checks on the merged tree:** `pnpm lint`, `pnpm knip`, `pnpm build` (52/52 tasks) and `pnpm test run` (224 files, 1,391 tests) pass. - **CI:** everything passes on `bddef7a4`, including `deploy-preview` (Vercel CLI 60.1.3 detects the lockfile and installs with pnpm 12.6.0) and e2e on Chromium and Firefox. CI on `a7e1057f`, which only touches the dedupe workflow and AGENTS.md, is running. - **zizmor:** `zizmor .github` reports the same findings as on `main` at every severity. <!-- CURSOR_AGENT_PR_BODY_END --> <div><a href="https://cursor.com/agents/bc-0c45b56b-fd33-55f7-b22c-89bde73748e4?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-web-light.png"><img alt="Open in Web" width="114" height="28" src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a> <a href="https://cursor.com/background-agent?bcId=bc-0c45b56b-fd33-55f7-b22c-89bde73748e4&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source media="(prefers-color-scheme: dark)" srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source media="(prefers-color-scheme: light)" srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img alt="Open in Cursor" width="131" height="28" src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a> </div> --------- Co-authored-by: Cursor Agent <[email protected]>

This PR contains the following updates:
^57.0.0→^58.11.0Release Notes
vercel/vercel (vercel)
v58.4.4Compare Source
Patch Changes
dcadcad: Trigger a new release to publish versions that were skipped by the failed release run.v58.4.0Compare Source
Minor Changes
a928d5a: Addvercel ai-gateway budgets defaults(list/set/remove) to manage per-scope AI Gateway budget defaults (project and api-key), each with its own limit and refresh periodPatch Changes
2c75803]57dec92]v58.3.0Compare Source
Minor Changes
0f04613: Addvercel vcr permissionssubcommands for managing which teams can pull images from a VCR repository:vcr permissions <repository> lslists teams with access (by team slug),addandrmgrant or revoke access for one or more teams (comma-separated team ids or slugs), andclearremoves access for every team.17ee736: Replace the vercel-workers integration for Python queue subscribers and workflows with the new vercel-queue SDK:[[tool.vercel.subscribers]]entrypoints are introspected at build time viavercel.queue.get_subscriptions()and served through generatedvercel.queue.asgi_app()handler modules, withqueue/v2betatriggers carrying the SDK-registered consumer groups and per-subscription tuning.vercel-celery/vercel-dramatiqintegration package injected automatically (bundled variant unlessvercel-queueis an explicit dependency), in builds and invercel dev.[[tool.vercel.workflows]]entrypoints follow the SDK generation: projects onvercel>= 0.8.0 are served through vercel-queue like subscribers; older or undeterminable versions keep the legacy vercel-workers serving (worker env markers, injected pinnedvercel-workers).vercel-workersdirectly keep the legacy integration wholesale: legacy subscriber schema, direct entrypoint serving, worker env markers.vercel devserves queue sidecars throughvercel.queue.asgi_app()for new-SDK projects, and its queue broker delivers with the SDK-registered consumer groups introspected at sidecar startup (matching production trigger behavior); legacy projects keep the vercel-workers bootstrap.config.hasWorkerServices; the Python builder makes all queue-serving decisions from project metadata.5fc4930: Rename thevc edge-configcommand tovc global-config, keepingedge-configworking as an alias for backwards compatibility.Patch Changes
a12044c: Resolve explicit--deploymenttargets without linking the current directory, reuse existing protection bypass tokens without creating them on cross-project targets, and prevent--scopeand--teamfrom leaking into curl arguments.17ee736]v58.1.0Compare Source
Minor Changes
be40159: Extendvercel ai-gateway api-keys createwith--expirationand--alert-thresholdsflags for parity with the create endpoint.4631896: Addvercel ai-gateway api-keyslist, inspect, and remove subcommands so API keys can be listed, inspected, and deleted from the CLI.3b6b1e9: Addvercel ai-gateway leaderboard models, exposing the AI Gateway models usage leaderboard from the CLI. Supports--modality,--metric, and--date, a pretty table in interactive terminals with JSON by default when piped,--format table|json|csv, and--outto write the payload to a file.2b31684: Addvercel ai-gateway leaderboard labs,apps, andproviders, completing CLI parity with the AI Gateway leaderboard export endpoint.labsmirrors themodelstime series (--modality/--metric/--date);appsandprovidersrender the ranked top lists. All support--format table|json|csvand--out.c6ed10a: Make--jsonthe documented flag for commands that emit JSON while continuing to support--format jsonfor backward compatibility.6322f45: Addvercel vcr buildandvercel vcr pushto build and push container images to the Vercel Container Registry using your local engine (docker/podman/buildah). Both default the repository to the project name and the tag tolatest, assemble the full registry reference for you, and forward any arguments after--to the engine.vcr build --pushbuilds and pushes in one step with zstd compression enabled by default (Docker via Buildx, Podman/Buildah on push), and standalonevcr pushcompresses with zstd on Podman and Buildah.Patch Changes
f196f2e: Internal: add the AI Gateway leaderboard export client (util/ai-gateway/leaderboard.ts) and the shared CLI rendering engine (fetch, format resolution, table rendering, file output) used by the forthcomingai-gateway leaderboardsubcommands. No user-facing change yet.5b6256c: Replace the BuilderpeerDependencieswith abuildersmanifest in package.json, pinned to exact workspace versions at pack time and used for Builder version resolution. Builders remain independencies.eef1ae9: Remove the advanced settings prompt when creating a project.a75c3ff: Help agents discoververcel curlwhen verifying deployments protected by Deployment Protection.f2adf27: Add a--base-urlflag tovercel ai-gateway coding-agents setupto point Codex and Claude Code at a different AI Gateway base URL (e.g. a preview deployment). When set, the value is written verbatim into each agent's config, so you own correctness when mixing API styles in one run.Codex and Claude Code now default to their gateway compatibility endpoints —
https://ai-gateway.vercel.sh/codex/v1andhttps://ai-gateway.vercel.sh/claude-code(Anthropic style, no/v1) — instead of the generic gateway URLs. Claude Code's settings also setCLAUDE_CODE_ENABLE_GATEWAY_MODEL_DISCOVERY=1so it discovers the gateway's model catalog. OpenCode and Pi are unaffected — they use their native gateway providers.d05a16a: Decouple first-deployment framework detection fromVERCEL_FRAMEWORK_DETECTION. First-deployment detection (auto-detecting the framework for a project's first deployment when none is configured) is now driven solely byVERCEL_FIRST_DEPLOYMENT;VERCEL_FRAMEWORK_DETECTIONcontinues to gate only the end-of-build framework cross-check.Also adds a curl-based CLI e2e test (
packages/cli/test/e2e-curl-deploy.test.ts) that uploads a zipped Node project to/v2/files, creates a deployment via/v13/deployments, waits for it to be READY, probes/for the expected response, and deletes the created project.v58.0.0Compare Source
Minor Changes
843bb99: Support attaching Connect connectors to project custom environments by slug or stable ID.d277bd9: Add custom-environment targeting for Connex trigger destinations.4502520: Support Node.js Routing Middleware entrypoints throughproxy.entrypoint, with optional path matching throughproxy.matcher. The matcher may be configured in the entrypoint source orvercel.json, but not both.506487b: Removed theVERCEL_TOML_CONFIG_ENABLEDfeature flag.vercel.tomlconfiguration file support is now always enabled.Patch Changes
c71e6f9: Recover interactive commands from stale stored login sessions by starting a fresh device login, and retry Environment Variable reads after legacy authentication challenges.4502520]6aa29e5]Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate using a curated preset maintained by
. View repository job log here