Skip to content

Conversation

@elithrar
Copy link
Contributor

@elithrar elithrar commented Jan 8, 2026

Adds the wrangler versions delete <version-id> command to delete Worker versions that have been uploaded but not yet deployed. This addresses feedback from users who could only delete versions via the API.

  • uses the beta API endpoint: DELETE /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}
  • --name flag to specify Worker name (or read from wrangler.toml)
  • --yes / -y flag to skip confirmation prompt
  • --json flag for machine-readable output
  • safe for CI: uses fallbackValue: false so non-interactive contexts default to NOT deleting

Testing

A picture of a cute animal (not mandatory, but encouraged)

cats

@elithrar elithrar requested a review from a team as a code owner January 8, 2026 21:06
@changeset-bot
Copy link

changeset-bot bot commented Jan 8, 2026

🦋 Changeset detected

Latest commit: 654b7e4

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@claude
Copy link
Contributor

claude bot commented Jan 8, 2026

Claude encountered an error —— View job


Changeset Review

  • Read changeset guidelines
  • Review changeset file
  • Validate version type
  • Check changelog quality
  • Check for markdown headers
  • Review attached image

@pkg-pr-new
Copy link

pkg-pr-new bot commented Jan 8, 2026

create-cloudflare

npm i https://pkg.pr.new/create-cloudflare@11842

@cloudflare/kv-asset-handler

npm i https://pkg.pr.new/@cloudflare/kv-asset-handler@11842

miniflare

npm i https://pkg.pr.new/miniflare@11842

@cloudflare/pages-shared

npm i https://pkg.pr.new/@cloudflare/pages-shared@11842

@cloudflare/unenv-preset

npm i https://pkg.pr.new/@cloudflare/unenv-preset@11842

@cloudflare/vite-plugin

npm i https://pkg.pr.new/@cloudflare/vite-plugin@11842

@cloudflare/vitest-pool-workers

npm i https://pkg.pr.new/@cloudflare/vitest-pool-workers@11842

@cloudflare/workers-editor-shared

npm i https://pkg.pr.new/@cloudflare/workers-editor-shared@11842

@cloudflare/workers-utils

npm i https://pkg.pr.new/@cloudflare/workers-utils@11842

wrangler

npm i https://pkg.pr.new/wrangler@11842

commit: 654b7e4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

1 participant