Skip to content

Bump cmd2 from 2.7.0 to 3.2.2#34

Open
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/dev/cmd2-3.2.2
Open

Bump cmd2 from 2.7.0 to 3.2.2#34
dependabot[bot] wants to merge 1 commit intodevfrom
dependabot/pip/dev/cmd2-3.2.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Feb 23, 2026

Bumps cmd2 from 2.7.0 to 3.2.2.

Release notes

Sourced from cmd2's releases.

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
    • Fixed issue where delimiter_complete() could cause more matches than display matches
    • Fixed issue where CommandSet registration did not respect disabled categories

3.1.2 (January 26, 2026)

  • Bug Fixes
    • Fixed missing typing-extensions dependency for Python 3.10

3.1.1 (January 26, 2026)

  • Bug Fixes
    • Fixed bug where rich-argparse was not coloring cmd2's custom nargs formatting

3.1.0 (December 25, 2025)

  • Potentially Breaking Changes
    • cmd2 no longer has a dependency on cmd and cmd2.Cmd no longer inherits from cmd.Cmd
      • We don't think this should impact users, but there is theoretically a possibility
      • This opens the door for more impactful changes in the next major release

3.0.0 (December 7, 2025)

Summary

cmd2 now has a dependency on rich for rich text and pretty formatting in the terminal. Previously, cmd2 had a large amount of custom code for this purpose that predated the existence of rich. This opens the door to even more beautiful cmd2 applications. To get the most out of the new capabilities, we encourage you to spend a little bit of time reading the rich documentation.

Details

  • Breaking Changes
    • Refactored and modernized styling and utility modules:
      • Removed the legacy table_creator.py module in favor of rich tables (see the rich_tables.py example for more info)
      • Moved all string-related functions from utils.py to a new string_utils.py module
        • Removed redundant string from some of the names so quote_string is now just quote and quote_string_if_needed is now quote_if_needed
      • Consolidated all string styling functions from ansi.py into string_utils.py

... (truncated)

Changelog

Sourced from cmd2's changelog.

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
    • Fixed issue where delimiter_complete() could cause more matches than display matches
    • Fixed issue where CommandSet registration did not respect disabled categories

3.1.2 (January 26, 2026)

  • Bug Fixes
    • Fixed missing typing-extensions dependency for Python 3.10

3.1.1 (January 26, 2026)

  • Bug Fixes
    • Fixed bug where rich-argparse was not coloring cmd2's custom nargs formatting

3.1.0 (December 25, 2025)

  • Potentially Breaking Changes
    • cmd2 no longer has a dependency on cmd and cmd2.Cmd no longer inherits from cmd.Cmd
      • We don't think this should impact users, but there is theoretically a possibility
      • This opens the door for more impactful changes in the next major release

3.0.0 (December 7, 2025)

Summary

... (truncated)

Commits
  • 6c48851 Updated change log.
  • 1d15007 Updated rich_utils.ANSI_STYLE_SEQUENCE_RE to only match ANSI SGR (Select Grap...
  • faddfc3 Make note in CHANGELOG more accurate
  • c15d505 Update date in changelog in preparation for 3.2.1 release
  • 32dcb3d Fix async_alert to respect allow_style setting for 3.x branch (#1582)
  • e228018 Updated change log for 3.2.0 release.
  • 1b6c211 Fixed incompatibilities with Python 3.14.3. (#1571)
  • 95f3fd8 Fix a few broken links in documentation (#1569)
  • cb115d5 Updated changelog in preparation for release
  • d788902 Upgrae to ruff 0.15.0 and prettier 3.8.1
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [cmd2](https://github.com/python-cmd2/cmd2) from 2.7.0 to 3.2.2.
- [Release notes](https://github.com/python-cmd2/cmd2/releases)
- [Changelog](https://github.com/python-cmd2/cmd2/blob/main/CHANGELOG.md)
- [Commits](python-cmd2/cmd2@2.7.0...3.2.2)

---
updated-dependencies:
- dependency-name: cmd2
  dependency-version: 3.2.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants