diff options
| author | Chris McDonough <chrism@agendaless.com> | 2010-09-06 00:06:48 +0000 |
|---|---|---|
| committer | Chris McDonough <chrism@agendaless.com> | 2010-09-06 00:06:48 +0000 |
| commit | eb7ea411bfce55085449b79ac88aac19af0e232f (patch) | |
| tree | 6c98b973c746d4c37a5d7f40078aefd9dd1c4d23 /CHANGES.txt | |
| parent | 8deae21c801bc05c6464a6eead3df449ed1fe52d (diff) | |
| download | pyramid-eb7ea411bfce55085449b79ac88aac19af0e232f.tar.gz pyramid-eb7ea411bfce55085449b79ac88aac19af0e232f.tar.bz2 pyramid-eb7ea411bfce55085449b79ac88aac19af0e232f.zip | |
- The ``repoze.bfg.interfaces.INewResponse`` interface now includes a
``request`` attribute; as a result, a handler for INewResponse now
has access to the request which caused the response.
- The 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).
Diffstat (limited to 'CHANGES.txt')
| -rw-r--r-- | CHANGES.txt | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/CHANGES.txt b/CHANGES.txt index 1228ef4aa..bddef2b4f 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -9,6 +9,10 @@ Features ``repoze.bfg.request`` API chapter. It can be used to influence response values before a concrete response object has been created. +- The ``repoze.bfg.interfaces.INewResponse`` interface now includes a + ``request`` attribute; as a result, a handler for INewResponse now + has access to the request which caused the response. + - Each of the follow methods of the Configurator now allow the below-named arguments to be passed as "dotted name strings" (e.g. "foo.bar.baz") rather than as actual implementation objects @@ -85,6 +89,9 @@ Documentation new ``repoze.bfg.request`` API chapter. Some content was moved from this chapter into the API documentation itself. +- Various changes to denote that Python dotted names are now allowed + as input to Configurator methods. + Internal -------- @@ -96,6 +103,10 @@ Internal ``repoze.bfg.request.Request.add_response_callback`` takes its place. +- The ``repoze.bfg.events.NewResponse`` class's construct has changed: + it now must be created with ``(request, response)`` rather than + simply ``(response)``. + 1.3a9 (2010-08-22) ================== |
