loguru breaking changes
loguru 0.8.0 (November 11, 2026) is its newest release with breaking changes, 4 of them. The first: Behavior changed logger.catch. Every breaking API change we have recorded in loguru on PyPI: 14 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.8.0, released November 11, 2026. Source repository
Packages on PyPI run on Python. Python end of life dates.
loguru 0.8.0 breaking changes
- Behavior changed
logger.catch
logger.catch is now usable in async contexts; existing synchronous usage is unaffected by this change. github.com - Behavior changed
rotation
The rotation argument of file sinks now accepts a list, where any condition can trigger rotation. Existing single-value usage is unchanged. github.com - Configuration changed
NO_COLOR
When colorize is not provided, setting NO_COLOR disables color output by default. Code that relied on color despite this variable must pass colorize explicitly. github.com - Configuration changed
TERM
Colorization now requires the TERM environment variable not to be "dumb". Terminals reporting dumb will no longer get colors. github.com
loguru 0.7.0 breaking changes
- Behavior changed
logger
Using the logger inside a sink, signal handler or __del__ method is now detected and raises RuntimeError instead of possibly deadlocking. Code that re-enters the logger must be restructured. github.com - Behavior changed
logger.catch
Using logger.catch() as a decorator on a class raises an exception instead of silently misbehaving. Apply it to functions instead. github.com - Behavior changed
logger.patch
Successive patch() calls are cumulative rather than overriding the previously set patching function. Code relying on a later patch() replacing an earlier one must be adjusted. github.com
loguru 0.6.0 breaking changes
- Removed
enqueue
Adding a coroutine sink with enqueue=True and loop=None is no longer possible when no event loop is running; provide a running loop instead. github.com - Removed
pickle.loads
Internal use of pickle.loads() was removed due to a security vulnerability (CVE-2022-0329); user code calling it directly is unaffected by this package change. github.com - Behavior changed
loop
With loop=None and no running event loop, the coroutine sink now discards log messages instead of using the get_event_loop behavior; use a running loop or pass an explicit loop. github.com - Behavior changed
serialize
Messages logged with serialize=True now keep non-ascii characters unescaped in the JSON output. github.com - Default changed
encoding
The file sink now defaults to utf8 instead of the locale's preferred encoding; set encoding explicitly if you rely on the old default. github.com
loguru 0.5.0 breaking changes
- Behavior changed
logger.level
Once a level has been added, its severity number can no longer be changed; code that modifies the severity of existing levels must be updated. github.com - Behavior changed
logger.opt
Keyword arguments passed to logging calls are automatically added to the extra dict as well as used for formatting; use the new opt(capture=False) to disable this. github.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.