Skip to content

Conversation

@dependabot
Copy link
Contributor

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

Bumps cmd2 from 2.7.0 to 3.2.0.

Release notes

Sourced from cmd2's releases.

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
      • Replaced all text style enums from ansi.py with modern rich styles
      • Renamed ansi.py to terminal_utils.py to better reflect its purpose
    • Dropped support for Python 3.9. cmd2 now requires Python 3.10 or later
    • Replaced Settable.get_value() and Settable.set_value() methods with a more Pythonic value property
    • Removed redundant setting of a parser's prog value in the with_argparser() decorator, as this is now handled centrally in Cmd._build_parser()
    • The auto_load_commands argument to cmd2.Cmd.__init__ now defaults to False
    • argparse_custom module breaking changes:
      • descriptive_header: str replaced with descriptive_headers: Sequence[str | rich.Column]
        • Applies to parameter name when adding an argument to a parser as well as set_descriptive_headers and get_descriptive_headers
      • CompletionItem.description: str changed to CompletionItem.descriptive_data: Sequence[str | rich.Column]

... (truncated)

Changelog

Sourced from cmd2's changelog.

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)

... (truncated)

Commits
  • 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
  • 48bfc0d Fixed issue where CommandSet registration did not respect disabled categories...
  • 371205b Fixed issue where delimiter_complete() could cause more matches than display ...
  • 8f2f42e Updated documentation about soft_wrap.
  • 93cb982 Fixed missing dependency for Python 3.10
  • ec339de Added 3.1.1 entry.
  • 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.0.
- [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.0)

---
updated-dependencies:
- dependency-name: cmd2
  dependency-version: 3.2.0
  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 9, 2026
@dependabot dependabot bot mentioned this pull request Feb 9, 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