From 2c8442109e7db16073d09b84eb8c5627628e680498b7b0b91b9191cb851facc0 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Mon, 18 Apr 2022 16:29:32 +0000 Subject: [PATCH] Accepting request 970608 from home:stroeder:branches:devel:languages:python Update to 0.19.0 OBS-URL: https://build.opensuse.org/request/show/970608 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=7 --- python-starlette.changes | 31 +++++++++++++++++++++++++++++++ python-starlette.spec | 2 +- starlette-0.18.0.tar.gz | 3 --- starlette-0.19.0.tar.gz | 3 +++ 4 files changed, 35 insertions(+), 4 deletions(-) delete mode 100644 starlette-0.18.0.tar.gz create mode 100644 starlette-0.19.0.tar.gz diff --git a/python-starlette.changes b/python-starlette.changes index 3f0427f..33f6470 100644 --- a/python-starlette.changes +++ b/python-starlette.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Mon Apr 18 15:27:00 UTC 2022 - Michael Ströder + +- Update to 0.19.0: + * Added + - Error handler will always run, even if the error happens + on a background task #761. + - Add headers parameter to HTTPException #1435. + - Internal responses with 405 status code insert an Allow header, + as described by RFC 7231 #1436. + - The content argument in JSONResponse is now required #1431. + - Add custom URL convertor register #1437. + - Add content disposition type parameter to FileResponse #1266. + - Add next query param with original request URL in requires decorator #920. + - Add raw_path to TestClient scope #1445. + - Add union operators to MutableHeaders #1240. + - Display missing route details on debug page #1363. + - Change anyio required version range to >=3.4.0,<5.0 #1421 and #1460. + - Add typing-extensions>=3.10 requirement - used only on lower versions + than Python 3.10 #1475. + * Fixed + - Prevent BaseHTTPMiddleware from hiding errors of StreamingResponse + and mounted applications #1459. + - SessionMiddleware uses an explicit path=..., instead of defaulting + to the ASGI 'root_path' #1512. + - Request.client is now compliant with the ASGI specifications #1462. + - Raise KeyError at early stage for missing boundary #1349. + * Deprecated + - Deprecate WSGIMiddleware in favor of a2wsgi #1504. + - Deprecate run_until_first_complete #1443. + ------------------------------------------------------------------- Wed Feb 23 01:08:10 UTC 2022 - Steve Kowalik diff --git a/python-starlette.spec b/python-starlette.spec index 84dcd8c..5aca8e3 100644 --- a/python-starlette.spec +++ b/python-starlette.spec @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 Name: python-starlette -Version: 0.18.0 +Version: 0.19.0 Release: 0 Summary: Lightweight ASGI framework/toolkit License: BSD-3-Clause diff --git a/starlette-0.18.0.tar.gz b/starlette-0.18.0.tar.gz deleted file mode 100644 index beb4144..0000000 --- a/starlette-0.18.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2437f2a1bd68ef7cfa238c230e4e34a862b12b8b65ce7a981cea914627f75627 -size 408097 diff --git a/starlette-0.19.0.tar.gz b/starlette-0.19.0.tar.gz new file mode 100644 index 0000000..8ed1320 --- /dev/null +++ b/starlette-0.19.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:072c19cb6a7da49f7ef7f45208b4573786c756880df8d0f2e320f2b807467c2b +size 412337