-
-
Notifications
You must be signed in to change notification settings - Fork 944
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: clean up more newsfragments from the breakingchange section
- Loading branch information
Showing
3 changed files
with
12 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
The deprecated ``api_helpers`` was removed in favor of the ``app_helpers`` | ||
module. In addition, the deprecated ``body`` | ||
attributes for the :class:`~falcon.Response`, | ||
:class:`asgi.Response <falcon.asgi.Response>`, | ||
and :class:`~falcon.HTTPStatus` classes. | ||
module. In addition, the deprecated ``body`` attributes of the | ||
:class:`~falcon.Response`, :class:`asgi.Response <falcon.asgi.Response>`, and | ||
:class:`~falcon.HTTPStatus` classes were removed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
Removed ``is_async`` argument from :meth:`~falcon.media.validators.jsonschema.validate` | ||
and the hooks :meth:`~falcon.before` and :meth:`~falcon.after` since it's | ||
no longer needed. | ||
Cython from 3.0 will correctly mark ``asnyc def`` as coroutine, making | ||
this argument no longer useful. | ||
The ``is_async`` keyword argument was removed from | ||
:meth:`~falcon.media.validators.jsonschema.validate`, as well as the hooks | ||
:meth:`~falcon.before` and :meth:`~falcon.after`, since it represented a niche | ||
use case that is even less relevant with the recent advances in the ecosystem: | ||
Cython 3.0+ will now correctly mark cythonized ``async def`` functions as | ||
coroutines, and pure-Python factory functions that return a coroutine can now | ||
be marked as such using :func:`inspect.markcoroutinefunction` | ||
(Python 3.12+ is required). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters