encode/starlette
### [`v0.28.0`](https://togithub.com/encode/starlette/releases/tag/0.28.0): Version 0.28.0
[Compare Source](https://togithub.com/encode/starlette/compare/0.27.0...0.28.0)
##### Changed
- Reuse `Request`'s body buffer for call_next in `BaseHTTPMiddleware` [#1692](https://togithub.com/encode/starlette/pull/1692).
- Move exception handling logic to `Route` [#2026](https://togithub.com/encode/starlette/pull/2026).
##### Added
- Add `env` parameter to `Jinja2Templates`, and deprecate `**env_options` [#2159](https://togithub.com/encode/starlette/pull/2159).
- Add clear error message when `httpx` is not installed [#2177](https://togithub.com/encode/starlette/pull/2177).
##### Fixed
- Allow "name" argument on `templates url_for()` [#2127](https://togithub.com/encode/starlette/pull/2127).
**Full Changelog**: https://github.com/encode/starlette/compare/0.27.0...0.28.0
### [`v0.27.0`](https://togithub.com/encode/starlette/releases/tag/0.27.0): Version 0.27.0
[Compare Source](https://togithub.com/encode/starlette/compare/0.26.1...0.27.0)
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](https://togithub.com/encode/starlette/pull/2128)
##### Fixed
- Replace `commonprefix` by `commonpath` on `StaticFiles` [1797de4](https://togithub.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3).
- Convert ImportErrors into ModuleNotFoundError [#2135](https://togithub.com/encode/starlette/pull/2135).
- Correct the RuntimeError message content in websockets [#2141](https://togithub.com/encode/starlette/pull/2141).
**Full Changelog**: https://github.com/encode/starlette/compare/0.26.1...0.27.0
### [`v0.26.1`](https://togithub.com/encode/starlette/releases/tag/0.26.1): Version 0.26.1
[Compare Source](https://togithub.com/encode/starlette/compare/0.26.0.post1...0.26.1)
##### Fixed
- Fix typing of Lifespan to allow subclasses of Starlette [#2077](https://togithub.com/encode/starlette/pull/2077).
### [`v0.26.0.post1`](https://togithub.com/encode/starlette/releases/tag/0.26.0.post1): Version 0.26.0.post1
[Compare Source](https://togithub.com/encode/starlette/compare/0.26.0...0.26.0.post1)
##### Fixed
- Replace reference from Events to Lifespan on the mkdocs.yml [#2072](https://togithub.com/encode/starlette/pull/2072).
### [`v0.26.0`](https://togithub.com/encode/starlette/releases/tag/0.26.0): Version 0.26.0
[Compare Source](https://togithub.com/encode/starlette/compare/0.25.0...0.26.0)
##### Added
- Support [lifespan state](https://www.starlette.io/lifespan/) [#2060](https://togithub.com/encode/starlette/pull/2060), [#2065](https://togithub.com/encode/starlette/pull/2065) and [#2064](https://togithub.com/encode/starlette/pull/2064).
##### Changed
- Change `url_for` signature to return a `URL` instance [#1385](https://togithub.com/encode/starlette/pull/1385).
##### Fixed
- Allow "name" argument on `url_for()` and `url_path_for()` [#2050](https://togithub.com/encode/starlette/pull/2050).
##### Deprecated
- Deprecate `on_startup` and `on_shutdown` events [#2070](https://togithub.com/encode/starlette/pull/2070).
**Full Changelog**: https://github.com/encode/starlette/compare/0.25.0...0.26.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
<=0.25.0
-><=0.28.0
Release Notes
encode/starlette
### [`v0.28.0`](https://togithub.com/encode/starlette/releases/tag/0.28.0): Version 0.28.0 [Compare Source](https://togithub.com/encode/starlette/compare/0.27.0...0.28.0) ##### Changed - Reuse `Request`'s body buffer for call_next in `BaseHTTPMiddleware` [#1692](https://togithub.com/encode/starlette/pull/1692). - Move exception handling logic to `Route` [#2026](https://togithub.com/encode/starlette/pull/2026). ##### Added - Add `env` parameter to `Jinja2Templates`, and deprecate `**env_options` [#2159](https://togithub.com/encode/starlette/pull/2159). - Add clear error message when `httpx` is not installed [#2177](https://togithub.com/encode/starlette/pull/2177). ##### Fixed - Allow "name" argument on `templates url_for()` [#2127](https://togithub.com/encode/starlette/pull/2127). **Full Changelog**: https://github.com/encode/starlette/compare/0.27.0...0.28.0 ### [`v0.27.0`](https://togithub.com/encode/starlette/releases/tag/0.27.0): Version 0.27.0 [Compare Source](https://togithub.com/encode/starlette/compare/0.26.1...0.27.0) 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](https://togithub.com/encode/starlette/pull/2128) ##### Fixed - Replace `commonprefix` by `commonpath` on `StaticFiles` [1797de4](https://togithub.com/encode/starlette/commit/1797de464124b090f10cf570441e8292936d63e3). - Convert ImportErrors into ModuleNotFoundError [#2135](https://togithub.com/encode/starlette/pull/2135). - Correct the RuntimeError message content in websockets [#2141](https://togithub.com/encode/starlette/pull/2141). **Full Changelog**: https://github.com/encode/starlette/compare/0.26.1...0.27.0 ### [`v0.26.1`](https://togithub.com/encode/starlette/releases/tag/0.26.1): Version 0.26.1 [Compare Source](https://togithub.com/encode/starlette/compare/0.26.0.post1...0.26.1) ##### Fixed - Fix typing of Lifespan to allow subclasses of Starlette [#2077](https://togithub.com/encode/starlette/pull/2077). ### [`v0.26.0.post1`](https://togithub.com/encode/starlette/releases/tag/0.26.0.post1): Version 0.26.0.post1 [Compare Source](https://togithub.com/encode/starlette/compare/0.26.0...0.26.0.post1) ##### Fixed - Replace reference from Events to Lifespan on the mkdocs.yml [#2072](https://togithub.com/encode/starlette/pull/2072). ### [`v0.26.0`](https://togithub.com/encode/starlette/releases/tag/0.26.0): Version 0.26.0 [Compare Source](https://togithub.com/encode/starlette/compare/0.25.0...0.26.0) ##### Added - Support [lifespan state](https://www.starlette.io/lifespan/) [#2060](https://togithub.com/encode/starlette/pull/2060), [#2065](https://togithub.com/encode/starlette/pull/2065) and [#2064](https://togithub.com/encode/starlette/pull/2064). ##### Changed - Change `url_for` signature to return a `URL` instance [#1385](https://togithub.com/encode/starlette/pull/1385). ##### Fixed - Allow "name" argument on `url_for()` and `url_path_for()` [#2050](https://togithub.com/encode/starlette/pull/2050). ##### Deprecated - Deprecate `on_startup` and `on_shutdown` events [#2070](https://togithub.com/encode/starlette/pull/2070). **Full Changelog**: https://github.com/encode/starlette/compare/0.25.0...0.26.0Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
â™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.