From e7fcf21031cd12acbe6e6000a54ada9422ef083a Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 12 Dec 2022 08:43:36 +0100 Subject: [PATCH 1/7] Version 0.24.0 --- docs/release-notes.md | 2 ++ starlette/__init__.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 1cd8c74bf..640efa933 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,5 @@ +## 0.24.0 + ## 0.23.1 December 9, 2022 diff --git a/starlette/__init__.py b/starlette/__init__.py index 43e16f5d2..770bb8d07 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.23.1" +__version__ = "0.24.0" From 008db18b0fe9cff2b5e044216447fe3f8a35905f Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Sun, 5 Feb 2023 20:17:59 +0100 Subject: [PATCH 2/7] Add notes for the release --- docs/release-notes.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 640efa933..59fef6463 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,5 +1,16 @@ ## 0.24.0 +February 7, 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). +* Make the `file` argument required on `UploadFile` [#1413](https://github.com/encode/starlette/pull/1413). +* 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). +* Support debug extension instead of custom response template extension [#1991](https://github.com/encode/starlette/pull/1991). + ## 0.23.1 December 9, 2022 From 24f34ed7bd961895ba8d8d4292eb396cc07d19fa Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 6 Feb 2023 06:56:52 +0100 Subject: [PATCH 3/7] Update docs/release-notes.md --- docs/release-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 59fef6463..014a7562a 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -5,6 +5,7 @@ February 7, 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). +* 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). * 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). From 0269908a7880b97fe175500b00707def2e2fae3a Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 6 Feb 2023 06:58:08 +0100 Subject: [PATCH 4/7] Update docs/release-notes.md --- docs/release-notes.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 014a7562a..d4cf19e6b 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -12,6 +12,9 @@ February 7, 2023 * Support `str` and `datetime` on `expires` parameter on the `Response.set_cookie` method [#1908](https://github.com/encode/starlette/pull/1908). * Support 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 From 37cb4a98d715065d2a955fd88a5d10501230adc9 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 6 Feb 2023 07:00:17 +0100 Subject: [PATCH 5/7] Update docs/release-notes.md --- docs/release-notes.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index d4cf19e6b..322cccb4a 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -5,12 +5,14 @@ February 7, 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). -* 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). * 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). -* Support debug extension instead of custom response template extension [#1991](https://github.com/encode/starlette/pull/1991). + +### 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). From c75924fa8af5db878b37de30737ebb57a07309c9 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 6 Feb 2023 13:23:17 +0100 Subject: [PATCH 6/7] Update docs/release-notes.md --- docs/release-notes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 322cccb4a..8ad7c8316 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,6 +1,6 @@ ## 0.24.0 -February 7, 2023 +February 6, 2023 ### Added * Allow `StaticFiles` to follow symlinks [#1683](https://github.com/encode/starlette/pull/1683). From 25e366035f178f369b6b29909928c87c7b10edc0 Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Mon, 6 Feb 2023 15:32:40 +0100 Subject: [PATCH 7/7] Update docs/release-notes.md --- docs/release-notes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/release-notes.md b/docs/release-notes.md index 8ad7c8316..c01b3c99f 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -5,6 +5,7 @@ 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).