From 2b3f5e6805095049dcea4faea6102b564348073a Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Thu, 4 Nov 2021 10:48:30 +0100 Subject: [PATCH] Version 0.17.0 (#1324) * Release 0.17.0 * Apply suggestions from code review * Add version on init file --- 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 7305046f9..e72cb4f76 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,22 @@ +## 0.17.0 + +October 28, 2021 + +### Added +* `Response.delete_cookie` now accepts the same parameters as `Response.set_cookie` [#1228](https://github.com/encode/starlette/pull/1228). +* Update the `Jinja2Templates` constructor to allow `PathLike` [#1292](https://github.com/encode/starlette/pull/1292). + +### Fixed +* Fix BadSignature exception handling in SessionMiddleware [#1264](https://github.com/encode/starlette/pull/1264). +* Change `HTTPConnection.__getitem__` return type from `str` to `typing.Any` [#1118](https://github.com/encode/starlette/pull/1118). +* Change `ImmutableMultiDict.getlist` return type from `typing.List[str]` to `typing.List[typing.Any]` [#1235](https://github.com/encode/starlette/pull/1235). +* Handle `OSError` exceptions on `StaticFiles` [#1220](https://github.com/encode/starlette/pull/1220). +* Fix `StaticFiles` 404.html in HTML mode [#1314](https://github.com/encode/starlette/pull/1314). +* Prevent anyio.ExceptionGroup in error views under a BaseHTTPMiddleware [#1262](https://github.com/encode/starlette/pull/1262). + +### Removed +* Remove GraphQL support [#1198](https://github.com/encode/starlette/pull/1198). + ## 0.16.0 July 19, 2021 diff --git a/starlette/__init__.py b/starlette/__init__.py index 5a313cc7e..fd86b3ee9 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.16.0" +__version__ = "0.17.0"