summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.1.rst
diff options
context:
space:
mode:
authorChris McDonough <chrism@plope.com>2011-07-10 00:30:30 -0400
committerChris McDonough <chrism@plope.com>2011-07-10 00:30:30 -0400
commit7565006cf1f3b929d9ea54256214f3a39385936a (patch)
treeea8bc720794160e85c60c79f3b3bc5770b9b7ebc /docs/whatsnew-1.1.rst
parentd1574c723bad0e6fc0e02627a65af47af3f548c2 (diff)
downloadpyramid-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 'docs/whatsnew-1.1.rst')
-rw-r--r--docs/whatsnew-1.1.rst19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/whatsnew-1.1.rst b/docs/whatsnew-1.1.rst
index a9df38a45..b249b0ba7 100644
--- a/docs/whatsnew-1.1.rst
+++ b/docs/whatsnew-1.1.rst
@@ -94,6 +94,19 @@ Default HTTP Exception View
Minor Feature Additions
-----------------------
+- 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 :ref:`interactive_shell`.
+
+- 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 :ref:`extending_pshell`.
+
- The :meth:`pyramid.config.Configurator.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
@@ -295,6 +308,12 @@ Backwards Incompatibilities
Deprecations and Behavior Differences
-------------------------------------
+- 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.
+
- The default Mako renderer is now configured to escape all HTML in
expression tags. This is intended to help prevent XSS attacks caused by
rendering unsanitized input from users. To revert this behavior in user's