14
0

- Update to 0.41.0:

* Allow to raise HTTPException before websocket.accept().
  * Add max_part_size to MultiPartParser to limit the size of parts in
    multipart/form-data requests. (bsc#1231689, CVE-2024-47874)
  * Allow use of request.url_for when only "app" scope is available.
  * Avoid regex re-compilation in responses.py and schemas.py.
  * Improve performance of get_route_path by removing regular expression
    usage.
  * Consider FileResponse.chunk_size when handling multiple ranges.
  * Use token_hex for generating multipart boundary strings.
  * Add support for HTTP Range to FileResponse.
  * Close unclosed MemoryObjectReceiveStream in TestClient.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=54
This commit is contained in:
2024-10-16 04:18:55 +00:00
committed by Git OBS Bridge
parent ce1549705c
commit f2609f6f38
4 changed files with 21 additions and 5 deletions

View File

@@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Oct 16 04:18:23 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.41.0:
* Allow to raise HTTPException before websocket.accept().
* Add max_part_size to MultiPartParser to limit the size of parts in
multipart/form-data requests. (bsc#1231689, CVE-2024-47874)
* Allow use of request.url_for when only "app" scope is available.
* Avoid regex re-compilation in responses.py and schemas.py.
* Improve performance of get_route_path by removing regular expression
usage.
* Consider FileResponse.chunk_size when handling multiple ranges.
* Use token_hex for generating multipart boundary strings.
* Add support for HTTP Range to FileResponse.
* Close unclosed MemoryObjectReceiveStream in TestClient.
-------------------------------------------------------------------
Sun Sep 8 15:05:40 UTC 2024 - Dirk Müller <dmueller@suse.com>