Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 49 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,52 @@
## 3.4.0 (March 3, 2026)

- Enhancements
- Moved cmd2-specific printing logic from `Cmd.print_to()` into `Cmd2BaseConsole.print()` and
`Cmd2BaseConsole.log()`. This removes need to pass a console object to `Cmd.print_to()`.
- Addressed a bug in `rich.console.Console` where complex renderables (like `Table` and `Rule`)
may not receive formatting settings passed to `console.print()` and `console.log()`.

- Breaking Changes
- Renamed the `destination` parameter of `Cmd.print_to()` back to `file` since you can no longer
pass in a console.

## 3.3.0 (March 1, 2026)

- Enhancements
- Added ability to pass a console object to `Cmd.print_to()`. This provides support for things
like wrapping a `print_to()` call in a `console.status()` or `console.capture()` context
manager.

- Breaking Changes
- Renamed the `file` parameter of `Cmd.print_to()` to `destination` to support file-like objects
and console objects.
- `Cmd2BaseConsole(file)` argument is now a keyword-only argument to be consistent with the
`rich.console.Console` class.

## 3.2.2 (February 21, 2026)

- Bug Fixes
- Updated `rich_utils.ANSI_STYLE_SEQUENCE_RE` to only match ANSI SGR (Select Graphic Rendition)
sequences for text styling. It previously also matched DEC Private Mode sequences.

## 3.2.1 (February 21, 2026)

- Bug Fixes
- The `async_alert` and `async_prompt_update` methods of `cmd2.Cmd` now respect the current
value of the `allow_style` settable
- If `allow_style` is `NEVER`, all style-related ANSI escape codes will be stripped to
ensure plain text output

## 3.2.0 (February 5, 2026)

- Bug Fixes
- Fixed incompatibilities with Python 3.14.3.

- Potentially Breaking Changes
- To avoid future incompatibilities with argparse, we removed most of our overridden help
functions. This should not break an application, but it could affect unit tests which parse
help text.

## 3.1.3 (February 3, 2026)

- Bug Fixes
Expand Down
Loading