diff --git a/CHANGELOG.md b/CHANGELOG.md index 98a6b8d7..7ffdcae5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,188 @@ [1]: https://pypi.org/project/google-api-core/#history +## [2.0.0](https://github.com/googleapis/python-api-core/compare/v2.25.0...v2.0.0) (2025-05-30) + + +### ⚠ BREAKING CHANGES + +* drop support for Python 2.7 / 3.5 ([#212](https://github.com/googleapis/python-api-core/issues/212)) + +### Features + +* [CBT-6 helper] Exposing Retry._deadline as a property ([#20](https://github.com/googleapis/python-api-core/issues/20)) ([7be1e59](https://github.com/googleapis/python-api-core/commit/7be1e59e9d75c112f346d2b76dce3dd60e3584a1)) +* Add 'GoogleAPICallError.error_details' property ([#286](https://github.com/googleapis/python-api-core/issues/286)) ([ef6f0fc](https://github.com/googleapis/python-api-core/commit/ef6f0fcfdfe771172056e35e3c990998b3b00416)) +* Add 'strict' to flatten_query_params to lower-case bools ([#433](https://github.com/googleapis/python-api-core/issues/433)) ([83678e9](https://github.com/googleapis/python-api-core/commit/83678e94e1081f9087b19c43f26fad4774184d66)) +* Add a little bit of typing to google.api_core.retry ([#453](https://github.com/googleapis/python-api-core/issues/453)) ([2477ab9](https://github.com/googleapis/python-api-core/commit/2477ab9ea5c2e863a493fb7ebebaa429a44ea096)) +* Add api_key to client options ([#248](https://github.com/googleapis/python-api-core/issues/248)) ([5e5ad37](https://github.com/googleapis/python-api-core/commit/5e5ad37b8161109d65b0fab43636f7424e570fa3)) +* Add async unsupported paramater exception ([#694](https://github.com/googleapis/python-api-core/issues/694)) ([8c137fe](https://github.com/googleapis/python-api-core/commit/8c137feb6e880fdd93d1248d9b6c10002dc3c096)) +* Add attempt_direct_path argument to create_channel ([#583](https://github.com/googleapis/python-api-core/issues/583)) ([94726e7](https://github.com/googleapis/python-api-core/commit/94726e739698035b00667983f854c600252abd28)) +* Add automatic logging config to support debug logging ([#754](https://github.com/googleapis/python-api-core/issues/754)) ([d18d9b5](https://github.com/googleapis/python-api-core/commit/d18d9b5131162b44eebcc0859a7aca1198a2ac06)) +* Add caching to routing header calculation ([#526](https://github.com/googleapis/python-api-core/issues/526)) ([6251eab](https://github.com/googleapis/python-api-core/commit/6251eab3fca5f7e509cb9b6e476ce1184094b711)) +* Add client_encryped_cert_source to ClientOptions ([#31](https://github.com/googleapis/python-api-core/issues/31)) ([e4eaec0](https://github.com/googleapis/python-api-core/commit/e4eaec0ff255114138d3715280f86d34d861a6fa)) +* Add common logic for supporting universe domain ([#621](https://github.com/googleapis/python-api-core/issues/621)) ([94f2ca3](https://github.com/googleapis/python-api-core/commit/94f2ca3b4d094e6e10154634d3463d07ebea2035)) +* Add google.api_core.version_header ([#638](https://github.com/googleapis/python-api-core/issues/638)) ([a7b53e9](https://github.com/googleapis/python-api-core/commit/a7b53e9e9a7deb88baf92a2827958429e3677069)) +* Add grpc Compression argument to channels and methods ([#451](https://github.com/googleapis/python-api-core/issues/451)) ([bdebd63](https://github.com/googleapis/python-api-core/commit/bdebd6331f9c0d3d1a8ceaf274f07d2ed75bfe92)) +* Add grpc transcoding + tests ([#259](https://github.com/googleapis/python-api-core/issues/259)) ([afe0fa1](https://github.com/googleapis/python-api-core/commit/afe0fa14c21289c8244606a9f81544cff8ac5f7c)) +* Add helper function to format query_params for rest transport. ([#275](https://github.com/googleapis/python-api-core/issues/275)) ([1c5eb4d](https://github.com/googleapis/python-api-core/commit/1c5eb4df93d78e791082d9282330ebf0faacd222)) +* Add iterator capability to paged iterators ([#200](https://github.com/googleapis/python-api-core/issues/200)) ([3487d68](https://github.com/googleapis/python-api-core/commit/3487d68bdab6f20e2ab931c8283f63c94862cf31)) +* Add operations rest client to support long-running operations. ([#311](https://github.com/googleapis/python-api-core/issues/311)) ([ce1adf3](https://github.com/googleapis/python-api-core/commit/ce1adf395982ede157c0f25a920946bb52789873)) +* Add protobuf runtime version to `x-goog-api-client` header ([#812](https://github.com/googleapis/python-api-core/issues/812)) ([118bd96](https://github.com/googleapis/python-api-core/commit/118bd96f3907234351972409834ab5309cdfcee4)) +* Add Samples section to CONTRIBUTING.rst ([#229](https://github.com/googleapis/python-api-core/issues/229)) ([a12c051](https://github.com/googleapis/python-api-core/commit/a12c0516c42918b05415835029717814353b883b)) +* Add ServiceUnavailable exception to polling retries ([#184](https://github.com/googleapis/python-api-core/issues/184)) ([11032cf](https://github.com/googleapis/python-api-core/commit/11032cf08ecc16dd252a6cda8b33b0b28ec4f4ba)) +* Add support for 'error_info' ([#315](https://github.com/googleapis/python-api-core/issues/315)) ([cc46aa6](https://github.com/googleapis/python-api-core/commit/cc46aa68ec184871330d16a6c767f57a4f0eb633)) +* Add support for `rest/` token in `x-goog-api-client` header ([#189](https://github.com/googleapis/python-api-core/issues/189)) ([15aca6b](https://github.com/googleapis/python-api-core/commit/15aca6b288b2ec5ce0251e442e1dfa7f52e1b124)) +* Add support for asynchronous long running operations ([#724](https://github.com/googleapis/python-api-core/issues/724)) ([aaed69b](https://github.com/googleapis/python-api-core/commit/aaed69b6f1d694cd7e561e2aa03fdd8d6cfb369a)) +* Add support for asynchronous rest streaming ([#686](https://github.com/googleapis/python-api-core/issues/686)) ([1b7bb6d](https://github.com/googleapis/python-api-core/commit/1b7bb6d1b721e4ee1561e8e4a347846d7fdd7c27)) +* Add support for creating exceptions from an asynchronous response ([#688](https://github.com/googleapis/python-api-core/issues/688)) ([1c4b0d0](https://github.com/googleapis/python-api-core/commit/1c4b0d079f2103a7b5562371a7bd1ada92528de3)) +* Add support for Python 3.10 ([#284](https://github.com/googleapis/python-api-core/issues/284)) ([a422a5d](https://github.com/googleapis/python-api-core/commit/a422a5d72cb6f363d57e7a4effe421ba8e049cde)) +* Add support for Python 3.11 ([#466](https://github.com/googleapis/python-api-core/issues/466)) ([ff379e3](https://github.com/googleapis/python-api-core/commit/ff379e304c353bcab734e1c4706b74b356a1e932)) +* Add support for Python 3.12 ([#557](https://github.com/googleapis/python-api-core/issues/557)) ([091b4f1](https://github.com/googleapis/python-api-core/commit/091b4f1c7fcc59c3f2a02ee44fd3c30b78423f12)) +* Add support for python 3.13 ([#696](https://github.com/googleapis/python-api-core/issues/696)) ([46b3d3a](https://github.com/googleapis/python-api-core/commit/46b3d3abaa1bae28e9d788d7c3006224cd6f74d5)) +* Add support for Python 3.9 ([#111](https://github.com/googleapis/python-api-core/issues/111)) ([fdbed0f](https://github.com/googleapis/python-api-core/commit/fdbed0f0cbae8de21c73338a6817f8aa79cef4c9)) +* Add type annotations to wrapped grpc calls ([#554](https://github.com/googleapis/python-api-core/issues/554)) ([fc12b40](https://github.com/googleapis/python-api-core/commit/fc12b40bfc6e0c4bb313196e2e3a9c9374ce1c45)) +* Add universe_domain argument to ClientOptions ([3069ef4](https://github.com/googleapis/python-api-core/commit/3069ef4b9123ddb64841cbb7bbb183b53d502e0a)) +* Adds support for audience in client_options ([#379](https://github.com/googleapis/python-api-core/issues/379)) ([c97c498](https://github.com/googleapis/python-api-core/commit/c97c4980125a86f384cdf12720df7bb1a2adf9d2)) +* Adds support for audience in client_options. ([c97c498](https://github.com/googleapis/python-api-core/commit/c97c4980125a86f384cdf12720df7bb1a2adf9d2)) +* Allow credentials files to be passed for channel creation ([#50](https://github.com/googleapis/python-api-core/issues/50)) ([ded92d0](https://github.com/googleapis/python-api-core/commit/ded92d0acdcde4295d0e5df05fda0d83783a3991)) +* Allow default_host and default_scopes to be passed to create_channel ([#134](https://github.com/googleapis/python-api-core/issues/134)) ([94c76e0](https://github.com/googleapis/python-api-core/commit/94c76e0873e5b2f42331d5b1ad286c1e63b61395)) +* Allow disabling response stream pre-fetch ([#30](https://github.com/googleapis/python-api-core/issues/30)) ([74e0b0f](https://github.com/googleapis/python-api-core/commit/74e0b0f8387207933c120af15b2bb5d175dd8f84)) +* Allow gRPC metadata to be passed to operations client ([#127](https://github.com/googleapis/python-api-core/issues/127)) ([73854e8](https://github.com/googleapis/python-api-core/commit/73854e897b885e9be290f2676a8a1466b4f041e4)) +* Allow quota project to be passed to create_channel ([#58](https://github.com/googleapis/python-api-core/issues/58)) ([e2d9a7b](https://github.com/googleapis/python-api-core/commit/e2d9a7b209b7dfab300dc848fabbae8f42a2ab19)) +* Allow representing enums with their unqualified symbolic names in headers ([#465](https://github.com/googleapis/python-api-core/issues/465)) ([522b98e](https://github.com/googleapis/python-api-core/commit/522b98ecc1ebd1c2280d3d7c73a02f6e4fb528d4)) +* **api core:** Simplify from_rfc3339 methods ([#9641](https://github.com/googleapis/python-api-core/issues/9641)) ([74326f4](https://github.com/googleapis/python-api-core/commit/74326f4ef4f6697bad3251330c33c4464b8266f1)) +* **api_core:** Add retry param into PollingFuture() and it's inheritors ([#9923](https://github.com/googleapis/python-api-core/issues/9923)) ([14f1f34](https://github.com/googleapis/python-api-core/commit/14f1f34e013c90fed2da2918625083d299fda557)), closes [#6197](https://github.com/googleapis/python-api-core/issues/6197) +* **api_core:** Make the last retry happen at deadline ([#9873](https://github.com/googleapis/python-api-core/issues/9873)) ([52f12af](https://github.com/googleapis/python-api-core/commit/52f12af027568ddeae7fb6b1e3d2111cce1bac08)) +* **api_core:** Provide a 'raw_page' field for page_iterator.Page ([#9486](https://github.com/googleapis/python-api-core/issues/9486)) ([9230dd4](https://github.com/googleapis/python-api-core/commit/9230dd4b8ad9b457d53a6dd5fd353c780cc06ed5)) +* **api_core:** Support version 3 policy bindings ([#9869](https://github.com/googleapis/python-api-core/issues/9869)) ([fd47fda](https://github.com/googleapis/python-api-core/commit/fd47fda5e3f5eca63522c8d81cffa22bc2a29ab6)) +* **api-core:** Add client_cert_source to ClientOptions ([#17](https://github.com/googleapis/python-api-core/issues/17)) ([748c935](https://github.com/googleapis/python-api-core/commit/748c935d4cf03a1f04fba9139c3c3150fd694d88)) +* **api-core:** Pass retry from result() to done() ([#9](https://github.com/googleapis/python-api-core/issues/9)) ([6623b31](https://github.com/googleapis/python-api-core/commit/6623b31a2040b834be808d711fa397dc428f1837)) +* AsyncIO Integration [Part 2] ([#28](https://github.com/googleapis/python-api-core/issues/28)) ([dd9b2f3](https://github.com/googleapis/python-api-core/commit/dd9b2f38a70e85952cc05552ec8070cdf29ddbb4)), closes [#23](https://github.com/googleapis/python-api-core/issues/23) +* **client_options:** Add new client options 'quota_project_id', 'scopes', and 'credentials_file' ([a582936](https://github.com/googleapis/python-api-core/commit/a58293601d6da90c499d404e634a979a6cae9708)) +* Expose extra fields in ExtendedOperation ([#351](https://github.com/googleapis/python-api-core/issues/351)) ([9abc6f4](https://github.com/googleapis/python-api-core/commit/9abc6f48f23c87b9771dca3c96b4f6af39620a50)) +* First batch of AIO integration ([#26](https://github.com/googleapis/python-api-core/issues/26)) ([a82f289](https://github.com/googleapis/python-api-core/commit/a82f2892b8f219b82e120e6ed9f4070869c28be7)) +* HTTPIterator now accepts a page_size parameter to control page … ([#197](https://github.com/googleapis/python-api-core/issues/197)) ([a421913](https://github.com/googleapis/python-api-core/commit/a4219137a5bfcf2a6f44780ecdbf475c1129e461)) +* Initial support for Extended Operations ([#344](https://github.com/googleapis/python-api-core/issues/344)) ([021bb7d](https://github.com/googleapis/python-api-core/commit/021bb7d5bf0a1d8ac58dbf0c738fac309135ba7d)) +* Introduce compatibility with native namespace packages ([#561](https://github.com/googleapis/python-api-core/issues/561)) ([bd82827](https://github.com/googleapis/python-api-core/commit/bd82827108f1eeb6c05cfacf6c044b2afacc18a2)) +* Iterator for processing JSON responses in REST streaming. ([#317](https://github.com/googleapis/python-api-core/issues/317)) ([f9f2696](https://github.com/googleapis/python-api-core/commit/f9f26969842b456ea372bed941d712b7a9ab7239)) +* Make grpc transcode logic work in terms of protobuf python objects ([#428](https://github.com/googleapis/python-api-core/issues/428)) ([c3ad8ea](https://github.com/googleapis/python-api-core/commit/c3ad8ea67447e3d8a1154d7a9221e116f60d425a)) +* Migrate to pyproject.toml ([#736](https://github.com/googleapis/python-api-core/issues/736)) ([159e9a4](https://github.com/googleapis/python-api-core/commit/159e9a49525937f18a55c38136aae32575424d55)) +* Retry and retry_async support streaming rpcs ([#495](https://github.com/googleapis/python-api-core/issues/495)) ([17ff5f1](https://github.com/googleapis/python-api-core/commit/17ff5f1d83a9a6f50a0226fb0e794634bd584f17)) +* Retry google.auth TransportError and requests ConnectionError ([#178](https://github.com/googleapis/python-api-core/issues/178)) ([6ae04a8](https://github.com/googleapis/python-api-core/commit/6ae04a8d134fffe13f06081e15f9723c1b2ea334)) +* **storage:** Support optionsRequestedPolicyVersion ([#9989](https://github.com/googleapis/python-api-core/issues/9989)) ([17bbd63](https://github.com/googleapis/python-api-core/commit/17bbd63e0244d95d3a46710daf9a87ee6422028e)) +* Support dynamic retry backoff values ([#793](https://github.com/googleapis/python-api-core/issues/793)) ([70697a3](https://github.com/googleapis/python-api-core/commit/70697a3e39c389768e724fddacb3c9b97d609384)) +* Support with_call for wrapped rpcs ([#550](https://github.com/googleapis/python-api-core/issues/550)) ([01a57a7](https://github.com/googleapis/python-api-core/commit/01a57a745f4c8345c9c93412c27dd416b49f5953)) +* Third batch of AsyncIO integration ([#29](https://github.com/googleapis/python-api-core/issues/29)) ([7d8d580](https://github.com/googleapis/python-api-core/commit/7d8d58075a92e93662747d36a2d55b5e9f0943e1)) +* Update recognized logging fields ([#766](https://github.com/googleapis/python-api-core/issues/766)) ([5f80f77](https://github.com/googleapis/python-api-core/commit/5f80f778bc25d878b3187c6138077ad8c6bcd35f)) + + +### Bug Fixes + +* _determine_timeout problem handling float type timeout ([#64](https://github.com/googleapis/python-api-core/issues/64)) ([2010373](https://github.com/googleapis/python-api-core/commit/2010373b27536d1191175624b297a709d70153fa)) +* Add _registered_method to grpc ChannelStub ([#614](https://github.com/googleapis/python-api-core/issues/614)) ([5eaaea8](https://github.com/googleapis/python-api-core/commit/5eaaea8a989f8bdbdb5fbc95a155a20837c87f42)) +* Add 'requests.exceptions.ChunkedEncodingError' to retryable exceptions ([#237](https://github.com/googleapis/python-api-core/issues/237)) ([5e540f2](https://github.com/googleapis/python-api-core/commit/5e540f28493cc3e13260458a8d1c6a1abb2ed313)) +* Add actionable errors for GCE long running operations ([#498](https://github.com/googleapis/python-api-core/issues/498)) ([7dfc3a7](https://github.com/googleapis/python-api-core/commit/7dfc3a7a439243f05238a11b68a31720fde1769e)) +* Add more context to error message. ([#340](https://github.com/googleapis/python-api-core/issues/340)) ([0680fb4](https://github.com/googleapis/python-api-core/commit/0680fb4d3e013fe2de27e0a2ae2cd9896479e596)) +* Add mypy checking + 'py.typed' file ([#290](https://github.com/googleapis/python-api-core/issues/290)) ([0023ee1](https://github.com/googleapis/python-api-core/commit/0023ee1fe0e8b80c7a9e8987e0f322a829e5d613)) +* Add operation name to x-goog-request-params ([#133](https://github.com/googleapis/python-api-core/issues/133)) ([97cef4a](https://github.com/googleapis/python-api-core/commit/97cef4ad1db55938715f9ac8000d1b0ad1e71873)) +* Add operation name to x-goog-request-params in async client ([#137](https://github.com/googleapis/python-api-core/issues/137)) ([7271b23](https://github.com/googleapis/python-api-core/commit/7271b23afddb032e49e957525704d0cd5bfa4c65)) +* Add support for protobuf 5.x ([#644](https://github.com/googleapis/python-api-core/issues/644)) ([fda0ca6](https://github.com/googleapis/python-api-core/commit/fda0ca6f0664ac5044671591ed62618175a7393f)) +* Add type hints to ClientOptions ([#735](https://github.com/googleapis/python-api-core/issues/735)) ([b91ed19](https://github.com/googleapis/python-api-core/commit/b91ed19210148dfa49ec790c4dd5f4a7bff80954)) +* Add warning to retry target to avoid incorrect usage ([#543](https://github.com/googleapis/python-api-core/issues/543)) ([bfb40e6](https://github.com/googleapis/python-api-core/commit/bfb40e6929ef47be7a6464d2f1e0d06595736b8d)) +* Allow BackgroundConsumer To Inform Caller of Fatal Exceptions with Optional Callback ([#821](https://github.com/googleapis/python-api-core/issues/821)) ([3206c01](https://github.com/googleapis/python-api-core/commit/3206c0170dda80a613bf257ebcf3b78c1a20465f)) +* Allow grpc without grpcio-status ([#355](https://github.com/googleapis/python-api-core/issues/355)) ([112049e](https://github.com/googleapis/python-api-core/commit/112049e79f5a5b0a989d85d438a1bd29485f46f7)) +* **api_core:** Finalize during close of 'ResumableBidiRpc' ([#9337](https://github.com/googleapis/python-api-core/issues/9337)) ([ac8716d](https://github.com/googleapis/python-api-core/commit/ac8716d226e106625d82fd0cefc1cab1be1dc6be)) +* Avoid AttributeError if grpcio-status is not installed ([#370](https://github.com/googleapis/python-api-core/issues/370)) ([022add1](https://github.com/googleapis/python-api-core/commit/022add16266f9c07f0f88eea13472cc2e0bfc991)) +* Bigtable policy class to use Policy.bindings ([17bbd63](https://github.com/googleapis/python-api-core/commit/17bbd63e0244d95d3a46710daf9a87ee6422028e)) +* Bump grpcio version to use stable aio API ([#234](https://github.com/googleapis/python-api-core/issues/234)) ([bdbf889](https://github.com/googleapis/python-api-core/commit/bdbf889210b709d7c1945f2160bcba9161b4dd2e)) +* Bump up grpcio minimum version to 1.29.0 ([#41](https://github.com/googleapis/python-api-core/issues/41)) ([4b11422](https://github.com/googleapis/python-api-core/commit/4b114221b3ae01eee540bedf47381c3b7c214b0c)) +* Consume part of StreamingResponseIterator to support failure while under a retry context ([#10206](https://github.com/googleapis/python-api-core/issues/10206)) ([2b103b6](https://github.com/googleapis/python-api-core/commit/2b103b60ece16a1e1bc98cfda7ec375191a90f75)) +* **dependencies:** Increase protobuf version ([#49](https://github.com/googleapis/python-api-core/issues/49)) ([1ba6095](https://github.com/googleapis/python-api-core/commit/1ba609592968c9d828449b89a3ade3bcaf5edd7f)) +* **deps:** Allow protobuf < 5.0.0 ([#400](https://github.com/googleapis/python-api-core/issues/400)) ([8f73d2e](https://github.com/googleapis/python-api-core/commit/8f73d2ee2d3af2201f877aa7e2f7361147759dc7)) +* **deps:** Allow protobuf 3.19.5 ([#459](https://github.com/googleapis/python-api-core/issues/459)) ([e949364](https://github.com/googleapis/python-api-core/commit/e949364ce3a2c4c3cdb2658054d4793aa942d999)) +* **deps:** Allow protobuf 6.x ([#804](https://github.com/googleapis/python-api-core/issues/804)) ([687be7c](https://github.com/googleapis/python-api-core/commit/687be7cbf629a61feb43ef37d3d920fa32b2d636)) +* **deps:** Remove setuptools from dependencies ([#339](https://github.com/googleapis/python-api-core/issues/339)) ([c782f29](https://github.com/googleapis/python-api-core/commit/c782f294b50b078f01959627fb82aa4c5efec333)) +* **deps:** Require googleapis-common-protos >= 1.56.2 ([d84d66c](https://github.com/googleapis/python-api-core/commit/d84d66c2a4107f5f9a20c53e870a27fb1250ea3d)) +* **deps:** Require proto-plus >= 1.22.3 ([#626](https://github.com/googleapis/python-api-core/issues/626)) ([4fed37c](https://github.com/googleapis/python-api-core/commit/4fed37cbc32122f156e38250b5fa8b2b08a787a1)) +* **deps:** Require protobuf >= 3.20.1 ([8c19609](https://github.com/googleapis/python-api-core/commit/8c19609d6244930bd91fd5f40ef9b5b65584c4a5)) +* **deps:** Require protobuf>= 3.15.0, <4.0.0dev ([#385](https://github.com/googleapis/python-api-core/issues/385)) ([d84d66c](https://github.com/googleapis/python-api-core/commit/d84d66c2a4107f5f9a20c53e870a27fb1250ea3d)) +* **deps:** Require six >= 1.13.0 ([#78](https://github.com/googleapis/python-api-core/issues/78)) ([a7a8b98](https://github.com/googleapis/python-api-core/commit/a7a8b98602a3eb277fdc607ac69f3bcb147f3351)) +* Do not error on LROs with no response or error ([#258](https://github.com/googleapis/python-api-core/issues/258)) ([618f192](https://github.com/googleapis/python-api-core/commit/618f19201af729205892fcecd9c8e315ba3174a3)) +* Drop support for grpc-gcp ([#401](https://github.com/googleapis/python-api-core/issues/401)) ([5da6733](https://github.com/googleapis/python-api-core/commit/5da6733a475c436efc11b14889af73b3a0e20379)) +* Drop support for Python 2.7 / 3.5 ([#212](https://github.com/googleapis/python-api-core/issues/212)) ([a30f004](https://github.com/googleapis/python-api-core/commit/a30f004e74f709d46e905dd819c71f43354e9ac9)) +* Drop usage of distutils ([#541](https://github.com/googleapis/python-api-core/issues/541)) ([4bd9e10](https://github.com/googleapis/python-api-core/commit/4bd9e10f20eea227c88e3e1496010cca6dd8a270)) +* Ensure exception is available when BackgroundConsumer open stream fails ([#357](https://github.com/googleapis/python-api-core/issues/357)) ([405272c](https://github.com/googleapis/python-api-core/commit/405272c05f8c6d20e242c6172b01f78f0fd3bf32)) +* Exclude function target from retry deadline exceeded exception message ([#318](https://github.com/googleapis/python-api-core/issues/318)) ([34ebdcc](https://github.com/googleapis/python-api-core/commit/34ebdcc251d4f3d7d496e8e0b78847645a06650b)) +* Fail gracefully if could not import `rpc_status` module ([#680](https://github.com/googleapis/python-api-core/issues/680)) ([7ccbf57](https://github.com/googleapis/python-api-core/commit/7ccbf5738fa236649f9a155055c71789362b5c4c)) +* Fix broken import for google.api_core.retry_async.AsyncRetry ([#587](https://github.com/googleapis/python-api-core/issues/587)) ([ac012c0](https://github.com/googleapis/python-api-core/commit/ac012c04c69b8bbe72962f0d0d9e9536c0b4a524)) +* Fix regression in `bidi` causing `Thread-ConsumeBidirectionalStream caught unexpected exception and will exit` ([#562](https://github.com/googleapis/python-api-core/issues/562)) ([40c8ae0](https://github.com/googleapis/python-api-core/commit/40c8ae0cf1f797e31e106461164e22db4fb2d3d9)) +* Handle bare 'grpc.Call' in 'from_grpc_error' ([#298](https://github.com/googleapis/python-api-core/issues/298)) ([060b339](https://github.com/googleapis/python-api-core/commit/060b339e3af296dd1772bfc1b4a0d2b4264cae1f)) +* Harden install to use full paths, and windows separators on windows ([#88](https://github.com/googleapis/python-api-core/issues/88)) ([db8e636](https://github.com/googleapis/python-api-core/commit/db8e636f545a8872f959e3f403cfec30ffed6c34)) +* Ignore unknown fields in rest streaming. ([#651](https://github.com/googleapis/python-api-core/issues/651)) ([1203fb9](https://github.com/googleapis/python-api-core/commit/1203fb97d2685535f89113e944c4764c1deb595e)) +* Improve `Any` decode error ([#712](https://github.com/googleapis/python-api-core/issues/712)) ([0d5ed37](https://github.com/googleapis/python-api-core/commit/0d5ed37c96f9b40bccae98e228163a88abeb1763)) +* Improve transcoding error message ([#442](https://github.com/googleapis/python-api-core/issues/442)) ([538df80](https://github.com/googleapis/python-api-core/commit/538df80ed6d21f43b512a73853935f7a7b9bdf52)) +* Invalid `dev` version identifiers in `setup.py` ([#505](https://github.com/googleapis/python-api-core/issues/505)) ([8844edb](https://github.com/googleapis/python-api-core/commit/8844edb1e802040810918a12bc9ff89104da38d4)) +* Major refactoring of Polling, Retry and Timeout logic ([#462](https://github.com/googleapis/python-api-core/issues/462)) ([434253d](https://github.com/googleapis/python-api-core/commit/434253de16d9efdf984ddb64c409706cda1d5f82)) +* Make 'gapic_v1.method.DEFAULT' a typed object ([#292](https://github.com/googleapis/python-api-core/issues/292)) ([ffc51f0](https://github.com/googleapis/python-api-core/commit/ffc51f03c7ce5d9f009ba859b8df385d52925578)) +* Map LRO errors to library exception types ([#86](https://github.com/googleapis/python-api-core/issues/86)) ([a855339](https://github.com/googleapis/python-api-core/commit/a85533903c57be4809fe76435e298409e0903931)) +* Memory leak in bidi classes ([#770](https://github.com/googleapis/python-api-core/issues/770)) ([c1b8afa](https://github.com/googleapis/python-api-core/commit/c1b8afa4e2abe256e70651defccdc285f104ed19)) +* Only add quota project id if supported ([#75](https://github.com/googleapis/python-api-core/issues/75)) ([8f8ee78](https://github.com/googleapis/python-api-core/commit/8f8ee7879e4f834f3c676e535ffc41b5b9b2de62)) +* Remove dependency on pkg_resources ([#361](https://github.com/googleapis/python-api-core/issues/361)) ([523dbd0](https://github.com/googleapis/python-api-core/commit/523dbd0b10d37ffcf83fa751f0bad313f162abf1)) +* Remove py2 tag from wheel ([#343](https://github.com/googleapis/python-api-core/issues/343)) ([7e21e9e](https://github.com/googleapis/python-api-core/commit/7e21e9e34892472a34f9b44175fa761f0e3fd9ed)) +* Replace deprecated `datetime.datetime.utcnow()` ([#552](https://github.com/googleapis/python-api-core/issues/552)) ([448923a](https://github.com/googleapis/python-api-core/commit/448923acf277a70e8704c949311bf4feaef8cab6)), closes [#540](https://github.com/googleapis/python-api-core/issues/540) +* Require google-auth >= 2.14.1 ([#463](https://github.com/googleapis/python-api-core/issues/463)) ([7cc329f](https://github.com/googleapis/python-api-core/commit/7cc329fe1498b0a4285123448e4ea80c6a780d47)) +* Require google-auth>=1.25.0 ([#190](https://github.com/googleapis/python-api-core/issues/190)) ([155da5e](https://github.com/googleapis/python-api-core/commit/155da5e18cc2fdcfa57de6f956b7d078e79cd4b7)) +* Require proto-plus >= 1.25.0 for Python 3.13 ([#740](https://github.com/googleapis/python-api-core/issues/740)) ([a26313e](https://github.com/googleapis/python-api-core/commit/a26313e1cb12e44aa498f12622edccc0c83ba0c3)) +* Require python 3.7+ ([#410](https://github.com/googleapis/python-api-core/issues/410)) ([7ddb8c0](https://github.com/googleapis/python-api-core/commit/7ddb8c00e6be7ab6905a9a802ad1c3063fbfa46c)) +* Resolve issue handling protobuf responses in rest streaming ([#604](https://github.com/googleapis/python-api-core/issues/604)) ([bcebc92](https://github.com/googleapis/python-api-core/commit/bcebc92eca69dae81c5e546d526c92b164a6b3b4)) +* Resolve issue where pre-release versions of dependencies are installed ([#808](https://github.com/googleapis/python-api-core/issues/808)) ([1ca7973](https://github.com/googleapis/python-api-core/commit/1ca7973a395099403be1a99c7c4583a8f22d5d8e)) +* Resolve the issue where rpc timeout of 0 is used when timeout expires ([#776](https://github.com/googleapis/python-api-core/issues/776)) ([a5604a5](https://github.com/googleapis/python-api-core/commit/a5604a55070c6d92618d078191bf99f4c168d5f6)) +* Restore support for grpcio-gcp ([#418](https://github.com/googleapis/python-api-core/issues/418)) ([8c19609](https://github.com/googleapis/python-api-core/commit/8c19609d6244930bd91fd5f40ef9b5b65584c4a5)) +* Retry constructors methods support None ([#592](https://github.com/googleapis/python-api-core/issues/592)) ([416203c](https://github.com/googleapis/python-api-core/commit/416203c1888934670bfeccafe5f5469f87314512)) +* Revert "fix: do not error on LROs with no response or error" ([#294](https://github.com/googleapis/python-api-core/issues/294)) ([9e6091e](https://github.com/googleapis/python-api-core/commit/9e6091ee59a30e72a6278b369f6a08e7aef32f22)) +* Save empty IAM policy bindings ([#155](https://github.com/googleapis/python-api-core/issues/155)) ([536c2ca](https://github.com/googleapis/python-api-core/commit/536c2cad814b8fa8cd346a3d7bd5f6b9889c4a6f)) +* Set chunk size for async stream content ([#702](https://github.com/googleapis/python-api-core/issues/702)) ([45b8a6d](https://github.com/googleapis/python-api-core/commit/45b8a6db5a5c75acdd8be896d0152f11608c7e51)) +* Skip empty policy bindings in `len()` and `iter()` ([#159](https://github.com/googleapis/python-api-core/issues/159)) ([9eaa786](https://github.com/googleapis/python-api-core/commit/9eaa7868164a7e98792de24d2be97f79fba22322)) +* Spelling error `a,out` -> `amount` ([#596](https://github.com/googleapis/python-api-core/issues/596)) ([88688b1](https://github.com/googleapis/python-api-core/commit/88688b1625c4dab0df6124a0560f550eb322500f)) +* Strip trailing _ from field mask paths ([#228](https://github.com/googleapis/python-api-core/issues/228)) ([ff6ef1b](https://github.com/googleapis/python-api-core/commit/ff6ef1bd07fa68307b7c82c910416d770e7b3416)) +* Support 'retry' for ops built from HTTP/gRPC responses ([#115](https://github.com/googleapis/python-api-core/issues/115)) ([7a38243](https://github.com/googleapis/python-api-core/commit/7a38243c351b228d103eee81fc5ae521ad1c930e)) +* Switch to unittest.mock from mock ([#713](https://github.com/googleapis/python-api-core/issues/713)) ([8c53381](https://github.com/googleapis/python-api-core/commit/8c533819b7e212aa2f1d695a7ce08629f4fb2daf)) +* **tests:** Change version to make existing tests pass ([17bbd63](https://github.com/googleapis/python-api-core/commit/17bbd63e0244d95d3a46710daf9a87ee6422028e)) +* Undprecate entity factory helpers ([#101](https://github.com/googleapis/python-api-core/issues/101)) ([1fbee03](https://github.com/googleapis/python-api-core/commit/1fbee03495a136eef3d6aaa5ea0aadd6e4b58e8b)), closes [#100](https://github.com/googleapis/python-api-core/issues/100) +* Update async client to use async retry ([#544](https://github.com/googleapis/python-api-core/issues/544)) ([f21bb32](https://github.com/googleapis/python-api-core/commit/f21bb32b8e6310116a642a6e6b6dd8e44e30e656)) +* Update out-of-date comment in exceptions.py ([#93](https://github.com/googleapis/python-api-core/issues/93)) ([70ebe42](https://github.com/googleapis/python-api-core/commit/70ebe42601b3d088b3421233ef7d8245229b7265)) +* Use version.py instead of pkg_resources.get_distribution ([#80](https://github.com/googleapis/python-api-core/issues/80)) ([d480d97](https://github.com/googleapis/python-api-core/commit/d480d97e41cd6705325b3b649360553a83c23f47)) + + +### Documentation + +* About of time -> amount of time ([#9052](https://github.com/googleapis/python-api-core/issues/9052)) ([92840f1](https://github.com/googleapis/python-api-core/commit/92840f1a1588afed74acb4d47938024152f91de0)) +* Add a note that grpcio-gcp is only supported in environments with protobuf < 4.x.x ([8c19609](https://github.com/googleapis/python-api-core/commit/8c19609d6244930bd91fd5f40ef9b5b65584c4a5)) +* Add python 2 sunset banner to documentation ([#9036](https://github.com/googleapis/python-api-core/issues/9036)) ([0f6ad2a](https://github.com/googleapis/python-api-core/commit/0f6ad2a13ad633622c1a3881c597ac1e5c51faf5)) +* Add warnings regarding consuming externally sourced credentials ([#783](https://github.com/googleapis/python-api-core/issues/783)) ([0ec1825](https://github.com/googleapis/python-api-core/commit/0ec18254b90721684679a98bcacef4615467a227)) +* Change the documentation for using 'six.moves.collections_abc.Mapping' instead of 'dict' in 'client_options.from_dict()' ([#53](https://github.com/googleapis/python-api-core/issues/53)) ([c890675](https://github.com/googleapis/python-api-core/commit/c890675dc9ebc084f105be81dc81c048f4f599ea)) +* Explain how to create credentials from dict ([#109](https://github.com/googleapis/python-api-core/issues/109)) ([5dce6d6](https://github.com/googleapis/python-api-core/commit/5dce6d61e7324a415c1b3ceaeec1ce1b5f1ea189)) +* Fix a typo in google/api_core/page_iterator.py ([#511](https://github.com/googleapis/python-api-core/issues/511)) ([c0ce73c](https://github.com/googleapis/python-api-core/commit/c0ce73c4de53ad694fe36d17408998aa1230398f)) +* Fix broken links in multiprocessing.rst ([#195](https://github.com/googleapis/python-api-core/issues/195)) ([8d8bc51](https://github.com/googleapis/python-api-core/commit/8d8bc5150ee5543b4aeb2c271da034a5305d1436)) +* Fix changelog header to consistent size ([#394](https://github.com/googleapis/python-api-core/issues/394)) ([ac266e9](https://github.com/googleapis/python-api-core/commit/ac266e935bc4e7c6dff250384407e7a60d8dba90)) +* Fix intersphinx reference to requests ([#9294](https://github.com/googleapis/python-api-core/issues/9294)) ([8c74e9c](https://github.com/googleapis/python-api-core/commit/8c74e9cc74d8d5923eb28198b9db2ea7171fb6f1)) +* Fix spelling errors for amount in retry ([#69](https://github.com/googleapis/python-api-core/issues/69)) ([7bb713d](https://github.com/googleapis/python-api-core/commit/7bb713d13b1fe3cca58263f5e499136a84abc456)) +* Fix spelling errors in retry ([#131](https://github.com/googleapis/python-api-core/issues/131)) ([232dab0](https://github.com/googleapis/python-api-core/commit/232dab0ad3ef2cca0edfe707d8f90ca0ea200ba2)) +* Fix typo in library name ([#332](https://github.com/googleapis/python-api-core/issues/332)) ([f267111](https://github.com/googleapis/python-api-core/commit/f267111823545a6c67ef5f10b85cd8c2fab8a612)) +* Fix typo in the BackgroundConsumer docstring ([#395](https://github.com/googleapis/python-api-core/issues/395)) ([0eb727f](https://github.com/googleapis/python-api-core/commit/0eb727f92314db3c4383754514f75a49ba02e27b)) +* **python:** Document adding Python 3.9 support, dropping 3.5 support ([#120](https://github.com/googleapis/python-api-core/issues/120)) ([b51b7f5](https://github.com/googleapis/python-api-core/commit/b51b7f587042fe9340371c1b5c8e9adf8001c43a)), closes [#787](https://github.com/googleapis/python-api-core/issues/787) +* Raise DeprecationWarning when 'grpcio-gcp' is used ([8c19609](https://github.com/googleapis/python-api-core/commit/8c19609d6244930bd91fd5f40ef9b5b65584c4a5)) +* Remove CI for gh-pages, use googleapis.dev for api_core refs. ([#9085](https://github.com/googleapis/python-api-core/issues/9085)) ([c38f2e4](https://github.com/googleapis/python-api-core/commit/c38f2e4920cd46af0ebfca861da45a7fe5b1571d)) +* Remove references to the old authentication credentials ([#9456](https://github.com/googleapis/python-api-core/issues/9456)) ([6ac4dc2](https://github.com/googleapis/python-api-core/commit/6ac4dc2277a624f7bfe104b6c93d905dd2119360)) +* Update python contributing guide ([#147](https://github.com/googleapis/python-api-core/issues/147)) ([1d76b57](https://github.com/googleapis/python-api-core/commit/1d76b57d1f218f7885f85dc7c052bad1ad3857ac)) + + +### Miscellaneous Chores + +* Force next release to 1.25.0 ([#126](https://github.com/googleapis/python-api-core/issues/126)) ([abc3d88](https://github.com/googleapis/python-api-core/commit/abc3d88466a1e55cf459e6c78a6fb7343a29df6f)) +* Release 1.28.0 ([#192](https://github.com/googleapis/python-api-core/issues/192)) ([11b5da4](https://github.com/googleapis/python-api-core/commit/11b5da426a842541ca2b861d3387fc312b3f5b60)) +* Release as 1.31.1 ([#239](https://github.com/googleapis/python-api-core/issues/239)) ([47d04cd](https://github.com/googleapis/python-api-core/commit/47d04cd0aebcd9f4a26c22a384de489da7b74430)) + ## [2.25.0](https://github.com/googleapis/python-api-core/compare/v2.24.2...v2.25.0) (2025-05-06) diff --git a/google/api_core/version.py b/google/api_core/version.py index f882cac3..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.25.0" +__version__ = "2.0.0"