File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed
Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change 1+ ## 4.0.0 (TBD 2026)
2+
3+ ### Summary
4+
5+ ` cmd2 ` now has a dependency on
6+ [ prompt-toolkit] ( https://github.com/prompt-toolkit/python-prompt-toolkit ) which serves as a
7+ pure-Python cross-platform replacement for
8+ [ GNU Readline] ( https://tiswww.case.edu/php/chet/readline/rltop.html ) . Previously, ` cmd2 ` had used
9+ different ` readline ` dependencies on each Operating System (OS) which was at times a very
10+ frustrating developer and user experience due to small inconsistencies in these different readline
11+ libraries. Now we have consistent cross-platform support for tab-completion, user terminal input,
12+ and history. Additionally, this opens up some cool advanced features such as support for syntax
13+ highlighting of user input while typing, auto-suggestions similar to those provided by the fish
14+ shell, and the option for a persistent bottom bar that can display realtime status updates.
15+
16+ ### Details
17+
18+ - Breaking Changes
19+ - Removed all use of ` readline ` built-in module and underlying platform libraries
20+ - Deleted ` cmd2.rl_utils ` module which dealt with importing the proper ` readline ` module for
21+ each platform and provided utility functions related to ` readline `
22+ - Added a dependency on ` prompt-toolkit ` and a new ` cmd2.pt_utils ` module with supporting
23+ utilities
24+
125## 3.1.0 (December 25, 2025)
226
327- Potentially Breaking Changes
You can’t perform that action at this time.
0 commit comments