mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 07:08:16 +01:00
Apply changelog changes from 0.6 branch to main (#2353)
This commit is contained in:
parent
906f803a20
commit
1a78e093ed
4 changed files with 72 additions and 7 deletions
|
@ -7,7 +7,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
# Unreleased
|
# Unreleased
|
||||||
|
|
||||||
- None.
|
- **added:** Implement `IntoResponse` for `(R,) where R: IntoResponse` ([#2143])
|
||||||
|
- **fixed:** Fix broken docs links ([#2164])
|
||||||
|
- **fixed:** Clearly document applying `DefaultBodyLimit` to individual routes ([#2157])
|
||||||
|
|
||||||
|
[#2143]: https://github.com/tokio-rs/axum/pull/2143
|
||||||
|
[#2164]: https://github.com/tokio-rs/axum/pull/2164
|
||||||
|
[#2157]: https://github.com/tokio-rs/axum/pull/2157
|
||||||
|
|
||||||
# 0.3.4 (11. April, 2023)
|
# 0.3.4 (11. April, 2023)
|
||||||
|
|
||||||
|
|
|
@ -9,7 +9,6 @@ and this project adheres to [Semantic Versioning].
|
||||||
|
|
||||||
- **added:** `OptionalQuery` extractor ([#2310])
|
- **added:** `OptionalQuery` extractor ([#2310])
|
||||||
- **added:** `TypedHeader` which used to be in `axum` ([#1850])
|
- **added:** `TypedHeader` which used to be in `axum` ([#1850])
|
||||||
- **added:** `Clone` implementation for `ErasedJson` ([#2142])
|
|
||||||
- **breaking:** Update to prost 0.12. Used for the `Protobuf` extractor
|
- **breaking:** Update to prost 0.12. Used for the `Protobuf` extractor
|
||||||
- **breaking:** Make `tokio` an optional dependency
|
- **breaking:** Make `tokio` an optional dependency
|
||||||
- **breaking:** Upgrade `cookie` dependency to 0.18 ([#2343])
|
- **breaking:** Upgrade `cookie` dependency to 0.18 ([#2343])
|
||||||
|
@ -17,11 +16,34 @@ and this project adheres to [Semantic Versioning].
|
||||||
now accept any `T: Into<Cookie>` ([#2348])
|
now accept any `T: Into<Cookie>` ([#2348])
|
||||||
|
|
||||||
[#1850]: https://github.com/tokio-rs/axum/pull/1850
|
[#1850]: https://github.com/tokio-rs/axum/pull/1850
|
||||||
[#2142]: https://github.com/tokio-rs/axum/pull/2142
|
|
||||||
[#2310]: https://github.com/tokio-rs/axum/pull/2310
|
[#2310]: https://github.com/tokio-rs/axum/pull/2310
|
||||||
[#2343]: https://github.com/tokio-rs/axum/pull/2343
|
[#2343]: https://github.com/tokio-rs/axum/pull/2343
|
||||||
[#2348]: https://github.com/tokio-rs/axum/pull/2348
|
[#2348]: https://github.com/tokio-rs/axum/pull/2348
|
||||||
|
|
||||||
|
# 0.8.0 (16. September, 2023)
|
||||||
|
|
||||||
|
- **breaking:** Update to prost 0.12. Used for the `Protobuf` extractor ([#2224])
|
||||||
|
|
||||||
|
[#2224]: https://github.com/tokio-rs/axum/pull/2224
|
||||||
|
|
||||||
|
# 0.7.7 (03. August, 2023)
|
||||||
|
|
||||||
|
- **added:** `Clone` implementation for `ErasedJson` ([#2142])
|
||||||
|
|
||||||
|
[#2142]: https://github.com/tokio-rs/axum/pull/2142
|
||||||
|
|
||||||
|
# 0.7.6 (02. August, 2023)
|
||||||
|
|
||||||
|
- **fixed:** Remove unused dependency ([#2135])
|
||||||
|
|
||||||
|
[#2135]: https://github.com/tokio-rs/axum/pull/2135
|
||||||
|
|
||||||
|
# 0.7.5 (17. July, 2023)
|
||||||
|
|
||||||
|
- **fixed:** Remove explicit auto deref from `PrivateCookieJar` example ([#2028])
|
||||||
|
|
||||||
|
[#2028]: https://github.com/tokio-rs/axum/pull/2028
|
||||||
|
|
||||||
# 0.7.4 (18. April, 2023)
|
# 0.7.4 (18. April, 2023)
|
||||||
|
|
||||||
- **added:** Add `Html` response type ([#1921])
|
- **added:** Add `Html` response type ([#1921])
|
||||||
|
|
|
@ -9,9 +9,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
- **breaking:** `#[debug_handler]` no longer accepts a `body = _` argument. The
|
- **breaking:** `#[debug_handler]` no longer accepts a `body = _` argument. The
|
||||||
body type is always `axum::body::Body` ([#1751])
|
body type is always `axum::body::Body` ([#1751])
|
||||||
|
- **fixed:** Fix `rust-version` specific in Cargo.toml ([#2204])
|
||||||
|
|
||||||
|
[#2204]: https://github.com/tokio-rs/axum/pull/2204
|
||||||
|
[#1751]: https://github.com/tokio-rs/axum/pull/1751
|
||||||
|
|
||||||
|
# 0.3.8 (17. July, 2023)
|
||||||
|
|
||||||
- **fixed:** Allow unreachable code in `#[debug_handler]` ([#2014])
|
- **fixed:** Allow unreachable code in `#[debug_handler]` ([#2014])
|
||||||
|
|
||||||
[#1751]: https://github.com/tokio-rs/axum/pull/1751
|
|
||||||
[#2014]: https://github.com/tokio-rs/axum/pull/2014
|
[#2014]: https://github.com/tokio-rs/axum/pull/2014
|
||||||
|
|
||||||
# 0.3.7 (22. March, 2023)
|
# 0.3.7 (22. March, 2023)
|
||||||
|
@ -28,7 +34,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
request-consuming extractors ([#1826])
|
request-consuming extractors ([#1826])
|
||||||
|
|
||||||
[#1826]: https://github.com/tokio-rs/axum/pull/1826
|
[#1826]: https://github.com/tokio-rs/axum/pull/1826
|
||||||
[#1751]: https://github.com/tokio-rs/axum/pull/1751
|
|
||||||
|
|
||||||
# 0.3.5 (03. March, 2023)
|
# 0.3.5 (03. March, 2023)
|
||||||
|
|
||||||
|
|
|
@ -60,9 +60,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- **fixed:** Fix bugs around merging routers with nested fallbacks ([#2096])
|
- **fixed:** Fix bugs around merging routers with nested fallbacks ([#2096])
|
||||||
- **fixed:** Fix `.source()` of composite rejections ([#2030])
|
- **fixed:** Fix `.source()` of composite rejections ([#2030])
|
||||||
- **fixed:** Allow unreachable code in `#[debug_handler]` ([#2014])
|
- **fixed:** Allow unreachable code in `#[debug_handler]` ([#2014])
|
||||||
- **change:** Update tokio-tungstenite to 0.19 ([#2021])
|
|
||||||
- **change:** axum's MSRV is now 1.66 ([#1882])
|
- **change:** axum's MSRV is now 1.66 ([#1882])
|
||||||
- **added:** Implement `Handler` for `T: IntoResponse` ([#2140])
|
|
||||||
- **added:** Implement `IntoResponse` for `(R,) where R: IntoResponse` ([#2143])
|
- **added:** Implement `IntoResponse` for `(R,) where R: IntoResponse` ([#2143])
|
||||||
- **changed:** For SSE, add space between field and value for compatibility ([#2149])
|
- **changed:** For SSE, add space between field and value for compatibility ([#2149])
|
||||||
- **added:** Add `NestedPath` extractor ([#1924])
|
- **added:** Add `NestedPath` extractor ([#1924])
|
||||||
|
@ -72,6 +70,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
- **added:** Add `axum::Json::from_bytes` ([#2244])
|
- **added:** Add `axum::Json::from_bytes` ([#2244])
|
||||||
- **added:** Implement `FromRequestParts` for `http::request::Parts` ([#2328])
|
- **added:** Implement `FromRequestParts` for `http::request::Parts` ([#2328])
|
||||||
- **added:** Implement `FromRequestParts` for `http::Extensions` ([#2328])
|
- **added:** Implement `FromRequestParts` for `http::Extensions` ([#2328])
|
||||||
|
- **fixed:** Clearly document applying `DefaultBodyLimit` to individual routes ([#2157])
|
||||||
|
|
||||||
[#1664]: https://github.com/tokio-rs/axum/pull/1664
|
[#1664]: https://github.com/tokio-rs/axum/pull/1664
|
||||||
[#1751]: https://github.com/tokio-rs/axum/pull/1751
|
[#1751]: https://github.com/tokio-rs/axum/pull/1751
|
||||||
|
@ -93,10 +92,43 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
[#2140]: https://github.com/tokio-rs/axum/pull/2140
|
[#2140]: https://github.com/tokio-rs/axum/pull/2140
|
||||||
[#2143]: https://github.com/tokio-rs/axum/pull/2143
|
[#2143]: https://github.com/tokio-rs/axum/pull/2143
|
||||||
[#2149]: https://github.com/tokio-rs/axum/pull/2149
|
[#2149]: https://github.com/tokio-rs/axum/pull/2149
|
||||||
|
[#2157]: https://github.com/tokio-rs/axum/pull/2157
|
||||||
[#2235]: https://github.com/tokio-rs/axum/pull/2235
|
[#2235]: https://github.com/tokio-rs/axum/pull/2235
|
||||||
[#2244]: https://github.com/tokio-rs/axum/pull/2244
|
[#2244]: https://github.com/tokio-rs/axum/pull/2244
|
||||||
[#2328]: https://github.com/tokio-rs/axum/pull/2328
|
[#2328]: https://github.com/tokio-rs/axum/pull/2328
|
||||||
|
|
||||||
|
# 0.6.20 (03. August, 2023)
|
||||||
|
|
||||||
|
- **added:** `WebSocketUpgrade::write_buffer_size` and `WebSocketUpgrade::max_write_buffer_size`
|
||||||
|
- **changed:** Deprecate `WebSocketUpgrade::max_send_queue`
|
||||||
|
- **change:** Update tokio-tungstenite to 0.20
|
||||||
|
- **added:** Implement `Handler` for `T: IntoResponse` ([#2140])
|
||||||
|
|
||||||
|
[#2140]: https://github.com/tokio-rs/axum/pull/2140
|
||||||
|
|
||||||
|
# 0.6.19 (17. July, 2023)
|
||||||
|
|
||||||
|
- **added:** Add `axum::extract::Query::try_from_uri` ([#2058])
|
||||||
|
- **added:** Implement `IntoResponse` for `Box<str>` and `Box<[u8]>` ([#2035])
|
||||||
|
- **fixed:** Fix bugs around merging routers with nested fallbacks ([#2096])
|
||||||
|
- **fixed:** Fix `.source()` of composite rejections ([#2030])
|
||||||
|
- **fixed:** Allow unreachable code in `#[debug_handler]` ([#2014])
|
||||||
|
- **change:** Update tokio-tungstenite to 0.19 ([#2021])
|
||||||
|
- **change:** axum's MSRV is now 1.63 ([#2021])
|
||||||
|
|
||||||
|
[#2014]: https://github.com/tokio-rs/axum/pull/2014
|
||||||
|
[#2021]: https://github.com/tokio-rs/axum/pull/2021
|
||||||
|
[#2030]: https://github.com/tokio-rs/axum/pull/2030
|
||||||
|
[#2035]: https://github.com/tokio-rs/axum/pull/2035
|
||||||
|
[#2058]: https://github.com/tokio-rs/axum/pull/2058
|
||||||
|
[#2096]: https://github.com/tokio-rs/axum/pull/2096
|
||||||
|
|
||||||
|
# 0.6.18 (30. April, 2023)
|
||||||
|
|
||||||
|
- **fixed:** Don't remove the `Sec-WebSocket-Key` header in `WebSocketUpgrade` ([#1972])
|
||||||
|
|
||||||
|
[#1972]: https://github.com/tokio-rs/axum/pull/1972
|
||||||
|
|
||||||
# 0.6.17 (25. April, 2023)
|
# 0.6.17 (25. April, 2023)
|
||||||
|
|
||||||
- **fixed:** Fix fallbacks causing a panic on `CONNECT` requests ([#1958])
|
- **fixed:** Fix fallbacks causing a panic on `CONNECT` requests ([#1958])
|
||||||
|
|
Loading…
Reference in a new issue