blob: 1b1ec96d717b13b578a7450602ba57622a8471ba [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
Christopher Wilcoxa07e02a2019-10-07 14:01:24 -04007## 1.14.3
8
910-07-2019 10:35 PDT
10
11
12### Implementation Changes
13- Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/google-cloud-python/pull/9337))
14- add on_error to Retry.__init__ ([#8892](https://github.com/googleapis/google-cloud-python/pull/8892))
15- Fix race in 'BackgroundConsumer._thread_main'. ([#8883](https://github.com/googleapis/google-cloud-python/pull/8883))
16
17### Documentation
18- Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
19- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
20- About of time -> amount of time ([#9052](https://github.com/googleapis/google-cloud-python/pull/9052))
21- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
22
23### Internal / Testing Changes
24- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
25
Bu Sun Kim47836482019-07-30 16:15:18 -070026## 1.14.2
27
2807-30-2019 14:08 PDT
29
30
31### Documentation
32- Add client_options documentation. ([#8834](https://github.com/googleapis/google-cloud-python/pull/8834))
33
Tres Seaverd9f63bf2019-07-30 15:52:55 -040034## 1.14.1
35
3607-30-2019 12:24 PDT
37
38
39### Implementation Changes
40- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
41- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
42
43### Documentation
44- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
45- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
46
Tres Seavere9081b22019-07-18 15:57:44 -040047## 1.14.0
48
4907-17-2019 13:16 PDT
50
51
52### New Features
53- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
54
55### Dependencies
56- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
57
58### Documentation
59- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
60
61### Internal / Testing Changes
62- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
63
Bu Sun Kim6089ed52019-06-24 13:46:54 -070064## 1.13.0
65
6606-24-2019 10:34 PDT
67
68### New Features
69- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
70
Christopher Wilcox64bd7f02019-06-18 13:06:53 -070071## 1.12.0
72
7306-18-2019 12:37 PDT
74
75
76### New Features
77- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
78
Tres Seaver26755142019-05-28 16:01:08 -040079## 1.11.1
80
8105-28-2019 11:19 PDT
82
83
84### Implementation Changes
85- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
86
87### Dependencies
88- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
89
90### Internal / Testing Changes
91- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
92- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
93
Tres Seaverf1693da2019-05-15 13:54:19 -040094## 1.11.0
95
9605-15-2019 10:29 PDT
97
98### New Features
99
100- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
101
Tim Swast1f2b6582019-04-29 10:40:47 -0700102## 1.10.0
103
10404-29-2019 10:12 PDT
105
106### Implementation Changes
107
108- Append leading zeros for nanosecond precision DateTimes
109 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
110
111### New Features
112
113- Add `user_agent` property to `ClientInfo`
114 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
115
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -0700116## 1.9.0
117
11804-05-2019 10:38 PDT
119
120
121### Implementation Changes
122- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
123
124### Internal / Testing Changes
125- Update setup.py
126- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
127
Christopher Wilcox224d8932019-03-22 16:49:58 -0700128## 1.8.2
129
13003-22-2019 16:27 PDT
131
132
133### Implementation Changes
134- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
135
136### Internal / Testing Changes
137- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
138
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700139## 1.8.1
140
14103-12-2019 12:45 PDT
142
143### Implementation Changes
144- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
145
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800146## 1.8.0
147
14802-23-2019 15:46 PST
149
150
151### New Features
152- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
153- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
154
155### Documentation
156- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
157
158### Internal / Testing Changes
159- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
160
Tres Seaver2a840322018-12-17 17:12:42 -0500161## 1.7.0
162
16312-17-2018 13:56 PST
164
165### New Features
166- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
167
168### Documentation
169- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
170- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
171
172### Internal / Testing Changes
173- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
174
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800175## 1.6.0
176
17711-30-2018 12:45 PST
178
179
180### Implementation Changes
181- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
182
183### New Features
184- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
185- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
186
187### Documentation
188- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
189
190### Internal / Testing Changes
191- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
192
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000193## 1.5.2
194
19511-09-2018 14:22 PST
196
197
198### Implementation Changes
199- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
200
201### Dependencies
202- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
203- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
204- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
205
Tres Seaver9dfc3352018-10-30 10:31:19 -0400206## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700207
Tres Seaver9dfc3352018-10-30 10:31:19 -040020810-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700209
Tres Seaver9dfc3352018-10-30 10:31:19 -0400210### Implementation Changes
211- 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 -0700212
213### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400214- 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 -0700215
Christopher Wilcox352242e2018-10-16 09:43:02 -0700216## 1.5.0
217
218### New Features
219- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
220
Christopher Wilcox352242e2018-10-16 09:43:02 -0700221### Internal / Testing Changes
222- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
223
Tres Seaver2ab3a092018-09-28 13:13:55 -0400224## 1.4.1
225
226### Dependencies
227- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
228
229### Internal / Testing Changes
230- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
231
Thea Flowers58ae90e2018-09-11 11:02:50 -0700232## 1.4.0
233
234### Dependencies
235
236- 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))
237- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
238
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700239## 1.3.0
240
241### New Features
242
243- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
244
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700245## 1.2.1
246
247### Implementation Changes
248- Make client_info work without gRPC installed. (#5075)
249- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
250
Christopher Wilcox84aab852018-05-16 14:55:02 -0700251## 1.2.0
252
253### Implementation Changes
254- Add close method to grpc Channel (#5333)
255
256### Internal / Testing Changes
257- Fix tests after grpcio update (#5333)
258- Add Test runs for Python 3.7 and remove 3.4 (#5295)
259
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700260## 1.1.2
261
262### Packaging
263- Update setuptools before packaging (#5265)
264
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700265## 1.1.1
266
267### Internal / Testing Changes
268- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
269- Update trove classifer to '5 - Production/Stable'
270
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700271## 1.1.0
272
273### Interface additions
274
275- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
276
277### Implementation changes
278
279- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
280
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800281## 1.0.0
282
283This is the stable v1.0.0 release of google-api-core for Python. Releases after
284this will not contain breaking changes.
285
286### Interface changes and additions
287
288- Made `api_core.page_iterator.PageIterator.item_to_value` public
289- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
290
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800291## 0.1.4
292
293### New Features
294
295- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
296
297### Notable Implementation Changes
298
299- Fix handling of gapic metadata when specified as `None`. (#4701)
300
Danny Hermesd8af50c2017-12-21 09:14:13 -0800301## 0.1.3
302
303### Notable Implementation Changes
304
305- Apply scopes to explicitly provided credentials if needed (#4594).
306- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
307 can be accessed via
308 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
309
310### Dependencies
311
312- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
313 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
314 and [fix](https://github.com/grpc/grpc/pull/13665).
315
316PyPI: https://pypi.org/project/google-api-core/0.1.3/
317
Danny Hermesda0e17b2017-12-08 15:31:56 -0800318## 0.1.2
319
320- Upgrading `concurrent.futures` backport from `>= 3.0.0`
321 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800322- Moved `datetime`-related helpers from `google.cloud.core` to
323 `google.api_core.datetime_helpers` (#4399).
324- Added missing `client_info` to `gapic_v1/__init__.py`'s
325 `__all__` (#4567).
326- Added helpers for routing headers to `gapic_v1` (#4336).
327
328PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800329
Danny Hermes978c5132017-10-31 14:28:55 -0700330## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700331
Danny Hermes13d8fd22017-12-11 10:30:58 -0800332### Dependencies
333
Danny Hermes69979702017-10-30 14:41:42 -0700334- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
335
Danny Hermes13d8fd22017-12-11 10:30:58 -0800336PyPI: https://pypi.org/project/google-api-core/0.1.1/
337
Danny Hermes978c5132017-10-31 14:28:55 -0700338## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700339
340Initial release
341
342Prior to being separated, this package was developed in `google-cloud-core`, so
343relevant changes from that package are included here.
344
345- Add google.api.core.gapic_v1.config (#4022)
346- Add google.api.core.helpers.grpc_helpers (#4041)
347- Add google.api.core.gapic_v1.method (#4057)
348- Add wrap_with_paging (#4067)
349- Add grpc_helpers.create_channel (#4069)
350- Add DEFAULT sentinel for gapic_v1.method (#4079)
351- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
352- Add google.api.core.operations_v1 (#4081)
353- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
354- Add google.api.core.helpers.general_helpers.wraps (#4166)
355- Update Docs with Python Setup Guide (#4187)
356- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
357- Clarify that PollingFuture timeout is in seconds. (#4201)
358- Add api_core package (#4210)
359- Replace usage of google.api.core with google.api_core (#4221)
360- Add google.api_core.gapic_v2.client_info (#4225)
361- Fix how api_core.operation populates exception errors (#4231)
362- Fix bare except (#4250)
363- Fix parsing of API errors with Unicode err message (#4251)
364- Port gax proto helper methods (#4249)
365- Remove gapic_v1.method.wrap_with_paging (#4257)
366- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800367
368PyPI: https://pypi.org/project/google-api-core/0.1.0/