mirror of
https://github.com/tokio-rs/axum.git
synced 2025-01-01 08:56:15 +01:00
9004a14302
* Move `middleware::from_fn` into axum * changelog * fix feature * Rephrase changelog a bit
32 lines
1.1 KiB
Markdown
32 lines
1.1 KiB
Markdown
# Changelog
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
# Unreleased
|
|
|
|
- **breaking:** `CachedRejection` has been removed ([#699])
|
|
- **breaking:** `<Cached<T> as FromRequest>::Rejection` is now `T::Rejection`. ([#699])
|
|
- **breaking:** `middleware::from_fn` has been moved into the main axum crate ([#719])
|
|
|
|
[#666]: https://github.com/tokio-rs/axum/pull/666
|
|
[#699]: https://github.com/tokio-rs/axum/pull/699
|
|
[#719]: https://github.com/tokio-rs/axum/pull/719
|
|
|
|
# 0.1.2 (13. January, 2021)
|
|
|
|
- **fix:** Depend on tower with `default_features = false` ([#666])
|
|
|
|
# 0.1.1 (27. December, 2021)
|
|
|
|
- Add `middleware::from_fn` for creating middleware from async functions ([#656])
|
|
- Add support for returning pretty JSON response in `response::ErasedJson` ([#662])
|
|
|
|
[#656]: https://github.com/tokio-rs/axum/pull/656
|
|
[#662]: https://github.com/tokio-rs/axum/pull/662
|
|
|
|
# 0.1.0 (02. December, 2021)
|
|
|
|
- Initial release.
|