From: Marcelo Trylesinski Date: Sat, 22 Feb 2025 17:30:23 +0000 (-0300) Subject: Version 0.46.0 (#2883) X-Git-Tag: 0.46.0 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=a404872b9192297ccfe93ff036faf884e4d35c08;p=thirdparty%2Fstarlette.git Version 0.46.0 (#2883) --- diff --git a/docs/release-notes.md b/docs/release-notes.md index 6217d726..856ddbca 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -2,6 +2,25 @@ toc_depth: 2 --- +## 0.46.0 (February 22, 2025) + +#### Added + +* `GZipMiddleware`: Make sure `Vary` header is always added if a response can be compressed [#2865](https://github.com/encode/starlette/pull/2865). + +#### Fixed + +* Raise exception from background task on BaseHTTPMiddleware [#2812](https://github.com/encode/starlette/pull/2812). +* `GZipMiddleware`: Don't compress on server sent events [#2871](https://github.com/encode/starlette/pull/2871). + +#### Changed + +* `MultiPartParser`: Rename `max_file_size` to `spool_max_size` [#2780](https://github.com/encode/starlette/pull/2780). + +#### Deprecated + +* Add deprecated warning to `TestClient(timeout=...)` [#2840](https://github.com/encode/starlette/pull/2840). + ## 0.45.3 (January 24, 2025) #### Fixed diff --git a/starlette/__init__.py b/starlette/__init__.py index ebd28990..6f709872 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.45.3" +__version__ = "0.46.0"