doc(CHANGES.rst): Update changelog, tag_build in preparation for rc1 (#928)
This commit is contained in:
committed by
John Vrbanac
parent
24605a88c3
commit
49887de9bd
10
CHANGES.rst
10
CHANGES.rst
@@ -21,10 +21,15 @@ New & Improved
|
|||||||
- JSON-encoded query parameter values can now be retrieved and decoded
|
- JSON-encoded query parameter values can now be retrieved and decoded
|
||||||
in a single step via ``falcon.Request.get_param_as_dict()``.
|
in a single step via ``falcon.Request.get_param_as_dict()``.
|
||||||
- CSV-style parsing of query parameter values can now be disabled.
|
- 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
|
- Added the ``falcon.HTTPUriTooLong`` and
|
||||||
``falcon.HTTPGone`` error classes.
|
``falcon.HTTPGone`` error classes.
|
||||||
- When a title is not specified for ``falcon.HTTPError``, it now
|
- When a title is not specified for ``falcon.HTTPError``, it now
|
||||||
defaults to the HTTP status text.
|
defaults to the HTTP status text.
|
||||||
|
- All parameters are now optional for most error classes.
|
||||||
- Cookie-related documentation has been clarified and expanded
|
- Cookie-related documentation has been clarified and expanded
|
||||||
- The ``falcon.testing.Cookie`` class was added to represent a
|
- The ``falcon.testing.Cookie`` class was added to represent a
|
||||||
cookie returned by a simulated request. ``falcon.testing.Result``
|
cookie returned by a simulated request. ``falcon.testing.Result``
|
||||||
@@ -89,11 +94,16 @@ Fixed
|
|||||||
- ``falcon.testing.Result`` now assumes that the response body
|
- ``falcon.testing.Result`` now assumes that the response body
|
||||||
is encoded as UTF-8 when the character set is not specified, rather
|
is encoded as UTF-8 when the character set is not specified, rather
|
||||||
than raising an error when attempting to decode the response body.
|
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
|
- ``import falcon.uri`` now works, in addition to
|
||||||
``from falcon import uri``.
|
``from falcon import uri``.
|
||||||
- URI template fields are now validated up front, when the route is
|
- URI template fields are now validated up front, when the route is
|
||||||
added, to ensure they are valid Python identifiers. This prevents
|
added, to ensure they are valid Python identifiers. This prevents
|
||||||
cryptic errors from being raised later on when requests are routed.
|
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
|
1.0.0
|
||||||
=====
|
=====
|
||||||
|
|||||||
@@ -21,10 +21,15 @@ New & Improved
|
|||||||
- JSON-encoded query parameter values can now be retrieved and decoded
|
- JSON-encoded query parameter values can now be retrieved and decoded
|
||||||
in a single step via :meth:`~falcon.Request.get_param_as_dict`.
|
in a single step via :meth:`~falcon.Request.get_param_as_dict`.
|
||||||
- CSV-style parsing of query parameter values can now be disabled.
|
- 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
|
- Added the :class:`~falcon.HTTPUriTooLong` and
|
||||||
:class:`~falcon.HTTPGone` error classes.
|
:class:`~falcon.HTTPGone` error classes.
|
||||||
- When a title is not specified for :class:`~falcon.HTTPError`, it now
|
- When a title is not specified for :class:`~falcon.HTTPError`, it now
|
||||||
defaults to the HTTP status text.
|
defaults to the HTTP status text.
|
||||||
|
- All parameters are now optional for most error classes.
|
||||||
- Cookie-related documentation has been clarified and expanded
|
- Cookie-related documentation has been clarified and expanded
|
||||||
- The :class:`falcon.testing.Cookie` class was added to represent a
|
- The :class:`falcon.testing.Cookie` class was added to represent a
|
||||||
cookie returned by a simulated request. :class:`falcon.testing.Result`
|
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
|
- :class:`falcon.testing.Result` now assumes that the response body
|
||||||
is encoded as UTF-8 when the character set is not specified, rather
|
is encoded as UTF-8 when the character set is not specified, rather
|
||||||
than raising an error when attempting to decode the response body.
|
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
|
- ``import falcon.uri`` now works, in addition to
|
||||||
``from falcon import uri``.
|
``from falcon import uri``.
|
||||||
- URI template fields are now validated up front, when the route is
|
- URI template fields are now validated up front, when the route is
|
||||||
added, to ensure they are valid Python identifiers. This prevents
|
added, to ensure they are valid Python identifiers. This prevents
|
||||||
cryptic errors from being raised later on when requests are routed.
|
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.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user