summaryrefslogtreecommitdiff
path: root/docs/whatsnew-1.4.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/whatsnew-1.4.rst')
-rw-r--r--docs/whatsnew-1.4.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/whatsnew-1.4.rst b/docs/whatsnew-1.4.rst
index 58a44202c..8e333bf5d 100644
--- a/docs/whatsnew-1.4.rst
+++ b/docs/whatsnew-1.4.rst
@@ -65,6 +65,14 @@ Partial Mako and Chameleon Template Renderings
defined as ``macroname`` within the ``template.pt`` template instead of the
entire templae.
+Subrequest Support
+~~~~~~~~~~~~~~~~~~
+
+- Developers may invoke a subrequest by using the
+ :meth:`pyramid.request.Request.invoke_subrequest` API. This allows a
+ developer to obtain a response from one view callable by issuing a subrequest
+ from within a different view callable.
+
Minor Feature Additions
-----------------------
@@ -222,6 +230,12 @@ Backwards Incompatibilities
* ``registerSettings``, use
:meth:`pyramid.config.Configurator.add_settings` instead.
+- In Pyramid 1.3 and previous, the ``__call__`` method of a Response object
+ returned by a view was invoked before any finished callbacks were executed.
+ As of this release, the ``__call__`` method of a Response object is invoked
+ *after* finished callbacks are executed. This is in support of the
+ :meth:`pyramid.request.Request.invoke_subrequest` feature.
+
Deprecations
------------
@@ -239,6 +253,8 @@ Documentation Enhancements
how to show Pyramid-generated deprecation warnings while running tests and
while running a server.
+- Added a :ref:`subrequest_chapter` chapter to the narrative documentation.
+
- Many cleanups and improvements to narrative and API docs.
Dependency Changes