From 49887de9bd71dff792cd221ea788f6f79217d5df Mon Sep 17 00:00:00 2001 From: Kurt Griffiths Date: Sun, 9 Oct 2016 17:15:30 -0600 Subject: [PATCH] doc(CHANGES.rst): Update changelog, tag_build in preparation for rc1 (#928) --- CHANGES.rst | 10 ++++++++++ docs/changes/1.1.0.rst | 10 ++++++++++ setup.cfg | 2 +- 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/CHANGES.rst b/CHANGES.rst index 4dd5d39..3831930 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -21,10 +21,15 @@ New & Improved - JSON-encoded query parameter values can now be retrieved and decoded in a single step via ``falcon.Request.get_param_as_dict()``. - CSV-style parsing of query parameter values can now be disabled. +- ``falcon.Request.get_param_as_bool()`` now recognizes "on" and + "off" in support of IE's default checkbox values. +- An `accept_ranges` property was added to ``falcon.Request`` to + facilitate setting the Accept-Ranges header. - Added the ``falcon.HTTPUriTooLong`` and ``falcon.HTTPGone`` error classes. - When a title is not specified for ``falcon.HTTPError``, it now defaults to the HTTP status text. +- All parameters are now optional for most error classes. - Cookie-related documentation has been clarified and expanded - The ``falcon.testing.Cookie`` class was added to represent a cookie returned by a simulated request. ``falcon.testing.Result`` @@ -89,11 +94,16 @@ Fixed - ``falcon.testing.Result`` now assumes that the response body is encoded as UTF-8 when the character set is not specified, rather than raising an error when attempting to decode the response body. +- When simulating requests, Falcon's testing framework now properly + tunnels Unicode characters through the WSGI interface. - ``import falcon.uri`` now works, in addition to ``from falcon import uri``. - URI template fields are now validated up front, when the route is added, to ensure they are valid Python identifiers. This prevents cryptic errors from being raised later on when requests are routed. +- When running under Python 3, ``inspect.signature()`` is used + instead of ``inspect.getargspec()`` to provide compatibility with + annotated functions. 1.0.0 ===== diff --git a/docs/changes/1.1.0.rst b/docs/changes/1.1.0.rst index b1659b1..a3256bf 100644 --- a/docs/changes/1.1.0.rst +++ b/docs/changes/1.1.0.rst @@ -21,10 +21,15 @@ New & Improved - JSON-encoded query parameter values can now be retrieved and decoded in a single step via :meth:`~falcon.Request.get_param_as_dict`. - CSV-style parsing of query parameter values can now be disabled. +- :meth:`~falcon.Request.get_param_as_bool` now recognizes "on" and + "off" in support of IE's default checkbox values. +- An `accept_ranges` property was added to :class:`~falcon.Request` to + facilitate setting the Accept-Ranges header. - Added the :class:`~falcon.HTTPUriTooLong` and :class:`~falcon.HTTPGone` error classes. - When a title is not specified for :class:`~falcon.HTTPError`, it now defaults to the HTTP status text. +- All parameters are now optional for most error classes. - Cookie-related documentation has been clarified and expanded - The :class:`falcon.testing.Cookie` class was added to represent a cookie returned by a simulated request. :class:`falcon.testing.Result` @@ -89,9 +94,14 @@ Fixed - :class:`falcon.testing.Result` now assumes that the response body is encoded as UTF-8 when the character set is not specified, rather than raising an error when attempting to decode the response body. +- When simulating requests, Falcon's testing framework now properly + tunnels Unicode characters through the WSGI interface. - ``import falcon.uri`` now works, in addition to ``from falcon import uri``. - URI template fields are now validated up front, when the route is added, to ensure they are valid Python identifiers. This prevents cryptic errors from being raised later on when requests are routed. +- When running under Python 3, :meth:`inspect.signature()` is used + instead of :meth:`inspect.getargspec()` to provide compatibility with + annotated functions. diff --git a/setup.cfg b/setup.cfg index 83b705f..e888cb3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [egg_info] -tag_build = b1 +tag_build = rc1 [wheel] universal = 1