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>

View File

@@ -27,7 +27,7 @@
%{?sle15_python_module_pythons}
Name: python-starlette%{psuffix}
Version: 0.38.5
Version: 0.41.0
Release: 0
Summary: Lightweight ASGI framework/toolkit
License: BSD-3-Clause
@@ -99,7 +99,7 @@ ignored_tests="$ignored_tests or test_lifespan_with_on_events"
%doc README.md
%license LICENSE.md
%{python_sitelib}/starlette
%{python_sitelib}/starlette-%{version}*-info
%{python_sitelib}/starlette-%{version}.dist-info
%endif
%changelog

BIN
starlette-0.38.5.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
starlette-0.41.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.