Changelogs » Starlette

PyUp Safety actively tracks 266,461 Python packages for vulnerabilities and notifies you when to upgrade.

Starlette

0.13.8

* Revert `Queue(maxsize=1)` fix for `BaseHTTPMiddleware` middleware classes and streaming responses.
  
  * The `StaticFiles` constructor now allows `pathlib.Path` in addition to strings for its `directory` argument.

0.13.7

* Fix high memory usage when using BaseHTTPMiddleware middleware classes and streaming responses.

0.13.6

* Fix 404 errors with `StaticFiles`.

0.13.5

* Add support for `Starlette(lifespan=...)` functions.
  * More robust path-traversal check in StaticFiles app.
  * Fix WSGI PATH_INFO encoding.
  * RedirectResponse now accepts optional background parameter
  * Allow path routes to contain regex meta characters
  * Treat ASGI HTTP 'body' as an optional key.
  * Don't use thread pooling for writing to in-memory upload files.

0.13.4

* Add UUID convertor. 903
  * More lenient cookie parsing. 900