Upgrading structlog 20 to 21
Breaking20.2.0 → 21.5.0Breaking2New2Changed20Other1
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- structlog switched its packaging to flit.
- To implement pretty exceptions (see Changes below), structlog.dev.ConsoleRenderer now formats exceptions itself.
Must act 2 items need code or config changes
What you must change
Breaking2
structlog switched its packaging to flit.
structlogTo implement pretty exceptions (see Changes below), structlog.dev.ConsoleRenderer now formats exceptions itself.
structlog.dev.ConsoleRendererformat_exc_infostructlogpretty_exceptions=Truerichbetter-exceptions