From a404872b9192297ccfe93ff036faf884e4d35c08 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sat, 22 Feb 2025 14:30:23 -0300 Subject: [PATCH] Version 0.46.0 (#2883) --- docs/release-notes.md | 19 +++++++++++++++++++ starlette/__init__.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) 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" -- 2.47.2