From a76a1eb63f9dc97f59ece2b05e001434416ef27a Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 23 Feb 2022 19:25:57 +0000 Subject: [PATCH] chore(master): release 2.0.0 --- CHANGELOG.md | 101 +++++++++++++++++++++++++++++++++++++ google/api_core/version.py | 2 +- 2 files changed, 102 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6cbede4c..4a0d2d76 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,107 @@ [1]: https://pypi.org/project/google-api-core/#history +## [2.0.0](https://github.com/software-dov/python-api-core/compare/v2.5.0...v2.0.0) (2022-02-23) + + +### ⚠ BREAKING CHANGES + +* drop support for Python 2.7 / 3.5 (#212) + +### Features + +* [CBT-6 helper] Exposing Retry._deadline as a property ([#20](https://github.com/software-dov/python-api-core/issues/20)) ([7be1e59](https://github.com/software-dov/python-api-core/commit/7be1e59e9d75c112f346d2b76dce3dd60e3584a1)) +* add 'GoogleAPICallError.error_details' property ([#286](https://github.com/software-dov/python-api-core/issues/286)) ([ef6f0fc](https://github.com/software-dov/python-api-core/commit/ef6f0fcfdfe771172056e35e3c990998b3b00416)) +* add api_key to client options ([#248](https://github.com/software-dov/python-api-core/issues/248)) ([5e5ad37](https://github.com/software-dov/python-api-core/commit/5e5ad37b8161109d65b0fab43636f7424e570fa3)) +* add client_encryped_cert_source to ClientOptions ([#31](https://github.com/software-dov/python-api-core/issues/31)) ([e4eaec0](https://github.com/software-dov/python-api-core/commit/e4eaec0ff255114138d3715280f86d34d861a6fa)) +* add grpc transcoding + tests ([#259](https://github.com/software-dov/python-api-core/issues/259)) ([afe0fa1](https://github.com/software-dov/python-api-core/commit/afe0fa14c21289c8244606a9f81544cff8ac5f7c)) +* Add helper function to format query_params for rest transport. ([#275](https://github.com/software-dov/python-api-core/issues/275)) ([1c5eb4d](https://github.com/software-dov/python-api-core/commit/1c5eb4df93d78e791082d9282330ebf0faacd222)) +* add iterator capability to paged iterators ([#200](https://github.com/software-dov/python-api-core/issues/200)) ([3487d68](https://github.com/software-dov/python-api-core/commit/3487d68bdab6f20e2ab931c8283f63c94862cf31)) +* add operations rest client to support long-running operations. ([#311](https://github.com/software-dov/python-api-core/issues/311)) ([ce1adf3](https://github.com/software-dov/python-api-core/commit/ce1adf395982ede157c0f25a920946bb52789873)) +* add Samples section to CONTRIBUTING.rst ([#229](https://github.com/software-dov/python-api-core/issues/229)) ([a12c051](https://github.com/software-dov/python-api-core/commit/a12c0516c42918b05415835029717814353b883b)) +* add ServiceUnavailable exception to polling retries ([#184](https://github.com/software-dov/python-api-core/issues/184)) ([11032cf](https://github.com/software-dov/python-api-core/commit/11032cf08ecc16dd252a6cda8b33b0b28ec4f4ba)) +* add support for 'error_info' ([#315](https://github.com/software-dov/python-api-core/issues/315)) ([cc46aa6](https://github.com/software-dov/python-api-core/commit/cc46aa68ec184871330d16a6c767f57a4f0eb633)) +* Add support for `rest/` token in `x-goog-api-client` header ([#189](https://github.com/software-dov/python-api-core/issues/189)) ([15aca6b](https://github.com/software-dov/python-api-core/commit/15aca6b288b2ec5ce0251e442e1dfa7f52e1b124)) +* add support for Python 3.10 ([#284](https://github.com/software-dov/python-api-core/issues/284)) ([a422a5d](https://github.com/software-dov/python-api-core/commit/a422a5d72cb6f363d57e7a4effe421ba8e049cde)) +* add support for Python 3.9 ([#111](https://github.com/software-dov/python-api-core/issues/111)) ([fdbed0f](https://github.com/software-dov/python-api-core/commit/fdbed0f0cbae8de21c73338a6817f8aa79cef4c9)) +* allow credentials files to be passed for channel creation ([#50](https://github.com/software-dov/python-api-core/issues/50)) ([ded92d0](https://github.com/software-dov/python-api-core/commit/ded92d0acdcde4295d0e5df05fda0d83783a3991)) +* allow default_host and default_scopes to be passed to create_channel ([#134](https://github.com/software-dov/python-api-core/issues/134)) ([94c76e0](https://github.com/software-dov/python-api-core/commit/94c76e0873e5b2f42331d5b1ad286c1e63b61395)) +* allow disabling response stream pre-fetch ([#30](https://github.com/software-dov/python-api-core/issues/30)) ([74e0b0f](https://github.com/software-dov/python-api-core/commit/74e0b0f8387207933c120af15b2bb5d175dd8f84)) +* allow gRPC metadata to be passed to operations client ([#127](https://github.com/software-dov/python-api-core/issues/127)) ([73854e8](https://github.com/software-dov/python-api-core/commit/73854e897b885e9be290f2676a8a1466b4f041e4)) +* allow quota project to be passed to create_channel ([#58](https://github.com/software-dov/python-api-core/issues/58)) ([e2d9a7b](https://github.com/software-dov/python-api-core/commit/e2d9a7b209b7dfab300dc848fabbae8f42a2ab19)) +* **api core:** simplify from_rfc3339 methods ([#9641](https://github.com/software-dov/python-api-core/issues/9641)) ([74326f4](https://github.com/software-dov/python-api-core/commit/74326f4ef4f6697bad3251330c33c4464b8266f1)) +* **api_core:** add retry param into PollingFuture() and it's inheritors ([#9923](https://github.com/software-dov/python-api-core/issues/9923)) ([14f1f34](https://github.com/software-dov/python-api-core/commit/14f1f34e013c90fed2da2918625083d299fda557)), closes [#6197](https://github.com/software-dov/python-api-core/issues/6197) +* **api_core:** make the last retry happen at deadline ([#9873](https://github.com/software-dov/python-api-core/issues/9873)) ([52f12af](https://github.com/software-dov/python-api-core/commit/52f12af027568ddeae7fb6b1e3d2111cce1bac08)) +* **api_core:** provide a 'raw_page' field for page_iterator.Page ([#9486](https://github.com/software-dov/python-api-core/issues/9486)) ([9230dd4](https://github.com/software-dov/python-api-core/commit/9230dd4b8ad9b457d53a6dd5fd353c780cc06ed5)) +* **api_core:** support version 3 policy bindings ([#9869](https://github.com/software-dov/python-api-core/issues/9869)) ([fd47fda](https://github.com/software-dov/python-api-core/commit/fd47fda5e3f5eca63522c8d81cffa22bc2a29ab6)) +* **api-core:** add client_cert_source to ClientOptions ([#17](https://github.com/software-dov/python-api-core/issues/17)) ([748c935](https://github.com/software-dov/python-api-core/commit/748c935d4cf03a1f04fba9139c3c3150fd694d88)) +* **api-core:** pass retry from result() to done() ([#9](https://github.com/software-dov/python-api-core/issues/9)) ([6623b31](https://github.com/software-dov/python-api-core/commit/6623b31a2040b834be808d711fa397dc428f1837)) +* AsyncIO Integration [Part 2] ([#28](https://github.com/software-dov/python-api-core/issues/28)) ([dd9b2f3](https://github.com/software-dov/python-api-core/commit/dd9b2f38a70e85952cc05552ec8070cdf29ddbb4)), closes [#23](https://github.com/software-dov/python-api-core/issues/23) +* **client_options:** add new client options 'quota_project_id', 'scopes', and 'credentials_file' ([a582936](https://github.com/software-dov/python-api-core/commit/a58293601d6da90c499d404e634a979a6cae9708)) +* First batch of AIO integration ([#26](https://github.com/software-dov/python-api-core/issues/26)) ([a82f289](https://github.com/software-dov/python-api-core/commit/a82f2892b8f219b82e120e6ed9f4070869c28be7)) +* HTTPIterator now accepts a page_size parameter to control page … ([#197](https://github.com/software-dov/python-api-core/issues/197)) ([a421913](https://github.com/software-dov/python-api-core/commit/a4219137a5bfcf2a6f44780ecdbf475c1129e461)) +* iterator for processing JSON responses in REST streaming. ([#317](https://github.com/software-dov/python-api-core/issues/317)) ([f9f2696](https://github.com/software-dov/python-api-core/commit/f9f26969842b456ea372bed941d712b7a9ab7239)) +* retry google.auth TransportError and requests ConnectionError ([#178](https://github.com/software-dov/python-api-core/issues/178)) ([6ae04a8](https://github.com/software-dov/python-api-core/commit/6ae04a8d134fffe13f06081e15f9723c1b2ea334)) +* **storage:** support optionsRequestedPolicyVersion ([#9989](https://github.com/software-dov/python-api-core/issues/9989)) ([17bbd63](https://github.com/software-dov/python-api-core/commit/17bbd63e0244d95d3a46710daf9a87ee6422028e)) +* third batch of AsyncIO integration ([#29](https://github.com/software-dov/python-api-core/issues/29)) ([7d8d580](https://github.com/software-dov/python-api-core/commit/7d8d58075a92e93662747d36a2d55b5e9f0943e1)) + + +### Bug Fixes + +* _determine_timeout problem handling float type timeout ([#64](https://github.com/software-dov/python-api-core/issues/64)) ([2010373](https://github.com/software-dov/python-api-core/commit/2010373b27536d1191175624b297a709d70153fa)) +* add 'requests.exceptions.ChunkedEncodingError' to retryable exceptions ([#237](https://github.com/software-dov/python-api-core/issues/237)) ([5e540f2](https://github.com/software-dov/python-api-core/commit/5e540f28493cc3e13260458a8d1c6a1abb2ed313)) +* add mypy checking + 'py.typed' file ([#290](https://github.com/software-dov/python-api-core/issues/290)) ([0023ee1](https://github.com/software-dov/python-api-core/commit/0023ee1fe0e8b80c7a9e8987e0f322a829e5d613)) +* add operation name to x-goog-request-params ([#133](https://github.com/software-dov/python-api-core/issues/133)) ([97cef4a](https://github.com/software-dov/python-api-core/commit/97cef4ad1db55938715f9ac8000d1b0ad1e71873)) +* add operation name to x-goog-request-params in async client ([#137](https://github.com/software-dov/python-api-core/issues/137)) ([7271b23](https://github.com/software-dov/python-api-core/commit/7271b23afddb032e49e957525704d0cd5bfa4c65)) +* **api_core:** finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/software-dov/python-api-core/issues/9337)) ([ac8716d](https://github.com/software-dov/python-api-core/commit/ac8716d226e106625d82fd0cefc1cab1be1dc6be)) +* bump grpcio version to use stable aio API ([#234](https://github.com/software-dov/python-api-core/issues/234)) ([bdbf889](https://github.com/software-dov/python-api-core/commit/bdbf889210b709d7c1945f2160bcba9161b4dd2e)) +* bump up grpcio minimum version to 1.29.0 ([#41](https://github.com/software-dov/python-api-core/issues/41)) ([4b11422](https://github.com/software-dov/python-api-core/commit/4b114221b3ae01eee540bedf47381c3b7c214b0c)) +* consume part of StreamingResponseIterator to support failure while under a retry context ([#10206](https://github.com/software-dov/python-api-core/issues/10206)) ([2b103b6](https://github.com/software-dov/python-api-core/commit/2b103b60ece16a1e1bc98cfda7ec375191a90f75)) +* **dependencies:** increase protobuf version ([#49](https://github.com/software-dov/python-api-core/issues/49)) ([1ba6095](https://github.com/software-dov/python-api-core/commit/1ba609592968c9d828449b89a3ade3bcaf5edd7f)) +* **deps:** remove setuptools from dependencies ([#339](https://github.com/software-dov/python-api-core/issues/339)) ([c782f29](https://github.com/software-dov/python-api-core/commit/c782f294b50b078f01959627fb82aa4c5efec333)) +* **deps:** require six >= 1.13.0 ([#78](https://github.com/software-dov/python-api-core/issues/78)) ([a7a8b98](https://github.com/software-dov/python-api-core/commit/a7a8b98602a3eb277fdc607ac69f3bcb147f3351)) +* do not error on LROs with no response or error ([#258](https://github.com/software-dov/python-api-core/issues/258)) ([618f192](https://github.com/software-dov/python-api-core/commit/618f19201af729205892fcecd9c8e315ba3174a3)) +* drop support for Python 2.7 / 3.5 ([#212](https://github.com/software-dov/python-api-core/issues/212)) ([a30f004](https://github.com/software-dov/python-api-core/commit/a30f004e74f709d46e905dd819c71f43354e9ac9)) +* exclude function target from retry deadline exceeded exception message ([#318](https://github.com/software-dov/python-api-core/issues/318)) ([34ebdcc](https://github.com/software-dov/python-api-core/commit/34ebdcc251d4f3d7d496e8e0b78847645a06650b)) +* handle bare 'grpc.Call' in 'from_grpc_error' ([#298](https://github.com/software-dov/python-api-core/issues/298)) ([060b339](https://github.com/software-dov/python-api-core/commit/060b339e3af296dd1772bfc1b4a0d2b4264cae1f)) +* harden install to use full paths, and windows separators on windows ([#88](https://github.com/software-dov/python-api-core/issues/88)) ([db8e636](https://github.com/software-dov/python-api-core/commit/db8e636f545a8872f959e3f403cfec30ffed6c34)) +* make 'gapic_v1.method.DEFAULT' a typed object ([#292](https://github.com/software-dov/python-api-core/issues/292)) ([ffc51f0](https://github.com/software-dov/python-api-core/commit/ffc51f03c7ce5d9f009ba859b8df385d52925578)) +* map LRO errors to library exception types ([#86](https://github.com/software-dov/python-api-core/issues/86)) ([a855339](https://github.com/software-dov/python-api-core/commit/a85533903c57be4809fe76435e298409e0903931)) +* only add quota project id if supported ([#75](https://github.com/software-dov/python-api-core/issues/75)) ([8f8ee78](https://github.com/software-dov/python-api-core/commit/8f8ee7879e4f834f3c676e535ffc41b5b9b2de62)) +* require google-auth>=1.25.0 ([#190](https://github.com/software-dov/python-api-core/issues/190)) ([155da5e](https://github.com/software-dov/python-api-core/commit/155da5e18cc2fdcfa57de6f956b7d078e79cd4b7)) +* revert "fix: do not error on LROs with no response or error" ([#294](https://github.com/software-dov/python-api-core/issues/294)) ([9e6091e](https://github.com/software-dov/python-api-core/commit/9e6091ee59a30e72a6278b369f6a08e7aef32f22)) +* save empty IAM policy bindings ([#155](https://github.com/software-dov/python-api-core/issues/155)) ([536c2ca](https://github.com/software-dov/python-api-core/commit/536c2cad814b8fa8cd346a3d7bd5f6b9889c4a6f)) +* skip empty policy bindings in `len()` and `iter()` ([#159](https://github.com/software-dov/python-api-core/issues/159)) ([9eaa786](https://github.com/software-dov/python-api-core/commit/9eaa7868164a7e98792de24d2be97f79fba22322)) +* strip trailing _ from field mask paths ([#228](https://github.com/software-dov/python-api-core/issues/228)) ([ff6ef1b](https://github.com/software-dov/python-api-core/commit/ff6ef1bd07fa68307b7c82c910416d770e7b3416)) +* support 'retry' for ops built from HTTP/gRPC responses ([#115](https://github.com/software-dov/python-api-core/issues/115)) ([7a38243](https://github.com/software-dov/python-api-core/commit/7a38243c351b228d103eee81fc5ae521ad1c930e)) +* undprecate entity factory helpers ([#101](https://github.com/software-dov/python-api-core/issues/101)) ([1fbee03](https://github.com/software-dov/python-api-core/commit/1fbee03495a136eef3d6aaa5ea0aadd6e4b58e8b)), closes [#100](https://github.com/software-dov/python-api-core/issues/100) +* update out-of-date comment in exceptions.py ([#93](https://github.com/software-dov/python-api-core/issues/93)) ([70ebe42](https://github.com/software-dov/python-api-core/commit/70ebe42601b3d088b3421233ef7d8245229b7265)) +* use version.py instead of pkg_resources.get_distribution ([#80](https://github.com/software-dov/python-api-core/issues/80)) ([d480d97](https://github.com/software-dov/python-api-core/commit/d480d97e41cd6705325b3b649360553a83c23f47)) + + +### Miscellaneous Chores + +* force next release to 1.25.0 ([#126](https://github.com/software-dov/python-api-core/issues/126)) ([abc3d88](https://github.com/software-dov/python-api-core/commit/abc3d88466a1e55cf459e6c78a6fb7343a29df6f)) +* release 1.28.0 ([#192](https://github.com/software-dov/python-api-core/issues/192)) ([11b5da4](https://github.com/software-dov/python-api-core/commit/11b5da426a842541ca2b861d3387fc312b3f5b60)) +* release as 1.31.1 ([#239](https://github.com/software-dov/python-api-core/issues/239)) ([47d04cd](https://github.com/software-dov/python-api-core/commit/47d04cd0aebcd9f4a26c22a384de489da7b74430)) + + +### Documentation + +* about of time -> amount of time ([#9052](https://github.com/software-dov/python-api-core/issues/9052)) ([92840f1](https://github.com/software-dov/python-api-core/commit/92840f1a1588afed74acb4d47938024152f91de0)) +* add python 2 sunset banner to documentation ([#9036](https://github.com/software-dov/python-api-core/issues/9036)) ([0f6ad2a](https://github.com/software-dov/python-api-core/commit/0f6ad2a13ad633622c1a3881c597ac1e5c51faf5)) +* change the documentation for using 'six.moves.collections_abc.Mapping' instead of 'dict' in 'client_options.from_dict()' ([#53](https://github.com/software-dov/python-api-core/issues/53)) ([c890675](https://github.com/software-dov/python-api-core/commit/c890675dc9ebc084f105be81dc81c048f4f599ea)) +* explain how to create credentials from dict ([#109](https://github.com/software-dov/python-api-core/issues/109)) ([5dce6d6](https://github.com/software-dov/python-api-core/commit/5dce6d61e7324a415c1b3ceaeec1ce1b5f1ea189)) +* fix broken links in multiprocessing.rst ([#195](https://github.com/software-dov/python-api-core/issues/195)) ([8d8bc51](https://github.com/software-dov/python-api-core/commit/8d8bc5150ee5543b4aeb2c271da034a5305d1436)) +* fix intersphinx reference to requests ([#9294](https://github.com/software-dov/python-api-core/issues/9294)) ([8c74e9c](https://github.com/software-dov/python-api-core/commit/8c74e9cc74d8d5923eb28198b9db2ea7171fb6f1)) +* fix spelling errors for amount in retry ([#69](https://github.com/software-dov/python-api-core/issues/69)) ([7bb713d](https://github.com/software-dov/python-api-core/commit/7bb713d13b1fe3cca58263f5e499136a84abc456)) +* fix spelling errors in retry ([#131](https://github.com/software-dov/python-api-core/issues/131)) ([232dab0](https://github.com/software-dov/python-api-core/commit/232dab0ad3ef2cca0edfe707d8f90ca0ea200ba2)) +* fix typo in library name ([#332](https://github.com/software-dov/python-api-core/issues/332)) ([f267111](https://github.com/software-dov/python-api-core/commit/f267111823545a6c67ef5f10b85cd8c2fab8a612)) +* **python:** document adding Python 3.9 support, dropping 3.5 support ([#120](https://github.com/software-dov/python-api-core/issues/120)) ([b51b7f5](https://github.com/software-dov/python-api-core/commit/b51b7f587042fe9340371c1b5c8e9adf8001c43a)), closes [#787](https://github.com/software-dov/python-api-core/issues/787) +* Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/software-dov/python-api-core/issues/9085)) ([c38f2e4](https://github.com/software-dov/python-api-core/commit/c38f2e4920cd46af0ebfca861da45a7fe5b1571d)) +* remove references to the old authentication credentials ([#9456](https://github.com/software-dov/python-api-core/issues/9456)) ([6ac4dc2](https://github.com/software-dov/python-api-core/commit/6ac4dc2277a624f7bfe104b6c93d905dd2119360)) +* update python contributing guide ([#147](https://github.com/software-dov/python-api-core/issues/147)) ([1d76b57](https://github.com/software-dov/python-api-core/commit/1d76b57d1f218f7885f85dc7c052bad1ad3857ac)) + ## [2.5.0](https://github.com/googleapis/python-api-core/compare/v2.4.0...v2.5.0) (2022-02-02) diff --git a/google/api_core/version.py b/google/api_core/version.py index 5836d805..a12de3d2 100644 --- a/google/api_core/version.py +++ b/google/api_core/version.py @@ -12,4 +12,4 @@ # See the License for the specific language governing permissions and # limitations under the License. -__version__ = "2.5.0" +__version__ = "2.0.0"