Upgrading structlog 19 to 20
Breaking19.2.0 → 20.2.0Breaking2Deprecated2New3Changed11Fixed2
BreakingUpgrade verdict
2 breaking changes.
In plain terms
- Python 2.7 and 3.5 aren't supported anymore.
- structlog is now fully type-annotated.
- Accessing the _context attribute of a bound logger is now deprecated.
- This is the last version to support Python 2.7 (including PyPy) and 3.5.
Must act 4 items need code or config changes
Requires Python >=3.6 from 20.2.0 (none stated before).
Drops six.
Installs 0 packages in all (was 1).
What you must change
Breaking2
Python 2.7 and 3.5 aren't supported anymore.
structlog is now fully type-annotated.
structlogDeprecations to plan for
Deprecated2
Accessing the _context attribute of a bound logger is now deprecated.
_contextstructlog.get_context()This is the last version to support Python 2.7 (including PyPy) and 3.5.