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