blob: 61ad35bdf132f3492c5d75d4ad880617c4f2b178 [file] [log] [blame] [view]
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -07001# Changelog
2
Danny Hermes978c5132017-10-31 14:28:55 -07003[PyPI History][1]
4
5[1]: https://pypi.org/project/google-api-core/#history
6
release-please[bot]02d25792020-06-09 13:32:56 -07007## [1.20.0](https://www.github.com/googleapis/python-api-core/compare/v1.19.1...v1.20.0) (2020-06-09)
8
9
10### Features
11
12* allow disabling response stream pre-fetch ([#30](https://www.github.com/googleapis/python-api-core/issues/30)) ([74e0b0f](https://www.github.com/googleapis/python-api-core/commit/74e0b0f8387207933c120af15b2bb5d175dd8f84)), closes [#25](https://www.github.com/googleapis/python-api-core/issues/25)
13
release-please[bot]8212bb72020-06-05 19:36:20 -070014### [1.19.1](https://www.github.com/googleapis/python-api-core/compare/v1.19.0...v1.19.1) (2020-06-06)
15
16
17### Bug Fixes
18
19* bump up grpcio minimum version to 1.29.0 ([#41](https://www.github.com/googleapis/python-api-core/issues/41)) ([4b11422](https://www.github.com/googleapis/python-api-core/commit/4b114221b3ae01eee540bedf47381c3b7c214b0c))
20
release-please[bot]d1937ba2020-06-04 18:27:12 -070021## [1.19.0](https://www.github.com/googleapis/python-api-core/compare/v1.18.0...v1.19.0) (2020-06-05)
22
23
24### Features
25
26* **client_options:** add new client options 'quota_project_id', 'scopes', and 'credentials_file' ([a582936](https://www.github.com/googleapis/python-api-core/commit/a58293601d6da90c499d404e634a979a6cae9708))
27
release-please[bot]33ab7fa2020-06-04 18:14:10 +000028## [1.18.0](https://www.github.com/googleapis/python-api-core/compare/v1.17.0...v1.18.0) (2020-06-04)
29
30
31### Features
32
33* [CBT-6 helper] Exposing Retry._deadline as a property ([#20](https://www.github.com/googleapis/python-api-core/issues/20)) ([7be1e59](https://www.github.com/googleapis/python-api-core/commit/7be1e59e9d75c112f346d2b76dce3dd60e3584a1))
34* add client_encryped_cert_source to ClientOptions ([#31](https://www.github.com/googleapis/python-api-core/issues/31)) ([e4eaec0](https://www.github.com/googleapis/python-api-core/commit/e4eaec0ff255114138d3715280f86d34d861a6fa))
35* AsyncIO Integration [Part 2] ([#28](https://www.github.com/googleapis/python-api-core/issues/28)) ([dd9b2f3](https://www.github.com/googleapis/python-api-core/commit/dd9b2f38a70e85952cc05552ec8070cdf29ddbb4)), closes [#23](https://www.github.com/googleapis/python-api-core/issues/23)
36* First batch of AIO integration ([#26](https://www.github.com/googleapis/python-api-core/issues/26)) ([a82f289](https://www.github.com/googleapis/python-api-core/commit/a82f2892b8f219b82e120e6ed9f4070869c28be7))
37* third batch of AsyncIO integration ([#29](https://www.github.com/googleapis/python-api-core/issues/29)) ([7d8d580](https://www.github.com/googleapis/python-api-core/commit/7d8d58075a92e93662747d36a2d55b5e9f0943e1))
38
release-please[bot]335c1092020-04-14 16:01:55 -070039## [1.17.0](https://www.github.com/googleapis/python-api-core/compare/v1.16.0...v1.17.0) (2020-04-14)
40
41
42### Features
43
44* **api_core:** add retry param into PollingFuture() and it's inheritors ([#9923](https://www.github.com/googleapis/python-api-core/issues/9923)) ([14f1f34](https://www.github.com/googleapis/python-api-core/commit/14f1f34e013c90fed2da2918625083d299fda557)), closes [#6197](https://www.github.com/googleapis/python-api-core/issues/6197)
45* **api-core:** add client_cert_source to ClientOptions ([#17](https://www.github.com/googleapis/python-api-core/issues/17)) ([748c935](https://www.github.com/googleapis/python-api-core/commit/748c935d4cf03a1f04fba9139c3c3150fd694d88))
46
47
48### Bug Fixes
49
50* consume part of StreamingResponseIterator to support failure while under a retry context ([#10206](https://www.github.com/googleapis/python-api-core/issues/10206)) ([2b103b6](https://www.github.com/googleapis/python-api-core/commit/2b103b60ece16a1e1bc98cfda7ec375191a90f75))
51
Jonathan Lui18375fb2020-01-13 17:02:11 -080052## 1.16.0
53
5401-13-2020 14:19 PST
55
56### New Features
57
58- feat(storage): support optionsRequestedPolicyVersion ([#9989](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9989))
59- feat(api_core): support version 3 policy bindings ([#9869](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9869))
60
Bu Sun Kim5e555922019-12-16 15:48:06 -080061## 1.15.0
62
6312-16-2019 15:27 PST
64
65### New Features
66- Make the last retry happen at deadline. ([#9873](https://github.com/googleapis/google-cloud-python/pull/9873))
67- Add a repr method for ClientOptions. ([#9849](https://github.com/googleapis/google-cloud-python/pull/9849))
68- Simplify `from_rfc3339` methods. ([#9641](https://github.com/googleapis/google-cloud-python/pull/9641))
69- Provide a `raw_page` field for `page_iterator.Page`. ([#9486](https://github.com/googleapis/google-cloud-python/pull/9486))
70
71### Documentation
72- Add Python 2 sunset banner to documentation. ([#9036](https://github.com/googleapis/google-cloud-python/pull/9036))
73- Remove references to the old authentication credentials. ([#9456](https://github.com/googleapis/google-cloud-python/pull/9456))
74
Christopher Wilcoxa07e02a2019-10-07 14:01:24 -040075## 1.14.3
76
7710-07-2019 10:35 PDT
78
79
80### Implementation Changes
81- Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/google-cloud-python/pull/9337))
82- add on_error to Retry.__init__ ([#8892](https://github.com/googleapis/google-cloud-python/pull/8892))
83- Fix race in 'BackgroundConsumer._thread_main'. ([#8883](https://github.com/googleapis/google-cloud-python/pull/8883))
84
85### Documentation
86- Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
87- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
88- About of time -> amount of time ([#9052](https://github.com/googleapis/google-cloud-python/pull/9052))
89- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
90
91### Internal / Testing Changes
92- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
93
Bu Sun Kim47836482019-07-30 16:15:18 -070094## 1.14.2
95
9607-30-2019 14:08 PDT
97
98
99### Documentation
100- Add client_options documentation. ([#8834](https://github.com/googleapis/google-cloud-python/pull/8834))
101
Tres Seaverd9f63bf2019-07-30 15:52:55 -0400102## 1.14.1
103
10407-30-2019 12:24 PDT
105
106
107### Implementation Changes
108- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
109- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
110
111### Documentation
112- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
113- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
114
Tres Seavere9081b22019-07-18 15:57:44 -0400115## 1.14.0
116
11707-17-2019 13:16 PDT
118
119
120### New Features
121- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
122
123### Dependencies
124- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
125
126### Documentation
127- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
128
129### Internal / Testing Changes
130- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
131
Bu Sun Kim6089ed52019-06-24 13:46:54 -0700132## 1.13.0
133
13406-24-2019 10:34 PDT
135
136### New Features
137- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
138
Christopher Wilcox64bd7f02019-06-18 13:06:53 -0700139## 1.12.0
140
14106-18-2019 12:37 PDT
142
143
144### New Features
145- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
146
Tres Seaver26755142019-05-28 16:01:08 -0400147## 1.11.1
148
14905-28-2019 11:19 PDT
150
151
152### Implementation Changes
153- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
154
155### Dependencies
156- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
157
158### Internal / Testing Changes
159- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
160- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
161
Tres Seaverf1693da2019-05-15 13:54:19 -0400162## 1.11.0
163
16405-15-2019 10:29 PDT
165
166### New Features
167
168- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
169
Tim Swast1f2b6582019-04-29 10:40:47 -0700170## 1.10.0
171
17204-29-2019 10:12 PDT
173
174### Implementation Changes
175
176- Append leading zeros for nanosecond precision DateTimes
177 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
178
179### New Features
180
181- Add `user_agent` property to `ClientInfo`
182 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
183
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -0700184## 1.9.0
185
18604-05-2019 10:38 PDT
187
188
189### Implementation Changes
190- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
191
192### Internal / Testing Changes
193- Update setup.py
194- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
195
Christopher Wilcox224d8932019-03-22 16:49:58 -0700196## 1.8.2
197
19803-22-2019 16:27 PDT
199
200
201### Implementation Changes
202- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
203
204### Internal / Testing Changes
205- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
206
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700207## 1.8.1
208
20903-12-2019 12:45 PDT
210
211### Implementation Changes
212- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
213
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800214## 1.8.0
215
21602-23-2019 15:46 PST
217
218
219### New Features
220- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
221- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
222
223### Documentation
224- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
225
226### Internal / Testing Changes
227- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
228
Tres Seaver2a840322018-12-17 17:12:42 -0500229## 1.7.0
230
23112-17-2018 13:56 PST
232
233### New Features
234- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
235
236### Documentation
237- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
238- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
239
240### Internal / Testing Changes
241- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
242
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800243## 1.6.0
244
24511-30-2018 12:45 PST
246
247
248### Implementation Changes
249- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
250
251### New Features
252- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
253- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
254
255### Documentation
256- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
257
258### Internal / Testing Changes
259- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
260
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000261## 1.5.2
262
26311-09-2018 14:22 PST
264
265
266### Implementation Changes
267- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
268
269### Dependencies
270- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
271- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
272- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
273
Tres Seaver9dfc3352018-10-30 10:31:19 -0400274## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700275
Tres Seaver9dfc3352018-10-30 10:31:19 -040027610-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700277
Tres Seaver9dfc3352018-10-30 10:31:19 -0400278### Implementation Changes
279- Don't URL-encode slashes in gRPC request headers. ([#6310](https://github.com/googleapis/google-cloud-python/pull/6310))
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700280
281### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400282- Back out changes from [#6267](https://github.com/googleapis/google-cloud-python/pull/6267) / `api_core-1.6.0a1` release. ([#6328](https://github.com/googleapis/google-cloud-python/pull/6328))
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700283
Christopher Wilcox352242e2018-10-16 09:43:02 -0700284## 1.5.0
285
286### New Features
287- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
288
Christopher Wilcox352242e2018-10-16 09:43:02 -0700289### Internal / Testing Changes
290- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
291
Tres Seaver2ab3a092018-09-28 13:13:55 -0400292## 1.4.1
293
294### Dependencies
295- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
296
297### Internal / Testing Changes
298- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
299
Thea Flowers58ae90e2018-09-11 11:02:50 -0700300## 1.4.0
301
302### Dependencies
303
304- Add support for gRPC connection management (available when using optional grpc_gcp dependency) ([#5553](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5553)) ([#5904](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5904))
305- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
306
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700307## 1.3.0
308
309### New Features
310
311- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
312
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700313## 1.2.1
314
315### Implementation Changes
316- Make client_info work without gRPC installed. (#5075)
317- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
318
Christopher Wilcox84aab852018-05-16 14:55:02 -0700319## 1.2.0
320
321### Implementation Changes
322- Add close method to grpc Channel (#5333)
323
324### Internal / Testing Changes
325- Fix tests after grpcio update (#5333)
326- Add Test runs for Python 3.7 and remove 3.4 (#5295)
327
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700328## 1.1.2
329
330### Packaging
331- Update setuptools before packaging (#5265)
332
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700333## 1.1.1
334
335### Internal / Testing Changes
336- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
337- Update trove classifer to '5 - Production/Stable'
338
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700339## 1.1.0
340
341### Interface additions
342
343- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
344
345### Implementation changes
346
347- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
348
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800349## 1.0.0
350
351This is the stable v1.0.0 release of google-api-core for Python. Releases after
352this will not contain breaking changes.
353
354### Interface changes and additions
355
356- Made `api_core.page_iterator.PageIterator.item_to_value` public
357- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
358
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800359## 0.1.4
360
361### New Features
362
363- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
364
365### Notable Implementation Changes
366
367- Fix handling of gapic metadata when specified as `None`. (#4701)
368
Danny Hermesd8af50c2017-12-21 09:14:13 -0800369## 0.1.3
370
371### Notable Implementation Changes
372
373- Apply scopes to explicitly provided credentials if needed (#4594).
374- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
375 can be accessed via
376 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
377
378### Dependencies
379
380- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
381 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
382 and [fix](https://github.com/grpc/grpc/pull/13665).
383
384PyPI: https://pypi.org/project/google-api-core/0.1.3/
385
Danny Hermesda0e17b2017-12-08 15:31:56 -0800386## 0.1.2
387
388- Upgrading `concurrent.futures` backport from `>= 3.0.0`
389 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800390- Moved `datetime`-related helpers from `google.cloud.core` to
391 `google.api_core.datetime_helpers` (#4399).
392- Added missing `client_info` to `gapic_v1/__init__.py`'s
393 `__all__` (#4567).
394- Added helpers for routing headers to `gapic_v1` (#4336).
395
396PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800397
Danny Hermes978c5132017-10-31 14:28:55 -0700398## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700399
Danny Hermes13d8fd22017-12-11 10:30:58 -0800400### Dependencies
401
Danny Hermes69979702017-10-30 14:41:42 -0700402- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
403
Danny Hermes13d8fd22017-12-11 10:30:58 -0800404PyPI: https://pypi.org/project/google-api-core/0.1.1/
405
Danny Hermes978c5132017-10-31 14:28:55 -0700406## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700407
408Initial release
409
410Prior to being separated, this package was developed in `google-cloud-core`, so
411relevant changes from that package are included here.
412
413- Add google.api.core.gapic_v1.config (#4022)
414- Add google.api.core.helpers.grpc_helpers (#4041)
415- Add google.api.core.gapic_v1.method (#4057)
416- Add wrap_with_paging (#4067)
417- Add grpc_helpers.create_channel (#4069)
418- Add DEFAULT sentinel for gapic_v1.method (#4079)
419- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
420- Add google.api.core.operations_v1 (#4081)
421- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
422- Add google.api.core.helpers.general_helpers.wraps (#4166)
423- Update Docs with Python Setup Guide (#4187)
424- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
425- Clarify that PollingFuture timeout is in seconds. (#4201)
426- Add api_core package (#4210)
427- Replace usage of google.api.core with google.api_core (#4221)
428- Add google.api_core.gapic_v2.client_info (#4225)
429- Fix how api_core.operation populates exception errors (#4231)
430- Fix bare except (#4250)
431- Fix parsing of API errors with Unicode err message (#4251)
432- Port gax proto helper methods (#4249)
433- Remove gapic_v1.method.wrap_with_paging (#4257)
434- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800435
436PyPI: https://pypi.org/project/google-api-core/0.1.0/