Skip to content

Releases: vercel/vercel-py

v0.5.2

09 Mar 19:18
63b3686

Choose a tag to compare

v0.5.1

09 Mar 19:16
7035325

Choose a tag to compare

New features

  • Add a __bytes__ magic method to GetBlobResult to make it easier to get the .content bytes.

v0.5.0

19 Feb 13:58
@vvo vvo
9665242

Choose a tag to compare

Features

  • Private blob storage support (#50) — All blob operations (put, copy, get, multipart) now accept access="private" in addition to "public". Private blobs use *.private.blob.vercel-storage.com domains and authenticate via Bearer token.
  • New GetBlobResult type with .content, .etag, .size, .content_type, etc.
  • New params on get: use_cache, if_none_match (for conditional 304 requests)

Breaking changes

  • get() / get_async() now return GetBlobResult instead of bytes. Migrate: get(url)get(url).content
  • get() / get_async() now require access param (defaults to "public", backward-compatible for public stores)
  • download_file / download_file_async gain an access param (defaults to "public")

Bug fixes

  • Handle RFC 7231 date format in Last-Modified header (blob storage CDN returns HTTP date format, not ISO 8601)