Skip to content

Commit 5544589

Browse files
authored
chore: prepare 4.2.0 stable (#2575)
* chore: prepare 4.2.0 stable (WiP draft) * docs(4.2.0): finish the changelog * chore(pyproject.toml): add Free Threading Trove classifiers
1 parent 684adbb commit 5544589

File tree

3 files changed

+25
-12
lines changed

3 files changed

+25
-12
lines changed

docs/changes/4.2.0.rst

Lines changed: 22 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,31 @@
11
Changelog for Falcon 4.2.0
22
==========================
33

4+
.. falcon-release: 2025-11-10
5+
46
Summary
57
-------
68

7-
This is the first release candidate of Falcon 4.2.0.
8-
9-
We would greatly appreciate it if you could help us with testing on your apps!
10-
If you use type checking, please also check how the new
11-
:ref:`generic App types <generic_app_types>` (and other typing improvements)
12-
work for you. :ref:`Let us know <chat>` if you run into any issues!
13-
14-
As always, you can grab this pre-release
15-
`from PyPI <https://pypi.org/project/falcon/4.2.0rc1/>`__::
16-
17-
pip install falcon==4.2.0rc1
9+
Falcon 4.2.0 primarily contains typing enhancements and performance
10+
optimizations. This release also marks the debut of pre-compiled wheels for the
11+
:ref:`free-threaded <faq_free_threading>` CPython 3.14 build.
12+
:ref:`Let us know <chat>` if you are experimenting with scaling Falcon
13+
applications using free-threading!
14+
15+
The typing improvements focus on making the WSGI and ASGI App types
16+
:ref:`generic <generic_app_types>` (parametrized by the request and response
17+
types). This should make it significantly easier to properly annotate
18+
applications that leverage custom request and/or response types.
19+
20+
Additionally, we have fixed a reproducibility issue (thanks to
21+
`@bmwiedemann <https://github.com/bmwiedemann>`__ from openSUSE for reporting!)
22+
in our documentation build process. Regarding packaging Falcon for
23+
distributions in general, we would like to remind you of the
24+
:doc:`/community/packaging` that was published with the previous Falcon release
25+
(4.1.0). We hope this guide proves useful.
26+
27+
This release also incorporates a number of pull requests submitted by our
28+
community. Sincere thanks to all 8 contributors who made this release possible!
1829

1930

2031
Changes to Supported Platforms

falcon/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
"""Falcon version."""
1616

17-
__version__ = '4.2.0rc1'
17+
__version__ = '4.2.0'
1818
"""Current version of Falcon."""

pyproject.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ classifiers = [
3838
"Programming Language :: Python :: 3.12",
3939
"Programming Language :: Python :: 3.13",
4040
"Programming Language :: Python :: 3.14",
41+
"Programming Language :: Python :: Free Threading",
42+
"Programming Language :: Python :: Free Threading :: 2 - Beta",
4143
"Programming Language :: Cython",
4244
"Typing :: Typed",
4345
]

0 commit comments

Comments
 (0)