Merge branch 'v0.7.x' into jplatte/merge-v0.7.8

This commit is contained in:
Jonas Platte 2024-11-14 23:24:29 +01:00
commit dee0985dfb
No known key found for this signature in database
GPG key ID: 7D261D771D915378
2 changed files with 21 additions and 0 deletions

View file

@ -25,6 +25,14 @@ and this project adheres to [Semantic Versioning].
[#2829]: https://github.com/tokio-rs/axum/pull/2829 [#2829]: https://github.com/tokio-rs/axum/pull/2829
[#2943]: https://github.com/tokio-rs/axum/pull/2943 [#2943]: https://github.com/tokio-rs/axum/pull/2943
# 0.9.5
- **added:** Add `RouterExt::typed_connect` ([#2961])
- **added:** Add `json!` for easy construction of JSON responses ([#2962])
[#2961]: https://github.com/tokio-rs/axum/pull/2961
[#2962]: https://github.com/tokio-rs/axum/pull/2962
# 0.9.4 # 0.9.4
- **added:** The `response::Attachment` type ([#2789]) - **added:** The `response::Attachment` type ([#2789])

View file

@ -49,6 +49,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#2931]: https://github.com/tokio-rs/axum/pull/2931 [#2931]: https://github.com/tokio-rs/axum/pull/2931
[#2943]: https://github.com/tokio-rs/axum/pull/2943 [#2943]: https://github.com/tokio-rs/axum/pull/2943
# 0.7.8
- **fixed:** Skip SSE incompatible chars of `serde_json::RawValue` in `Event::json_data` ([#2992])
- **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 `MethodFilter::CONNECT`, `routing::connect[_service]`
and `MethodRouter::connect[_service]` ([#2961])
- **added:** Add `NoContent` as a self-described shortcut for `StatusCode::NO_CONTENT` ([#2978])
[#2903]: https://github.com/tokio-rs/axum/pull/2903
[#2961]: https://github.com/tokio-rs/axum/pull/2961
[#2978]: https://github.com/tokio-rs/axum/pull/2978
[#2992]: https://github.com/tokio-rs/axum/pull/2992
# 0.7.7 # 0.7.7
- **change**: Remove manual tables of content from the documentation, since - **change**: Remove manual tables of content from the documentation, since