3.0.0 (2025-01-28)
⚠ BREAKING CHANGES
Please consult the README for details on this major version release.
- The default checksum strategy for uploads has changed from None to "auto" (#1383)
- The default checksum strategy for downloads has changed from "md5" to "auto" (#1383)
- Deprecated positional argument "num_retries" has been removed (#1377)
- Deprecated argument "text_mode" has been removed (#1379)
- Blob.download_to_filename() now deletes the empty destination file on a 404 (#1394)
- Media operations now use the same retry backoff, timeout and custom predicate system as non-media operations, which may slightly impact default retry behavior (#1385)
- Retries are now enabled by default for uploads, blob deletes and blob metadata updates (#1400)
Features
- Add "auto" checksum option and make default (#1383) (5375fa0)
- Blob.download_to_filename() deletes the empty destination file on a 404 (#1394) (066be2d)
- Enable custom predicates for media operations (#1385) (f3517bf)
- Integrate google-resumable-media (#1283) (bd917b4)
- Retry by default for uploads, blob deletes, metadata updates (#1400) (0426005)
Bug Fixes
- Cancel upload when BlobWriter exits with exception (#1243) (df107d2)
- Changed name of methods
Blob.from_string()
andBucket.from_string()
tofrom_uri()
(#1335) (58c1d03) - Correctly calculate starting offset for retries of ranged reads (#1376) (7b6c9a0)
- Filter download_kwargs in BlobReader (#1411) (0c21210)
- Remove deprecated num_retries argument (#1377) (58b5040)
- Remove deprecated text_mode argument (#1379) (4d20a8e)