From 0c4b68ac4e179a788e38bac28f299dcad0f36e99 Mon Sep 17 00:00:00 2001 From: Amin Alaee Date: Tue, 16 May 2023 14:26:45 +0330 Subject: [PATCH] Version 0.27.0 (#2147) * Version 0.27.0 * Update release-notes.md * Update docs/release-notes.md * Update docs/release-notes.md * Update docs/release-notes.md * Update release-notes.md * Update docs/release-notes.md * Update release-notes.md * Update docs/release-notes.md * Update docs/release-notes.md * Update docs/release-notes.md --------- Co-authored-by: Marcelo Trylesinski --- docs/release-notes.md | 15 +++++++++++++++ starlette/__init__.py | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/release-notes.md b/docs/release-notes.md index 99a18507a..824b483f9 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,18 @@ +## 0.27.0 + +May 16, 2023 + +This release fixes a path traversal vulnerability in `StaticFiles`. You can view the full security advisory: +https://github.com/encode/starlette/security/advisories/GHSA-v5gw-mw7f-84px + +### Added +* Minify JSON websocket data via `send_json` https://github.com/encode/starlette/pull/2128 + +### Fixed +* Replace `commonprefix` by `commonpath` on `StaticFiles` [1797de4](https://github.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3). +* Convert ImportErrors into ModuleNotFoundError [#2135](https://github.com/encode/starlette/pull/2135). +* Correct the RuntimeError message content in websockets [#2141](https://github.com/encode/starlette/pull/2141). + ## 0.26.1 March 13, 2023 diff --git a/starlette/__init__.py b/starlette/__init__.py index 025f4c5d0..cde6d8971 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.26.1" +__version__ = "0.27.0"