Changelog
2.5.0 (2021-06-10)
Features
Bug Fixes
2.4.0 (2021-05-12)
Features
allow custom labels with standard library logging (#264) (fe4de39)
use standard output logs on serverless environments (#228) (a78f577)
Bug Fixes
deps: fix minimum required version of google-api-core (#244) (874fdfa)
deps: fix minimum required version of google-api-core (#244) (37d33fc)
2.3.1 (2021-03-24)
Bug Fixes
detect project from environment instead of from logger (#238) (813b97c)
revert default resource behavior to avoid breaking changes (#237) (24a0a5e)
2.3.0 (2021-03-15)
Features
Add json setting to allow unicodes to show in log instead of ascii ch… (#193) (e8c8e30)
detect monitored resources on all GCP environments (#200) (4eda681)
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
Add submodule imports for handlers to logging alias (#117) (6843a3a)
remove client recv msg limit fix: add enums to
types/__init__.py
(#131) (6349b89)Remove keyword only argument for RequestsMiddleware (#113) (e704f28)
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
add initialization of LogEntry instance in the v2 example (#46) (251ac93), closes #44
change descriptions for virtual environment (#48) (c5c3c15), closes #47
1.15.0 (2020-02-26)
Features
- add support for cmek settings; undeprecate resource name helper methods; bump copyright year to 2020 (#22) (1c687c1)
Bug Fixes
logging: deprecate resource name helper methods (via synth) (#9837) (335af9e)
logging: update test assertion and core version pins (#10087) (4aedea8)
replace unsafe six.PY3 with PY2 for better future compatibility with Python 4 (#10081) (c6eb601)
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
Add LoggingV2Servicer, LogSinks, logging_metrics, and log_entry. Add LogSeverity and HttpRequest types (via synth). (#9262)
Add client_options to logging v1 (#9046)
Documentation
- Remove compatability badges from READMEs. (#9035)
Internal / Testing Changes
Docs: Remove CI for gh-pages, use googleapis.dev for api_core refs. (#9085)
Delete custom synth removing gRPC send/recv msg size limits. (#8939)
1.12.1
08-01-2019 09:45 PDT
Implementation Changes
Remove gRPC size restrictions (4MB default) (#8860)
Map stdlib loglevels to Cloud Logging severity enum values. (#8837)
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
Set the ‘timestamp’ on log records created by handler. (#8227)
Clarify worker thread implementation. (#8228)
New Features
Add path-construction helpers to GAPIC clients (via synth). (#8631)
Add ‘client_options’ support, update list method docstrings (via synth). (#8535)
Dependencies
- Bump minimum version for google-api-core to 1.14.0. (#8709)
Documentation
Link to googleapis.dev documentation in READMEs. (#8705)
Add compatibility check badges to READMEs. (#8288)
Internal / Testing Changes
Re-add “generated” markers (via synth). (#8538)
Add nox session ‘docs’ to remaining manual clients. (#8478)
Add docs job to publish to googleapis.dev. (#8464)
Add empty lines. (#8064)
Use alabaster theme everwhere. (#8021)
1.11.0
05-16-2019 12:27 PDT
Implementation Changes
Add routing header to method metadata (via synth). (#7598)
Remove classifier for Python 3.4 for end-of-life. (#7535)
Use FQDN for GCE metadata endpoint. (#7520)
New Features
Dependencies
- Pin
google-cloud-core >= 1.0.0, < 2.0dev
. (#7993)
Documentation
Update client library documentation URLs. (#7307)
Reformat snippet (via synth). (#7216)
Add snippet for logging a resource. (#7212)
Internal / Testing Changes
Reorder methods in file (via synth). (#7810)
Copy lintified proto files (via synth). (#7450)
Trivial gapic-generator change. (#7230)
Add protos as an artifact to library (#7205)
1.10.0
01-17-2019 15:37 PST
Implementation Changes
Change WriteLogEntries retry policy.
Protoc-generated serialization update. (#7088)
GAPIC generation fixes. (#7061)
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
Document Python 2 deprecation (#6910)
Normalize docs for
page_size
/max_results
/page_token
. (#6842)
1.9.0
12-10-2018 12:55 PST
Implementation Changes
Import
iam.policy
fromgoogle.api_core
. (#6741)Pick up fixes to GAPIC generator. (#6631)
Fix
client_info
bug, update docstrings via synth. (#6435)Revert “Allow turning on JSON Detection in StackDriver” (#6352)
Allow turning on JSON Detection in StackDriver (#6293)
New Features
- Add support for additional ‘LogEntry’ fields (#6229)
Dependencies
Update dependency to google-cloud-core (#6835)
Bump minimum
api_core
version for all GAPIC libs to 1.4.1. (#6391)
Internal / Testing Changes
Change the url to the canonical one (#6843)
Omit local deps (#6701)
Run black at end of synth.py (#6698)
Blackening Continued… (#6667)
Add templates for flake8, coveragerc, noxfile, and black. (#6642)
Logging: add ‘synth.py’. (#6081)
1.8.0
10-17-2018 14:23 PDT
Implementation Changes
Logging: allow more tries on inner retry for ‘_list_entries’. (#6179)
Accommodate payload-less log entries. (#6103)
New Features
- Logging: support request-correlated logging in App Engine standard python37 runtime (#6118)
Documentation
Logging: fix class reference in docstring (#6153)
Translate / Logging / Language: restore detailed usage docs. (#5999)
Redirect renamed ‘usage.html’/’client.html’ -> ‘index.html’. (#5996)
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
Print to stderr instead of stdout when exiting the program (#5569)
Avoid overwriting ‘module’ of messages from shared modules. (#5364)
Support older Django versions in request middleware #5024
Fix bad trove classifier #5386
New Features
Add support for
trace
andspan_id
to logging async API (#5908)Add support for
span_id
attribute of log entries (#5885)Add support for
trace
attribute of log entries (#5878)Add support for Python 3.7 and remove 3.4 (#5295)
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)