Skip to content

Upgrading structlog 20 to 21

Breaking20.2.0 → 21.5.0Breaking2New2Changed20Other1

BreakingUpgrade verdict

2 breaking changes.

  • structlog switched its packaging to flit.
  • To implement pretty exceptions (see Changes below), structlog.dev.ConsoleRenderer now formats exceptions itself.
2 items need code or config changes
Breaking2
structlog switched its packaging to flit.
structlog
To implement pretty exceptions (see Changes below), structlog.dev.ConsoleRenderer now formats exceptions itself.
structlog.dev.ConsoleRendererformat_exc_infostructlogpretty_exceptions=Truerichbetter-exceptions