blob: e081822c2f81f4c458b417b767e0ed93969b3cf1 [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
Bu Sun Kim6089ed52019-06-24 13:46:54 -07007## 1.13.0
8
906-24-2019 10:34 PDT
10
11### New Features
12- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
13
Christopher Wilcox64bd7f02019-06-18 13:06:53 -070014## 1.12.0
15
1606-18-2019 12:37 PDT
17
18
19### New Features
20- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
21
Tres Seaver26755142019-05-28 16:01:08 -040022## 1.11.1
23
2405-28-2019 11:19 PDT
25
26
27### Implementation Changes
28- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
29
30### Dependencies
31- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
32
33### Internal / Testing Changes
34- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
35- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
36
Tres Seaverf1693da2019-05-15 13:54:19 -040037## 1.11.0
38
3905-15-2019 10:29 PDT
40
41### New Features
42
43- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
44
Tim Swast1f2b6582019-04-29 10:40:47 -070045## 1.10.0
46
4704-29-2019 10:12 PDT
48
49### Implementation Changes
50
51- Append leading zeros for nanosecond precision DateTimes
52 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
53
54### New Features
55
56- Add `user_agent` property to `ClientInfo`
57 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
58
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -070059## 1.9.0
60
6104-05-2019 10:38 PDT
62
63
64### Implementation Changes
65- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
66
67### Internal / Testing Changes
68- Update setup.py
69- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
70
Christopher Wilcox224d8932019-03-22 16:49:58 -070071## 1.8.2
72
7303-22-2019 16:27 PDT
74
75
76### Implementation Changes
77- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
78
79### Internal / Testing Changes
80- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
81
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -070082## 1.8.1
83
8403-12-2019 12:45 PDT
85
86### Implementation Changes
87- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
88
Christopher Wilcoxc30d8732019-02-23 16:31:58 -080089## 1.8.0
90
9102-23-2019 15:46 PST
92
93
94### New Features
95- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
96- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
97
98### Documentation
99- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
100
101### Internal / Testing Changes
102- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
103
Tres Seaver2a840322018-12-17 17:12:42 -0500104## 1.7.0
105
10612-17-2018 13:56 PST
107
108### New Features
109- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
110
111### Documentation
112- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
113- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
114
115### Internal / Testing Changes
116- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
117
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800118## 1.6.0
119
12011-30-2018 12:45 PST
121
122
123### Implementation Changes
124- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
125
126### New Features
127- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
128- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
129
130### Documentation
131- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
132
133### Internal / Testing Changes
134- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
135
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000136## 1.5.2
137
13811-09-2018 14:22 PST
139
140
141### Implementation Changes
142- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
143
144### Dependencies
145- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
146- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
147- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
148
Tres Seaver9dfc3352018-10-30 10:31:19 -0400149## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700150
Tres Seaver9dfc3352018-10-30 10:31:19 -040015110-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700152
Tres Seaver9dfc3352018-10-30 10:31:19 -0400153### Implementation Changes
154- 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 -0700155
156### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400157- 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 -0700158
Christopher Wilcox352242e2018-10-16 09:43:02 -0700159## 1.5.0
160
161### New Features
162- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
163
Christopher Wilcox352242e2018-10-16 09:43:02 -0700164### Internal / Testing Changes
165- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
166
Tres Seaver2ab3a092018-09-28 13:13:55 -0400167## 1.4.1
168
169### Dependencies
170- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
171
172### Internal / Testing Changes
173- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
174
Thea Flowers58ae90e2018-09-11 11:02:50 -0700175## 1.4.0
176
177### Dependencies
178
179- 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))
180- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
181
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700182## 1.3.0
183
184### New Features
185
186- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
187
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700188## 1.2.1
189
190### Implementation Changes
191- Make client_info work without gRPC installed. (#5075)
192- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
193
Christopher Wilcox84aab852018-05-16 14:55:02 -0700194## 1.2.0
195
196### Implementation Changes
197- Add close method to grpc Channel (#5333)
198
199### Internal / Testing Changes
200- Fix tests after grpcio update (#5333)
201- Add Test runs for Python 3.7 and remove 3.4 (#5295)
202
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700203## 1.1.2
204
205### Packaging
206- Update setuptools before packaging (#5265)
207
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700208## 1.1.1
209
210### Internal / Testing Changes
211- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
212- Update trove classifer to '5 - Production/Stable'
213
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700214## 1.1.0
215
216### Interface additions
217
218- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
219
220### Implementation changes
221
222- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
223
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800224## 1.0.0
225
226This is the stable v1.0.0 release of google-api-core for Python. Releases after
227this will not contain breaking changes.
228
229### Interface changes and additions
230
231- Made `api_core.page_iterator.PageIterator.item_to_value` public
232- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
233
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800234## 0.1.4
235
236### New Features
237
238- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
239
240### Notable Implementation Changes
241
242- Fix handling of gapic metadata when specified as `None`. (#4701)
243
Danny Hermesd8af50c2017-12-21 09:14:13 -0800244## 0.1.3
245
246### Notable Implementation Changes
247
248- Apply scopes to explicitly provided credentials if needed (#4594).
249- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
250 can be accessed via
251 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
252
253### Dependencies
254
255- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
256 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
257 and [fix](https://github.com/grpc/grpc/pull/13665).
258
259PyPI: https://pypi.org/project/google-api-core/0.1.3/
260
Danny Hermesda0e17b2017-12-08 15:31:56 -0800261## 0.1.2
262
263- Upgrading `concurrent.futures` backport from `>= 3.0.0`
264 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800265- Moved `datetime`-related helpers from `google.cloud.core` to
266 `google.api_core.datetime_helpers` (#4399).
267- Added missing `client_info` to `gapic_v1/__init__.py`'s
268 `__all__` (#4567).
269- Added helpers for routing headers to `gapic_v1` (#4336).
270
271PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800272
Danny Hermes978c5132017-10-31 14:28:55 -0700273## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700274
Danny Hermes13d8fd22017-12-11 10:30:58 -0800275### Dependencies
276
Danny Hermes69979702017-10-30 14:41:42 -0700277- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
278
Danny Hermes13d8fd22017-12-11 10:30:58 -0800279PyPI: https://pypi.org/project/google-api-core/0.1.1/
280
Danny Hermes978c5132017-10-31 14:28:55 -0700281## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700282
283Initial release
284
285Prior to being separated, this package was developed in `google-cloud-core`, so
286relevant changes from that package are included here.
287
288- Add google.api.core.gapic_v1.config (#4022)
289- Add google.api.core.helpers.grpc_helpers (#4041)
290- Add google.api.core.gapic_v1.method (#4057)
291- Add wrap_with_paging (#4067)
292- Add grpc_helpers.create_channel (#4069)
293- Add DEFAULT sentinel for gapic_v1.method (#4079)
294- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
295- Add google.api.core.operations_v1 (#4081)
296- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
297- Add google.api.core.helpers.general_helpers.wraps (#4166)
298- Update Docs with Python Setup Guide (#4187)
299- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
300- Clarify that PollingFuture timeout is in seconds. (#4201)
301- Add api_core package (#4210)
302- Replace usage of google.api.core with google.api_core (#4221)
303- Add google.api_core.gapic_v2.client_info (#4225)
304- Fix how api_core.operation populates exception errors (#4231)
305- Fix bare except (#4250)
306- Fix parsing of API errors with Unicode err message (#4251)
307- Port gax proto helper methods (#4249)
308- Remove gapic_v1.method.wrap_with_paging (#4257)
309- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800310
311PyPI: https://pypi.org/project/google-api-core/0.1.0/