Skip to content

Commit 50d87de

Browse files
committed
docs(CHANGES): add structured logging and colorama removal entries
why: PR 1 needs changelog entries for the logging work. what: - Add bug fixes: CLI log level, get_pane() exception, OutputFormatter routing - Add development section: structured logging, colorama removal, print→tmuxp_echo
1 parent 1826606 commit 50d87de

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

CHANGES

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,26 @@ $ pipx install --suffix=@next 'tmuxp' --pip-args '\--pre' --force
3535
_Notes on the upcoming release will go here._
3636
<!-- END PLACEHOLDER - ADD NEW CHANGELOG ENTRIES BELOW THIS LINE -->
3737

38+
### Bug fixes
39+
40+
- Fix default CLI log level from INFO to WARNING so normal usage is not noisy (#1017)
41+
- Suppress raw Python tracebacks on workspace build failure; error details available via `--log-level debug` while the user sees only `[Error] <message>` (#1017)
42+
- Fix `get_pane()` to match sibling methods: widen catch to `Exception`, preserve exception chain via `from e`, replace bare `print()` with structured debug log (#1017)
43+
- Route `ls --json` and `debug-info --json` through `OutputFormatter` for consistent machine-readable output (#1017)
44+
45+
### Development
46+
47+
#### Structured logging with `extra` context across all modules (#1017)
48+
49+
All modules now use `logging.getLogger(__name__)` with structured `extra` keys
50+
(`tmux_session`, `tmux_window`, `tmux_pane`, `tmux_config_path`, etc.) for
51+
filtering and aggregation. Library `__init__.py` adds `NullHandler` per Python
52+
best practices. A new `TmuxpLoggerAdapter` provides persistent context for
53+
objects with stable identity.
54+
55+
- Remove `colorama` runtime and type-stub dependencies; replace with stdlib ANSI constants (#1017)
56+
- Route all raw `print()` calls through `tmuxp_echo()` for consistent output channels (#1017)
57+
3858
## tmuxp 1.65.0 (2026-03-08)
3959

4060
### Breaking Changes

0 commit comments

Comments
 (0)