-
Notifications
You must be signed in to change notification settings - Fork 4
/
python-google-cloud-storage.changes
351 lines (319 loc) · 14.4 KB
/
python-google-cloud-storage.changes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
-------------------------------------------------------------------
Fri Apr 15 08:55:20 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 2.3.0:
- add dual region bucket support and sample
- track invocation id for retry metrics
- deps: drop pkg_resources
- fix links in blob module
- Add patches:
- no-relative-imports.patch to allow running the test suite
with pytest (gh#googleapis/python-storage#772)
- demock.patch to remove dependency on the external package
mock (gh#googleapis/python-storage#770)
-------------------------------------------------------------------
Wed Apr 13 10:13:58 UTC 2022 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.2.1
Bug Fixes
* remove py.typed marker file for PEP 561 (#735), closes (#734)
- from version 2.2.0
Features
* allow no project in client methods using storage emulator (#703)
Bug Fixes
* add user agent in python-storage when calling resumable media (c7bf615)
* **deps:** require google-api-core>=1.31.5, >=2.3.2 (#722) (e9aab38)
* Fix BlobReader handling of interleaved reads and seeks (#721) (5d1cfd2)
* retry client side requests timeout (#727) (e0b3b35)
Documentation
* fixed download_blob_to_file example (#704) (2c94d98)
- from 2.1.0
Features
* add turbo replication support and samples (#622) (4dafc81)
* avoid authentication with storage emulator (#679) (8789afa)
* remove python 3.6 support (#689) (8aa4130)
- from version 2.0.0
BREAKING CHANGES
* Remove Python 2 support (#657)
Features
* Remove Python 2 support (#657) (b611670)
- from version 1.44.0
Features
* add raw_download kwarg to BlobReader (#668) (10cdad6)
Documentation
* Describe code sample more specifically (#660) (0459cb4)
* refresh readme instructions (#667) (ceb9314)
* This is just a simple PR to better describe what the code
is doing in the comments. (0459cb4)
* use writeable streamin example for 'download_blob_to_file' (#676) (96092d4)
- from version 1.43.0
Features
* add ignore_flush parameter to BlobWriter (#644) (af9c9dc)
* add support for Python 3.10 (#615) (f81a2d0)
Bug Fixes
* raise a ValueError in BucketNotification.create() if a topic
name is not set (#617) (9dd78df)
Documentation
* add contributing and authoring guides under samples/ (#633) (420591a)
* add links to samples and how to guides (#641) (49f78b0)
* add README to samples subdirectory (#639) (58af882)
* update samples readme with cli args (#651) (75dda81)
- from 1.42.3
Bug Fixes
* changeover unspecified to inherited (#603) (283a419)
* check response code in batch.finish (#609) (318a286)
* skip tests that use unspecified pap until we get the change in (#600) (38b9b55)
- from version 1.42.2
Bug Fixes
* add preconditions and retry config support to ACL patch operationss (#586) (4333caf)
* add unpinned protobuf for python3 (#592) (53f7ad0)
* pin six as a required dependency (#589) (9ca97bf)
- from version 1.42.1
Bug Fixes
* do not append duplicates to user agent string (#570) (57cf3a1)
Documentation
* pass explicit 'client' in '{Blob.Bucket}.from_string' examples (#545) (6eff22d)
- from version 1.42.0
Features
* add 'page_size' parameter to 'Bucket.list_blobs, list_buckets (#520) (c5f4ad8)
Bug Fixes
* **deps:** add explicit ranges for 'google-api-core' and 'google-auth' (#530) (310f207)
* downloading no longer marks metadata fields as 'changed' (#523) (160d1ec)
* make 'requests.exceptions.ChunkedEncodingError retryable by default (#526) (4abb403)
Documentation
* update supported / removed Python versions in README (#519) (1f1b138)
- from version 1.41.1
Bug Fixes
* **deps:** pin `{api,cloud}-core`, `auth` to allow 2.x versions on Python 3 (#512) (4d7500e)
* remove trailing commas from error message constants (#505) (d4a86ce)
Documentation
* replace usage of deprecated function `download_as_string` in docs (#508) (8dfa4d4)
- from version 1.41.0
Features
* add support for Etag headers on reads (#489) (741d3fd)
Bug Fixes
* **deps:** update minimum dependency versions to pick up bugfixes (#496) (92251a5)
* populate etag / generation / metageneration properties during download (#488) (49ba14c)
* revise and rename is_etag_in_json(data) (#483) (0a52546)
- from version 1.40.0
Features
* add preconditions and retry configuration to blob.create_resumable_upload_session (#484) (0ae35ee)
* add public access prevention to bucket IAM configuration (#304) (e3e57a9)
Bug Fixes
* replace default retry for upload operations (#480) (c027ccf)
- from version 1.39.0
Features
* media operation retries can be configured using the same interface
as with non-media operation (#447) (0dbbb8a)
Bug Fixes
* add ConnectionError to default retry (#445) (8344253)
* apply idempotency policies for ACLs (#458) (2232f38)
* replace python lifecycle action parsing ValueError with warning (#437) (2532d50)
* revise blob.compose query parameters `if_generation_match` (#454) (70d19e7)
Documentation
* streamline 'timeout' / 'retry' docs in docstrings (#461) (78b2eba)
* streamline docstrings for conditional parmas (#464) (6999370)
- Drop patches for issues fixed upstream
* no-network.patch
* no-sic.patch
- Refresh patches for new upstream version
* no-relative-imports.patch
- Update BuildRequires and Require from setup.py
-------------------------------------------------------------------
Thu Sep 30 09:19:18 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Add no-relative-imports.patch to fix relative imports.
-------------------------------------------------------------------
Thu Sep 30 09:04:12 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Copy the testsuite before we run it to avoid import problems.
- Remove horrible workarounds creating __init__.py and then removing them.
- Drop Requires on python-google-filesystem.
-------------------------------------------------------------------
Tue Jun 22 06:34:36 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Correct Requires to googleapis-common-protos.
- Add Requires on python-google-filesystem, and stop including a file it
now ships.
-------------------------------------------------------------------
Fri Jun 4 07:09:47 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 1.38.0:
- add getters and setters for encryption_key and kms_key_name
- retry auth.TransportError errors
- revise docstrings for generate_signed_url
- Ensure consistency check in test runs even if expected error
occurs
- silence expected errors for routine operations on BlobReader
- add blob.open() for file-like I/O
- update user_project usage and documentation in bucket/client
class methods
- update batch connection to request api endpoint info from
client
- allow metadata keys to be cleared
- allow signed url version v4 without signed credentials
- correctly encode bytes for V2 signature
- add mtls support
- correctly decode times without microseconds
- expose num_retries parameter for blob upload methods
- pass the unused parameter
- set custom_time on uploads
- address incorrect usage of request preconditions
- Amend default retry behavior for bucket operations on client
- support ConnectionError retries for media operations
- make retry parameter public and added in other methods
- avoid triggering global logging config
- fall back to 'charset' of 'content_type' in
'download_as_text'
- fix conditional retry handling of camelCase query params
- retry uploads only conditionally
- update 'custom_time' setter to record change
- add testing support for Python 3.9, drop Python 3.5
- use passed-in client within Blob.from_string and helpers
- preserve metadata value when uploading new file content
- retry API calls with exponential backoff
- field policy return string
- self-upload files for Unicode system test
- use version.py for versioning, avoid issues with discovering
version via get_distribution
- preserve existing blob hashes when 'X-Goog-Hash header' is
not present
- blob: base64 includes additional characters
- add configurable checksumming for blob uploads and downloads
- add support for 'Blob.custom_time' and lifecycle rules
- error message return from api
- storage: add support of daysSinceNoncurrentTime and
noncurrentTimeBefore
- pass 'client_options' to base class ctor
- rename 'Blob.download_as_{string,bytes}', add
'Blob.download_as_text'
- change datetime.now to utcnow
- extract hashes correctly during download
- add timeouts to Blob methods where missing
- auto-populate standard headers for non-chunked downloads
- migrate to Service Account Credentials API
- add multiprocessing.rst to synthool excludes
- Fix URL to the correct https://github.com/googleapis/python-storage
- Add no-network.patch marking tests requiring network access
(gh#googleapis/python-storage#457).
- Add no-sic.patch to work even with old setuptools and packaging
packages.
-------------------------------------------------------------------
Tue Apr 13 19:30:16 UTC 2021 - Robert Schweikert <rjschwei@suse.com>
- Skip Python 2 build as dependencies are no longer built for Python 2 either
-------------------------------------------------------------------
Mon Jun 29 15:55:00 UTC 2020 - Sean Marlow <sean.marlow@suse.com>
- Update version requirement for mock package.
+ The tests require at least version 3.0.0.
-------------------------------------------------------------------
Thu Jun 18 10:41:05 UTC 2020 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 1.29.0
+ Features
* add *generation*match args into Blob.compose() (#122)
* add Bucket.reload() and Bucket.update() wrappers to restrict
generation match args (#153), closes (#127)
* add helper for bucket bound hostname URLs (#137), closes (#121)
* add if*generation*match support for Bucket.rename_blob() (#141)
* add if*generation*Match support, pt1 (#123)
* add offset and includeTrailingPrefix options to list_blobs (#125)
* Create CODEOWNERS (#135)
+ Bug Fixes
* **storage:** add documentaion of list_blobs with user project (#147)
* **storage:** add projection parameter to blob.reload method (#146)
* **storage:** add unused variables to method generation match (#152)
* **storage:** change the method names in snippets file (#161)
* **storage:** fix upload object with bucket cmek enabled (#158)
* set default POST policy scheme to "http" (#172)
- from version 1.28.0
+ Bug Fixes
* **storage:** anonymous credentials for private bucket (#107)
* add bucket name into POST policy conditions (#118)
-------------------------------------------------------------------
Tue Apr 28 07:48:26 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.28.0:
* Many various bugfixes all around
* Updated dependency requirements
-------------------------------------------------------------------
Thu Sep 26 13:51:51 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.19.1:
* Minor bugfix over previous release
-------------------------------------------------------------------
Thu Sep 12 10:18:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.19.0:
* Huge range of updates and tweaks, mostly bugfixing
-------------------------------------------------------------------
Thu May 16 23:24:53 UTC 2019 - Guang Yee <gyee@suse.com>
- Update to version 1.15.1
* Widen range for 'google-cloud-core'
- Update to version 1.15.0
* New Features
- Add support for V4 signed URLs
- Add generation arguments to bucket / blob methods
* Implementation Changes
- Remove classifier for Python 3.4 for end-of-life
- Ensure that 'Blob.reload' passes encryption headers
* Documentation
- Update client library documentation URLs
* Iternal / Testing Changes
- Fix failing system tests
- Increase number of retries for 429 errors
- Un-flake KMS integration tests expecting empty bucket
-------------------------------------------------------------------
Mon Feb 18 08:05:01 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Activate test suite
- Increase minimum versions:
* google-api-core >= 0.6.1
* google-cloud-core >= 0.29.0
- Adds new dependency google-cloud-kms
- Update to version 1.14.0
* New Features
- Add 'Bucket.iam_configuration' property, enabling Bucket-Policy-Only.
* Documentation
- Improve docs for 'generate_signed_url'
- from 1.13.2
* Implementation Changes
- Update Blob.update_storage_class to support rewrite tokens.
* Internal / Testing Changes
- Skip signing tests for insufficient credentials
- Document Python 2 deprecation
- Normalize docs for page_size / max_results / page_token.
- from 1.13.1
* Implementation Changes
- Import iam.policy from google.api_core.
- Accomodate new back-end restriction on retention period.
- Avoid deleting a blob renamed to itself
* Dependencies
- Update dependency to google-cloud-core
- Bump minimum api_core version for all GAPIC libs to 1.4.1.
* Documentation
- Normalize use of support level badges
* Internal / Testing Changes
- Blacken libraries
- Add templates for flake8, coveragerc, noxfile, and black.
- Harden teardown in system tests.
- Harden create_bucket call in systests vs. 429 TooManyRequests.
- Skip public bucket test in VPC Service Controls
- Fix lint failure.
- Disable test running in VPC Service Controls restricted environment
- Use new Nox
- from 1.13.0
* New Features
- Add support for bucket retention policies
- Allow destination.content_type to be None in Blob.compose.
* Implementation Changes
- Ensure that method for Blob.generate_signed_url is uppercase.
* Documentation
- Clarify GCS URL signing limitations on GCE
- Redirect renamed 'usage.html'/'client.html' -> 'index.html'.
- from 1.12.0
* New Features
- Add support for Python 3.7, drop support for Python 3.4.
- Add lifecycle rules helpers to bucket.
* Implementation Changes
- Add 'stacklevel=2' to deprecation warnings.
* Documentation
- Storage docs: fix typos.
- Prep storage docs for repo split.
* Internal / Testing Changes
- Harden systest teardown further.
- Nox: use inplace installs
-------------------------------------------------------------------
Tue Dec 4 12:48:39 UTC 2018 - Matej Cepl <mcepl@suse.com>
- Remove superfluous devel dependency for noarch package
-------------------------------------------------------------------
Fri May 18 04:42:37 UTC 2018 - tbechtold@suse.com
- Initial packaging (version 1.11.0)