Jon Wayne Parrott | e889ec9 | 2017-10-26 14:52:33 -0700 | [diff] [blame] | 1 | # Changelog |
| 2 | |
Danny Hermes | 978c513 | 2017-10-31 14:28:55 -0700 | [diff] [blame] | 3 | [PyPI History][1] |
| 4 | |
| 5 | [1]: https://pypi.org/project/google-api-core/#history |
| 6 | |
Christopher Wilcox | 64bd7f0 | 2019-06-18 13:06:53 -0700 | [diff] [blame] | 7 | ## 1.12.0 |
| 8 | |
| 9 | 06-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 Seaver | 2675514 | 2019-05-28 16:01:08 -0400 | [diff] [blame] | 15 | ## 1.11.1 |
| 16 | |
| 17 | 05-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 Seaver | f1693da | 2019-05-15 13:54:19 -0400 | [diff] [blame] | 30 | ## 1.11.0 |
| 31 | |
| 32 | 05-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 Swast | 1f2b658 | 2019-04-29 10:40:47 -0700 | [diff] [blame] | 38 | ## 1.10.0 |
| 39 | |
| 40 | 04-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 Wilcox | e6eb1c5 | 2019-04-05 10:48:42 -0700 | [diff] [blame] | 52 | ## 1.9.0 |
| 53 | |
| 54 | 04-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 Wilcox | 224d893 | 2019-03-22 16:49:58 -0700 | [diff] [blame] | 64 | ## 1.8.2 |
| 65 | |
| 66 | 03-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 Wilcox | d0eca1c | 2019-03-13 16:20:27 -0700 | [diff] [blame] | 75 | ## 1.8.1 |
| 76 | |
| 77 | 03-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 Wilcox | c30d873 | 2019-02-23 16:31:58 -0800 | [diff] [blame] | 82 | ## 1.8.0 |
| 83 | |
| 84 | 02-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 Seaver | 2a84032 | 2018-12-17 17:12:42 -0500 | [diff] [blame] | 97 | ## 1.7.0 |
| 98 | |
| 99 | 12-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 Wilcox | 045a92d | 2018-12-03 12:18:42 -0800 | [diff] [blame] | 111 | ## 1.6.0 |
| 112 | |
| 113 | 11-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 Wilcox | 2873baa | 2018-11-09 22:48:49 +0000 | [diff] [blame] | 129 | ## 1.5.2 |
| 130 | |
| 131 | 11-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 Seaver | 9dfc335 | 2018-10-30 10:31:19 -0400 | [diff] [blame] | 142 | ## 1.5.1 |
Christopher Wilcox | b5bf50a | 2018-10-18 16:37:35 -0700 | [diff] [blame] | 143 | |
Tres Seaver | 9dfc335 | 2018-10-30 10:31:19 -0400 | [diff] [blame] | 144 | 10-29-2018 13:29 PDT |
Christopher Wilcox | b5bf50a | 2018-10-18 16:37:35 -0700 | [diff] [blame] | 145 | |
Tres Seaver | 9dfc335 | 2018-10-30 10:31:19 -0400 | [diff] [blame] | 146 | ### Implementation Changes |
| 147 | - Don't URL-encode slashes in gRPC request headers. ([#6310](https://github.com/googleapis/google-cloud-python/pull/6310)) |
Christopher Wilcox | b5bf50a | 2018-10-18 16:37:35 -0700 | [diff] [blame] | 148 | |
| 149 | ### Internal / Testing Changes |
Tres Seaver | 9dfc335 | 2018-10-30 10:31:19 -0400 | [diff] [blame] | 150 | - 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 Wilcox | b5bf50a | 2018-10-18 16:37:35 -0700 | [diff] [blame] | 151 | |
Christopher Wilcox | 352242e | 2018-10-16 09:43:02 -0700 | [diff] [blame] | 152 | ## 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 Wilcox | 352242e | 2018-10-16 09:43:02 -0700 | [diff] [blame] | 157 | ### Internal / Testing Changes |
| 158 | - Use new Nox ([#6175](https://github.com/GoogleCloudPlatform/google-cloud-python/pull/6175)) |
| 159 | |
Tres Seaver | 2ab3a09 | 2018-09-28 13:13:55 -0400 | [diff] [blame] | 160 | ## 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 Flowers | 58ae90e | 2018-09-11 11:02:50 -0700 | [diff] [blame] | 168 | ## 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 Flowers | 21bc9ad | 2018-07-27 10:29:39 -0700 | [diff] [blame] | 175 | ## 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 Wilcox | cf94432 | 2018-06-14 12:22:14 -0700 | [diff] [blame] | 181 | ## 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 Wilcox | 84aab85 | 2018-05-16 14:55:02 -0700 | [diff] [blame] | 187 | ## 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 Wilcox | 0ada3ac | 2018-04-30 12:24:29 -0700 | [diff] [blame] | 196 | ## 1.1.2 |
| 197 | |
| 198 | ### Packaging |
| 199 | - Update setuptools before packaging (#5265) |
| 200 | |
Christopher Wilcox | d65417d | 2018-04-18 12:52:17 -0700 | [diff] [blame] | 201 | ## 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 Parrott | 2b42e29 | 2018-03-14 10:11:36 -0700 | [diff] [blame] | 207 | ## 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 Parrott | 35e87e0 | 2018-02-27 13:06:14 -0800 | [diff] [blame] | 217 | ## 1.0.0 |
| 218 | |
| 219 | This is the stable v1.0.0 release of google-api-core for Python. Releases after |
| 220 | this 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 Parrott | 72af661 | 2018-01-11 09:14:47 -0800 | [diff] [blame] | 227 | ## 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 Hermes | d8af50c | 2017-12-21 09:14:13 -0800 | [diff] [blame] | 237 | ## 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 | |
| 252 | PyPI: https://pypi.org/project/google-api-core/0.1.3/ |
| 253 | |
Danny Hermes | da0e17b | 2017-12-08 15:31:56 -0800 | [diff] [blame] | 254 | ## 0.1.2 |
| 255 | |
| 256 | - Upgrading `concurrent.futures` backport from `>= 3.0.0` |
| 257 | to `>= 3.2.0` (#4521). |
Danny Hermes | 13d8fd2 | 2017-12-11 10:30:58 -0800 | [diff] [blame] | 258 | - 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 | |
| 264 | PyPI: https://pypi.org/project/google-api-core/0.1.2/ |
Danny Hermes | da0e17b | 2017-12-08 15:31:56 -0800 | [diff] [blame] | 265 | |
Danny Hermes | 978c513 | 2017-10-31 14:28:55 -0700 | [diff] [blame] | 266 | ## 0.1.1 |
Danny Hermes | 6997970 | 2017-10-30 14:41:42 -0700 | [diff] [blame] | 267 | |
Danny Hermes | 13d8fd2 | 2017-12-11 10:30:58 -0800 | [diff] [blame] | 268 | ### Dependencies |
| 269 | |
Danny Hermes | 6997970 | 2017-10-30 14:41:42 -0700 | [diff] [blame] | 270 | - Upgrading `grpcio` dependency from `1.2.0, < 1.6dev` to `>= 1.7.0` (#4280) |
| 271 | |
Danny Hermes | 13d8fd2 | 2017-12-11 10:30:58 -0800 | [diff] [blame] | 272 | PyPI: https://pypi.org/project/google-api-core/0.1.1/ |
| 273 | |
Danny Hermes | 978c513 | 2017-10-31 14:28:55 -0700 | [diff] [blame] | 274 | ## 0.1.0 |
Jon Wayne Parrott | e889ec9 | 2017-10-26 14:52:33 -0700 | [diff] [blame] | 275 | |
| 276 | Initial release |
| 277 | |
| 278 | Prior to being separated, this package was developed in `google-cloud-core`, so |
| 279 | relevant 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 Hermes | 13d8fd2 | 2017-12-11 10:30:58 -0800 | [diff] [blame] | 303 | |
| 304 | PyPI: https://pypi.org/project/google-api-core/0.1.0/ |