From 478ea83336a4d1659ad06ef365db3dc5e051e46d Mon Sep 17 00:00:00 2001 From: Kevin Van Brunt Date: Tue, 25 Aug 2020 16:11:49 -0400 Subject: The functions cmd2 adds to Namespaces (get_statement() and get_handler()) are now Cmd2AttributeWrapper objects named cmd2_statement and cmd2_handler. This makes it easy to filter out which attributes in an argparse.Namespace were added by cmd2. --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'CHANGELOG.md') diff --git a/CHANGELOG.md b/CHANGELOG.md index e57c1e4b..5efc8b69 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 1.3.6 (August 26, 2020) +* Breaking changes + * The functions cmd2 adds to Namespaces (`get_statement()` and `get_handler()`) are now + `Cmd2AttributeWrapper` objects named `cmd2_statement` and `cmd2_handler`. This makes it + easy to filter out which attributes in an `argparse.Namespace` were added by `cmd2`. +* Deprecations + * ``Namespace.__statement__`` will be removed in `cmd2` 2.0.0. Use `Namespace.get_statement()` going forward. + ## 1.3.5 (August 25, 2020) * Bug Fixes * Fixed `RecursionError` when printing an `argparse.Namespace` caused by custom attribute cmd2 was adding -- cgit v1.2.1