diff options
Diffstat (limited to 'docs/source/changes.rst')
-rw-r--r-- | docs/source/changes.rst | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/docs/source/changes.rst b/docs/source/changes.rst index 75f22ec..3b01d0e 100644 --- a/docs/source/changes.rst +++ b/docs/source/changes.rst @@ -1,3 +1,28 @@ +0.6.0 +===== +* Added support for disabling the `pecan.request` and `pecan.response` + threadlocals at the WSGI application level in favor of explicit reference + passing. For more information, see :ref:`contextlocals`. +* Added better support for hook composition via subclassing and mixins. For + more information, see :ref:`attaching_hooks`. +* Added support for specifying custom request and response implementations at + the WSGI application level for people who want to extend the functionality + provided by the base classes in `webob`. +* Pecan controllers may now return an explicit `webob.Response` instance to + short-circuit Pecan's template rendering and serialization. +* For generic methods that return HTTP 405, pecan now generates an `Allow` + header to communicate acceptable methods to the client. +* Fixed a bug in adherence to RFC2616: if an exposed method returns no response + body (or namespace), pecan will now enforce an HTTP 204 response (instead of + HTTP 200). +* Fixed a bug in adherence to RFC2616: when pecan responds with HTTP 204 or + HTTP 304, the `Content-Type` header is automatically stripped (because these + types of HTTP responses do not contain body content). +* Fixed a bug: now when clients request JSON via an `Accept` header, `webob` + HTTP exceptions are serialized as JSON, not their native HTML representation. +* Fixed a bug that broke applications which specified `default_renderer + = json`. + 0.5.0 ===== * This release adds formal support for pypy. |