blob: ccf31f8ddd17dda1f66a6d360c0f03adb31071fb [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]8212bb72020-06-05 19:36:20 -07007### [1.19.1](https://www.github.com/googleapis/python-api-core/compare/v1.19.0...v1.19.1) (2020-06-06)
8
9
10### Bug Fixes
11
12* 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))
13
release-please[bot]d1937ba2020-06-04 18:27:12 -070014## [1.19.0](https://www.github.com/googleapis/python-api-core/compare/v1.18.0...v1.19.0) (2020-06-05)
15
16
17### Features
18
19* **client_options:** add new client options 'quota_project_id', 'scopes', and 'credentials_file' ([a582936](https://www.github.com/googleapis/python-api-core/commit/a58293601d6da90c499d404e634a979a6cae9708))
20
release-please[bot]33ab7fa2020-06-04 18:14:10 +000021## [1.18.0](https://www.github.com/googleapis/python-api-core/compare/v1.17.0...v1.18.0) (2020-06-04)
22
23
24### Features
25
26* [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))
27* 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))
28* 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)
29* 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))
30* 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))
31
release-please[bot]335c1092020-04-14 16:01:55 -070032## [1.17.0](https://www.github.com/googleapis/python-api-core/compare/v1.16.0...v1.17.0) (2020-04-14)
33
34
35### Features
36
37* **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)
38* **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))
39
40
41### Bug Fixes
42
43* 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))
44
Jonathan Lui18375fb2020-01-13 17:02:11 -080045## 1.16.0
46
4701-13-2020 14:19 PST
48
49### New Features
50
51- feat(storage): support optionsRequestedPolicyVersion ([#9989](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9989))
52- feat(api_core): support version 3 policy bindings ([#9869](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9869))
53
Bu Sun Kim5e555922019-12-16 15:48:06 -080054## 1.15.0
55
5612-16-2019 15:27 PST
57
58### New Features
59- Make the last retry happen at deadline. ([#9873](https://github.com/googleapis/google-cloud-python/pull/9873))
60- Add a repr method for ClientOptions. ([#9849](https://github.com/googleapis/google-cloud-python/pull/9849))
61- Simplify `from_rfc3339` methods. ([#9641](https://github.com/googleapis/google-cloud-python/pull/9641))
62- Provide a `raw_page` field for `page_iterator.Page`. ([#9486](https://github.com/googleapis/google-cloud-python/pull/9486))
63
64### Documentation
65- Add Python 2 sunset banner to documentation. ([#9036](https://github.com/googleapis/google-cloud-python/pull/9036))
66- Remove references to the old authentication credentials. ([#9456](https://github.com/googleapis/google-cloud-python/pull/9456))
67
Christopher Wilcoxa07e02a2019-10-07 14:01:24 -040068## 1.14.3
69
7010-07-2019 10:35 PDT
71
72
73### Implementation Changes
74- Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/google-cloud-python/pull/9337))
75- add on_error to Retry.__init__ ([#8892](https://github.com/googleapis/google-cloud-python/pull/8892))
76- Fix race in 'BackgroundConsumer._thread_main'. ([#8883](https://github.com/googleapis/google-cloud-python/pull/8883))
77
78### Documentation
79- Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
80- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
81- About of time -> amount of time ([#9052](https://github.com/googleapis/google-cloud-python/pull/9052))
82- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
83
84### Internal / Testing Changes
85- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
86
Bu Sun Kim47836482019-07-30 16:15:18 -070087## 1.14.2
88
8907-30-2019 14:08 PDT
90
91
92### Documentation
93- Add client_options documentation. ([#8834](https://github.com/googleapis/google-cloud-python/pull/8834))
94
Tres Seaverd9f63bf2019-07-30 15:52:55 -040095## 1.14.1
96
9707-30-2019 12:24 PDT
98
99
100### Implementation Changes
101- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
102- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
103
104### Documentation
105- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
106- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
107
Tres Seavere9081b22019-07-18 15:57:44 -0400108## 1.14.0
109
11007-17-2019 13:16 PDT
111
112
113### New Features
114- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
115
116### Dependencies
117- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
118
119### Documentation
120- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
121
122### Internal / Testing Changes
123- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
124
Bu Sun Kim6089ed52019-06-24 13:46:54 -0700125## 1.13.0
126
12706-24-2019 10:34 PDT
128
129### New Features
130- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
131
Christopher Wilcox64bd7f02019-06-18 13:06:53 -0700132## 1.12.0
133
13406-18-2019 12:37 PDT
135
136
137### New Features
138- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
139
Tres Seaver26755142019-05-28 16:01:08 -0400140## 1.11.1
141
14205-28-2019 11:19 PDT
143
144
145### Implementation Changes
146- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
147
148### Dependencies
149- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
150
151### Internal / Testing Changes
152- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
153- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
154
Tres Seaverf1693da2019-05-15 13:54:19 -0400155## 1.11.0
156
15705-15-2019 10:29 PDT
158
159### New Features
160
161- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
162
Tim Swast1f2b6582019-04-29 10:40:47 -0700163## 1.10.0
164
16504-29-2019 10:12 PDT
166
167### Implementation Changes
168
169- Append leading zeros for nanosecond precision DateTimes
170 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
171
172### New Features
173
174- Add `user_agent` property to `ClientInfo`
175 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
176
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -0700177## 1.9.0
178
17904-05-2019 10:38 PDT
180
181
182### Implementation Changes
183- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
184
185### Internal / Testing Changes
186- Update setup.py
187- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
188
Christopher Wilcox224d8932019-03-22 16:49:58 -0700189## 1.8.2
190
19103-22-2019 16:27 PDT
192
193
194### Implementation Changes
195- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
196
197### Internal / Testing Changes
198- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
199
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700200## 1.8.1
201
20203-12-2019 12:45 PDT
203
204### Implementation Changes
205- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
206
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800207## 1.8.0
208
20902-23-2019 15:46 PST
210
211
212### New Features
213- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
214- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
215
216### Documentation
217- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
218
219### Internal / Testing Changes
220- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
221
Tres Seaver2a840322018-12-17 17:12:42 -0500222## 1.7.0
223
22412-17-2018 13:56 PST
225
226### New Features
227- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
228
229### Documentation
230- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
231- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
232
233### Internal / Testing Changes
234- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
235
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800236## 1.6.0
237
23811-30-2018 12:45 PST
239
240
241### Implementation Changes
242- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
243
244### New Features
245- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
246- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
247
248### Documentation
249- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
250
251### Internal / Testing Changes
252- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
253
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000254## 1.5.2
255
25611-09-2018 14:22 PST
257
258
259### Implementation Changes
260- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
261
262### Dependencies
263- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
264- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
265- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
266
Tres Seaver9dfc3352018-10-30 10:31:19 -0400267## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700268
Tres Seaver9dfc3352018-10-30 10:31:19 -040026910-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700270
Tres Seaver9dfc3352018-10-30 10:31:19 -0400271### Implementation Changes
272- 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 -0700273
274### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400275- 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 -0700276
Christopher Wilcox352242e2018-10-16 09:43:02 -0700277## 1.5.0
278
279### New Features
280- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
281
Christopher Wilcox352242e2018-10-16 09:43:02 -0700282### Internal / Testing Changes
283- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
284
Tres Seaver2ab3a092018-09-28 13:13:55 -0400285## 1.4.1
286
287### Dependencies
288- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
289
290### Internal / Testing Changes
291- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
292
Thea Flowers58ae90e2018-09-11 11:02:50 -0700293## 1.4.0
294
295### Dependencies
296
297- 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))
298- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
299
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700300## 1.3.0
301
302### New Features
303
304- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
305
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700306## 1.2.1
307
308### Implementation Changes
309- Make client_info work without gRPC installed. (#5075)
310- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
311
Christopher Wilcox84aab852018-05-16 14:55:02 -0700312## 1.2.0
313
314### Implementation Changes
315- Add close method to grpc Channel (#5333)
316
317### Internal / Testing Changes
318- Fix tests after grpcio update (#5333)
319- Add Test runs for Python 3.7 and remove 3.4 (#5295)
320
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700321## 1.1.2
322
323### Packaging
324- Update setuptools before packaging (#5265)
325
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700326## 1.1.1
327
328### Internal / Testing Changes
329- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
330- Update trove classifer to '5 - Production/Stable'
331
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700332## 1.1.0
333
334### Interface additions
335
336- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
337
338### Implementation changes
339
340- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
341
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800342## 1.0.0
343
344This is the stable v1.0.0 release of google-api-core for Python. Releases after
345this will not contain breaking changes.
346
347### Interface changes and additions
348
349- Made `api_core.page_iterator.PageIterator.item_to_value` public
350- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
351
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800352## 0.1.4
353
354### New Features
355
356- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
357
358### Notable Implementation Changes
359
360- Fix handling of gapic metadata when specified as `None`. (#4701)
361
Danny Hermesd8af50c2017-12-21 09:14:13 -0800362## 0.1.3
363
364### Notable Implementation Changes
365
366- Apply scopes to explicitly provided credentials if needed (#4594).
367- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
368 can be accessed via
369 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
370
371### Dependencies
372
373- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
374 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
375 and [fix](https://github.com/grpc/grpc/pull/13665).
376
377PyPI: https://pypi.org/project/google-api-core/0.1.3/
378
Danny Hermesda0e17b2017-12-08 15:31:56 -0800379## 0.1.2
380
381- Upgrading `concurrent.futures` backport from `>= 3.0.0`
382 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800383- Moved `datetime`-related helpers from `google.cloud.core` to
384 `google.api_core.datetime_helpers` (#4399).
385- Added missing `client_info` to `gapic_v1/__init__.py`'s
386 `__all__` (#4567).
387- Added helpers for routing headers to `gapic_v1` (#4336).
388
389PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800390
Danny Hermes978c5132017-10-31 14:28:55 -0700391## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700392
Danny Hermes13d8fd22017-12-11 10:30:58 -0800393### Dependencies
394
Danny Hermes69979702017-10-30 14:41:42 -0700395- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
396
Danny Hermes13d8fd22017-12-11 10:30:58 -0800397PyPI: https://pypi.org/project/google-api-core/0.1.1/
398
Danny Hermes978c5132017-10-31 14:28:55 -0700399## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700400
401Initial release
402
403Prior to being separated, this package was developed in `google-cloud-core`, so
404relevant changes from that package are included here.
405
406- Add google.api.core.gapic_v1.config (#4022)
407- Add google.api.core.helpers.grpc_helpers (#4041)
408- Add google.api.core.gapic_v1.method (#4057)
409- Add wrap_with_paging (#4067)
410- Add grpc_helpers.create_channel (#4069)
411- Add DEFAULT sentinel for gapic_v1.method (#4079)
412- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
413- Add google.api.core.operations_v1 (#4081)
414- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
415- Add google.api.core.helpers.general_helpers.wraps (#4166)
416- Update Docs with Python Setup Guide (#4187)
417- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
418- Clarify that PollingFuture timeout is in seconds. (#4201)
419- Add api_core package (#4210)
420- Replace usage of google.api.core with google.api_core (#4221)
421- Add google.api_core.gapic_v2.client_info (#4225)
422- Fix how api_core.operation populates exception errors (#4231)
423- Fix bare except (#4250)
424- Fix parsing of API errors with Unicode err message (#4251)
425- Port gax proto helper methods (#4249)
426- Remove gapic_v1.method.wrap_with_paging (#4257)
427- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800428
429PyPI: https://pypi.org/project/google-api-core/0.1.0/