Skip to content

Commit

Permalink
chore(3.1.2): render newsfragments
Browse files Browse the repository at this point in the history
  • Loading branch information
vytas7 committed Nov 29, 2023
1 parent 1695b83 commit db22cb8
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 18 deletions.
4 changes: 0 additions & 4 deletions docs/_newsfragments/2051.bugfix.rst

This file was deleted.

6 changes: 0 additions & 6 deletions docs/_newsfragments/2146.bugfix.rst

This file was deleted.

7 changes: 0 additions & 7 deletions docs/_newsfragments/2157.bugfix.rst

This file was deleted.

21 changes: 20 additions & 1 deletion docs/changes/3.1.2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,26 @@ Changes to Supported Platforms
ecosystem changes in typing, Cython, etc.


.. towncrier release notes start
Fixed
-----

- Some essential files were unintentionally omitted from the source distribution
archive, rendering it unsuitable to run the test suite off.
This has been fixed, and the ``sdist`` tarball should now be usable as a base
for packaging Falcon in OS distributions. (`#2051 <https://github.com/falconry/falcon/issues/2051>`__)
- :ref:`WebSocket <ws>` implementation has been fixed to properly handle
:class:`~falcon.HTTPError` and :class:`~falcon.HTTPStatus` exceptions raised by
custom :func:`error handlers <falcon.asgi.App.add_error_handler>`.
The WebSocket connection is now correctly closed with an appropriate code
instead of bubbling up an unhandled error to the application server. (`#2146 <https://github.com/falconry/falcon/issues/2146>`__)
- Falcon's :class:`~falcon.testing.TestClient` mimics the behavior of real WSGI
servers (and the WSGI spec) by presenting the ``PATH_INFO`` CGI variable
already in the percent-decoded form. However, the client also used to
indiscriminately set the non-standard ``RAW_URI`` CGI variable to ``/``, which
made writing tests for apps :ref:`decoding raw URL path <raw_url_path_recipe>`
cumbersome. This has been fixed, and the raw path of a simulated request is now
preserved in ``RAW_URI``. (`#2157 <https://github.com/falconry/falcon/issues/2157>`__)


Contributors to this Release
----------------------------
Expand Down

0 comments on commit db22cb8

Please sign in to comment.