From 7998d38e1549ac99f880cd0acdb621010c705e52 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Thu, 12 Dec 2024 17:46:16 +0000 Subject: [PATCH] chore(main): release 3.0.0 --- CHANGELOG.md | 38 +++++++++++++++++++++++++++++++++ google/cloud/storage/version.py | 2 +- 2 files changed, 39 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f3883ec3..3329ee4f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,44 @@ [1]: https://pypi.org/project/google-cloud-storage/#history +## [3.0.0](https://github.com/googleapis/python-storage/compare/v2.19.0...v3.0.0) (2024-12-12) + + +### ⚠ BREAKING CHANGES + +* The default checksum strategy for uploads has changed from None to "auto" ([#1383](https://github.com/googleapis/python-storage/issues/1383)) (5375fa0) +* The default checksum strategy for downloads has changed from "md5" to "auto" ([#1383](https://github.com/googleapis/python-storage/issues/1383)) (5375fa0) +* Deprecated positional argument "num_retries" has been removed ([#1377](https://github.com/googleapis/python-storage/issues/1377)) (58b5040) +* Deprecated argument "text_mode" has been removed ([#1379](https://github.com/googleapis/python-storage/issues/1379)) (4d20a8e) +* Media operation retries now work identically to other retries, which may impact default retry settings ([#1385](https://github.com/googleapis/python-storage/issues/1385)) (f3517bf) +* Blob.download_to_filename() deletes the empty destination file on a 404 + +### Features + +* Add "auto" checksum option and make default ([#1383](https://github.com/googleapis/python-storage/issues/1383)) ([5375fa0](https://github.com/googleapis/python-storage/commit/5375fa07385c60cac694025aee123e20cb25bb65)) +* Blob.download_to_filename() deletes the empty destination file on a 404 ([066be2d](https://github.com/googleapis/python-storage/commit/066be2db789cfd28d47d143ca0f7ccc9da183682)) +* Deprecated argument "text_mode" has been removed ([#1379](https://github.com/googleapis/python-storage/issues/1379)) (4d20a8e) ([4e9a382](https://github.com/googleapis/python-storage/commit/4e9a382dd91f7d951cb9b95319b05e0cdda06415)) +* Deprecated positional argument "num_retries" has been removed ([#1377](https://github.com/googleapis/python-storage/issues/1377)) (58b5040) ([4e9a382](https://github.com/googleapis/python-storage/commit/4e9a382dd91f7d951cb9b95319b05e0cdda06415)) +* Enable custom predicates for media operations ([#1385](https://github.com/googleapis/python-storage/issues/1385)) ([f3517bf](https://github.com/googleapis/python-storage/commit/f3517bfcb9e4ab8e4d761eb64a753e64b3d5871d)) +* Integrate google-resumable-media ([#1283](https://github.com/googleapis/python-storage/issues/1283)) ([bd917b4](https://github.com/googleapis/python-storage/commit/bd917b49d2a20e2e1edee2d32dc65b66da8d6aba)) +* Media operation retries now work identically to other retries, which may impact default retry settings ([#1385](https://github.com/googleapis/python-storage/issues/1385)) (f3517bf) ([4e9a382](https://github.com/googleapis/python-storage/commit/4e9a382dd91f7d951cb9b95319b05e0cdda06415)) +* The default checksum strategy for downloads has changed from "md5" to "auto" ([#1383](https://github.com/googleapis/python-storage/issues/1383)) (5375fa0) ([4e9a382](https://github.com/googleapis/python-storage/commit/4e9a382dd91f7d951cb9b95319b05e0cdda06415)) +* The default checksum strategy for uploads has changed from None to "auto" ([#1383](https://github.com/googleapis/python-storage/issues/1383)) (5375fa0) ([4e9a382](https://github.com/googleapis/python-storage/commit/4e9a382dd91f7d951cb9b95319b05e0cdda06415)) + + +### Bug Fixes + +* Cancel upload when BlobWriter exits with exception ([#1243](https://github.com/googleapis/python-storage/issues/1243)) ([df107d2](https://github.com/googleapis/python-storage/commit/df107d20a772e9b955d9978cd4a7731869e92cbe)) +* Changed name of methods `Blob.from_string()` and `Bucket.from_string()` to `from_uri()` ([#1335](https://github.com/googleapis/python-storage/issues/1335)) ([58c1d03](https://github.com/googleapis/python-storage/commit/58c1d038198046665317a0d00eb9630608349476)) +* Correctly calculate starting offset for retries of ranged reads ([#1376](https://github.com/googleapis/python-storage/issues/1376)) ([7b6c9a0](https://github.com/googleapis/python-storage/commit/7b6c9a0fb3a79d713f951176a690f6e72c4d77c5)) +* Remove deprecated num_retries argument ([#1377](https://github.com/googleapis/python-storage/issues/1377)) ([58b5040](https://github.com/googleapis/python-storage/commit/58b5040933d4b21e0be94357ed5aa14c87969f73)) +* Remove deprecated text_mode argument ([#1379](https://github.com/googleapis/python-storage/issues/1379)) ([4d20a8e](https://github.com/googleapis/python-storage/commit/4d20a8efa8cf37bb7f099b20a8c352c9a0c42659)) + + +### Documentation + +* Fix issue with exceptions.py documentation ([#1328](https://github.com/googleapis/python-storage/issues/1328)) ([22b8c30](https://github.com/googleapis/python-storage/commit/22b8c304afc7199fbc2dec448a4a3c5eba7d4e3a)) + ## [2.19.0](https://github.com/googleapis/python-storage/compare/v2.18.2...v2.19.0) (2024-11-21) diff --git a/google/cloud/storage/version.py b/google/cloud/storage/version.py index 2605c08a3..d6f7def8c 100644 --- a/google/cloud/storage/version.py +++ b/google/cloud/storage/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.19.0" +__version__ = "3.0.0"