Skip to content

Add blob deleteAfter lifecycle option#1063

Draft
luismeyer wants to merge 1 commit intomainfrom
blob-delete-after
Draft

Add blob deleteAfter lifecycle option#1063
luismeyer wants to merge 1 commit intomainfrom
blob-delete-after

Conversation

@luismeyer
Copy link
Copy Markdown
Member

Summary

Adds a public deleteAfter Blob upload option with the supported values "1 day", "7 days", and "30 days".

The SDK sends the option to the Blob API as x-vercel-blob-deletion-lifecycle using the same string value.

Validation

  • pnpm -F @vercel/blob test
  • pnpm -F @vercel/blob type-check
  • pnpm -F @vercel/blob check

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 8, 2026

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

Project Deployment Actions Updated (UTC)
vercel-storage-next-integration-test-suite Ready Ready Preview May 8, 2026 10:14am

Request Review

@luismeyer luismeyer self-assigned this May 8, 2026
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 8, 2026

🦋 Changeset detected

Latest commit: e8b0c0b

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

This PR includes changesets to release 2 packages
Name Type
@vercel/blob Minor
vercel-storage-integration-test-suite Patch

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant