blob: f085d03e37d3d1db434f8127918c88f043bb1c75 [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
Jonathan Lui18375fb2020-01-13 17:02:11 -08007## 1.16.0
8
901-13-2020 14:19 PST
10
11### New Features
12
13- feat(storage): support optionsRequestedPolicyVersion ([#9989](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9989))
14- feat(api_core): support version 3 policy bindings ([#9869](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/9869))
15
Bu Sun Kim5e555922019-12-16 15:48:06 -080016## 1.15.0
17
1812-16-2019 15:27 PST
19
20### New Features
21- Make the last retry happen at deadline. ([#9873](https://github.com/googleapis/google-cloud-python/pull/9873))
22- Add a repr method for ClientOptions. ([#9849](https://github.com/googleapis/google-cloud-python/pull/9849))
23- Simplify `from_rfc3339` methods. ([#9641](https://github.com/googleapis/google-cloud-python/pull/9641))
24- Provide a `raw_page` field for `page_iterator.Page`. ([#9486](https://github.com/googleapis/google-cloud-python/pull/9486))
25
26### Documentation
27- Add Python 2 sunset banner to documentation. ([#9036](https://github.com/googleapis/google-cloud-python/pull/9036))
28- Remove references to the old authentication credentials. ([#9456](https://github.com/googleapis/google-cloud-python/pull/9456))
29
Christopher Wilcoxa07e02a2019-10-07 14:01:24 -040030## 1.14.3
31
3210-07-2019 10:35 PDT
33
34
35### Implementation Changes
36- Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/google-cloud-python/pull/9337))
37- add on_error to Retry.__init__ ([#8892](https://github.com/googleapis/google-cloud-python/pull/8892))
38- Fix race in 'BackgroundConsumer._thread_main'. ([#8883](https://github.com/googleapis/google-cloud-python/pull/8883))
39
40### Documentation
41- Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/google-cloud-python/pull/9294))
42- Fix broken links in docs. ([#9148](https://github.com/googleapis/google-cloud-python/pull/9148))
43- About of time -> amount of time ([#9052](https://github.com/googleapis/google-cloud-python/pull/9052))
44- Remove compatability badges from READMEs. ([#9035](https://github.com/googleapis/google-cloud-python/pull/9035))
45
46### Internal / Testing Changes
47- Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/google-cloud-python/pull/9085))
48
Bu Sun Kim47836482019-07-30 16:15:18 -070049## 1.14.2
50
5107-30-2019 14:08 PDT
52
53
54### Documentation
55- Add client_options documentation. ([#8834](https://github.com/googleapis/google-cloud-python/pull/8834))
56
Tres Seaverd9f63bf2019-07-30 15:52:55 -040057## 1.14.1
58
5907-30-2019 12:24 PDT
60
61
62### Implementation Changes
63- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
64- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
65
66### Documentation
67- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
68- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
69
Tres Seavere9081b22019-07-18 15:57:44 -040070## 1.14.0
71
7207-17-2019 13:16 PDT
73
74
75### New Features
76- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
77
78### Dependencies
79- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
80
81### Documentation
82- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
83
84### Internal / Testing Changes
85- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
86
Bu Sun Kim6089ed52019-06-24 13:46:54 -070087## 1.13.0
88
8906-24-2019 10:34 PDT
90
91### New Features
92- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
93
Christopher Wilcox64bd7f02019-06-18 13:06:53 -070094## 1.12.0
95
9606-18-2019 12:37 PDT
97
98
99### New Features
100- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
101
Tres Seaver26755142019-05-28 16:01:08 -0400102## 1.11.1
103
10405-28-2019 11:19 PDT
105
106
107### Implementation Changes
108- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
109
110### Dependencies
111- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
112
113### Internal / Testing Changes
114- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
115- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
116
Tres Seaverf1693da2019-05-15 13:54:19 -0400117## 1.11.0
118
11905-15-2019 10:29 PDT
120
121### New Features
122
123- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
124
Tim Swast1f2b6582019-04-29 10:40:47 -0700125## 1.10.0
126
12704-29-2019 10:12 PDT
128
129### Implementation Changes
130
131- Append leading zeros for nanosecond precision DateTimes
132 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
133
134### New Features
135
136- Add `user_agent` property to `ClientInfo`
137 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
138
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -0700139## 1.9.0
140
14104-05-2019 10:38 PDT
142
143
144### Implementation Changes
145- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
146
147### Internal / Testing Changes
148- Update setup.py
149- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
150
Christopher Wilcox224d8932019-03-22 16:49:58 -0700151## 1.8.2
152
15303-22-2019 16:27 PDT
154
155
156### Implementation Changes
157- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
158
159### Internal / Testing Changes
160- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
161
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700162## 1.8.1
163
16403-12-2019 12:45 PDT
165
166### Implementation Changes
167- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
168
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800169## 1.8.0
170
17102-23-2019 15:46 PST
172
173
174### New Features
175- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
176- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
177
178### Documentation
179- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
180
181### Internal / Testing Changes
182- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
183
Tres Seaver2a840322018-12-17 17:12:42 -0500184## 1.7.0
185
18612-17-2018 13:56 PST
187
188### New Features
189- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
190
191### Documentation
192- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
193- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
194
195### Internal / Testing Changes
196- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
197
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800198## 1.6.0
199
20011-30-2018 12:45 PST
201
202
203### Implementation Changes
204- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
205
206### New Features
207- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
208- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
209
210### Documentation
211- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
212
213### Internal / Testing Changes
214- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
215
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000216## 1.5.2
217
21811-09-2018 14:22 PST
219
220
221### Implementation Changes
222- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
223
224### Dependencies
225- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
226- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
227- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
228
Tres Seaver9dfc3352018-10-30 10:31:19 -0400229## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700230
Tres Seaver9dfc3352018-10-30 10:31:19 -040023110-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700232
Tres Seaver9dfc3352018-10-30 10:31:19 -0400233### Implementation Changes
234- 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 -0700235
236### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400237- 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 -0700238
Christopher Wilcox352242e2018-10-16 09:43:02 -0700239## 1.5.0
240
241### New Features
242- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
243
Christopher Wilcox352242e2018-10-16 09:43:02 -0700244### Internal / Testing Changes
245- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
246
Tres Seaver2ab3a092018-09-28 13:13:55 -0400247## 1.4.1
248
249### Dependencies
250- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
251
252### Internal / Testing Changes
253- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
254
Thea Flowers58ae90e2018-09-11 11:02:50 -0700255## 1.4.0
256
257### Dependencies
258
259- 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))
260- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
261
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700262## 1.3.0
263
264### New Features
265
266- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
267
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700268## 1.2.1
269
270### Implementation Changes
271- Make client_info work without gRPC installed. (#5075)
272- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
273
Christopher Wilcox84aab852018-05-16 14:55:02 -0700274## 1.2.0
275
276### Implementation Changes
277- Add close method to grpc Channel (#5333)
278
279### Internal / Testing Changes
280- Fix tests after grpcio update (#5333)
281- Add Test runs for Python 3.7 and remove 3.4 (#5295)
282
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700283## 1.1.2
284
285### Packaging
286- Update setuptools before packaging (#5265)
287
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700288## 1.1.1
289
290### Internal / Testing Changes
291- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
292- Update trove classifer to '5 - Production/Stable'
293
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700294## 1.1.0
295
296### Interface additions
297
298- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
299
300### Implementation changes
301
302- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
303
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800304## 1.0.0
305
306This is the stable v1.0.0 release of google-api-core for Python. Releases after
307this will not contain breaking changes.
308
309### Interface changes and additions
310
311- Made `api_core.page_iterator.PageIterator.item_to_value` public
312- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
313
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800314## 0.1.4
315
316### New Features
317
318- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
319
320### Notable Implementation Changes
321
322- Fix handling of gapic metadata when specified as `None`. (#4701)
323
Danny Hermesd8af50c2017-12-21 09:14:13 -0800324## 0.1.3
325
326### Notable Implementation Changes
327
328- Apply scopes to explicitly provided credentials if needed (#4594).
329- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
330 can be accessed via
331 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
332
333### Dependencies
334
335- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
336 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
337 and [fix](https://github.com/grpc/grpc/pull/13665).
338
339PyPI: https://pypi.org/project/google-api-core/0.1.3/
340
Danny Hermesda0e17b2017-12-08 15:31:56 -0800341## 0.1.2
342
343- Upgrading `concurrent.futures` backport from `>= 3.0.0`
344 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800345- Moved `datetime`-related helpers from `google.cloud.core` to
346 `google.api_core.datetime_helpers` (#4399).
347- Added missing `client_info` to `gapic_v1/__init__.py`'s
348 `__all__` (#4567).
349- Added helpers for routing headers to `gapic_v1` (#4336).
350
351PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800352
Danny Hermes978c5132017-10-31 14:28:55 -0700353## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700354
Danny Hermes13d8fd22017-12-11 10:30:58 -0800355### Dependencies
356
Danny Hermes69979702017-10-30 14:41:42 -0700357- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
358
Danny Hermes13d8fd22017-12-11 10:30:58 -0800359PyPI: https://pypi.org/project/google-api-core/0.1.1/
360
Danny Hermes978c5132017-10-31 14:28:55 -0700361## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700362
363Initial release
364
365Prior to being separated, this package was developed in `google-cloud-core`, so
366relevant changes from that package are included here.
367
368- Add google.api.core.gapic_v1.config (#4022)
369- Add google.api.core.helpers.grpc_helpers (#4041)
370- Add google.api.core.gapic_v1.method (#4057)
371- Add wrap_with_paging (#4067)
372- Add grpc_helpers.create_channel (#4069)
373- Add DEFAULT sentinel for gapic_v1.method (#4079)
374- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
375- Add google.api.core.operations_v1 (#4081)
376- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
377- Add google.api.core.helpers.general_helpers.wraps (#4166)
378- Update Docs with Python Setup Guide (#4187)
379- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
380- Clarify that PollingFuture timeout is in seconds. (#4201)
381- Add api_core package (#4210)
382- Replace usage of google.api.core with google.api_core (#4221)
383- Add google.api_core.gapic_v2.client_info (#4225)
384- Fix how api_core.operation populates exception errors (#4231)
385- Fix bare except (#4250)
386- Fix parsing of API errors with Unicode err message (#4251)
387- Port gax proto helper methods (#4249)
388- Remove gapic_v1.method.wrap_with_paging (#4257)
389- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800390
391PyPI: https://pypi.org/project/google-api-core/0.1.0/