From 9632f9f59a60136c854b6b501907ccd2c4b541b0 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 6 Feb 2023 17:01:14 +0100 Subject: [PATCH] Version 0.24.0 (#1983) --- docs/release-notes.md | 20 ++++++++++++++++++++ starlette/__init__.py | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 1cd8c74bfe..c01b3c99fa 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,23 @@ +## 0.24.0 + +February 6, 2023 + +### Added +* Allow `StaticFiles` to follow symlinks [#1683](https://github.com/encode/starlette/pull/1683). +* Allow `Request.form()` as a context manager [#1903](https://github.com/encode/starlette/pull/1903). +* Add `size` attribute to `UploadFile` [#1405](https://github.com/encode/starlette/pull/1405). +* Add `env_prefix` argument to `Config` [#1990](https://github.com/encode/starlette/pull/1990). +* Add template context processors [#1904](https://github.com/encode/starlette/pull/1904). +* Support `str` and `datetime` on `expires` parameter on the `Response.set_cookie` method [#1908](https://github.com/encode/starlette/pull/1908). + +### Changed +* Lazily build the middleware stack [#2017](https://github.com/encode/starlette/pull/2017). +* Make the `file` argument required on `UploadFile` [#1413](https://github.com/encode/starlette/pull/1413). +* Use debug extension instead of custom response template extension [#1991](https://github.com/encode/starlette/pull/1991). + +### Fixed +* Fix url parsing of ipv6 urls on `URL.replace` [#1965](https://github.com/encode/starlette/pull/1965). + ## 0.23.1 December 9, 2022 diff --git a/starlette/__init__.py b/starlette/__init__.py index 43e16f5d29..770bb8d076 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.23.1" +__version__ = "0.24.0"