Releases: falconry/falcon
4.2.0
Falcon 4.2.0 primarily contains typing enhancements and performance optimizations. This release also marks the debut of pre-compiled wheels for the free-threaded CPython 3.14 build. Let us know if you are experimenting with scaling Falcon applications using free-threading!
🐍 Falcon 4.2.0 on PyPI
📚 Changelog on RtD
The typing improvements focus on making the WSGI and ASGI App types generic (parametrized by the request and response types). This should make it significantly easier to properly annotate applications that leverage custom request and/or response types.
Additionally, we have fixed a reproducibility issue (thanks to @bmwiedemann from openSUSE for reporting!) in our documentation build process. Regarding packaging Falcon for distributions in general, we would like to remind you of the Packaging Guide that was published with the previous Falcon release (4.1.0). We hope this guide proves useful.
This release also incorporates a number of pull requests submitted by our community. Sincere thanks to all 8 contributors who made this release possible!
4.2.0rc1
This is the first release candidate of Falcon 4.2.0.
We would greatly appreciate it if you could help us with testing on your apps!
If you use type checking, please also check how the new generic App types (and other typing improvements) work for you.
Let us know if you run into any issues!
🐍 4.2.0rc1 on PyPI
📚 Changelog on RtD
As always, you can grab this pre-release from PyPI:
pip install falcon==4.2.0rc1
Thank You!
4.1.0
This release contains enhancements to media handling, serving static files, and a fix for the WebSockets-sink interaction, alongside performance optimizations and full support for CPython 3.14.
🐍 Falcon 4.1.0 on PyPI
📚 Changelog on RtD
During this release cycle, we have migrated to publishing to PyPI with a Trusted Publisher (thanks to @webknjaz for helping to iron out the workflow details).
For those relying on other package distribution channels than PyPI, we have prepared a brand new Packaging Guide for Falcon. Please check it out and let us know what you think! Additionally, we have formalized our security maintenance policy as well as the status of stable releases: Releases and Versioning.
This release also incorporates many pull requests submitted by our community. We would like to extend our heartfelt thanks to all 17 contributors who made this release possible!
4.1.0rc1
This is the first release candidate of Falcon 4.1.0.
We would greatly appreciate it if you could help us with the final round of testing on your apps, and let us know if you run into any issues!
🐍 4.1.0rc1 on PyPI
📚 Changelog on RtD
As always, you can grab this pre-release from PyPI:
pip install falcon==4.1.0rc1
Thank You!
4.1.0b1
This is the first beta release of Falcon 4.1.
As Falcon 4.1 is now feature-complete, we would really be thankful if you could take it for a spin with your apps, and let us know if you run into any issues!
🐍 4.1.0b1 on PyPI
📚 Changelog on RtD
As always, you can grab this pre-release from PyPI:
pip install falcon==4.1.0b1
Thank You!
4.1.0a3
This is yet another alpha release for validating the security improvements to the Trusted Publishing workflow.
🐍 4.1.0a3 on PyPI
Note that the final scope of 4.1.0 features will be defined in the first beta. Stay tuned!
4.1.0a2
This is the first published alpha release of Falcon 4.1.0. (4.1.0a1 was not published due to a CI configuration error.)
🐍 4.1.0a2 on PyPI
This pre-release marks the first time that we are taking advantage of PyPI's Trusted Publishing.
Note that the final scope of 4.1.0 features will be defined in the first beta. Stay tuned!
4.0.2
Falcon 4.0.2 is a minor point release (following the major Falcon 4.0.0 release, and Falcon 4.0.1 bugfix) to fix some missed re-exports for type checkers. In addition, we have also included a couple of documentation improvements.
Fixed
Running Mypy on code that uses parts of falcon.testing would previously lead to errors like:
Name "falcon.testing.TestClient" is not defined
This has been fixed by explicitly exporting the names that are imported into the falcon.testing namespace. (#2387)
Misc
The printable PDF version of our documentation was enabled on Read the Docs. (#2365)
4.0.1
Falcon 4.0.1 is a minor point release addressing a Python distribution issue in Falcon 4.0.0.
Fixed
Installing Falcon 4.0.0 unexpectedly copies many unintended directories from the source tree to the venv’s site-packages. This issue has been rectified, and our CI has been extended with new tests (that verify what is actually installed from the distribution) to make sure this regression does not resurface. (#2384)