@vercel/blob@0.15.1
github-actions
released this
14 Nov 15:22
·
113 commits
to main
since this release
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 anyJSON.parse(request.body)
at thehandleUpload
step, as the body will be JSON by default now. This is valid for theonBeforeGenerateToken
andonUploadCompleted
steps.