summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-05-28 13:02:43 -0400
committerKevin Van Brunt <kmvanbrunt@gmail.com>2020-05-28 13:02:43 -0400
commit9b91116ec523f1bb27ae8c353a2a7a1dc7975888 (patch)
tree53d94a01e7421f8ffba8c8df3ef640c16413b008 /CHANGELOG.md
parentc30fcd3d764b3b7a6f112c49ed5393650f4f9bcb (diff)
downloadcmd2-git-9b91116ec523f1bb27ae8c353a2a7a1dc7975888.tar.gz
Updated change log
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md11
1 files changed, 10 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c6fbd466..31daa079 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,4 @@
-## 1.0.3 (TBD, 2020)
+## 1.1.0 (TBD, 2020)
* Bug Fixes
* Fixed issue where subcommand usage text could contain a subcommand alias instead of the actual name
* Enhancements
@@ -14,6 +14,15 @@
documentation for an overview.
* See [table_creation.py](https://github.com/python-cmd2/cmd2/blob/master/examples/table_creation.py)
for an example.
+ * Added the following exceptions to the public API
+ * `SkipPostcommandHooks` - Custom exception class for when a command has a failure bad enough to skip
+ post command hooks, but not bad enough to print the exception to the user.
+ * `Cmd2ArgparseError` - A `SkipPostcommandHooks` exception for when a command fails to parse its arguments.
+ Normally argparse raises a `SystemExit` exception in these cases. To avoid stopping the command
+ loop, catch the `SystemExit` and raise this instead. If you still need to run post command hooks
+ after parsing fails, just return instead of raising an exception.
+ * Added explicit handling of `SystemExit`. If a command raises this exception, the command loop will be
+ gracefully stopped.
## 1.0.2 (April 06, 2020)
* Bug Fixes