Skip to content

Releases: multani/structlog-gcp

v0.3.0

21 Sep 15:34
12420e0
Compare
Choose a tag to compare

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

21 Sep 14:55
3a9164f
Compare
Choose a tag to compare

This release only tests the code with multiple Python versions, there are no changes on the library itself.

What's Changed

  • Build/test with multiple Python versions by @multani in #40

Full Changelog: v0.2.5...v0.2.6

v0.2.5

21 Sep 14:36
3cdc8f6
Compare
Choose a tag to compare

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

25 Feb 10:19
64b0292
Compare
Choose a tag to compare

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

03 Sep 20:32
0a76203
Compare
Choose a tag to compare

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

25 Aug 14:00
cf93b73
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

18 Aug 13:09
4ead623
Compare
Choose a tag to compare

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

Full Changelog: v0.1.0...v0.2.0

v0.1.0

13 May 17:59
e5206d6
Compare
Choose a tag to compare

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

02 Apr 11:04
Compare
Choose a tag to compare

Full Changelog: v0.0.2...v0.0.3