summaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorKevin Van Brunt <kmvanbrunt@gmail.com>2020-09-03 22:52:50 -0400
committerGitHub <noreply@github.com>2020-09-03 22:52:50 -0400
commite7bf6c193e7adb55986af730eb5bbd9facb182f7 (patch)
tree96e4fa1ac5cb57696aef2a0b454e0265dc5825c3 /CHANGELOG.md
parent36b0b75265942fe375545beb7d2d8a2c5f6f63c4 (diff)
parent85ad31905780b19d2c16965110eda7577c057708 (diff)
downloadcmd2-git-e7bf6c193e7adb55986af730eb5bbd9facb182f7.tar.gz
Merge pull request #990 from python-cmd2/on_registered
Added callbacks to CommandSet
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5c65bb8a..fe9c1ca6 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+## 1.3.9 (September 03, 2020)
+* Breaking Changes
+ * `CommandSet.on_unregister()` is now called as first step in unregistering a `CommandSet` and not
+ the last. `CommandSet.on_unregistered()` is now the last step.
+* Enhancements
+ * Added `CommandSet.on_registered()`. This is called by `cmd2.Cmd` after a `CommandSet` is registered
+ and all its commands have been added to the CLI.
+ * Added `CommandSet.on_unregistered()`. This is called by `cmd2.Cmd` after a `CommandSet` is unregistered
+ and all its commands have been removed from the CLI.
+
## 1.3.8 (August 28, 2020)
* Bug Fixes
* Fixed issue where subcommand added with `@as_subcommand_to` decorator did not display help