1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
|
Changelog for Falcon 0.3.0
==========================
Breaking Changes
----------------
- Date headers are now returned as :class:`datetime.datetime` objects
instead of strings.
- The expected signature for the ``add_route()`` method of custom routers no
longer includes a `method_map` parameter. Custom routers should, instead,
call the :meth:`falcon.routing.util.map_http_methods` function directly
from their ``add_route()`` method if they require this mapping.
New & Improved
--------------
- This release includes a new router architecture for improved performance
and flexibility.
- A custom router can now be specified when instantiating the
:class:`API` class.
- URI templates can now include multiple parameterized fields within a
single path segment.
- Falcon now supports reading and writing cookies.
- Falcon now supports Jython 2.7.
- A method for getting a query param as a date was added to the
:class:`Request` class.
- Date headers are now returned as :class:`datetime.datetime` objects.
- A default value can now be specified when calling
:meth:`Request.get_param`. This provides an alternative to using the
pattern::
value = req.get_param(name) or default_value
- Friendly constants for status codes were added (e.g.,
:attr:`falcon.HTTP_NO_CONTENT` vs. :attr:`falcon.HTTP_204`.)
- Several minor performance optimizations were made to the code base.
Fixed
-----
- The query string parser was modified to improve handling of percent-encoded
data.
- Several errors in the documentation were corrected.
- The :mod:`six` package was pinned to 1.4.0 or better.
:attr:`six.PY2` is required by Falcon, but that wasn't added to
:mod:`six` until version 1.4.0.
|