14
0

- Update to 0.18.0:

* Change default chunk size from 4Kb to 64Kb on FileResponse #1345.
  * Add support for functools.partial in WebSocketRoute #1356.
  * Add StaticFiles packages with directory #1350.
  * Allow environment options in Jinja2Templates #1401.
  * Allow HEAD method on HttpEndpoint #1346.
  * Accept additional headers on websocket.accept message #1361 and #1422.
  * Add reason to WebSocket close ASGI event #1417.
  * Add headers attribute to UploadFile #1382.
  * Don't omit Content-Length header for Content-Length: 0 cases #1395.
  * Don't set headers for responses with 1xx, 204 and 304 status code #1397.
  * SessionMiddleware.max_age now accepts None, so cookie can last as long
    as the browser session #1387.
  * Tweak hashlib.md5() function on FileResponses ETag generation. The
    parameter usedforsecurity flag is set to False, if the flag is available
    on the system. This fixes an error raised on systems with FIPS
    enabled #1366 and #1410.
  * Fix path_params type on url_path_for() method i.e. turn str into Any #1341.
  * Host now ignores port on routing #1322. 
- Set asyncio_mode when running pytest, and stop turning warnings into
  errors.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-starlette?expand=0&rev=6
This commit is contained in:
2022-02-23 01:10:08 +00:00
committed by Git OBS Bridge
parent 2e87c7aed6
commit 102797fda2
4 changed files with 34 additions and 10 deletions

View File

@@ -1,3 +1,28 @@
-------------------------------------------------------------------
Wed Feb 23 01:08:10 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 0.18.0:
* Change default chunk size from 4Kb to 64Kb on FileResponse #1345.
* Add support for functools.partial in WebSocketRoute #1356.
* Add StaticFiles packages with directory #1350.
* Allow environment options in Jinja2Templates #1401.
* Allow HEAD method on HttpEndpoint #1346.
* Accept additional headers on websocket.accept message #1361 and #1422.
* Add reason to WebSocket close ASGI event #1417.
* Add headers attribute to UploadFile #1382.
* Don't omit Content-Length header for Content-Length: 0 cases #1395.
* Don't set headers for responses with 1xx, 204 and 304 status code #1397.
* SessionMiddleware.max_age now accepts None, so cookie can last as long
as the browser session #1387.
* Tweak hashlib.md5() function on FileResponses ETag generation. The
parameter usedforsecurity flag is set to False, if the flag is available
on the system. This fixes an error raised on systems with FIPS
enabled #1366 and #1410.
* Fix path_params type on url_path_for() method i.e. turn str into Any #1341.
* Host now ignores port on routing #1322.
- Set asyncio_mode when running pytest, and stop turning warnings into
errors.
-------------------------------------------------------------------
Wed Dec 8 15:53:03 UTC 2021 - Torsten Gruner <simmphonie@opensuse.org>