Download Latest Version v1.67.0 - _tmuxp load_ progress spinner source code.tar.gz (1.1 MB)
Email in envelope

Get an email when there's a new version of tmuxp

Home / v1.66.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-03-08 1.4 kB
v1.66.0 - logging improvements source code.tar.gz 2026-03-08 1.1 MB
v1.66.0 - logging improvements source code.zip 2026-03-08 1.2 MB
Totals: 3 Items   2.3 MB 0

What's Changed

Bug fixes

  • Fix default CLI log level from INFO to WARNING so normal usage is not noisy
  • Suppress raw Python tracebacks on workspace build failure; error details available via --log-level debug while the user sees only [Error] <message>
  • Fix get_pane() to match sibling methods: widen catch to Exception, preserve exception chain via from e, replace bare print() with structured debug log
  • Route ls --json and debug-info --json through OutputFormatter for consistent machine-readable output

Development

Structured logging with extra context across all modules

All modules now use logging.getLogger(__name__) with structured extra keys (tmux_session, tmux_window, tmux_pane, tmux_config_path, etc.) for filtering and aggregation. Library __init__.py adds NullHandler per Python best practices. A new TmuxpLoggerAdapter provides persistent context for objects with stable identity.

  • Remove colorama runtime and type-stub dependencies; replace with stdlib ANSI constants
  • Route all raw print() calls through tmuxp_echo() for consistent output channels

Full Changelog: https://github.com/tmux-python/tmuxp/compare/v1.65.0...v1.66.0

Source: README.md, updated 2026-03-08