diff --git a/CHANGELOG.md b/CHANGELOG.md index 19ff1db98..d6328273c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,155 @@ [1]: https://pypi.org/project/google-cloud-storage/#history +## [3.0.0](https://github.com/googleapis/python-storage/compare/v2.0.0...v3.0.0) (2022-01-12) + + +### ⚠ BREAKING CHANGES + +* Remove Python 2 support (#657) + +### Features + +* add 'page_size' parameter to 'Bucket.list_blobs, list_buckets ([#520](https://github.com/googleapis/python-storage/issues/520)) ([c5f4ad8](https://github.com/googleapis/python-storage/commit/c5f4ad8fddd1849a4229b0126c4c022bccb90128)) +* add *generation*match args into Blob.compose() ([#122](https://github.com/googleapis/python-storage/issues/122)) ([dc01c59](https://github.com/googleapis/python-storage/commit/dc01c59e036164326aeeea164098cf2e6e0dc12c)) +* add blob.open() for file-like I/O ([#385](https://github.com/googleapis/python-storage/issues/385)) ([440a0a4](https://github.com/googleapis/python-storage/commit/440a0a4ffe00b1f7c562b0e9c1e47dbadeca33e1)), closes [#29](https://github.com/googleapis/python-storage/issues/29) +* add Bucket.reload() and Bucket.update() wrappers to restrict generation match args ([#153](https://github.com/googleapis/python-storage/issues/153)) ([76dd9ac](https://github.com/googleapis/python-storage/commit/76dd9ac7e8b7765defc5b521cfe059e08e33c65c)), closes [#127](https://github.com/googleapis/python-storage/issues/127) +* add classifiers for python3.9 and remove for python3.5 ([#295](https://github.com/googleapis/python-storage/issues/295)) ([f072825](https://github.com/googleapis/python-storage/commit/f072825ce03d774fd95d9fe3db95a8c7130b0e8a)) +* add configurable checksumming for blob uploads and downloads ([#246](https://github.com/googleapis/python-storage/issues/246)) ([23b7d1c](https://github.com/googleapis/python-storage/commit/23b7d1c3155deae3c804c510dee3a7cec97cd46c)) +* add getters and setters for encryption_key and kms_key_name ([#409](https://github.com/googleapis/python-storage/issues/409)) ([2adfb59](https://github.com/googleapis/python-storage/commit/2adfb593d5ad19320affe480455568c1410b9d93)) +* add helper for bucket bound hostname URLs ([#137](https://github.com/googleapis/python-storage/issues/137)) ([b26f9fa](https://github.com/googleapis/python-storage/commit/b26f9fa8a767b7d5affea8d2c4b87163ce979fd2)), closes [#121](https://github.com/googleapis/python-storage/issues/121) +* add if*generation*match args into Bucket.delete_blobs() ([#130](https://github.com/googleapis/python-storage/issues/130)) ([5e60991](https://github.com/googleapis/python-storage/commit/5e60991c634bf5f5f3ddd78a6bd192f03b858a15)), closes [#127](https://github.com/googleapis/python-storage/issues/127) +* add if*generation*match support for Bucket.rename_blob() ([#141](https://github.com/googleapis/python-storage/issues/141)) ([f52efc8](https://github.com/googleapis/python-storage/commit/f52efc807355c82aa3ea621cdadcc316175f0abf)) +* add if*generation*Match support, pt1 ([#123](https://github.com/googleapis/python-storage/issues/123)) ([0944442](https://github.com/googleapis/python-storage/commit/094444280dd7b7735e24071e5381508cbd392260)) +* add ignore_flush parameter to BlobWriter ([#644](https://github.com/googleapis/python-storage/issues/644)) ([af9c9dc](https://github.com/googleapis/python-storage/commit/af9c9dc83d8582167b74105167af17c9809455de)) +* add mtls support ([#367](https://github.com/googleapis/python-storage/issues/367)) ([d35ab35](https://github.com/googleapis/python-storage/commit/d35ab3537d1828505f614d32b79b67173c9438c0)) +* add offset and includeTrailingPrefix options to list_blobs ([#125](https://github.com/googleapis/python-storage/issues/125)) ([d84c0dd](https://github.com/googleapis/python-storage/commit/d84c0ddfd00fa731acfe9899c668041456b08ab7)) +* add preconditions and retry configuration to blob.create_resumable_upload_session ([#484](https://github.com/googleapis/python-storage/issues/484)) ([0ae35ee](https://github.com/googleapis/python-storage/commit/0ae35eef0fe82fe60bc095c4b183102bb1dabeeb)) +* add public access prevention to bucket IAM configuration ([#304](https://github.com/googleapis/python-storage/issues/304)) ([e3e57a9](https://github.com/googleapis/python-storage/commit/e3e57a9c779d6b87852063787f19e27c76b1bb14)) +* add raw_download kwarg to BlobReader ([#668](https://github.com/googleapis/python-storage/issues/668)) ([10cdad6](https://github.com/googleapis/python-storage/commit/10cdad630739a324ae0b16a3d14a67ca4c8a23c2)) +* add support for 'Blob.custom_time' and lifecycle rules ([#199](https://github.com/googleapis/python-storage/issues/199)) ([180873d](https://github.com/googleapis/python-storage/commit/180873de139f7f8e00b7bef423bc15760cf68cc2)) +* add support for Etag headers on reads ([#489](https://github.com/googleapis/python-storage/issues/489)) ([741d3fd](https://github.com/googleapis/python-storage/commit/741d3fda4e4280022cede29ebeb7c2ea09e73b6f)) +* add support for Python 3.10 ([#615](https://github.com/googleapis/python-storage/issues/615)) ([f81a2d0](https://github.com/googleapis/python-storage/commit/f81a2d054616c1ca1734997a16a8f47f98ab346b)) +* add testing for Python 3.9, drop Python 3.5 ([#313](https://github.com/googleapis/python-storage/issues/313)) ([fa14009](https://github.com/googleapis/python-storage/commit/fa140092877a277abbb23785657590a274a86d61)) +* add timeout parameter to Batch interface to match google-cloud-core ([#10010](https://github.com/googleapis/python-storage/issues/10010)) ([dbaf058](https://github.com/googleapis/python-storage/commit/dbaf05888a77e10f618af276067aaf32e4d81e8e)) +* add timeout parameter to public methods ([#44](https://github.com/googleapis/python-storage/issues/44)) ([63abf07](https://github.com/googleapis/python-storage/commit/63abf0778686df1caa001270dd22f9df0daf0c78)) +* add timeouts to Blob methods where missing ([#185](https://github.com/googleapis/python-storage/issues/185)) ([6eeb855](https://github.com/googleapis/python-storage/commit/6eeb855aa0e6a7835d1d4f6e72951e43af22ab57)) +* **blob.py:** auto-populate standard headers for non-chunked downloads ([#204](https://github.com/googleapis/python-storage/issues/204)) ([d8432cd](https://github.com/googleapis/python-storage/commit/d8432cd65a4e9b38eebd1ade2ff00f2f44bb0ef6)) +* Create CODEOWNERS ([#135](https://github.com/googleapis/python-storage/issues/135)) ([32a8d55](https://github.com/googleapis/python-storage/commit/32a8d55b6ec56a9f7c0a3502fbe23c1ba1cc8ad2)) +* error message return from api ([#235](https://github.com/googleapis/python-storage/issues/235)) ([a8de586](https://github.com/googleapis/python-storage/commit/a8de5868f32b45868f178f420138fcd2fe42f5fd)) +* generate signed URLs for blobs/buckets using virtual hostname ([#58](https://github.com/googleapis/python-storage/issues/58)) ([23df542](https://github.com/googleapis/python-storage/commit/23df542d0669852b05139023d5ef1ae14a09f4c7)) +* make retry parameter public and added in other methods ([#331](https://github.com/googleapis/python-storage/issues/331)) ([910e34c](https://github.com/googleapis/python-storage/commit/910e34c57de5823bc3a04adbd87cbfe27fb41882)) +* media operation retries can be configured using the same interface as with non-media operation ([#447](https://github.com/googleapis/python-storage/issues/447)) ([0dbbb8a](https://github.com/googleapis/python-storage/commit/0dbbb8ac17a4b632707485ee6c7cc15e4670efaa)) +* pass 'client_options' to base class ctor ([#225](https://github.com/googleapis/python-storage/issues/225)) ([e1f91fc](https://github.com/googleapis/python-storage/commit/e1f91fcca6c001bc3b0c5f759a7a003fcf60c0a6)), closes [#210](https://github.com/googleapis/python-storage/issues/210) +* Remove Python 2 support ([#657](https://github.com/googleapis/python-storage/issues/657)) ([b611670](https://github.com/googleapis/python-storage/commit/b6116700a4a32d28404c39018138e545f3f7910e)) +* rename 'Blob.download_as_{string,bytes}', add 'Blob.download_as_text' ([#182](https://github.com/googleapis/python-storage/issues/182)) ([73107c3](https://github.com/googleapis/python-storage/commit/73107c35f23c4a358e957c2b8188300a7fa958fe)) +* retry API calls with exponential backoff ([#287](https://github.com/googleapis/python-storage/issues/287)) ([fbe5d9c](https://github.com/googleapis/python-storage/commit/fbe5d9ca8684c6a992dcdee977fc8dd012a96a5c)) +* **storage:** add 'ARCHIVE' storage class ([#9533](https://github.com/googleapis/python-storage/issues/9533)) ([24c18b0](https://github.com/googleapis/python-storage/commit/24c18b0fc44b0466f538bb33036a5ea132398a7e)) +* **storage:** add arguments for *GenerationMatch uploading options ([#111](https://github.com/googleapis/python-storage/issues/111)) ([b11aa5f](https://github.com/googleapis/python-storage/commit/b11aa5f00753b094580847bc62c154ae0e584dbc)) +* **storage:** Add cname support for V4 signature ([#72](https://github.com/googleapis/python-storage/issues/72)) ([cc853af](https://github.com/googleapis/python-storage/commit/cc853af6bf8e44e5b16e8cdfb3a275629ffb1f27)) +* **storage:** add conformance tests for virtual hosted style signed URLs ([#83](https://github.com/googleapis/python-storage/issues/83)) ([5adc8b0](https://github.com/googleapis/python-storage/commit/5adc8b0e6ffe28185a4085cd1fc8c1b4998094aa)) +* **storage:** add get notification method ([#77](https://github.com/googleapis/python-storage/issues/77)) ([f602252](https://github.com/googleapis/python-storage/commit/f6022521bee0824e1b291211703afc5eae6c6891)) +* **storage:** add opt-in raw download support ([#9572](https://github.com/googleapis/python-storage/issues/9572)) ([1202127](https://github.com/googleapis/python-storage/commit/12021278b79880cf38de78ce3a949e0f681146b1)) +* **storage:** add support for signing URLs using token ([#9889](https://github.com/googleapis/python-storage/issues/9889)) ([ad280bf](https://github.com/googleapis/python-storage/commit/ad280bf506d3d7a37c402d06eac07422a5fe80af)) +* **storage:** add support of daysSinceNoncurrentTime and noncurrentTimeBefore ([#162](https://github.com/googleapis/python-storage/issues/162)) ([136c097](https://github.com/googleapis/python-storage/commit/136c0970f8ef7ad4751104e3b8b7dd3204220a67)) +* **storage:** add UBLA attrs to IAMConfiguration ([#9475](https://github.com/googleapis/python-storage/issues/9475)) ([ba44860](https://github.com/googleapis/python-storage/commit/ba448606aeab97d27487405fe65643af7eb8fb69)) +* **storage:** improve v4 signature query parameters encoding ([#48](https://github.com/googleapis/python-storage/issues/48)) ([8df0b55](https://github.com/googleapis/python-storage/commit/8df0b554a1904787889309707f08c6b8683cad44)) +* **storage:** migrate to Service Account Credentials API ([#189](https://github.com/googleapis/python-storage/issues/189)) ([e4990d0](https://github.com/googleapis/python-storage/commit/e4990d06043dbd8d1a417f3a1a67fe8746071f1c)) +* **storage:** support optionsRequestedPolicyVersion ([#9989](https://github.com/googleapis/python-storage/issues/9989)) ([ef62844](https://github.com/googleapis/python-storage/commit/ef62844df73e8c1662e9f7786d43b9791d6cc03a)) +* **storage:** support predefined ACLs in 'Bucket.create' ([#9334](https://github.com/googleapis/python-storage/issues/9334)) ([0820e92](https://github.com/googleapis/python-storage/commit/0820e921a3ee57acb8c7d48a02a24da81d2d88bf)) +* support ConnectionError retries for media operations ([#342](https://github.com/googleapis/python-storage/issues/342)) ([e55b25b](https://github.com/googleapis/python-storage/commit/e55b25be1e32f17b17bffe1da99fca5062f180cb)) +* V4 Post policies ([#87](https://github.com/googleapis/python-storage/issues/87)) ([b451e2d](https://github.com/googleapis/python-storage/commit/b451e2d3f18fb079d8b5a8b1842b3c528880b706)) + + +### Bug Fixes + +* add bucket name into POST policy conditions ([#118](https://github.com/googleapis/python-storage/issues/118)) ([311ecab](https://github.com/googleapis/python-storage/commit/311ecabf8acc3018cef0697dd29483693f7722b9)) +* add classifer for Python 3.8 ([#63](https://github.com/googleapis/python-storage/issues/63)) ([1b9b6bc](https://github.com/googleapis/python-storage/commit/1b9b6bc2601ee336a8399266852fb850e368b30a)) +* add ConnectionError to default retry ([#445](https://github.com/googleapis/python-storage/issues/445)) ([8344253](https://github.com/googleapis/python-storage/commit/8344253a1969b9d04b81f87a6d7bddd3ddb55006)) +* add gcloud-python header to user agent ([#9551](https://github.com/googleapis/python-storage/issues/9551)) ([dc817e9](https://github.com/googleapis/python-storage/commit/dc817e9d0b94a84ef5ed713bfe300b6d00ec15da)) +* add multiprocessing.rst to synthool excludes ([#186](https://github.com/googleapis/python-storage/issues/186)) ([4d76e38](https://github.com/googleapis/python-storage/commit/4d76e3882210ed2818a43256265f6df31348d410)) +* add preconditions and retry config support to ACL patch operationss ([#586](https://github.com/googleapis/python-storage/issues/586)) ([4333caf](https://github.com/googleapis/python-storage/commit/4333caf3674d78b3dfbc161a796abac604d57953)) +* add requests as a dependency ([#271](https://github.com/googleapis/python-storage/issues/271)) ([ec52b38](https://github.com/googleapis/python-storage/commit/ec52b38df211fad18a86d7e16d83db79de59d5f5)) +* add unpinned protobuf for python3 ([#592](https://github.com/googleapis/python-storage/issues/592)) ([53f7ad0](https://github.com/googleapis/python-storage/commit/53f7ad0204ad425011da9162d1a78f8276c837eb)) +* address incorrect usage of request preconditions ([#366](https://github.com/googleapis/python-storage/issues/366)) ([321658c](https://github.com/googleapis/python-storage/commit/321658c3b9ccaf22d08dd881c93206590f8275b7)) +* allow metadata keys to be cleared ([#383](https://github.com/googleapis/python-storage/issues/383)) ([79d27da](https://github.com/googleapis/python-storage/commit/79d27da9fe842e44a9091076ea0ef52c5ef5ff72)), closes [#381](https://github.com/googleapis/python-storage/issues/381) +* allow signed url version v4 without signed credentials ([#356](https://github.com/googleapis/python-storage/issues/356)) ([3e69bf9](https://github.com/googleapis/python-storage/commit/3e69bf92496616c5de28094dd42260b35c3bf982)) +* Amend default retry behavior for bucket operations on client ([#358](https://github.com/googleapis/python-storage/issues/358)) ([b91e57d](https://github.com/googleapis/python-storage/commit/b91e57d6ca314ac4feaec30bf355fcf7ac4468c0)) +* apply idempotency policies for ACLs ([#458](https://github.com/googleapis/python-storage/issues/458)) ([2232f38](https://github.com/googleapis/python-storage/commit/2232f38933dbdfeb4f6585291794d332771ffdf2)) +* avoid triggering global logging config ([#333](https://github.com/googleapis/python-storage/issues/333)) ([602108a](https://github.com/googleapis/python-storage/commit/602108a976503271fe0d85c8d7891ce8083aca89)), closes [#332](https://github.com/googleapis/python-storage/issues/332) +* blacken ([d54adfe](https://github.com/googleapis/python-storage/commit/d54adfef344c8d37a819358bdb2a0d2be3c32cba)) +* **blob:** base64 includes additional characters ([#258](https://github.com/googleapis/python-storage/issues/258)) ([cf0774a](https://github.com/googleapis/python-storage/commit/cf0774aa8ffd45d340aff9a7d2236d8d65c8ae93)) +* change datetime.now to utcnow ([#251](https://github.com/googleapis/python-storage/issues/251)) ([3465d08](https://github.com/googleapis/python-storage/commit/3465d08e098edb250dee5e97d1fb9ded8bae5700)) +* changeover unspecified to inherited ([#603](https://github.com/googleapis/python-storage/issues/603)) ([283a419](https://github.com/googleapis/python-storage/commit/283a4196865d9b5275e87f54737d1faee40cc946)) +* check response code in batch.finish ([#609](https://github.com/googleapis/python-storage/issues/609)) ([318a286](https://github.com/googleapis/python-storage/commit/318a286d709427bfe9f3a37e933c255ac51b3033)) +* correctly decode times without microseconds ([#375](https://github.com/googleapis/python-storage/issues/375)) ([37a1eb5](https://github.com/googleapis/python-storage/commit/37a1eb54095b4f857771784007dd049ffafbc11d)), closes [#363](https://github.com/googleapis/python-storage/issues/363) +* correctly encode bytes for V2 signature ([#382](https://github.com/googleapis/python-storage/issues/382)) ([f44212b](https://github.com/googleapis/python-storage/commit/f44212b7b91a67ca661898400fe632f9fb3ec8f6)) +* coverage update ([e4f0ffd](https://github.com/googleapis/python-storage/commit/e4f0ffd89e99a7c976157ac1900a4f966eab76dc)) +* **deps:** add explicit ranges for 'google-api-core' and 'google-auth' ([#530](https://github.com/googleapis/python-storage/issues/530)) ([310f207](https://github.com/googleapis/python-storage/commit/310f207411da0382af310172344f19c644c14e6a)) +* **deps:** pin 'api,cloud}-core', 'auth' to allow 2.x versions on Python 3 ([#512](https://github.com/googleapis/python-storage/issues/512)) ([4d7500e](https://github.com/googleapis/python-storage/commit/4d7500e39c51efd817b8363b69c88be040f3edb8)) +* **deps:** update minimum dependency versions to pick up bugfixes ([#496](https://github.com/googleapis/python-storage/issues/496)) ([92251a5](https://github.com/googleapis/python-storage/commit/92251a5c8ea4d663773506eb1c630201a657aa69)), closes [#494](https://github.com/googleapis/python-storage/issues/494) +* do not append duplicates to user agent string ([#570](https://github.com/googleapis/python-storage/issues/570)) ([57cf3a1](https://github.com/googleapis/python-storage/commit/57cf3a1f27292939ed097ef8afa3f4392c4b83e0)) +* don't report a gapic version for storage ([#9549](https://github.com/googleapis/python-storage/issues/9549)) ([caf737f](https://github.com/googleapis/python-storage/commit/caf737f7e0d72d9837a9e17fbb1c8436fc97a307)) +* downloading no longer marks metadata fields as 'changed' ([#523](https://github.com/googleapis/python-storage/issues/523)) ([160d1ec](https://github.com/googleapis/python-storage/commit/160d1ecb41f1f269b25cb68b2d2f7daf418bf01c)) +* Ensure consistency check in test runs even if expected error occurs ([#402](https://github.com/googleapis/python-storage/issues/402)) ([416bcd4](https://github.com/googleapis/python-storage/commit/416bcd42406ec57e51f04e5d9b0c58509f80520c)) +* expose num_retries parameter for blob upload methods ([#353](https://github.com/googleapis/python-storage/issues/353)) ([fdabd6a](https://github.com/googleapis/python-storage/commit/fdabd6af74da4b15fbb5d40fb8f80a9b478b9607)), closes [#352](https://github.com/googleapis/python-storage/issues/352) +* extract hashes correctly during download ([#238](https://github.com/googleapis/python-storage/issues/238)) ([23cfb65](https://github.com/googleapis/python-storage/commit/23cfb65c3a3b10759c67846e162e4ed77a3f5307)) +* fall back to 'charset' of 'content_type' in 'download_as_text' ([#326](https://github.com/googleapis/python-storage/issues/326)) ([63ff233](https://github.com/googleapis/python-storage/commit/63ff23387f5873c609490be8e58d69ba34a10a5e)) +* field policy return string ([#282](https://github.com/googleapis/python-storage/issues/282)) ([c356b84](https://github.com/googleapis/python-storage/commit/c356b8484a758548d5f4823a495ab70c798cfaaf)) +* fix conditional retry handling of camelCase query params ([#340](https://github.com/googleapis/python-storage/issues/340)) ([4ff6141](https://github.com/googleapis/python-storage/commit/4ff614161f6a2654a59706f4f72b5fbb614e70ec)) +* from_string method of blob and bucket class ([#290](https://github.com/googleapis/python-storage/issues/290)) ([d457ce3](https://github.com/googleapis/python-storage/commit/d457ce3e161555c9117ae288ec0c9cd5f8d5fe3a)), closes [#286](https://github.com/googleapis/python-storage/issues/286) +* make 'requests.exceptions.ChunkedEncodingError retryable by default ([#526](https://github.com/googleapis/python-storage/issues/526)) ([4abb403](https://github.com/googleapis/python-storage/commit/4abb40310eca7ec45afc4bc5e4dfafbe083e74d2)) +* make v4 signing formatting consistent w/ spec ([#56](https://github.com/googleapis/python-storage/issues/56)) ([8712da8](https://github.com/googleapis/python-storage/commit/8712da84c93600a736e72a097c42a49b4724347d)) +* noxfile ([c4c3506](https://github.com/googleapis/python-storage/commit/c4c3506adb10df7693676af38bbadd5491fa4a94)) +* pass the unused parameter ([#349](https://github.com/googleapis/python-storage/issues/349)) ([5c60d24](https://github.com/googleapis/python-storage/commit/5c60d240aa98d2a1dcc6933d6da2ce60ea1b7559)) +* pin six as a required dependency ([#589](https://github.com/googleapis/python-storage/issues/589)) ([9ca97bf](https://github.com/googleapis/python-storage/commit/9ca97bf9139c71cd033c78af73da904b27d8ff50)) +* populate etag / generation / metageneration properties during download ([#488](https://github.com/googleapis/python-storage/issues/488)) ([49ba14c](https://github.com/googleapis/python-storage/commit/49ba14c9c47dbe6bc2bb45d53bbe5621c131fbcb)) +* preserve existing blob hashes when 'X-Goog-Hash header' is not present ([#267](https://github.com/googleapis/python-storage/issues/267)) ([277afb8](https://github.com/googleapis/python-storage/commit/277afb83f464d77b163f2722272092df4180411e)) +* preserve metadata value ([#298](https://github.com/googleapis/python-storage/issues/298)) ([5ab6b0d](https://github.com/googleapis/python-storage/commit/5ab6b0d9a2b27ae830740a7a0226fc1e241e9ec4)), closes [#293](https://github.com/googleapis/python-storage/issues/293) +* raise a ValueError in BucketNotification.create() if a topic name is not set ([#617](https://github.com/googleapis/python-storage/issues/617)) ([9dd78df](https://github.com/googleapis/python-storage/commit/9dd78df444d21af51af7858e8958b505a26c0b79)) +* remove trailing commas from error message constants ([#505](https://github.com/googleapis/python-storage/issues/505)) ([d4a86ce](https://github.com/googleapis/python-storage/commit/d4a86ceb7a7c5e00ba7bae37c7078d52478040ff)), closes [#501](https://github.com/googleapis/python-storage/issues/501) +* repair mal-formed docstring ([#255](https://github.com/googleapis/python-storage/issues/255)) ([e722376](https://github.com/googleapis/python-storage/commit/e722376371cb8a3acc46d6c84fb41f4e874f41aa)) +* replace default retry for upload operations ([#480](https://github.com/googleapis/python-storage/issues/480)) ([c027ccf](https://github.com/googleapis/python-storage/commit/c027ccf4279fb05e041754294f10744b7d81beea)) +* replace python lifecycle action parsing ValueError with warning ([#437](https://github.com/googleapis/python-storage/issues/437)) ([2532d50](https://github.com/googleapis/python-storage/commit/2532d506b44fc1ef0fa0a996822d29e7459c465a)) +* replace unsafe six.PY3 with PY2 for better future compatibility with Python 4 ([#10081](https://github.com/googleapis/python-storage/issues/10081)) ([4864ac9](https://github.com/googleapis/python-storage/commit/4864ac9ab9b968105a13a16341a1611db692737a)) +* retry auth.TransportError errors ([#418](https://github.com/googleapis/python-storage/issues/418)) ([23a8db8](https://github.com/googleapis/python-storage/commit/23a8db839909a0781343cb18edffaea06a0b7092)) +* retry uploads only conditionally ([#316](https://github.com/googleapis/python-storage/issues/316)) ([547740c](https://github.com/googleapis/python-storage/commit/547740c0a898492e76ce5e60dd20c7ddb8a53d1f)) +* revise and rename is_etag_in_json(data) ([#483](https://github.com/googleapis/python-storage/issues/483)) ([0a52546](https://github.com/googleapis/python-storage/commit/0a5254647bf1155874fe48f3891bcc34a76b0b81)) +* revise blob.compose query parameters `if_generation_match` ([#454](https://github.com/googleapis/python-storage/issues/454)) ([70d19e7](https://github.com/googleapis/python-storage/commit/70d19e72831dee112bb07f38b50beef4890c1155)) +* self-upload files for Unicode system test ([#296](https://github.com/googleapis/python-storage/issues/296)) ([6f865d9](https://github.com/googleapis/python-storage/commit/6f865d97a19278884356055dfeeaae92f7c63cc1)) +* set custom_time on uploads ([#374](https://github.com/googleapis/python-storage/issues/374)) ([f048be1](https://github.com/googleapis/python-storage/commit/f048be10416f51cea4e6c8c5b805df7b5d9c4d32)), closes [#372](https://github.com/googleapis/python-storage/issues/372) +* set default POST policy scheme to "http" ([#172](https://github.com/googleapis/python-storage/issues/172)) ([90c020d](https://github.com/googleapis/python-storage/commit/90c020d69a69ebc396416e4086a2e0838932130c)) +* silence expected errors for routine operations on BlobReader ([#400](https://github.com/googleapis/python-storage/issues/400)) ([d52853b](https://github.com/googleapis/python-storage/commit/d52853b420f50012e02c395f5407e3018922c048)) +* skip test__signing tests for mtls ([#511](https://github.com/googleapis/python-storage/issues/511)) ([ddd013c](https://github.com/googleapis/python-storage/commit/ddd013c318802cf44a12aa23bc5663ecf10072e0)) +* skip tests that use unspecified pap until we get the change in ([#600](https://github.com/googleapis/python-storage/issues/600)) ([38b9b55](https://github.com/googleapis/python-storage/commit/38b9b5582e2c6bbd1acab2b49410084170466fad)) +* **storage:** add documentaion of list_blobs with user project ([#147](https://github.com/googleapis/python-storage/issues/147)) ([792b21f](https://github.com/googleapis/python-storage/commit/792b21fd2263b518d56f79cab6a4a1bb06c6e4e7)) +* **storage:** add projection parameter to blob.reload method ([#146](https://github.com/googleapis/python-storage/issues/146)) ([ddad20b](https://github.com/googleapis/python-storage/commit/ddad20b3c3d2e6bf482e34dad85fa4b0ff90e1b1)) +* **storage:** add unused variables to method generation match ([#152](https://github.com/googleapis/python-storage/issues/152)) ([f6574bb](https://github.com/googleapis/python-storage/commit/f6574bb84c60c30989d05dba97b423579360cdb2)) +* **storage:** anonymous credentials for private bucket ([#107](https://github.com/googleapis/python-storage/issues/107)) ([6152ab4](https://github.com/googleapis/python-storage/commit/6152ab4067d39ba824f9b6a17b83859dd7236cec)) +* **storage:** call anonumous client method to remove dependency of google application credentials ([#9455](https://github.com/googleapis/python-storage/issues/9455)) ([3952ea7](https://github.com/googleapis/python-storage/commit/3952ea7dbcd00f542d1062558ca9253306122638)) +* **storage:** change the method names in snippets file ([#161](https://github.com/googleapis/python-storage/issues/161)) ([e516ed9](https://github.com/googleapis/python-storage/commit/e516ed9be518e30df4e201d3242f979c0b081086)) +* **storage:** enable CSEK w/ V4 signed URLs ([#9450](https://github.com/googleapis/python-storage/issues/9450)) ([b767ca3](https://github.com/googleapis/python-storage/commit/b767ca3d73c2cfa71d74b3688b466d9fb7fc96db)), closes [#7626](https://github.com/googleapis/python-storage/issues/7626) +* **storage:** fix blob metadata to None regression ([#60](https://github.com/googleapis/python-storage/issues/60)) ([a834d1b](https://github.com/googleapis/python-storage/commit/a834d1b54aa96152ced4d841c4e0c241acd2d8d8)) +* **storage:** fix document of delete blob ([#10015](https://github.com/googleapis/python-storage/issues/10015)) ([2d7d82c](https://github.com/googleapis/python-storage/commit/2d7d82c6cf874e4fd85d7ddd1a942637ce1f9be6)) +* **storage:** fix documentation of max_result parameter in list_blob ([#43](https://github.com/googleapis/python-storage/issues/43)) ([ff15f19](https://github.com/googleapis/python-storage/commit/ff15f19d3a5830acdd540181dc6e9d07ca7d88ee)) +* **storage:** fix incorrect mtime by UTC offset ([#42](https://github.com/googleapis/python-storage/issues/42)) ([76bd652](https://github.com/googleapis/python-storage/commit/76bd652a3078d94e03e566b6a387fc488ab26910)) +* **storage:** fix system test and change scope for iam access token ([#47](https://github.com/googleapis/python-storage/issues/47)) ([bc5375f](https://github.com/googleapis/python-storage/commit/bc5375f4c88f7e6ad1afbe7667c49d9a846e9757)) +* **storage:** fix upload object with bucket cmek enabled ([#158](https://github.com/googleapis/python-storage/issues/158)) ([5f27ffa](https://github.com/googleapis/python-storage/commit/5f27ffa3b1b55681453b594a0ef9e2811fc5f0c8)) +* **storage:** remove docstring of retrun in reload method ([#78](https://github.com/googleapis/python-storage/issues/78)) ([4abeb1c](https://github.com/googleapis/python-storage/commit/4abeb1c0810c4e5d716758536da9fc204fa4c2a9)) +* **storage:** remove expiration strict conversion ([#106](https://github.com/googleapis/python-storage/issues/106)) ([9550dad](https://github.com/googleapis/python-storage/commit/9550dad6e63e249110fc9dcda245061b76dacdcf)), closes [#105](https://github.com/googleapis/python-storage/issues/105) +* **storage:** str() metadata for for blob ([#9796](https://github.com/googleapis/python-storage/issues/9796)) ([ebedc05](https://github.com/googleapis/python-storage/commit/ebedc0517ed247c35324662cb4c684f891cf188f)) +* **storage:** update storage endpoint from www.googleapis.com to storage.googleapis.com ([#9543](https://github.com/googleapis/python-storage/issues/9543)) ([5a48ed5](https://github.com/googleapis/python-storage/commit/5a48ed52f031d5e56b385f4f28959121f838114f)) +* **storage:** use OrderedDict while encoding POST policy ([#95](https://github.com/googleapis/python-storage/issues/95)) ([df560e1](https://github.com/googleapis/python-storage/commit/df560e178369a6d03140e412a25af6ec7444f5a1)) +* test_utils ([56175fe](https://github.com/googleapis/python-storage/commit/56175fe000fed5b7130907b54691caf9dfb01437)) +* **tests:** remove low version error assertion from iam conditions system tests ([#53](https://github.com/googleapis/python-storage/issues/53)) ([8904aee](https://github.com/googleapis/python-storage/commit/8904aee9ad5dc01ab83e1460b6f186a739668eb7)) +* update 'custom_time' setter to record change ([#323](https://github.com/googleapis/python-storage/issues/323)) ([5174154](https://github.com/googleapis/python-storage/commit/5174154fe73bb6581efc3cd32ebe12014ceab306)) +* update batch connection to request api endpoint info from client ([#392](https://github.com/googleapis/python-storage/issues/392)) ([91fc6d9](https://github.com/googleapis/python-storage/commit/91fc6d9870a36308b15a827ed6a691e5b4669b62)) +* update test_utils ([2622b83](https://github.com/googleapis/python-storage/commit/2622b834174f02e61b2cd3a1ec8125bc28290e3e)) +* update user_project usage and documentation in bucket/client class methods ([#396](https://github.com/googleapis/python-storage/issues/396)) ([1a2734b](https://github.com/googleapis/python-storage/commit/1a2734ba6d316ce51e4e141571331e86196462b9)) +* use base_http again ([3280954](https://github.com/googleapis/python-storage/commit/3280954fc083561591e34d1df7b095ef8d61acb0)) +* use correct IAM object admin role ([#71](https://github.com/googleapis/python-storage/issues/71)) ([2e27edd](https://github.com/googleapis/python-storage/commit/2e27edd3fe65cd5e17c12bf11f2b58f611937d61)) +* use version.py for versioning, avoid issues with discovering version via get_distribution ([#288](https://github.com/googleapis/python-storage/issues/288)) ([fcd1c4f](https://github.com/googleapis/python-storage/commit/fcd1c4f7c947eb95d6937783fd69670a570f145e)) + ## [2.0.0](https://github.com/googleapis/python-storage/compare/v1.44.0...v2.0.0) (2022-01-12) diff --git a/google/cloud/storage/version.py b/google/cloud/storage/version.py index a12de3d25..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.0.0" +__version__ = "3.0.0"