mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-21 14:46:32 +01:00
Update changelog (#2985)
This commit is contained in:
parent
bc7cb1a333
commit
24d24f4ccb
1 changed files with 9 additions and 7 deletions
|
@ -7,18 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
# Unreleased
|
||||
|
||||
- **added:** Add `method_not_allowed_fallback` to set a fallback when a path matches but there is no handler for the given HTTP method ([#2903])
|
||||
- **added:** Add `NoContent` as a self-described shortcut for `StatusCode::NO_CONTENT` ([#2978])
|
||||
- **added:** Add support for WebSockets over HTTP/2 ([#2894]).
|
||||
They can be enabled by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)`
|
||||
- **added:** Add support for WebSockets over HTTP/2.
|
||||
They can be enabled by changing `get(ws_endpoint)` handlers to `any(ws_endpoint)` ([#2894])
|
||||
- **added:** Add `MethodFilter::CONNECT`, `routing::connect[_service]`
|
||||
and `MethodRouter::connect[_service]` ([#2961])
|
||||
- **fixed:** Avoid setting `content-length` before middleware ([#2897]).
|
||||
This allows middleware to add bodies to requests without needing to manually set `content-length`
|
||||
- **breaking:** Remove `WebSocket::close` ([#2974]).
|
||||
Users should explicitly send close messages themselves.
|
||||
- **fixed:** Avoid setting `content-length` before middleware.
|
||||
This allows middleware to add bodies to requests without needing to manually set `content-length` ([#2897])
|
||||
- **breaking:** Remove `WebSocket::close`.
|
||||
Users should explicitly send close messages themselves. ([#2974])
|
||||
|
||||
[#2897]: https://github.com/tokio-rs/axum/pull/2897
|
||||
[#2984]: https://github.com/tokio-rs/axum/pull/2984
|
||||
[#2903]: https://github.com/tokio-rs/axum/pull/2903
|
||||
[#2894]: https://github.com/tokio-rs/axum/pull/2894
|
||||
[#2961]: https://github.com/tokio-rs/axum/pull/2961
|
||||
[#2974]: https://github.com/tokio-rs/axum/pull/2974
|
||||
[#2978]: https://github.com/tokio-rs/axum/pull/2978
|
||||
|
|
Loading…
Reference in a new issue