blob: 123c1f281a6049ac65e0c05c8a0bb4f24b11783e [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]33ab7fa2020-06-04 18:14:10 +00007## [1.18.0](https://www.github.com/googleapis/python-api-core/compare/v1.17.0...v1.18.0) (2020-06-04)
8
9
10### Features
11
12* [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))
13* 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))
14* 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)
15* 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))
16* 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))
17
release-please[bot]335c1092020-04-14 16:01:55 -070018## [1.17.0](https://www.github.com/googleapis/python-api-core/compare/v1.16.0...v1.17.0) (2020-04-14)
19
20
21### Features
22
23* **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)
24* **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))
25
26
27### Bug Fixes
28
29* 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))
30
Jonathan Lui18375fb2020-01-13 17:02:11 -080031## 1.16.0
32
3301-13-2020 14:19 PST
34
35### New Features
36
37- feat(storage): support optionsRequestedPolicyVersion ([#9989](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9989))
38- feat(api_core): support version 3 policy bindings ([#9869](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9869))
39
Bu Sun Kim5e555922019-12-16 15:48:06 -080040## 1.15.0
41
4212-16-2019 15:27 PST
43
44### New Features
45- Make the last retry happen at deadline. ([#9873](https://github.com/googleapis/google-cloud-python/pull/9873))
46- Add a repr method for ClientOptions. ([#9849](https://github.com/googleapis/google-cloud-python/pull/9849))
47- Simplify `from_rfc3339` methods. ([#9641](https://github.com/googleapis/google-cloud-python/pull/9641))
48- Provide a `raw_page` field for `page_iterator.Page`. ([#9486](https://github.com/googleapis/google-cloud-python/pull/9486))
49
50### Documentation
51- Add Python 2 sunset banner to documentation. ([#9036](https://github.com/googleapis/google-cloud-python/pull/9036))
52- Remove references to the old authentication credentials. ([#9456](https://github.com/googleapis/google-cloud-python/pull/9456))
53
Christopher Wilcoxa07e02a2019-10-07 14:01:24 -040054## 1.14.3
55
5610-07-2019 10:35 PDT
57
58
59### Implementation Changes
60- Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/google-cloud-python/pull/9337))
61- add on_error to Retry.__init__ ([#8892](https://github.com/googleapis/google-cloud-python/pull/8892))
62- Fix race in 'BackgroundConsumer._thread_main'. ([#8883](https://github.com/googleapis/google-cloud-python/pull/8883))
63
64### Documentation
65- Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
66- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
67- About of time -> amount of time ([#9052](https://github.com/googleapis/google-cloud-python/pull/9052))
68- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
69
70### Internal / Testing Changes
71- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
72
Bu Sun Kim47836482019-07-30 16:15:18 -070073## 1.14.2
74
7507-30-2019 14:08 PDT
76
77
78### Documentation
79- Add client_options documentation. ([#8834](https://github.com/googleapis/google-cloud-python/pull/8834))
80
Tres Seaverd9f63bf2019-07-30 15:52:55 -040081## 1.14.1
82
8307-30-2019 12:24 PDT
84
85
86### Implementation Changes
87- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
88- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
89
90### Documentation
91- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
92- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
93
Tres Seavere9081b22019-07-18 15:57:44 -040094## 1.14.0
95
9607-17-2019 13:16 PDT
97
98
99### New Features
100- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
101
102### Dependencies
103- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
104
105### Documentation
106- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
107
108### Internal / Testing Changes
109- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
110
Bu Sun Kim6089ed52019-06-24 13:46:54 -0700111## 1.13.0
112
11306-24-2019 10:34 PDT
114
115### New Features
116- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
117
Christopher Wilcox64bd7f02019-06-18 13:06:53 -0700118## 1.12.0
119
12006-18-2019 12:37 PDT
121
122
123### New Features
124- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
125
Tres Seaver26755142019-05-28 16:01:08 -0400126## 1.11.1
127
12805-28-2019 11:19 PDT
129
130
131### Implementation Changes
132- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
133
134### Dependencies
135- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
136
137### Internal / Testing Changes
138- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
139- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
140
Tres Seaverf1693da2019-05-15 13:54:19 -0400141## 1.11.0
142
14305-15-2019 10:29 PDT
144
145### New Features
146
147- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
148
Tim Swast1f2b6582019-04-29 10:40:47 -0700149## 1.10.0
150
15104-29-2019 10:12 PDT
152
153### Implementation Changes
154
155- Append leading zeros for nanosecond precision DateTimes
156 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
157
158### New Features
159
160- Add `user_agent` property to `ClientInfo`
161 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
162
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -0700163## 1.9.0
164
16504-05-2019 10:38 PDT
166
167
168### Implementation Changes
169- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
170
171### Internal / Testing Changes
172- Update setup.py
173- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
174
Christopher Wilcox224d8932019-03-22 16:49:58 -0700175## 1.8.2
176
17703-22-2019 16:27 PDT
178
179
180### Implementation Changes
181- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
182
183### Internal / Testing Changes
184- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
185
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700186## 1.8.1
187
18803-12-2019 12:45 PDT
189
190### Implementation Changes
191- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
192
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800193## 1.8.0
194
19502-23-2019 15:46 PST
196
197
198### New Features
199- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
200- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
201
202### Documentation
203- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
204
205### Internal / Testing Changes
206- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
207
Tres Seaver2a840322018-12-17 17:12:42 -0500208## 1.7.0
209
21012-17-2018 13:56 PST
211
212### New Features
213- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
214
215### Documentation
216- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
217- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
218
219### Internal / Testing Changes
220- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
221
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800222## 1.6.0
223
22411-30-2018 12:45 PST
225
226
227### Implementation Changes
228- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
229
230### New Features
231- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
232- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
233
234### Documentation
235- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
236
237### Internal / Testing Changes
238- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
239
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000240## 1.5.2
241
24211-09-2018 14:22 PST
243
244
245### Implementation Changes
246- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
247
248### Dependencies
249- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
250- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
251- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
252
Tres Seaver9dfc3352018-10-30 10:31:19 -0400253## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700254
Tres Seaver9dfc3352018-10-30 10:31:19 -040025510-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700256
Tres Seaver9dfc3352018-10-30 10:31:19 -0400257### Implementation Changes
258- 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 -0700259
260### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400261- 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 -0700262
Christopher Wilcox352242e2018-10-16 09:43:02 -0700263## 1.5.0
264
265### New Features
266- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
267
Christopher Wilcox352242e2018-10-16 09:43:02 -0700268### Internal / Testing Changes
269- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
270
Tres Seaver2ab3a092018-09-28 13:13:55 -0400271## 1.4.1
272
273### Dependencies
274- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
275
276### Internal / Testing Changes
277- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
278
Thea Flowers58ae90e2018-09-11 11:02:50 -0700279## 1.4.0
280
281### Dependencies
282
283- 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))
284- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
285
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700286## 1.3.0
287
288### New Features
289
290- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
291
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700292## 1.2.1
293
294### Implementation Changes
295- Make client_info work without gRPC installed. (#5075)
296- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
297
Christopher Wilcox84aab852018-05-16 14:55:02 -0700298## 1.2.0
299
300### Implementation Changes
301- Add close method to grpc Channel (#5333)
302
303### Internal / Testing Changes
304- Fix tests after grpcio update (#5333)
305- Add Test runs for Python 3.7 and remove 3.4 (#5295)
306
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700307## 1.1.2
308
309### Packaging
310- Update setuptools before packaging (#5265)
311
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700312## 1.1.1
313
314### Internal / Testing Changes
315- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
316- Update trove classifer to '5 - Production/Stable'
317
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700318## 1.1.0
319
320### Interface additions
321
322- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
323
324### Implementation changes
325
326- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
327
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800328## 1.0.0
329
330This is the stable v1.0.0 release of google-api-core for Python. Releases after
331this will not contain breaking changes.
332
333### Interface changes and additions
334
335- Made `api_core.page_iterator.PageIterator.item_to_value` public
336- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
337
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800338## 0.1.4
339
340### New Features
341
342- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
343
344### Notable Implementation Changes
345
346- Fix handling of gapic metadata when specified as `None`. (#4701)
347
Danny Hermesd8af50c2017-12-21 09:14:13 -0800348## 0.1.3
349
350### Notable Implementation Changes
351
352- Apply scopes to explicitly provided credentials if needed (#4594).
353- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
354 can be accessed via
355 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
356
357### Dependencies
358
359- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
360 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
361 and [fix](https://github.com/grpc/grpc/pull/13665).
362
363PyPI: https://pypi.org/project/google-api-core/0.1.3/
364
Danny Hermesda0e17b2017-12-08 15:31:56 -0800365## 0.1.2
366
367- Upgrading `concurrent.futures` backport from `>= 3.0.0`
368 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800369- Moved `datetime`-related helpers from `google.cloud.core` to
370 `google.api_core.datetime_helpers` (#4399).
371- Added missing `client_info` to `gapic_v1/__init__.py`'s
372 `__all__` (#4567).
373- Added helpers for routing headers to `gapic_v1` (#4336).
374
375PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800376
Danny Hermes978c5132017-10-31 14:28:55 -0700377## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700378
Danny Hermes13d8fd22017-12-11 10:30:58 -0800379### Dependencies
380
Danny Hermes69979702017-10-30 14:41:42 -0700381- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
382
Danny Hermes13d8fd22017-12-11 10:30:58 -0800383PyPI: https://pypi.org/project/google-api-core/0.1.1/
384
Danny Hermes978c5132017-10-31 14:28:55 -0700385## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700386
387Initial release
388
389Prior to being separated, this package was developed in `google-cloud-core`, so
390relevant changes from that package are included here.
391
392- Add google.api.core.gapic_v1.config (#4022)
393- Add google.api.core.helpers.grpc_helpers (#4041)
394- Add google.api.core.gapic_v1.method (#4057)
395- Add wrap_with_paging (#4067)
396- Add grpc_helpers.create_channel (#4069)
397- Add DEFAULT sentinel for gapic_v1.method (#4079)
398- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
399- Add google.api.core.operations_v1 (#4081)
400- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
401- Add google.api.core.helpers.general_helpers.wraps (#4166)
402- Update Docs with Python Setup Guide (#4187)
403- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
404- Clarify that PollingFuture timeout is in seconds. (#4201)
405- Add api_core package (#4210)
406- Replace usage of google.api.core with google.api_core (#4221)
407- Add google.api_core.gapic_v2.client_info (#4225)
408- Fix how api_core.operation populates exception errors (#4231)
409- Fix bare except (#4250)
410- Fix parsing of API errors with Unicode err message (#4251)
411- Port gax proto helper methods (#4249)
412- Remove gapic_v1.method.wrap_with_paging (#4257)
413- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800414
415PyPI: https://pypi.org/project/google-api-core/0.1.0/