diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index be395d541..e4cccaba3 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -10,4 +10,3 @@ Given this is a project maintained by volunteers, please read this template to n - [ ] I understand that this PR may be closed in case there was no previous discussion. (This doesn't apply to typos!) - [ ] I've added a test for each change that was introduced, and I tried as much as possible to make a single atomic change. - [ ] I've updated the documentation accordingly. -- [ ] I've added a note on the `docs/release-notes.md` about my changes (changes on documentation or type annotations don't need this). diff --git a/docs/release-notes.md b/docs/release-notes.md index 824b483f9..aaf3b7d4c 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -1,3 +1,18 @@ +## 0.28.0 + +June 7, 2023 + +### Changed +* Reuse `Request`'s body buffer for call_next in `BaseHTTPMiddleware` [#1692](https://github.com/encode/starlette/pull/1692). +* Move exception handling logic to `Route` [#2026](https://github.com/encode/starlette/pull/2026). + +### Added +* Add `env` parameter to `Jinja2Templates`, and deprecate `**env_options` [#2159](https://github.com/encode/starlette/pull/2159). +* Add clear error message when `httpx` is not installed [#2177](https://github.com/encode/starlette/pull/2177). + +### Fixed +* Allow "name" argument on `templates url_for()` [#2127](https://github.com/encode/starlette/pull/2127). + ## 0.27.0 May 16, 2023 diff --git a/starlette/__init__.py b/starlette/__init__.py index cde6d8971..df7db8648 100644 --- a/starlette/__init__.py +++ b/starlette/__init__.py @@ -1 +1 @@ -__version__ = "0.27.0" +__version__ = "0.28.0"