Releases: multani/structlog-gcp
v0.3.0
This release adds a new processors-builder function that only configures GCP-related processors:
- If you are fine-tuning (or need to) your processors, checkout out Advanced Configuration
- If you are only interested by having good defaults, you can continue to use the previous
structlog_gcp.build_processors()
as
before.
The default processors builder function now also supports Context Variables out of the box.
Warning
The structlog.contextvars.merge_contextvars()
processor is now configured by default: you should remove it from your codebase if you were explicitly configuring it before.
What's Changed
- Split GCP-specific processors from general one by @multani in #42
- Configure Context Variables processor by default by @multani in #43
- Document
structlog_gcp.build_processors
by @multani in #44
Full Changelog: v0.2.6...v0.3.0
v0.2.6
v0.2.5
Unless you are calling something else that structlog_gcp.build_processors()
, this patch release should not change anything.
What's Changed
- Simplify the internal definition of processors by @multani in #36
- Modernize tooling by @multani in #37
- Use uv to install dev dependencies and build by @multani in #38
Full Changelog: v0.2.4...v0.2.5
v0.2.4
What's Changed
- Update actions/checkout action to v4 by @renovate in #23
- Update Python dependency by @osolmaz in #24
- Update actions/setup-python action to v5 by @renovate in #25
- Update actions/download-artifact action to v4 by @renovate in #26
- Update actions/upload-artifact action to v4 by @renovate in #27
- Split out the JSON renderer from the Cloud Logging formatter by @multani in #30
New Contributors
Full Changelog: v0.2.3...v0.2.4
v0.2.3
What's Changed
- Run CI on
main
branch by @multani in #16 - Wrap stdout into a new fixture by @multani in #17
- Remove release on test PyPI, authenticate via OIDC, fix release tag by @multani in #18
- Correctly format extra event keys to have them parsed by Cloud Logging by @multani in #19
Full Changelog: v0.2.1...v0.2.3
v0.2.1
v0.2.0
What's Changed
- Fix the links in the examples section by @hockeybuggy in #9
- Replace flake8 by ruff by @multani in #11
- Configure the service name and version for error reporting by @multani in #10
New Contributors
- @hockeybuggy made their first contribution in #9
Full Changelog: v0.1.0...v0.2.0
v0.1.0
To migrate from v0.0.3 to v0.1.0, replace:
import structlog
import structlog_gcp
gcp_logs = structlog_gcp.StructlogGCP()
structlog.configure(processors=gcp_logs.build_processors())
by:
import structlog
import structlog_gcp
processors = structlog_gcp.build_processors()
structlog.configure(processors=processors)
What's Changed
Full Changelog: v0.0.3...v1.0.0
v0.0.3
Full Changelog: v0.0.2...v0.0.3