2.24.0 (2024-12-06)
- Add automatic logging config to support debug logging (#754) (d18d9b5)
- Update recognized logging fields (#766) (5f80f77)
2.23.0 (2024-11-11)
2.22.0 (2024-10-25)
- Add type hints to ClientOptions (#735) (b91ed19)
- Improve
Any
decode error (#712) (0d5ed37) - Require proto-plus >= 1.25.0 for Python 3.13 (#740) (a26313e)
- Switch to unittest.mock from mock (#713) (8c53381)
2.21.0 (2024-10-07)
2.20.0 (2024-09-18)
- Add async unsupported paramater exception (#694) (8c137fe)
- Add support for asynchronous rest streaming (#686) (1b7bb6d)
- Add support for creating exceptions from an asynchronous response (#688) (1c4b0d0)
2.19.2 (2024-08-16)
2.19.1 (2024-06-19)
- Add support for protobuf 5.x (#644) (fda0ca6)
- Ignore unknown fields in rest streaming. (#651) (1203fb9)
2.19.0 (2024-04-29)
2.18.0 (2024-03-20)
- Add _registered_method to grpc ChannelStub (#614) (5eaaea8)
- deps: Require proto-plus >= 1.22.3 (#626) (4fed37c)
2.17.1 (2024-02-13)
2.17.0 (2024-02-06)
2.16.2 (2024-02-02)
2.16.1 (2024-01-30)
2.16.0 (2024-01-29)
2.15.0 (2023-12-07)
- Add support for Python 3.12 (#557) (091b4f1)
- Add type annotations to wrapped grpc calls (#554) (fc12b40)
- Add universe_domain argument to ClientOptions (3069ef4)
- Introduce compatibility with native namespace packages (#561) (bd82827)
- Fix regression in
bidi
causingThread-ConsumeBidirectionalStream caught unexpected exception and will exit
(#562) (40c8ae0) - Replace deprecated
datetime.datetime.utcnow()
(#552) (448923a), closes #540
2.14.0 (2023-11-09)
2.13.1 (2023-11-09)
2.13.0 (2023-11-03)
- Add warning to retry target to avoid incorrect usage (#543) (bfb40e6)
- Drop usage of distutils (#541) (4bd9e10)
- Ensure exception is available when BackgroundConsumer open stream fails (#357) (405272c)
2.12.0 (2023-09-07)
- Add a little bit of typing to google.api_core.retry (#453) (2477ab9)
- Add grpc Compression argument to channels and methods (#451) (bdebd63)
2.11.1 (2023-06-12)
- Add actionable errors for GCE long running operations (#498) (7dfc3a7)
- Invalid
dev
version identifiers insetup.py
(#505) (8844edb)
2.11.0 (2022-11-10)
- Add support for Python 3.11 (#466) (ff379e3)
- Allow representing enums with their unqualified symbolic names in headers (#465) (522b98e)
- Major refactoring of Polling, Retry and Timeout logic (#462) (434253d)
- Require google-auth >= 2.14.1 (#463) (7cc329f)
2.10.2 (2022-10-08)
2.10.1 (2022-09-14)
2.10.0 (2022-09-02)
2.9.0 (2022-09-01)
2.8.2 (2022-06-13)
- fix changelog header to consistent size (#394) (ac266e9)
- Fix typo in the BackgroundConsumer docstring (#395) (0eb727f)
2.8.1 (2022-05-26)
- deps: require googleapis-common-protos >= 1.56.2 (d84d66c)
- deps: require protobuf>= 3.15.0, <4.0.0dev (#385) (d84d66c)
2.8.0 (2022-05-18)
- adds support for audience in client_options (#379) (c97c498)
- adds support for audience in client_options. (c97c498)
2.7.3 (2022-04-29)
2.7.2 (2022-04-13)
- allow grpc without grpcio-status (#355) (112049e)
- remove dependency on pkg_resources (#361) (523dbd0)
2.7.1 (2022-03-09)
2.7.0 (2022-03-08)
2.6.1 (2022-03-05)
2.6.0 (2022-03-03)
2.5.0 (2022-02-02)
2.4.0 (2022-01-11)
- add support for 'error_info' (#315) (cc46aa6)
- iterator for processing JSON responses in REST streaming. (#317) (f9f2696)
2.3.2 (2021-12-16)
- address broken wheels in version 2.3.1
2.3.1 (2021-12-15)
2.3.0 (2021-11-25)
2.2.2 (2021-11-02)
2.2.1 (2021-10-26)
2.2.0 (2021-10-25)
2.1.1 (2021-10-13)
2.1.0 (2021-10-05)
- add grpc transcoding + tests (#259) (afe0fa1)
- Add helper function to format query_params for rest transport. (#275) (1c5eb4d)
- add support for Python 3.10 (#284) (a422a5d)
2.0.1 (2021-08-31)
2.0.0 (2021-08-18)
- bump grpcio version to use stable aio API (#234) (bdbf889)
- strip trailing _ from field mask paths (#228) (ff6ef1b)
2.0.0b1 (2021-08-03)
1.31.1 (2021-07-26)
1.31.0 (2021-07-07)
1.30.0 (2021-06-08)
1.29.0 (2021-06-02)
1.28.0 (2021-05-20)
1.27.0 (2021-05-18)
- Add support for
rest/
token inx-goog-api-client
header (#189) (15aca6b) - retry google.auth TransportError and requests ConnectionError (#178) (6ae04a8)
1.26.3 (2021-03-25)
1.26.2 (2021-03-23)
1.26.1 (2021-02-12)
1.26.0 (2021-02-08)
1.25.1 (2021-01-25)
1.25.0 (2021-01-14)
1.24.1 (2020-12-16)
1.24.0 (2020-12-14)
1.23.0 (2020-10-16)
- map LRO errors to library exception types (#86) (a855339), closes #15
- harden install to use full paths, and windows separators on windows (#88) (db8e636)
- update out-of-date comment in exceptions.py (#93) (70ebe42)
1.22.4 (2020-10-05)
1.22.3 (2020-10-02)
- deps: require six >= 1.13.0 (#78) (a7a8b98), closes /github.com/benjaminp/six/blob/c0be8815d13df45b6ae471c4c436cce8c192245d/CHANGES#L30-L31
1.22.2 (2020-09-03)
1.22.1 (2020-08-12)
1.22.0 (2020-07-21)
- change the documentation for using 'six.moves.collections_abc.Mapping' instead of 'dict' in 'client_options.from_dict()' (#53) (c890675)
1.21.0 (2020-06-18)
1.20.1 (2020-06-16)
1.20.0 (2020-06-09)
1.19.1 (2020-06-06)
1.19.0 (2020-06-05)
- client_options: add new client options 'quota_project_id', 'scopes', and 'credentials_file' (a582936)
1.18.0 (2020-06-04)
- [CBT-6 helper] Exposing Retry._deadline as a property (#20) (7be1e59)
- add client_encryped_cert_source to ClientOptions (#31) (e4eaec0)
- AsyncIO Integration [Part 2] (#28) (dd9b2f3), closes #23
- First batch of AIO integration (#26) (a82f289)
- third batch of AsyncIO integration (#29) (7d8d580)
1.17.0 (2020-04-14)
- api_core: add retry param into PollingFuture() and it's inheritors (#9923) (14f1f34), closes #6197
- api-core: add client_cert_source to ClientOptions (#17) (748c935)
- consume part of StreamingResponseIterator to support failure while under a retry context (#10206) (2b103b6)
01-13-2020 14:19 PST
- feat(storage): support optionsRequestedPolicyVersion (#9989)
- feat(api_core): support version 3 policy bindings (#9869)
12-16-2019 15:27 PST
- Make the last retry happen at deadline. (#9873)
- Add a repr method for ClientOptions. (#9849)
- Simplify
from_rfc3339
methods. (#9641) - Provide a
raw_page
field forpage_iterator.Page
. (#9486)
- Add Python 2 sunset banner to documentation. (#9036)
- Remove references to the old authentication credentials. (#9456)
10-07-2019 10:35 PDT
- Finalize during close of 'ResumableBidiRpc' (#9337)
- add on_error to Retry.init (#8892)
- Fix race in 'BackgroundConsumer._thread_main'. (#8883)
- Fix intersphinx reference to requests (#9294)
- Fix broken links in docs. (#9148)
- About of time -> amount of time (#9052)
- Remove compatability badges from READMEs. (#9035)
- Remove CI for gh-pages, use googleapis.dev for api_core refs. (#9085)
07-30-2019 14:08 PDT
- Add client_options documentation. (#8834)
07-30-2019 12:24 PDT
- Remove error log entry on clean BiDi shutdown. (#8806)
- Forward 'timeout' arg from 'exception' to
_blocking_poll
. (#8735)
- Update intersphinx mapping for requests. (#8805)
- Link to googleapis.dev documentation in READMEs. (#8705)
07-17-2019 13:16 PDT
- Firestore: Add
should_terminate
predicate for clean BiDi shutdown. (#8650)
- Update pins of 'googleapis-common-protos. (#8688)
- Add compatibility check badges to READMEs. (#8288)
- All: Add docs job to publish to googleapis.dev. (#8464)
06-24-2019 10:34 PDT
- Add
client_options.ClientOptions
object. (#8265)
06-18-2019 12:37 PDT
- Add Throttling to Bidi Reopening. Mitigates ResumableBidiRpc consuming 100% CPU (#8193)
05-28-2019 11:19 PDT
- Classify 503 Service Unavailable errors as transient. (#8182)
- Pin
grpcio < 2.0dev
. (#8182)
- Add parameterized test for
from_rfc3339
with nanos (#7675) - Unbreak pytype by silencing a false positive. (#8106)
05-15-2019 10:29 PDT
- Refactor 'client_info' support. (#7849)
04-29-2019 10:12 PDT
- Append leading zeros for nanosecond precision DateTimes (#7663)
- Add
user_agent
property toClientInfo
(#7799)
04-05-2019 10:38 PDT
- Allow passing metadata as part of creating a bidi (#7514)
- Update setup.py
- API Core: specify a pytype output directory in setup.cfg. (#7639)
03-22-2019 16:27 PDT
- Remove classifier for Python 3.4 for end-of-life. (#7535)
- When re-opening a
ResumableBidiRPC
set_request_queue_generator
toNone
. (#7548)
03-12-2019 12:45 PDT
- Protect the creation of a background thread in BackgroundConsumer and wait on it starting. (#7499)
02-23-2019 15:46 PST
- Updated client library documentation URLs. (#7307)
- Fix new lint failure. (#7382)
12-17-2018 13:56 PST
- Support converting
DatetimeWithNanos
to / fromgoogle.protobuf.timestamp_pb2.Timestamp
. (#6919)
- Work around pytype big for
ABCMeta.register
. (#6873)
11-30-2018 12:45 PST
- Import stdlib ABCs from 'collections.abc' rather than 'collections'. (#6451)
- Fix typo (#6532)
- blacken api_core and core (#6668)
11-09-2018 14:22 PST
- Retry transient errors in 'PollingFuture.result'. (#6305)
- Remove hyphen from named extra in api_core. (#6468)
- Bump minimum 'api_core' version for all GAPIC libs to 1.4.1. (#6391)
- Avoid broken 'google-common-apis 1.5.4' release. (#6355)
10-29-2018 13:29 PDT
- Don't URL-encode slashes in gRPC request headers. (#6310)
- Add bidi, Bidirection Streaming, to api-core (#6211)
- Use new Nox (#6175)
- Pin minimum protobuf dependency to 3.4.0. (#6132)
- Add type-checking via pytype to api_core. (#6116)
- Add support for gRPC connection management (available when using optional grpc_gcp dependency) (#5553) (#5904)
- Update classifiers to drop Python 3.4 and add Python 3.7 (#5702)
- Add protobuf_helpers.field_mask to calculate a field mask from two messages (#5320)
- Make client_info work without gRPC installed. (#5075)
- Rename
x-goog-header-params
tox-goog-request-params
(#5495)
- Add close method to grpc Channel (#5333)
- Fix tests after grpcio update (#5333)
- Add Test runs for Python 3.7 and remove 3.4 (#5295)
- Update setuptools before packaging (#5265)
- Use
install_requires
for platform dependencies instead ofextras_require
(#4991) - Update trove classifer to '5 - Production/Stable'
- Add
datetime_helpers.DatetimeWithNanoSeconds
(#4979)
- Use a class to wrap grpc streaming errors instead of monkey-patching (#4995)
This is the stable v1.0.0 release of google-api-core for Python. Releases after this will not contain breaking changes.
- Made
api_core.page_iterator.PageIterator.item_to_value
public - Added ability to specify retry for
Operation
andpolling.Future
. (#4922)
- Add
ChannelStub
togrpc_helpers
for testing gRPC-based clients. (#4705)
- Fix handling of gapic metadata when specified as
None
. (#4701)
- Apply scopes to explicitly provided credentials if needed (#4594).
- Removing
google.api_core.gapic_v1.method.METRICS_METADATA_KEY
. It can be accessed viagoogle.api_core.gapic_v1.client_info.METRICS_METADATA_KEY
(#4588).
PyPI: https://pypi.org/project/google-api-core/0.1.3/
- Upgrading
concurrent.futures
backport from>= 3.0.0
to>= 3.2.0
(#4521). - Moved
datetime
-related helpers fromgoogle.cloud.core
togoogle.api_core.datetime_helpers
(#4399). - Added missing
client_info
togapic_v1/__init__.py
's__all__
(#4567). - Added helpers for routing headers to
gapic_v1
(#4336).
PyPI: https://pypi.org/project/google-api-core/0.1.2/
- Upgrading
grpcio
dependency from1.2.0, < 1.6dev
to>= 1.7.0
(#4280)
PyPI: https://pypi.org/project/google-api-core/0.1.1/
Initial release
Prior to being separated, this package was developed in google-cloud-core
, so
relevant changes from that package are included here.
- Add google.api.core.gapic_v1.config (#4022)
- Add google.api.core.helpers.grpc_helpers (#4041)
- Add google.api.core.gapic_v1.method (#4057)
- Add wrap_with_paging (#4067)
- Add grpc_helpers.create_channel (#4069)
- Add DEFAULT sentinel for gapic_v1.method (#4079)
- Remove
googleapis-common-protos
from deps in non-core
packages. (#4098) - Add google.api.core.operations_v1 (#4081)
- Fix test assertion in test_wrap_method_with_overriding_retry_deadline (#4131)
- Add google.api.core.helpers.general_helpers.wraps (#4166)
- Update Docs with Python Setup Guide (#4187)
- Move modules in google.api.core.helpers up one level, delete google.api.core.helpers. (#4196)
- Clarify that PollingFuture timeout is in seconds. (#4201)
- Add api_core package (#4210)
- Replace usage of google.api.core with google.api_core (#4221)
- Add google.api_core.gapic_v2.client_info (#4225)
- Fix how api_core.operation populates exception errors (#4231)
- Fix bare except (#4250)
- Fix parsing of API errors with Unicode err message (#4251)
- Port gax proto helper methods (#4249)
- Remove gapic_v1.method.wrap_with_paging (#4257)
- Add final set of protobuf helpers to api_core (#4259)