Upgrading loguru 0.2 to 0.3
Breaking0.2.5 → 0.3.2Breaking4New5Changed3Fixed13Other1
BreakingUpgrade verdict
4 breaking changes.
In plain terms
- The backtrace option no longer shows variable values; a new diagnose option controls that instead.
- Log rotation timing now counts from when the file was created instead of the current time, and support may vary by platform.
- A mistyped color tag now causes an error rather than being quietly ignored.
- Combining several colors in one tag is no longer supported.
Must act Top 3 of 4 that need code or config changes
Drops ansimarkup, better-exceptions-fork, colorama.
Installs 0 packages in all (was 3).
What you must change
Breaking4
Changes the sink backtrace option to only extend the stacktrace upward; variable display is now controlled by the new diagnose argument.
backtracediagnoseChanges file sink rotation to be based on file creation time rather than current time, with platform-dependent support.
rotationRaises errors on unknown color tags instead of silently ignoring them.
Removes color tag mixing directives such as <red,blue> for simplification.
<red,blue>