blob: 7687cce9dbbb1ade7edc28e2bf2b06bafe87e04f [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]335c1092020-04-14 16:01:55 -07007## [1.17.0](https://www.github.com/googleapis/python-api-core/compare/v1.16.0...v1.17.0) (2020-04-14)
8
9
10### Features
11
12* **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)
13* **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))
14
15
16### Bug Fixes
17
18* 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))
19
Jonathan Lui18375fb2020-01-13 17:02:11 -080020## 1.16.0
21
2201-13-2020 14:19 PST
23
24### New Features
25
26- feat(storage): support optionsRequestedPolicyVersion ([#9989](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9989))
27- feat(api_core): support version 3 policy bindings ([#9869](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9869))
28
Bu Sun Kim5e555922019-12-16 15:48:06 -080029## 1.15.0
30
3112-16-2019 15:27 PST
32
33### New Features
34- Make the last retry happen at deadline. ([#9873](https://github.com/googleapis/google-cloud-python/pull/9873))
35- Add a repr method for ClientOptions. ([#9849](https://github.com/googleapis/google-cloud-python/pull/9849))
36- Simplify `from_rfc3339` methods. ([#9641](https://github.com/googleapis/google-cloud-python/pull/9641))
37- Provide a `raw_page` field for `page_iterator.Page`. ([#9486](https://github.com/googleapis/google-cloud-python/pull/9486))
38
39### Documentation
40- Add Python 2 sunset banner to documentation. ([#9036](https://github.com/googleapis/google-cloud-python/pull/9036))
41- Remove references to the old authentication credentials. ([#9456](https://github.com/googleapis/google-cloud-python/pull/9456))
42
Christopher Wilcoxa07e02a2019-10-07 14:01:24 -040043## 1.14.3
44
4510-07-2019 10:35 PDT
46
47
48### Implementation Changes
49- Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/google-cloud-python/pull/9337))
50- add on_error to Retry.__init__ ([#8892](https://github.com/googleapis/google-cloud-python/pull/8892))
51- Fix race in 'BackgroundConsumer._thread_main'. ([#8883](https://github.com/googleapis/google-cloud-python/pull/8883))
52
53### Documentation
54- Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
55- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
56- About of time -> amount of time ([#9052](https://github.com/googleapis/google-cloud-python/pull/9052))
57- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
58
59### Internal / Testing Changes
60- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
61
Bu Sun Kim47836482019-07-30 16:15:18 -070062## 1.14.2
63
6407-30-2019 14:08 PDT
65
66
67### Documentation
68- Add client_options documentation. ([#8834](https://github.com/googleapis/google-cloud-python/pull/8834))
69
Tres Seaverd9f63bf2019-07-30 15:52:55 -040070## 1.14.1
71
7207-30-2019 12:24 PDT
73
74
75### Implementation Changes
76- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
77- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
78
79### Documentation
80- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
81- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
82
Tres Seavere9081b22019-07-18 15:57:44 -040083## 1.14.0
84
8507-17-2019 13:16 PDT
86
87
88### New Features
89- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
90
91### Dependencies
92- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
93
94### Documentation
95- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
96
97### Internal / Testing Changes
98- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
99
Bu Sun Kim6089ed52019-06-24 13:46:54 -0700100## 1.13.0
101
10206-24-2019 10:34 PDT
103
104### New Features
105- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
106
Christopher Wilcox64bd7f02019-06-18 13:06:53 -0700107## 1.12.0
108
10906-18-2019 12:37 PDT
110
111
112### New Features
113- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
114
Tres Seaver26755142019-05-28 16:01:08 -0400115## 1.11.1
116
11705-28-2019 11:19 PDT
118
119
120### Implementation Changes
121- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
122
123### Dependencies
124- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
125
126### Internal / Testing Changes
127- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
128- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
129
Tres Seaverf1693da2019-05-15 13:54:19 -0400130## 1.11.0
131
13205-15-2019 10:29 PDT
133
134### New Features
135
136- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
137
Tim Swast1f2b6582019-04-29 10:40:47 -0700138## 1.10.0
139
14004-29-2019 10:12 PDT
141
142### Implementation Changes
143
144- Append leading zeros for nanosecond precision DateTimes
145 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
146
147### New Features
148
149- Add `user_agent` property to `ClientInfo`
150 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
151
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -0700152## 1.9.0
153
15404-05-2019 10:38 PDT
155
156
157### Implementation Changes
158- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
159
160### Internal / Testing Changes
161- Update setup.py
162- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
163
Christopher Wilcox224d8932019-03-22 16:49:58 -0700164## 1.8.2
165
16603-22-2019 16:27 PDT
167
168
169### Implementation Changes
170- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
171
172### Internal / Testing Changes
173- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
174
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700175## 1.8.1
176
17703-12-2019 12:45 PDT
178
179### Implementation Changes
180- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
181
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800182## 1.8.0
183
18402-23-2019 15:46 PST
185
186
187### New Features
188- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
189- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
190
191### Documentation
192- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
193
194### Internal / Testing Changes
195- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
196
Tres Seaver2a840322018-12-17 17:12:42 -0500197## 1.7.0
198
19912-17-2018 13:56 PST
200
201### New Features
202- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
203
204### Documentation
205- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
206- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
207
208### Internal / Testing Changes
209- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
210
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800211## 1.6.0
212
21311-30-2018 12:45 PST
214
215
216### Implementation Changes
217- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
218
219### New Features
220- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
221- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
222
223### Documentation
224- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
225
226### Internal / Testing Changes
227- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
228
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000229## 1.5.2
230
23111-09-2018 14:22 PST
232
233
234### Implementation Changes
235- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
236
237### Dependencies
238- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
239- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
240- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
241
Tres Seaver9dfc3352018-10-30 10:31:19 -0400242## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700243
Tres Seaver9dfc3352018-10-30 10:31:19 -040024410-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700245
Tres Seaver9dfc3352018-10-30 10:31:19 -0400246### Implementation Changes
247- 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 -0700248
249### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400250- 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 -0700251
Christopher Wilcox352242e2018-10-16 09:43:02 -0700252## 1.5.0
253
254### New Features
255- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
256
Christopher Wilcox352242e2018-10-16 09:43:02 -0700257### Internal / Testing Changes
258- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
259
Tres Seaver2ab3a092018-09-28 13:13:55 -0400260## 1.4.1
261
262### Dependencies
263- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
264
265### Internal / Testing Changes
266- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
267
Thea Flowers58ae90e2018-09-11 11:02:50 -0700268## 1.4.0
269
270### Dependencies
271
272- 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))
273- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
274
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700275## 1.3.0
276
277### New Features
278
279- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
280
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700281## 1.2.1
282
283### Implementation Changes
284- Make client_info work without gRPC installed. (#5075)
285- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
286
Christopher Wilcox84aab852018-05-16 14:55:02 -0700287## 1.2.0
288
289### Implementation Changes
290- Add close method to grpc Channel (#5333)
291
292### Internal / Testing Changes
293- Fix tests after grpcio update (#5333)
294- Add Test runs for Python 3.7 and remove 3.4 (#5295)
295
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700296## 1.1.2
297
298### Packaging
299- Update setuptools before packaging (#5265)
300
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700301## 1.1.1
302
303### Internal / Testing Changes
304- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
305- Update trove classifer to '5 - Production/Stable'
306
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700307## 1.1.0
308
309### Interface additions
310
311- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
312
313### Implementation changes
314
315- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
316
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800317## 1.0.0
318
319This is the stable v1.0.0 release of google-api-core for Python. Releases after
320this will not contain breaking changes.
321
322### Interface changes and additions
323
324- Made `api_core.page_iterator.PageIterator.item_to_value` public
325- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
326
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800327## 0.1.4
328
329### New Features
330
331- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
332
333### Notable Implementation Changes
334
335- Fix handling of gapic metadata when specified as `None`. (#4701)
336
Danny Hermesd8af50c2017-12-21 09:14:13 -0800337## 0.1.3
338
339### Notable Implementation Changes
340
341- Apply scopes to explicitly provided credentials if needed (#4594).
342- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
343 can be accessed via
344 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
345
346### Dependencies
347
348- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
349 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
350 and [fix](https://github.com/grpc/grpc/pull/13665).
351
352PyPI: https://pypi.org/project/google-api-core/0.1.3/
353
Danny Hermesda0e17b2017-12-08 15:31:56 -0800354## 0.1.2
355
356- Upgrading `concurrent.futures` backport from `>= 3.0.0`
357 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800358- Moved `datetime`-related helpers from `google.cloud.core` to
359 `google.api_core.datetime_helpers` (#4399).
360- Added missing `client_info` to `gapic_v1/__init__.py`'s
361 `__all__` (#4567).
362- Added helpers for routing headers to `gapic_v1` (#4336).
363
364PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800365
Danny Hermes978c5132017-10-31 14:28:55 -0700366## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700367
Danny Hermes13d8fd22017-12-11 10:30:58 -0800368### Dependencies
369
Danny Hermes69979702017-10-30 14:41:42 -0700370- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
371
Danny Hermes13d8fd22017-12-11 10:30:58 -0800372PyPI: https://pypi.org/project/google-api-core/0.1.1/
373
Danny Hermes978c5132017-10-31 14:28:55 -0700374## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700375
376Initial release
377
378Prior to being separated, this package was developed in `google-cloud-core`, so
379relevant changes from that package are included here.
380
381- Add google.api.core.gapic_v1.config (#4022)
382- Add google.api.core.helpers.grpc_helpers (#4041)
383- Add google.api.core.gapic_v1.method (#4057)
384- Add wrap_with_paging (#4067)
385- Add grpc_helpers.create_channel (#4069)
386- Add DEFAULT sentinel for gapic_v1.method (#4079)
387- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
388- Add google.api.core.operations_v1 (#4081)
389- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
390- Add google.api.core.helpers.general_helpers.wraps (#4166)
391- Update Docs with Python Setup Guide (#4187)
392- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
393- Clarify that PollingFuture timeout is in seconds. (#4201)
394- Add api_core package (#4210)
395- Replace usage of google.api.core with google.api_core (#4221)
396- Add google.api_core.gapic_v2.client_info (#4225)
397- Fix how api_core.operation populates exception errors (#4231)
398- Fix bare except (#4250)
399- Fix parsing of API errors with Unicode err message (#4251)
400- Port gax proto helper methods (#4249)
401- Remove gapic_v1.method.wrap_with_paging (#4257)
402- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800403
404PyPI: https://pypi.org/project/google-api-core/0.1.0/