pypi google-cloud-storage 3.0.0
v3.0.0

one day ago

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() and Bucket.from_string() to from_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)

Documentation

  • Correct formatting and update README.rst (#1427) (2945853)
  • Fix issue with exceptions.py documentation (#1328) (22b8c30)

Don't miss a new google-cloud-storage release

NewReleases is sending notifications on new releases.