d568f7e102
Accepting request 1314117 from devel:languages:python
Ana Guerrero2025-10-29 20:05:45 +00:00
8bba6cd630
- Update to 4.1.0 * CPython 3.14 is now fully supported. (#2413) * Although the Falcon 4.x series is only guaranteed to support Python 3.10+, this release still supports 3.8 & 3.9 at runtime using the pure Python wheel. * Falcon 4.2 is expected to drop the end-of-life Python 3.8 completely (but runtime support will continue for 3.9 on a best effort basis). * StaticRoute now renders Etag headers. It also checks If-None-Match in requests and returns HTTP 304 response if appropriate. (#2243) * StaticRoute now sets the Last-Modified header when serving static files. The improved implementation also checks the value of the If-Modified-Since header, and renders an HTTP 304 response when the requested file has not been modified. (#2244) * Similar to create_environ(), the create_scope() testing helper now preserves the raw URI path, and propagates it to the created ASGI connection scope as the raw_path byte string (according to the ASGI specification). (#2262) * Two new media_type constants, falcon.MEDIA_CSV and falcon.MEDIA_PARQUET, were added in order to provide better support for Python data analysis applications out of the box. (#2335) * Support for allowing cross-origin private network access was added to the built-in CORSMiddleware. The new feature is off by default, and can be enabled by passing the keyword argument allow_private_network=True to CORSMiddleware during initialization. (#2381) * The falcon.secure_filename() utility function can now ensure that the length of the sanitized filename does not exceed the requested limit (passed via the max_length argument). In addition, a new option, max_secure_filename_length, was added to MultipartParseOptions in order to automatically populate this argument when referencing a body part’s secure_filename. (#2420) * The unset_cookie() method now accepts a same_site parameter (with underscore) for consistency with set_cookie(). The previous samesite parameter (without underscore) is now deprecated (referencing it will emit a deprecation warning). (#2453) * A new method, __rich__, has been added to falcon.testing.Result for facilitating
Nico Krapp2025-10-28 16:25:43 +00:00
15db1c7b10
Accepting request 1300396 from devel:languages:python
Ana Guerrero2025-08-20 11:26:19 +00:00
322d819fee
- Add websockets.patch to fix test failure
Matej Cepl2025-03-25 20:52:57 +00:00
03cdd46458
Accepting request 1236160 from devel:languages:python
Ana Guerrero2025-01-12 10:14:02 +00:00
823c2f6e8e
- Build doc package just for tumbleweed to remove pydata-sphinx-theme requirement
Daniel Garcia2025-01-09 12:05:38 +00:00
ec693d0a80
Accepting request 1223760 from devel:languages:python
Ana Guerrero2024-11-13 14:28:29 +00:00
47f9b5d457
- Update to 4.0.2 * 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) * The printable PDF version of our documentation was enabled on Read the Docs. (#2365)
Markéta Machová2024-11-12 17:08:27 +00:00
c74f12e20f
- Update to 4.0.1: * Overview + CPython 3.11 - 3.13 is now fully supported. + End-of-life Python 3.5, 3.6 & 3.7 are no longer supported. + End-of-life Python 3.8 is no longer actively supported. + Type checking support was introduced. + Falcon is no longer vendoring the python-mimeparse library. + A number of undocumented internal helpers were renamed to start with an underscore. + A number of previously deprecated methods, attributes and classes have now been removed. + We decided, on the other hand, to keep the deprecated falcon.API alias until Falcon 5.0. + The deprecated api_helpers was removed in favor of the app_helpers module. + The function falcon.http_date_to_dt now validates HTTP dates to have the correct timezone set. It now also returns timezone-aware datetime.datetime objects. + setup.cfg was dropped in favor of consolidating all static project configuration in pyproject.toml * New & Improved + A new path converter falcon.routing.PathConverter capable of matching segments that include / was added. + Similar to the existing falcon.routing.IntConverter, a new falcon.routing.FloatConverter has been added, allowing to convert path segments to float. + A new method falcon.Request.get_header_as_int was implemented. + A new property, falcon.Request.headers_lower, was added to provide a unified, self-documenting way to get a copy of all request headers with lowercase names to facilitate case-insensitive matching.
Steve Kowalik2024-11-02 06:34:21 +00:00
88eaa1b6d7
Accepting request 1163999 from devel:languages:python
Ana Guerrero2024-04-02 14:43:47 +00:00
ce9bc64cb2
- Remove skipping asgi for Python 3.9. - Add patch support-new-uvicorn.patch: * Support new uvicorn, which now propagates its exit code.
Steve Kowalik2024-04-02 01:45:45 +00:00
d260e8e312
- Update to 3.1.1: Falcon 3.1.1 is a minor point release addressing a couple of high impact bugs, and enabling the framework on the recently released CPython 3.11. - 3.1.0 This release contains several refinements to request validation and error handling, along with some tweaks to response handling for static and downloadable files. Due to popular demand, TestClient and ASGIConductor now expose convenience shorthand aliases for the simulate_* methods, i.e., simulate_get() is now also available as get(), etc. Some important bugs were also fixed to ensure applications properly clean up response streams and do not hang when reading request bodies that are streamed using chunked transfer encoding. This release also adds support for CPython 3.10 and deprecates CPython 3.6.
Daniel Garcia2023-01-16 12:58:40 +00:00