Changelog¶
3.11.3 (2024-10-15)¶
Bug Fixes¶
3.11.2 (2024-08-15)¶
Bug Fixes¶
3.11.1 (2024-08-06)¶
Bug Fixes¶
3.11.0 (2024-07-15)¶
Features¶
Bug Fixes¶
Documentation¶
3.10.0 (2024-03-13)¶
Features¶
Bug Fixes¶
Added placeholder kwargs to StructuredLogHandler (#845) (9bc0a37)
Allowed for a partial override of loggers that get excluded from setup_client (#831) (870c940)
Remove usage in including_default_value_fields to prepare for protobuf 5.x (#866) (66a534d)
Use value of cluster-location in GKE for tagging location (#830) (c15847c)
Documentation¶
3.9.0 (2023-12-08)¶
Features¶
Bug Fixes¶
Fixed DeprecationWarning for datetime objects for Python 3.12 (#824) (2384981)
Fixed object paths in autogenerated code in owlbot.py (#804) (b14bb14)
Updated protobuf JSON formatting to support nested protobufs (#797) (a00c261)
Use
retry_async
instead ofretry
in async client (#816) (c79f7f5)Use warning instead of warn in system tests to avoid DeprecationWarning (#821) (c447175)
3.8.0 (2023-10-03)¶
Features¶
3.7.0 (2023-09-25)¶
Features¶
Add ConfigServiceV2.CreateBucketAsync method for creating Log Buckets asynchronously (30f24a8)
Add ConfigServiceV2.CreateLink method for creating linked datasets for Log Analytics Buckets (30f24a8)
Add ConfigServiceV2.DeleteLink method for deleting linked datasets (30f24a8)
Add ConfigServiceV2.GetLink methods for describing linked datasets (30f24a8)
Add ConfigServiceV2.ListLinks method for listing linked datasets (30f24a8)
Add ConfigServiceV2.UpdateBucketAsync method for creating Log Buckets asynchronously (30f24a8)
Add LogBucket.analytics_enabled field that specifies whether Log Bucket’s Analytics features are enabled (30f24a8)
Add LogBucket.index_configs field that contains a list of Log Bucket’s indexed fields and related configuration data (30f24a8)
Log Analytics features of the Cloud Logging API (30f24a8)
Bug Fixes¶
Documentation¶
3.6.0 (2023-07-05)¶
Features¶
Bug Fixes¶
Documentation¶
3.5.0 (2023-01-24)¶
Features¶
Add support for Python 3.11 (412d481)
Bug Fixes¶
Documentation¶
Add documentation for enums (e2278c1)
3.4.0 (2022-12-15)¶
Features¶
Add typing to proto.Message based class attributes (9d505f1)
Bug Fixes¶
Documentation¶
3.3.1 (2022-12-05)¶
Bug Fixes¶
3.3.0 (2022-11-26)¶
Features¶
Bug Fixes¶
3.2.4 (2022-10-04)¶
Bug Fixes¶
3.2.3 (2022-09-30)¶
Bug Fixes¶
3.2.2 (2022-08-12)¶
Bug Fixes¶
3.2.1 (2022-07-13)¶
Bug Fixes¶
3.2.0 (2022-07-11)¶
Features¶
Bug Fixes¶
3.1.2 (2022-06-03)¶
Bug Fixes¶
Documentation¶
3.1.1 (2022-05-23)¶
Documentation¶
3.1.0 (2022-05-08)¶
Features¶
Bug Fixes¶
Dependencies¶
Documentation¶
3.0.0 (2022-01-27)¶
⚠ BREAKING CHANGES¶
make logging API more friendly to use (#422)
api consistency between HTTP and Gapic layers (#375)
support string-encoded json (#339)
Infer default resource in logger (#315)
support json logs (#316)
deprecate AppEngineHandler and ContainerEngineHandler (#310)
Features¶
Bug Fixes¶
Miscellaneous Chores¶
Documentation¶
2.7.0 (2021-11-02)¶
Features¶
Bug Fixes¶
add ‘dict’ annotation type to ‘request’ (76ac729)
add ‘dict’ annotation type to ‘request’ (23f9e1f)
deps: drop packaging dependency (9d38995)
deps: require google-api-core >= 1.28.0 (9d38995)
deps: require proto-plus==1.15.0 (76ac729)
improper types in pagers generation (76ac729)
improper types in pagers generation (6a837a5)
Documentation¶
list oneofs in docstring (9d38995)
2.6.0 (2021-07-28)¶
Features¶
Bug Fixes¶
Documentation¶
2.5.0 (2021-06-10)¶
Features¶
Bug Fixes¶
2.4.0 (2021-05-12)¶
Features¶
Bug Fixes¶
2.3.1 (2021-03-24)¶
Bug Fixes¶
2.3.0 (2021-03-15)¶
Features¶
Bug Fixes¶
Documentation¶
2.2.0 (2021-01-27)¶
Features¶
add ‘from_service_account_info’ factory to clients (a9ff2b7)
Bug Fixes¶
2.1.1 (2021-01-14)¶
Bug Fixes¶
2.1.0 (2021-01-12)¶
Features¶
Bug Fixes¶
Documentation¶
2.0.2 (2020-12-14)¶
Bug Fixes¶
2.0.1 (2020-12-02)¶
Bug Fixes¶
Documentation¶
2.0.0 (2020-11-19)¶
⚠ BREAKING CHANGES¶
Use microgenerator for GAPIC layer. See UPGRADING.md for details. (#94)
removes support for webapp2 and other Python2 specific code
Features¶
Bug Fixes¶
Code Refactoring¶
Documentation¶
1.15.1 (2020-07-01)¶
Documentation¶
1.15.0 (2020-02-26)¶
Features¶
Bug Fixes¶
1.14.0¶
10-15-2019 06:50 PDT
Implementation Changes¶
Fix proto copy. (#9420)
Dependencies¶
Pin ‘google-cloud-core >= 1.0.3, < 2.0.0dev’. (#9445)
1.13.0¶
09-23-2019 10:00 PDT
Implementation Changes¶
Pass ‘stream’ argument to super in ‘ContainerEngineHandler.init’. (#9166)
New Features¶
Documentation¶
Remove compatability badges from READMEs. (#9035)
Internal / Testing Changes¶
1.12.1¶
08-01-2019 09:45 PDT
Implementation Changes¶
Documentation¶
Fix ‘list_entries’ example with projects. (#8858)
Internal / Testing Changes¶
Update intersphinx mapping for requests. (#8805)
1.12.0¶
07-24-2019 16:47 PDT
Implementation Changes¶
New Features¶
Dependencies¶
Bump minimum version for google-api-core to 1.14.0. (#8709)
Documentation¶
Internal / Testing Changes¶
1.11.0¶
05-16-2019 12:27 PDT
Implementation Changes¶
New Features¶
Dependencies¶
Pin
google-cloud-core >= 1.0.0, < 2.0dev
. (#7993)
Documentation¶
Internal / Testing Changes¶
1.10.0¶
01-17-2019 15:37 PST
Implementation Changes¶
Internal / Testing Changes¶
Update copyright headers.
Use ‘python-3.6’ for ‘blacken’ run. (#7064)
1.9.1¶
12-17-2018 16:49 PST
Implementation Changes¶
Allow setting name, args on default handler (post-blacken) (#6828)
Documentation¶
1.9.0¶
12-10-2018 12:55 PST
Implementation Changes¶
New Features¶
Add support for additional ‘LogEntry’ fields (#6229)
Dependencies¶
Internal / Testing Changes¶
1.8.0¶
10-17-2018 14:23 PDT
Implementation Changes¶
New Features¶
Logging: support request-correlated logging in App Engine standard python37 runtime (#6118)
Documentation¶
Internal / Testing Changes¶
Use new Nox (#6175)
Logging: harden systest teardown against ‘DeadlineExceeded’ retry errors. (#6182)
Logging: fix lint errors. (#6183)
Harden sink / metric creation against transient errors. (#6180)
Logging: test both GCLOUD_PROJECT and GOOGLE_CLOUD_PROJECT env vars (#6138)
Harden ‘test_list_entry_with_unregistered’ against 429 errors. (#6181)
Prep logging docs for repo split. (#5943)
1.7.0¶
Implementation Changes¶
New Features¶
Documentation¶
Replace links to ‘/stable/’ with ‘/latest/’. (#5901)
Internal / Testing Changes¶
Nox: use inplace installs (#5865)
Unflake logging systests (#5698)
Harden
_list_entries
system test further against backoff failure. (#5551)Harden logging systests (#5496)
Harden system tests against ‘ResourceExhausted’ quota errors. (#5486)
Modify system tests to use prerelease versions of grpcio (#5304)
Plug leaky sink in systests. (#5247)
1.6.0¶
Dependencies¶
The minimum version for
google-api-core
has been updated to version 1.0.0. This may cause some incompatibility with older google-cloud libraries, you will need to update those libraries if you have a dependency conflict. (#4944, #4946)
Testing and internal changes¶
Install local dependencies when running lint (#4936)
Re-enable lint for tests, remove usage of pylint (#4921)
Normalize all setup.py files (#4909)
1.5.0¶
New features¶
Added
max_latency
toBackgroundThreadTransport
. (#4762)Added support for unique writer identity in
Sink
. (#4595, #4708, #4704, #4706)
Implementation changes¶
The underlying auto-generated client library was re-generated to pick up new features and bugfixes. (#4759)
Moved the code path of
get_gae_labels()
toemit()
. (#4824)Removed a debug print statement. (#4838)
LogSink.create
captures the server-generatedwriterIdentity
. (#4707)Accomodated a back-end change making
Sink.filter
optional. (#4699)
Testing¶
Fixed system tests (#4768)
Hardened test for
retrieve_metadata_server
against transparent DNS proxies. (#4698)Added cleanup for Pub / Sub topic in logging system test. (#4532)
Added another check for Python 2.7 in Logging
nox -s default
. (#4523)Pinned
django
test dependency to< 2.0
in Python 2.7. (#4519)Maked a
nox -s default
session for all packages. (#4324)Shortened test names. (#4321)
Documentation¶
Added doc to highlight missing
uniqueWriterIdentity
field. (#4579)Fixing “Fore” -> “For” typo in README docs. (#4317)
1.4.0¶
Implementation Changes¶
Remove
deepcopy
ofClient._http
in background transport (#3954)
Documentation¶
Added link to “Python Development Environment Setup Guide” in project README (#4187, h/t to @michaelawyu)
Dependencies¶
Upgrading to
google-cloud-core >= 0.28.0
and adding dependency ongoogle-api-core
(#4221, #4280)Deferring to
google-api-core
forgrpcio
andgoogleapis-common-protos
dependencies (#4096, #4098)
PyPI: https://pypi.org/project/google-cloud-logging/1.4.0/