blob: d96de2a8ee14558b71be550a328b712cb8ba31c1 [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
Tres Seaverd9f63bf2019-07-30 15:52:55 -04007## 1.14.1
8
907-30-2019 12:24 PDT
10
11
12### Implementation Changes
13- Remove error log entry on clean BiDi shutdown. ([#8806](https://github.com/googleapis/google-cloud-python/pull/8806))
14- Forward 'timeout' arg from 'exception' to `_blocking_poll`. ([#8735](https://github.com/googleapis/google-cloud-python/pull/8735))
15
16### Documentation
17- Update intersphinx mapping for requests. ([#8805](https://github.com/googleapis/google-cloud-python/pull/8805))
18- Link to googleapis.dev documentation in READMEs. ([#8705](https://github.com/googleapis/google-cloud-python/pull/8705))
19
Tres Seavere9081b22019-07-18 15:57:44 -040020## 1.14.0
21
2207-17-2019 13:16 PDT
23
24
25### New Features
26- Firestore: Add `should_terminate` predicate for clean BiDi shutdown. ([#8650](https://github.com/googleapis/google-cloud-python/pull/8650))
27
28### Dependencies
29- Update pins of 'googleapis-common-protos. ([#8688](https://github.com/googleapis/google-cloud-python/pull/8688))
30
31### Documentation
32- Add compatibility check badges to READMEs. ([#8288](https://github.com/googleapis/google-cloud-python/pull/8288))
33
34### Internal / Testing Changes
35- All: Add docs job to publish to googleapis.dev. ([#8464](https://github.com/googleapis/google-cloud-python/pull/8464))
36
Bu Sun Kim6089ed52019-06-24 13:46:54 -070037## 1.13.0
38
3906-24-2019 10:34 PDT
40
41### New Features
42- Add `client_options.ClientOptions` object. ([#8265](https://github.com/googleapis/google-cloud-python/pull/8265))
43
Christopher Wilcox64bd7f02019-06-18 13:06:53 -070044## 1.12.0
45
4606-18-2019 12:37 PDT
47
48
49### New Features
50- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU ([#8193](https://github.com/googleapis/google-cloud-python/pull/8193))
51
Tres Seaver26755142019-05-28 16:01:08 -040052## 1.11.1
53
5405-28-2019 11:19 PDT
55
56
57### Implementation Changes
58- Classify 503 Service Unavailable errors as transient. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
59
60### Dependencies
61- Pin `grpcio < 2.0dev`. ([#8182](https://github.com/googleapis/google-cloud-python/pull/8182))
62
63### Internal / Testing Changes
64- Add parameterized test for `from_rfc3339` with nanos ([#7675](https://github.com/googleapis/google-cloud-python/pull/7675))
65- Unbreak pytype by silencing a false positive. ([#8106](https://github.com/googleapis/google-cloud-python/pull/8106))
66
Tres Seaverf1693da2019-05-15 13:54:19 -040067## 1.11.0
68
6905-15-2019 10:29 PDT
70
71### New Features
72
73- Refactor 'client_info' support. ([#7849](https://github.com/googleapis/google-cloud-python/pull/7849))
74
Tim Swast1f2b6582019-04-29 10:40:47 -070075## 1.10.0
76
7704-29-2019 10:12 PDT
78
79### Implementation Changes
80
81- Append leading zeros for nanosecond precision DateTimes
82 ([#7663](https://github.com/googleapis/google-cloud-python/pull/7663))
83
84### New Features
85
86- Add `user_agent` property to `ClientInfo`
87 ([#7799](https://github.com/googleapis/google-cloud-python/pull/7799))
88
Christopher Wilcoxe6eb1c52019-04-05 10:48:42 -070089## 1.9.0
90
9104-05-2019 10:38 PDT
92
93
94### Implementation Changes
95- Allow passing metadata as part of creating a bidi ([#7514](https://github.com/googleapis/google-cloud-python/pull/7514))
96
97### Internal / Testing Changes
98- Update setup.py
99- API Core: specify a pytype output directory in setup.cfg. ([#7639](https://github.com/googleapis/google-cloud-python/pull/7639))
100
Christopher Wilcox224d8932019-03-22 16:49:58 -0700101## 1.8.2
102
10303-22-2019 16:27 PDT
104
105
106### Implementation Changes
107- Remove classifier for Python 3.4 for end-of-life. ([#7535](https://github.com/googleapis/google-cloud-python/pull/7535))
108
109### Internal / Testing Changes
110- When re-opening a `ResumableBidiRPC` set `_request_queue_generator` to `None`. ([#7548](https://github.com/googleapis/google-cloud-python/pull/7548))
111
Christopher Wilcoxd0eca1c2019-03-13 16:20:27 -0700112## 1.8.1
113
11403-12-2019 12:45 PDT
115
116### Implementation Changes
117- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. ([#7499](https://github.com/googleapis/google-cloud-python/pull/7499))
118
Christopher Wilcoxc30d8732019-02-23 16:31:58 -0800119## 1.8.0
120
12102-23-2019 15:46 PST
122
123
124### New Features
125- Add support to unwrap Anys into wrapped pb2 objects. ([#7430](https://github.com/googleapis/google-cloud-python/pull/7430))
126- Add `Operation.deserialize`. ([#7427](https://github.com/googleapis/google-cloud-python/pull/7427))
127
128### Documentation
129- Updated client library documentation URLs. ([#7307](https://github.com/googleapis/google-cloud-python/pull/7307))
130
131### Internal / Testing Changes
132- Fix new lint failure. ([#7382](https://github.com/googleapis/google-cloud-python/pull/7382))
133
Tres Seaver2a840322018-12-17 17:12:42 -0500134## 1.7.0
135
13612-17-2018 13:56 PST
137
138### New Features
139- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
140
141### Documentation
142- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
143- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
144
145### Internal / Testing Changes
146- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
147
Christopher Wilcox045a92d2018-12-03 12:18:42 -0800148## 1.6.0
149
15011-30-2018 12:45 PST
151
152
153### Implementation Changes
154- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
155
156### New Features
157- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
158- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
159
160### Documentation
161- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
162
163### Internal / Testing Changes
164- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
165
Christopher Wilcox2873baa2018-11-09 22:48:49 +0000166## 1.5.2
167
16811-09-2018 14:22 PST
169
170
171### Implementation Changes
172- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
173
174### Dependencies
175- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
176- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
177- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
178
Tres Seaver9dfc3352018-10-30 10:31:19 -0400179## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700180
Tres Seaver9dfc3352018-10-30 10:31:19 -040018110-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -0700182
Tres Seaver9dfc3352018-10-30 10:31:19 -0400183### Implementation Changes
184- 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 -0700185
186### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -0400187- 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 -0700188
Christopher Wilcox352242e2018-10-16 09:43:02 -0700189## 1.5.0
190
191### New Features
192- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
193
Christopher Wilcox352242e2018-10-16 09:43:02 -0700194### Internal / Testing Changes
195- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
196
Tres Seaver2ab3a092018-09-28 13:13:55 -0400197## 1.4.1
198
199### Dependencies
200- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
201
202### Internal / Testing Changes
203- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
204
Thea Flowers58ae90e2018-09-11 11:02:50 -0700205## 1.4.0
206
207### Dependencies
208
209- 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))
210- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
211
Thea Flowers21bc9ad2018-07-27 10:29:39 -0700212## 1.3.0
213
214### New Features
215
216- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
217
Christopher Wilcoxcf944322018-06-14 12:22:14 -0700218## 1.2.1
219
220### Implementation Changes
221- Make client_info work without gRPC installed. (#5075)
222- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
223
Christopher Wilcox84aab852018-05-16 14:55:02 -0700224## 1.2.0
225
226### Implementation Changes
227- Add close method to grpc Channel (#5333)
228
229### Internal / Testing Changes
230- Fix tests after grpcio update (#5333)
231- Add Test runs for Python 3.7 and remove 3.4 (#5295)
232
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700233## 1.1.2
234
235### Packaging
236- Update setuptools before packaging (#5265)
237
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700238## 1.1.1
239
240### Internal / Testing Changes
241- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
242- Update trove classifer to '5 - Production/Stable'
243
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700244## 1.1.0
245
246### Interface additions
247
248- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
249
250### Implementation changes
251
252- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
253
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800254## 1.0.0
255
256This is the stable v1.0.0 release of google-api-core for Python. Releases after
257this will not contain breaking changes.
258
259### Interface changes and additions
260
261- Made `api_core.page_iterator.PageIterator.item_to_value` public
262- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
263
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800264## 0.1.4
265
266### New Features
267
268- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
269
270### Notable Implementation Changes
271
272- Fix handling of gapic metadata when specified as `None`. (#4701)
273
Danny Hermesd8af50c2017-12-21 09:14:13 -0800274## 0.1.3
275
276### Notable Implementation Changes
277
278- Apply scopes to explicitly provided credentials if needed (#4594).
279- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
280 can be accessed via
281 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
282
283### Dependencies
284
285- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
286 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
287 and [fix](https://github.com/grpc/grpc/pull/13665).
288
289PyPI: https://pypi.org/project/google-api-core/0.1.3/
290
Danny Hermesda0e17b2017-12-08 15:31:56 -0800291## 0.1.2
292
293- Upgrading `concurrent.futures` backport from `>= 3.0.0`
294 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800295- Moved `datetime`-related helpers from `google.cloud.core` to
296 `google.api_core.datetime_helpers` (#4399).
297- Added missing `client_info` to `gapic_v1/__init__.py`'s
298 `__all__` (#4567).
299- Added helpers for routing headers to `gapic_v1` (#4336).
300
301PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800302
Danny Hermes978c5132017-10-31 14:28:55 -0700303## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700304
Danny Hermes13d8fd22017-12-11 10:30:58 -0800305### Dependencies
306
Danny Hermes69979702017-10-30 14:41:42 -0700307- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
308
Danny Hermes13d8fd22017-12-11 10:30:58 -0800309PyPI: https://pypi.org/project/google-api-core/0.1.1/
310
Danny Hermes978c5132017-10-31 14:28:55 -0700311## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700312
313Initial release
314
315Prior to being separated, this package was developed in `google-cloud-core`, so
316relevant changes from that package are included here.
317
318- Add google.api.core.gapic_v1.config (#4022)
319- Add google.api.core.helpers.grpc_helpers (#4041)
320- Add google.api.core.gapic_v1.method (#4057)
321- Add wrap_with_paging (#4067)
322- Add grpc_helpers.create_channel (#4069)
323- Add DEFAULT sentinel for gapic_v1.method (#4079)
324- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
325- Add google.api.core.operations_v1 (#4081)
326- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
327- Add google.api.core.helpers.general_helpers.wraps (#4166)
328- Update Docs with Python Setup Guide (#4187)
329- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
330- Clarify that PollingFuture timeout is in seconds. (#4201)
331- Add api_core package (#4210)
332- Replace usage of google.api.core with google.api_core (#4221)
333- Add google.api_core.gapic_v2.client_info (#4225)
334- Fix how api_core.operation populates exception errors (#4231)
335- Fix bare except (#4250)
336- Fix parsing of API errors with Unicode err message (#4251)
337- Port gax proto helper methods (#4249)
338- Remove gapic_v1.method.wrap_with_paging (#4257)
339- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800340
341PyPI: https://pypi.org/project/google-api-core/0.1.0/