Skip to content

@vercel/blob@0.15.1

Compare
Choose a tag to compare
@github-actions github-actions released this 14 Nov 15:22
· 113 commits to main since this release
8e06689

Patch Changes

  • f9c4061: fix(blob): Enforce content-type on fetch requests during token generation

    Before this change, we would not send the content-type header on fetch requests sent to your server during client uploads. We consider this a bugfix as it should have been sent before.

    ⚠️ If you upgrade to this version, and you're using any smart request body parser (like Next.js Pages API routes) then: You need to remove any JSON.parse(request.body) at the handleUpload step, as the body will be JSON by default now. This is valid for the onBeforeGenerateToken and onUploadCompleted steps.