Version increment.

Change-Id: Idac278b53431988c6a3a3dfe89fcb4156f5574c1
This commit is contained in:
Ryan Petrello
2014-06-26 16:48:11 -04:00
parent f619982e1e
commit 896fc63701
3 changed files with 28 additions and 1 deletions

View File

@@ -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.

View File

@@ -87,6 +87,8 @@ no furthur :func:`~pecan.hooks.PecanHook.on_error` hooks will be executed::
if isinstance(exc, SomeExceptionType):
return webob.Response('Custom Error!', status=500)
.. _attaching_hooks:
Attaching Hooks
---------------

View File

@@ -3,7 +3,7 @@ import platform
from setuptools import setup, find_packages
version = '0.5.0'
version = '0.6.0'
#
# determine requirements