From f415835cbdec33b3da3dd60162f80434f50f1161 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Tue, 14 Sep 2010 13:19:06 +0000 Subject: gardening --- CHANGES.txt | 9 +++++++++ docs/whatsnew-1.3.rst | 17 ++++++----------- 2 files changed, 15 insertions(+), 11 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 14e2c2b56..72b560e85 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,3 +1,12 @@ +Next version +============ + +- A prior changelog entry asserted that the ``INewResponse`` event was + not sent to listeners if the response was not "valid" (if a view or + renderer returned a response object that did not have a + status/headers/app_iter). This is not true in this release, nor was + it true in 1.3a13. + 1.3a13 (2010-09-14) =================== diff --git a/docs/whatsnew-1.3.rst b/docs/whatsnew-1.3.rst index 0d75375f9..63f0355fd 100644 --- a/docs/whatsnew-1.3.rst +++ b/docs/whatsnew-1.3.rst @@ -233,8 +233,8 @@ Minor Feature Additions - New API class: :class:`repoze.bfg.view.AppendSlashNotFoundViewFactory`. - There can only be one :term:`Not Found view` in any :mod:`repoze.bfg - application. Even if you use + There can only be one :term:`Not Found view` in any + :mod:`repoze.bfg` application. Even if you use :func:`repoze.bfg.view.append_slash_notfound_view` as the Not Found view, :mod:`repoze.bfg` still must generate a ``404 Not Found`` response when it cannot redirect to a slash-appended URL; this not @@ -290,9 +290,9 @@ Minor Feature Additions specification` string into an absolute version. - A new :meth:`repoze.bfg.request.Request.add_response_callback` API - has been added. This method is documented in the new - :mod:`repoze.bfg.request` API chapter. It can be used to influence - response values before a concrete response object has been created. + has been added. It can be used to influence response values before + a concrete response object has been created. See the + :ref:`using_response_callbacks` for more information. - The :class:`repoze.bfg.interfaces.INewResponse` interface now includes a ``request`` attribute; as a result, a handler for @@ -368,7 +368,7 @@ Minor Feature Additions These APIs are in support of that: - A new constructor argument was added to - :mod:`repoze.bfg.configuration.Configurator`: + :class:`repoze.bfg.configuration.Configurator`: ``default_permission``. - A new method was added: @@ -525,11 +525,6 @@ Backwards Incompatibilities circumstances, a routing match which your application inadvertently depended upon may no longer happen. -- The :class:`repoze.bfg.interfaces.INewResponse` event is now not - sent to listeners if the response returned by view code (or a - renderer) is not a "real" response (e.g. if it does not have - ``.status``, ``.headerlist`` and ``.app_iter`` attribtues). - - The router no longer sets the value ``wsgiorg.routing_args`` into the environ when a route matches. The value used to be something like ``((), matchdict)``. This functionality was only ever -- cgit v1.2.3