blob: 6a49b52df21b4580c53cfc816d32ab1d4fc69cad [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 Seaver2a840322018-12-17 17:12:42 -05007## 1.7.0
8
912-17-2018 13:56 PST
10
11### New Features
12- Support converting `DatetimeWithNanos` to / from `google.protobuf.timestamp_pb2.Timestamp`. ([#6919](https://github.com/googleapis/google-cloud-python/pull/6919))
13
14### Documentation
15- Document Python 2 deprecation. ([#6910](https://github.com/googleapis/google-cloud-python/pull/6910))
16- Add usage example for `google.api_core.iam.Polcy`. ([#6855](https://github.com/googleapis/google-cloud-python/pull/6855))
17
18### Internal / Testing Changes
19- Work around pytype big for `ABCMeta.register`. ([#6873](https://github.com/googleapis/google-cloud-python/pull/6873))
20
Christopher Wilcox045a92d2018-12-03 12:18:42 -080021## 1.6.0
22
2311-30-2018 12:45 PST
24
25
26### Implementation Changes
27- Import stdlib ABCs from 'collections.abc' rather than 'collections'. ([#6451](https://github.com/googleapis/google-cloud-python/pull/6451))
28
29### New Features
30- Move google.cloud.iam (core) to google.api_core.iam ([#6740](https://github.com/googleapis/google-cloud-python/pull/6740))
31- Add bidi support to api_core. ([#6191](https://github.com/googleapis/google-cloud-python/pull/6191))
32
33### Documentation
34- Fix typo ([#6532](https://github.com/googleapis/google-cloud-python/pull/6532))
35
36### Internal / Testing Changes
37- blacken api_core and core ([#6668](https://github.com/googleapis/google-cloud-python/pull/6668))
38
Christopher Wilcox2873baa2018-11-09 22:48:49 +000039## 1.5.2
40
4111-09-2018 14:22 PST
42
43
44### Implementation Changes
45- Retry transient errors in 'PollingFuture.result'. ([#6305](https://github.com/googleapis/google-cloud-python/pull/6305))
46
47### Dependencies
48- Remove hyphen from named extra in api_core. ([#6468](https://github.com/googleapis/google-cloud-python/pull/6468))
49- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. ([#6391](https://github.com/googleapis/google-cloud-python/pull/6391))
50- Avoid broken 'google-common-apis 1.5.4' release. ([#6355](https://github.com/googleapis/google-cloud-python/pull/6355))
51
Tres Seaver9dfc3352018-10-30 10:31:19 -040052## 1.5.1
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -070053
Tres Seaver9dfc3352018-10-30 10:31:19 -04005410-29-2018 13:29 PDT
Christopher Wilcoxb5bf50a2018-10-18 16:37:35 -070055
Tres Seaver9dfc3352018-10-30 10:31:19 -040056### Implementation Changes
57- 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 -070058
59### Internal / Testing Changes
Tres Seaver9dfc3352018-10-30 10:31:19 -040060- 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 -070061
Christopher Wilcox352242e2018-10-16 09:43:02 -070062## 1.5.0
63
64### New Features
65- Add bidi, Bidirection Streaming, to api-core ([#6211](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6211))
66
Christopher Wilcox352242e2018-10-16 09:43:02 -070067### Internal / Testing Changes
68- Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175))
69
Tres Seaver2ab3a092018-09-28 13:13:55 -040070## 1.4.1
71
72### Dependencies
73- Pin minimum protobuf dependency to 3.4.0. ([#6132](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6132))
74
75### Internal / Testing Changes
76- Add type-checking via pytype to api_core. ([#6116](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6116))
77
Thea Flowers58ae90e2018-09-11 11:02:50 -070078## 1.4.0
79
80### Dependencies
81
82- 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))
83- Update classifiers to drop Python 3.4 and add Python 3.7 ([#5702](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5702))
84
Thea Flowers21bc9ad2018-07-27 10:29:39 -070085## 1.3.0
86
87### New Features
88
89- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
90
Christopher Wilcoxcf944322018-06-14 12:22:14 -070091## 1.2.1
92
93### Implementation Changes
94- Make client_info work without gRPC installed. (#5075)
95- Rename `x-goog-header-params` to `x-goog-request-params` (#5495)
96
Christopher Wilcox84aab852018-05-16 14:55:02 -070097## 1.2.0
98
99### Implementation Changes
100- Add close method to grpc Channel (#5333)
101
102### Internal / Testing Changes
103- Fix tests after grpcio update (#5333)
104- Add Test runs for Python 3.7 and remove 3.4 (#5295)
105
Christopher Wilcox0ada3ac2018-04-30 12:24:29 -0700106## 1.1.2
107
108### Packaging
109- Update setuptools before packaging (#5265)
110
Christopher Wilcoxd65417d2018-04-18 12:52:17 -0700111## 1.1.1
112
113### Internal / Testing Changes
114- Use `install_requires` for platform dependencies instead of `extras_require` (#4991)
115- Update trove classifer to '5 - Production/Stable'
116
Jon Wayne Parrott2b42e292018-03-14 10:11:36 -0700117## 1.1.0
118
119### Interface additions
120
121- Add `datetime_helpers.DatetimeWithNanoSeconds` (#4979)
122
123### Implementation changes
124
125- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
126
Jon Wayne Parrott35e87e02018-02-27 13:06:14 -0800127## 1.0.0
128
129This is the stable v1.0.0 release of google-api-core for Python. Releases after
130this will not contain breaking changes.
131
132### Interface changes and additions
133
134- Made `api_core.page_iterator.PageIterator.item_to_value` public
135- Added ability to specify retry for `Operation` and `polling.Future`. (#4922)
136
Jon Wayne Parrott72af6612018-01-11 09:14:47 -0800137## 0.1.4
138
139### New Features
140
141- Add `ChannelStub` to `grpc_helpers` for testing gRPC-based clients. (#4705)
142
143### Notable Implementation Changes
144
145- Fix handling of gapic metadata when specified as `None`. (#4701)
146
Danny Hermesd8af50c2017-12-21 09:14:13 -0800147## 0.1.3
148
149### Notable Implementation Changes
150
151- Apply scopes to explicitly provided credentials if needed (#4594).
152- Removing `google.api_core.gapic_v1.method.METRICS_METADATA_KEY`. It
153 can be accessed via
154 `google.api_core.gapic_v1.client_info.METRICS_METADATA_KEY` (#4588).
155
156### Dependencies
157
158- Upgrading to latest `grpcio==1.8.2` (#4642). For details, see
159 related gRPC [bug](https://github.com/grpc/grpc/issues/9688)
160 and [fix](https://github.com/grpc/grpc/pull/13665).
161
162PyPI: https://pypi.org/project/google-api-core/0.1.3/
163
Danny Hermesda0e17b2017-12-08 15:31:56 -0800164## 0.1.2
165
166- Upgrading `concurrent.futures` backport from `>= 3.0.0`
167 to `>= 3.2.0` (#4521).
Danny Hermes13d8fd22017-12-11 10:30:58 -0800168- Moved `datetime`-related helpers from `google.cloud.core` to
169 `google.api_core.datetime_helpers` (#4399).
170- Added missing `client_info` to `gapic_v1/__init__.py`'s
171 `__all__` (#4567).
172- Added helpers for routing headers to `gapic_v1` (#4336).
173
174PyPI: https://pypi.org/project/google-api-core/0.1.2/
Danny Hermesda0e17b2017-12-08 15:31:56 -0800175
Danny Hermes978c5132017-10-31 14:28:55 -0700176## 0.1.1
Danny Hermes69979702017-10-30 14:41:42 -0700177
Danny Hermes13d8fd22017-12-11 10:30:58 -0800178### Dependencies
179
Danny Hermes69979702017-10-30 14:41:42 -0700180- Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280)
181
Danny Hermes13d8fd22017-12-11 10:30:58 -0800182PyPI: https://pypi.org/project/google-api-core/0.1.1/
183
Danny Hermes978c5132017-10-31 14:28:55 -0700184## 0.1.0
Jon Wayne Parrotte889ec92017-10-26 14:52:33 -0700185
186Initial release
187
188Prior to being separated, this package was developed in `google-cloud-core`, so
189relevant changes from that package are included here.
190
191- Add google.api.core.gapic_v1.config (#4022)
192- Add google.api.core.helpers.grpc_helpers (#4041)
193- Add google.api.core.gapic_v1.method (#4057)
194- Add wrap_with_paging (#4067)
195- Add grpc_helpers.create_channel (#4069)
196- Add DEFAULT sentinel for gapic_v1.method (#4079)
197- Remove `googleapis-common-protos` from deps in non-`core` packages. (#4098)
198- Add google.api.core.operations_v1 (#4081)
199- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
200- Add google.api.core.helpers.general_helpers.wraps (#4166)
201- Update Docs with Python Setup Guide (#4187)
202- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
203- Clarify that PollingFuture timeout is in seconds. (#4201)
204- Add api_core package (#4210)
205- Replace usage of google.api.core with google.api_core (#4221)
206- Add google.api_core.gapic_v2.client_info (#4225)
207- Fix how api_core.operation populates exception errors (#4231)
208- Fix bare except (#4250)
209- Fix parsing of API errors with Unicode err message (#4251)
210- Port gax proto helper methods (#4249)
211- Remove gapic_v1.method.wrap_with_paging (#4257)
212- Add final set of protobuf helpers to api_core (#4259)
Danny Hermes13d8fd22017-12-11 10:30:58 -0800213
214PyPI: https://pypi.org/project/google-api-core/0.1.0/