diff options
| author | Chris McDonough <chrism@plope.com> | 2011-07-10 00:30:30 -0400 |
|---|---|---|
| committer | Chris McDonough <chrism@plope.com> | 2011-07-10 00:30:30 -0400 |
| commit | 7565006cf1f3b929d9ea54256214f3a39385936a (patch) | |
| tree | ea8bc720794160e85c60c79f3b3bc5770b9b7ebc /CHANGES.txt | |
| parent | d1574c723bad0e6fc0e02627a65af47af3f548c2 (diff) | |
| download | pyramid-7565006cf1f3b929d9ea54256214f3a39385936a.tar.gz pyramid-7565006cf1f3b929d9ea54256214f3a39385936a.tar.bz2 pyramid-7565006cf1f3b929d9ea54256214f3a39385936a.zip | |
add info to changes.txt and whatsnew about pshell changes; removed unused import and unwrap string
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index ff4036036..ae8395234 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,21 @@ Next release Features -------- +- It is now possible to invoke ``paster pshell`` even if the paste ini file + section name pointed to in its argument is not actually a Pyramid WSGI + application. The shell will work in a degraded mode, and will warn the + user. See "The Interactive Shell" in the "Creating a Pyramid Project" + narrative documentation section. + +- ``paster pshell`` now offers more built-in global variables by default + (including ``app`` and ``settings``). See "The Interactive Shell" in the + "Creating a Pyramid Project" narrative documentation section. + +- It is now possible to add a ``[pshell]`` section to your application's .ini + configuration file, which influences the global names available to a pshell + session. See "Extending the Shell" in the "Creating a Pyramid Project" + narrative documentation chapter. + - The ``config.scan`` method has grown a ``**kw`` argument. ``kw`` argument represents a set of keyword arguments to pass to the Venusian ``Scanner`` object created by Pyramid. (See the Venusian documentation for more @@ -78,6 +93,15 @@ Documentation - Added a section in the "Webob" chapter named "Dealing With A JSON-Encoded Request Body" (usage of ``request.json_body``). +Behavior Changes +---------------- + +- The ``paster pshell``, ``paster proutes``, and ``paster pviews`` commands + now take a single argument in the form ``/path/to/config.ini#sectionname`` + rather than the previous 2-argument spelling ``/path/to/config.ini + sectionname``. ``#sectionname`` may be omitted, in which case ``#main`` is + assumed. + 1.1a4 (2011-07-01) ================== |
