summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS25
-rw-r--r--cliapp/__init__.py2
-rw-r--r--debian/changelog6
3 files changed, 32 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 169fe4d..9c84b55 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,31 @@
NEWS for cliapp
===============
+Version 0.15, released 2011-08-02
+---------------------------------
+
+* `cliapp.Application` now has a `subcommands` attribute, which is a
+ directory mapping subcommand names to the functions that implement
+ them. This provides an alternative way to define new subcommands,
+ which may be useful in plugin-based applications.
+* New method `cliapp.Application.runcmd_unchecked`.
+* There are some new options provided by defaults:
+ - `--list-config-files` lists the config files the application will try
+ to read
+ - `--config=FILE` adds a file to the list of configuration files to be
+ read
+ - `--no-default-configs` prevents any of the default configuration files
+ from being used; any `--config` options used after this one will still
+ be read
+* Parsing of string list values in config files has been fixed. INI files
+ have no standard syntax for presenting files (maybe JSON would be a
+ better option), but I invented something. How very clever of me.
+ At the same time, `--dump-config` now formats string list values
+ properly.
+* Default values for string lists work better now: the default is used,
+ unless the user specifies some values, in which only the values from
+ the user are used.
+
Version 0.14, released 2011-07-20
---------------------------------
diff --git a/cliapp/__init__.py b/cliapp/__init__.py
index db2bc9c..edd6357 100644
--- a/cliapp/__init__.py
+++ b/cliapp/__init__.py
@@ -14,7 +14,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
-__version__ = '0.14'
+__version__ = '0.15'
from settings import Settings
diff --git a/debian/changelog b/debian/changelog
index 7dd240e..25c0ae1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+python-cliapp (0.15-1) unstable; urgency=low
+
+ * New upstream release.
+
+ -- Lars Wirzenius <liw@liw.fi> Tue, 02 Aug 2011 19:33:07 +0100
+
python-cliapp (0.14-1) unstable; urgency=low
* New upstream release.