diff --git a/axum-core/CHANGELOG.md b/axum-core/CHANGELOG.md index d0fdb214..471175f3 100644 --- a/axum-core/CHANGELOG.md +++ b/axum-core/CHANGELOG.md @@ -9,7 +9,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - **added:** Add `IntoResponseParts` trait which allows defining custom response types for adding headers or extensions to responses ([#797]) -- **added:** Implement `IntoResponse` for `bytes::BytesMut` and `bytes::Chain` ([#767]) - **breaking:** Using `HeaderMap` as an extractor will no longer remove the headers and thus they'll still be accessible to other extractors, such as `axum::extract::Json`. Instead `HeaderMap` will clone the headers. You should prefer to use `TypedHeader` to extract only the @@ -42,10 +41,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#698]: https://github.com/tokio-rs/axum/pull/698 [#699]: https://github.com/tokio-rs/axum/pull/699 -[#767]: https://github.com/tokio-rs/axum/pull/767 [#797]: https://github.com/tokio-rs/axum/pull/797 [#869]: https://github.com/tokio-rs/axum/pull/869 +# 0.1.2 (22. February, 2022) + +- **added:** Implement `IntoResponse` for `bytes::BytesMut` and `bytes::Chain` ([#767]) + +[#767]: https://github.com/tokio-rs/axum/pull/767 + # 0.1.1 (06. December, 2021) - **added:** `axum_core::response::Response` now exists as a shorthand for writing `Response` ([#590]) diff --git a/axum-core/Cargo.toml b/axum-core/Cargo.toml index f4f172d6..e13512f6 100644 --- a/axum-core/Cargo.toml +++ b/axum-core/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" name = "axum-core" readme = "README.md" repository = "https://github.com/tokio-rs/axum" -version = "0.1.1" +version = "0.1.2" [dependencies] async-trait = "0.1" diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md index c15265af..6f8c05e9 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -8,24 +8,45 @@ and this project adheres to [Semantic Versioning]. # Unreleased - **added:** Add `TypedPath::to_uri` for converting the path into a `Uri` ([#790]) -- **added:** Add type safe routing. See `axum_extra::routing::typed` for more details ([#756]) - **added:** Extractors and responses for dealing with cookies. See `extract::cookies` for more details ([#816]) - **breaking:** `CachedRejection` has been removed ([#699]) - **breaking:** ` as FromRequest>::Rejection` is now `T::Rejection`. ([#699]) -- **breaking:** `middleware::from_fn` has been moved into the main axum crate ([#719]) +- **breaking:** `middleware::from_fn` has been remove from axum-extra and moved into the main + axum crate ([#719]) - **breaking:** `HasRoutes` has been removed. `Router::merge` now accepts `Into` ([#819]) - **breaking:** `RouterExt::with` method has been removed. Use `Router::merge` instead. It works identically ([#819]) -[#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 -[#756]: https://github.com/tokio-rs/axum/pull/756 [#790]: https://github.com/tokio-rs/axum/pull/790 [#816]: https://github.com/tokio-rs/axum/pull/816 [#819]: https://github.com/tokio-rs/axum/pull/819 +# 0.1.5 (1. March, 2022) + +- **added:** Add `TypedPath::to_uri` for converting the path into a `Uri` ([#790]) + +[#790]: https://github.com/tokio-rs/axum/pull/790 + +# 0.1.4 (22. February, 2022) + +- **fix:** Depend on the right versions of axum and axum-macros ([#782]) + +[#782]: https://github.com/tokio-rs/axum/pull/782 + +# 0.1.3 (22. February, 2022) + +- **added:** Add type safe routing. See `axum_extra::routing::typed` for more details ([#756]) +- **fix:** Depend on tower with `default_features = false` ([#666]) +- **change:** `middleware::from_fn` has been deprecated and moved into the main + axum crate ([#719]) + +[#666]: https://github.com/tokio-rs/axum/pull/666 +[#719]: https://github.com/tokio-rs/axum/pull/719 +[#756]: https://github.com/tokio-rs/axum/pull/756 + # 0.1.2 (13. January, 2022) - **fix:** Depend on tower with `default_features = false` ([#666]) diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 3df95f87..31f7c215 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" name = "axum-extra" readme = "README.md" repository = "https://github.com/tokio-rs/axum" -version = "0.1.2" +version = "0.1.5" [features] default = [] diff --git a/axum-macros/CHANGELOG.md b/axum-macros/CHANGELOG.md index d5b25965..9f7a9a86 100644 --- a/axum-macros/CHANGELOG.md +++ b/axum-macros/CHANGELOG.md @@ -7,14 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased -- **added:** Add `#[derive(TypedPath)]` for use with axum-extra's new "type safe" routing API ([#756]) - **breaking:** Routes are now required to start with `/`. Previously empty routes or routes such as `:foo` would be accepted but most likely result in bugs ([#823]) [#823]: https://github.com/tokio-rs/axum/pull/823 +# 0.1.2 (1. March 2022) + +- **fixed:** Use fully qualified `Result` type ([#796]) + +[#796]: https://github.com/tokio-rs/axum/pull/796 + +# 0.1.1 (22. February 2022) + +- Add `#[derive(TypedPath)]` for use with axum-extra's new "type safe" routing API ([#756]) + +[#756]: https://github.com/tokio-rs/axum/pull/756 + # 0.1.0 (31. January, 2022) - Initial release. - -[#756]: https://github.com/tokio-rs/axum/pull/756 diff --git a/axum-macros/Cargo.toml b/axum-macros/Cargo.toml index 4a7e02bd..bdcd173b 100644 --- a/axum-macros/Cargo.toml +++ b/axum-macros/Cargo.toml @@ -8,7 +8,7 @@ license = "MIT" name = "axum-macros" readme = "README.md" repository = "https://github.com/tokio-rs/axum" -version = "0.1.0" +version = "0.1.2" [lib] proc-macro = true diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index acb31f5b..727df25f 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -7,12 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased -- **added:** `middleware::from_fn` for creating middleware from async functions. - This previously lived in axum-extra but has been moved to axum ([#719]) - **added:** Document sharing state between handler and middleware ([#783]) - **added:** `Extension<_>` can now be used in tuples for building responses, and will set an extension on the response ([#797]) -- **added:** Implement `tower::Layer` for `Extension` ([#801]) - **added:** `extract::Host` for extracting the hostname of a request ([#827]) - **added:** Add `IntoResponseParts` trait which allows defining custom response types for adding headers or extensions to responses ([#797]) @@ -78,7 +75,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 without paying the cost of `#[async_trait]` ([#879]) - **changed:** New `JsonSyntaxError` variant added to `JsonRejection`. This is returned when the request body contains syntactically invalid JSON -- **fixed:** Set `Allow` header when responding with `405 Method Not Allowed` ([#733]) - **fixed:** Correctly set the `Content-Length` header for response to `HEAD` requests ([#734]) - **fixed:** Fix wrong `content-length` for `HEAD` requests to endpoints that returns chunked @@ -96,15 +92,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#665]: https://github.com/tokio-rs/axum/pull/665 [#698]: https://github.com/tokio-rs/axum/pull/698 [#699]: https://github.com/tokio-rs/axum/pull/699 -[#719]: https://github.com/tokio-rs/axum/pull/719 -[#733]: https://github.com/tokio-rs/axum/pull/733 [#734]: https://github.com/tokio-rs/axum/pull/734 [#755]: https://github.com/tokio-rs/axum/pull/755 [#783]: https://github.com/tokio-rs/axum/pull/783 [#791]: https://github.com/tokio-rs/axum/pull/791 [#797]: https://github.com/tokio-rs/axum/pull/797 [#800]: https://github.com/tokio-rs/axum/pull/800 -[#801]: https://github.com/tokio-rs/axum/pull/801 [#807]: https://github.com/tokio-rs/axum/pull/807 [#819]: https://github.com/tokio-rs/axum/pull/819 [#823]: https://github.com/tokio-rs/axum/pull/823 @@ -116,6 +109,39 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 [#889]: https://github.com/tokio-rs/axum/pull/889 [#892]: https://github.com/tokio-rs/axum/pull/892 +# 0.4.8 (2. March, 2022) + +- Use correct path for `AddExtensionLayer` and `AddExtension::layer` deprecation + notes ([#812]) + +[#812]: https://github.com/tokio-rs/axum/pull/812 + +# 0.4.7 (1. March, 2022) + +- **added:** Implement `tower::Layer` for `Extension` ([#801]) +- **changed:** Deprecate `AddExtensionLayer`. Use `Extension` instead ([#805]) + +[#801]: https://github.com/tokio-rs/axum/pull/801 +[#805]: https://github.com/tokio-rs/axum/pull/805 + +# 0.4.6 (22. February, 2022) + +- **added:** `middleware::from_fn` for creating middleware from async functions. + This previously lived in axum-extra but has been moved to axum ([#719]) +- **fixed:** Set `Allow` header when responding with `405 Method Not Allowed` ([#733]) + +[#719]: https://github.com/tokio-rs/axum/pull/719 +[#733]: https://github.com/tokio-rs/axum/pull/733 + +# 0.4.5 (31. January, 2022) + +- Reference [axum-macros] instead of [axum-debug]. The latter has been superseded by + axum-macros and is deprecated ([#738]) + +[#738]: https://github.com/tokio-rs/axum/pull/738 +[axum-debug]: https://docs.rs/axum-debug +[axum-macros]: https://docs.rs/axum-macros + # 0.4.4 (13. January, 2022) - **fixed:** Fix using incorrect path prefix when nesting `Router`s at `/` ([#691]) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index da9cdeca..2304176b 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum" -version = "0.4.4" +version = "0.4.8" categories = ["asynchronous", "network-programming", "web-programming"] description = "Web framework that focuses on ergonomics and modularity" edition = "2018"