2021-11-17 21:00:32 +01:00
|
|
|
# Changelog
|
|
|
|
|
|
|
|
All notable changes to this project will be documented in this file.
|
|
|
|
|
2022-02-24 09:27:50 +01:00
|
|
|
The format is based on [Keep a Changelog],
|
|
|
|
and this project adheres to [Semantic Versioning].
|
2021-11-17 21:00:32 +01:00
|
|
|
|
|
|
|
# Unreleased
|
|
|
|
|
2023-12-17 12:31:38 +01:00
|
|
|
- **change:** Update version of multer used internally for multipart ([#2433])
|
|
|
|
|
|
|
|
[#2433]: https://github.com/tokio-rs/axum/pull/2433
|
2023-11-27 09:30:38 +01:00
|
|
|
|
|
|
|
# 0.9.0 (27. November, 2023)
|
|
|
|
|
2023-11-18 13:38:30 +01:00
|
|
|
- **added:** `OptionalQuery` extractor ([#2310])
|
2023-08-02 21:35:04 +02:00
|
|
|
- **added:** `TypedHeader` which used to be in `axum` ([#1850])
|
2023-09-14 15:19:23 +02:00
|
|
|
- **breaking:** Update to prost 0.12. Used for the `Protobuf` extractor
|
2023-09-21 09:33:40 +02:00
|
|
|
- **breaking:** Make `tokio` an optional dependency
|
2023-11-25 18:34:04 +01:00
|
|
|
- **breaking:** Upgrade `cookie` dependency to 0.18 ([#2343])
|
|
|
|
- **breaking:** Functions and methods that previously accepted a `Cookie`
|
|
|
|
now accept any `T: Into<Cookie>` ([#2348])
|
2023-04-11 16:09:48 +02:00
|
|
|
|
|
|
|
[#1850]: https://github.com/tokio-rs/axum/pull/1850
|
2023-11-25 18:34:04 +01:00
|
|
|
[#2310]: https://github.com/tokio-rs/axum/pull/2310
|
|
|
|
[#2343]: https://github.com/tokio-rs/axum/pull/2343
|
|
|
|
[#2348]: https://github.com/tokio-rs/axum/pull/2348
|
2023-04-18 20:40:42 +02:00
|
|
|
|
2023-11-25 20:44:07 +01:00
|
|
|
# 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
|
|
|
|
|
2023-04-18 20:40:42 +02:00
|
|
|
# 0.7.4 (18. April, 2023)
|
|
|
|
|
2023-04-17 13:20:17 +02:00
|
|
|
- **added:** Add `Html` response type ([#1921])
|
|
|
|
- **added:** Add `Css` response type ([#1921])
|
|
|
|
- **added:** Add `JavaScript` response type ([#1921])
|
|
|
|
- **added:** Add `Wasm` response type ([#1921])
|
|
|
|
|
|
|
|
[#1921]: https://github.com/tokio-rs/axum/pull/1921
|
2023-04-11 17:23:38 +02:00
|
|
|
|
|
|
|
# 0.7.3 (11. April, 2023)
|
|
|
|
|
2023-04-10 09:18:35 +02:00
|
|
|
- **added:** Implement `Deref` and `DerefMut` for built-in extractors ([#1922])
|
2023-04-09 14:23:13 +02:00
|
|
|
- **added:** Add `OptionalPath` extractor ([#1889])
|
|
|
|
|
|
|
|
[#1889]: https://github.com/tokio-rs/axum/pull/1889
|
2023-04-10 09:18:35 +02:00
|
|
|
[#1922]: https://github.com/tokio-rs/axum/pull/1922
|
2023-03-22 15:22:47 +01:00
|
|
|
|
|
|
|
# 0.7.2 (22. March, 2023)
|
|
|
|
|
2023-03-21 09:24:06 +01:00
|
|
|
- **added:** Implement `IntoResponse` for `MultipartError` ([#1861])
|
2023-03-03 18:16:24 +01:00
|
|
|
|
2023-03-22 15:26:17 +01:00
|
|
|
[#1861]: https://github.com/tokio-rs/axum/pull/1861
|
|
|
|
|
2023-03-13 11:00:13 +01:00
|
|
|
# 0.7.1 (13. March, 2023)
|
|
|
|
|
|
|
|
- Updated to latest `axum-macros`
|
|
|
|
|
2023-03-03 18:16:24 +01:00
|
|
|
# 0.7.0 (03. March, 2023)
|
|
|
|
|
2023-03-03 15:43:19 +01:00
|
|
|
- **breaking:** Remove the `spa` feature which should have been removed in 0.6.0 ([#1802])
|
2023-03-03 10:15:09 +01:00
|
|
|
- **added:** Add `Multipart`. This is similar to `axum::extract::Multipart`
|
|
|
|
except that it enforces field exclusivity at runtime instead of compile time,
|
2023-03-03 14:12:35 +01:00
|
|
|
as this improves usability ([#1692])
|
2023-03-03 12:13:25 +01:00
|
|
|
- **added:** Implement `Clone` for `CookieJar`, `PrivateCookieJar` and `SignedCookieJar` ([#1808])
|
2023-03-03 14:12:35 +01:00
|
|
|
- **fixed:** Add `#[must_use]` attributes to types that do nothing unless used ([#1809])
|
2023-03-03 12:13:25 +01:00
|
|
|
|
2023-03-03 14:12:35 +01:00
|
|
|
[#1692]: https://github.com/tokio-rs/axum/pull/1692
|
2023-03-03 15:43:19 +01:00
|
|
|
[#1802]: https://github.com/tokio-rs/axum/pull/1802
|
2023-03-03 12:13:25 +01:00
|
|
|
[#1808]: https://github.com/tokio-rs/axum/pull/1808
|
2023-03-03 14:12:35 +01:00
|
|
|
[#1809]: https://github.com/tokio-rs/axum/pull/1809
|
2023-03-03 12:13:25 +01:00
|
|
|
|
2023-02-27 09:41:11 +01:00
|
|
|
# 0.6.0 (24. February, 2022)
|
|
|
|
|
|
|
|
- **breaking:** Change casing of `ProtoBuf` to `Protobuf` ([#1595])
|
2023-02-25 11:05:23 +01:00
|
|
|
- **breaking:** `SpaRouter` has been removed. Use `ServeDir` and `ServeFile`
|
|
|
|
from `tower-http` instead:
|
|
|
|
|
|
|
|
```rust
|
|
|
|
// before
|
|
|
|
Router::new().merge(SpaRouter::new("/assets", "dist"));
|
|
|
|
|
|
|
|
// with ServeDir
|
|
|
|
Router::new().nest_service("/assets", ServeDir::new("dist"));
|
|
|
|
|
|
|
|
// before with `index_file`
|
|
|
|
Router::new().merge(SpaRouter::new("/assets", "dist").index_file("index.html"));
|
|
|
|
|
|
|
|
// with ServeDir + ServeFile
|
|
|
|
Router::new().nest_service(
|
|
|
|
"/assets",
|
|
|
|
ServeDir::new("dist").not_found_service(ServeFile::new("dist/index.html")),
|
|
|
|
);
|
|
|
|
```
|
|
|
|
|
2023-02-27 09:41:11 +01:00
|
|
|
See the [static-file-server-example] for more examples ([#1784])
|
2023-02-24 21:40:42 +01:00
|
|
|
|
|
|
|
[#1595]: https://github.com/tokio-rs/axum/pull/1595
|
2023-02-27 09:41:11 +01:00
|
|
|
[#1784]: https://github.com/tokio-rs/axum/pull/1784
|
2023-02-25 11:05:23 +01:00
|
|
|
[static-file-server-example]: https://github.com/tokio-rs/axum/blob/main/examples/static-file-server/src/main.rs
|
2023-02-12 12:40:42 +01:00
|
|
|
|
|
|
|
# 0.5.0 (12. February, 2022)
|
|
|
|
|
2023-02-12 00:11:21 +01:00
|
|
|
- **added:** Add `option_layer` for converting an `Option<Layer>` into a `Layer` ([#1696])
|
|
|
|
- **added:** Implement `Layer` and `Service` for `Either` ([#1696])
|
2023-02-11 23:10:07 +01:00
|
|
|
- **added:** Add `TypedPath::with_query_params` ([#1744])
|
2023-02-12 12:40:42 +01:00
|
|
|
- **breaking:** Update to [`cookie`] 0.17 ([#1747])
|
2023-02-11 23:10:07 +01:00
|
|
|
|
2023-02-12 00:11:21 +01:00
|
|
|
[#1696]: https://github.com/tokio-rs/axum/pull/1696
|
2023-02-11 23:10:07 +01:00
|
|
|
[#1744]: https://github.com/tokio-rs/axum/pull/1744
|
2023-02-12 12:40:42 +01:00
|
|
|
[#1747]: https://github.com/tokio-rs/axum/pull/1747
|
2023-02-12 08:26:37 +01:00
|
|
|
[`cookie`]: https://crates.io/crates/cookie
|
2022-12-02 11:55:11 +01:00
|
|
|
|
|
|
|
# 0.4.2 (02. December, 2022)
|
|
|
|
|
2022-12-02 11:42:49 +01:00
|
|
|
- **fixed:** Bug fixes for `RouterExt:{route_with_tsr, route_service_with_tsr}` ([#1608]):
|
|
|
|
- Redirects to the correct URI if the route contains path parameters
|
|
|
|
- Keeps query parameters when redirecting
|
|
|
|
- Better improved error message if adding route for `/`
|
|
|
|
|
|
|
|
[#1608]: https://github.com/tokio-rs/axum/pull/1608
|
2022-11-29 10:57:25 +01:00
|
|
|
|
|
|
|
# 0.4.1 (29. November, 2022)
|
|
|
|
|
2022-11-29 10:35:26 +01:00
|
|
|
- **fixed:** Fix wrong `From` impl for `Resource` ([#1589])
|
|
|
|
|
|
|
|
[#1589]: https://github.com/tokio-rs/axum/pull/1589
|
2022-11-09 09:01:47 +01:00
|
|
|
|
2022-11-25 13:29:58 +01:00
|
|
|
# 0.4.0 (25. November, 2022)
|
|
|
|
|
|
|
|
- **added:** Add `RouterExt::route_with_tsr` for adding routes with an
|
|
|
|
additional "trailing slash redirect" route ([#1119])
|
|
|
|
- **added:** Support chaining handlers with `HandlerCallWithExtractors::or` ([#1170])
|
|
|
|
- **added:** Add Protocol Buffer extractor and response ([#1239])
|
|
|
|
- **added:** Add `Either*` types for combining extractors and responses into a
|
|
|
|
single type ([#1263])
|
|
|
|
- **added:** `WithRejection` extractor for customizing other extractors' rejections ([#1262])
|
|
|
|
- **added:** Add sync constructors to `CookieJar`, `PrivateCookieJar`, and
|
|
|
|
`SignedCookieJar` so they're easier to use in custom middleware
|
|
|
|
- **changed:** For methods that accept some `S: Service`, the bounds have been
|
|
|
|
relaxed so the return type can be any type that implements `IntoResponse` rather than being a
|
|
|
|
literal `Response`
|
|
|
|
- **change:** axum-extra's MSRV is now 1.60 ([#1239])
|
|
|
|
- **breaking:** `Form` has a new rejection type ([#1496])
|
|
|
|
- **breaking:** `Query` has a new rejection type ([#1496])
|
|
|
|
- **breaking:** `Resource::nest` and `Resource::nest_collection` have been
|
|
|
|
removed. You can instead convert the `Resource` into a `Router` and
|
|
|
|
add additional routes as necessary ([#1086])
|
|
|
|
- **breaking:** `SignedCookieJar` and `PrivateCookieJar` now extracts the keys
|
|
|
|
from the router's state, rather than extensions
|
|
|
|
- **breaking:** `Resource` has a new `S` type param which represents the state ([#1155])
|
|
|
|
- **breaking:** `RouterExt::route_with_tsr` now only accepts `MethodRouter`s ([#1155])
|
|
|
|
- **added:** `RouterExt::route_service_with_tsr` for routing to any `Service` ([#1155])
|
|
|
|
|
|
|
|
[#1086]: https://github.com/tokio-rs/axum/pull/1086
|
|
|
|
[#1119]: https://github.com/tokio-rs/axum/pull/1119
|
|
|
|
[#1155]: https://github.com/tokio-rs/axum/pull/1155
|
|
|
|
[#1170]: https://github.com/tokio-rs/axum/pull/1170
|
|
|
|
[#1214]: https://github.com/tokio-rs/axum/pull/1214
|
|
|
|
[#1239]: https://github.com/tokio-rs/axum/pull/1239
|
|
|
|
[#1262]: https://github.com/tokio-rs/axum/pull/1262
|
|
|
|
[#1263]: https://github.com/tokio-rs/axum/pull/1263
|
|
|
|
[#1496]: https://github.com/tokio-rs/axum/pull/1496
|
|
|
|
|
|
|
|
<details>
|
|
|
|
<summary>0.4.0 Pre-Releases</summary>
|
|
|
|
|
2022-11-19 13:02:11 +01:00
|
|
|
# 0.4.0-rc.3 (19. November, 2022)
|
|
|
|
|
|
|
|
- **breaking:** Depend axum 0.6.0-rc.5 and axum-macros 0.3.0-rc.3
|
|
|
|
|
2022-11-09 09:01:47 +01:00
|
|
|
# 0.4.0-rc.2 (8. November, 2022)
|
|
|
|
|
2022-11-08 21:45:05 +01:00
|
|
|
- **breaking:** `Form` has a new rejection type ([#1496])
|
|
|
|
- **breaking:** `Query` has a new rejection type ([#1496])
|
|
|
|
|
|
|
|
[#1496]: https://github.com/tokio-rs/axum/pull/1496
|
2022-08-23 22:57:13 +02:00
|
|
|
|
|
|
|
# 0.4.0-rc.1 (23. August, 2022)
|
|
|
|
|
2022-06-30 00:22:43 +02:00
|
|
|
- **added:** Add `RouterExt::route_with_tsr` for adding routes with an
|
|
|
|
additional "trailing slash redirect" route ([#1119])
|
2022-08-11 12:17:08 +02:00
|
|
|
- **breaking:** `Resource::nest` and `Resource::nest_collection` has been
|
|
|
|
removed. You can instead convert the `Resource` into a `Router` and
|
|
|
|
add additional routes as necessary ([#1086])
|
2022-07-19 18:55:15 +02:00
|
|
|
- **changed:** For methods that accept some `S: Service`, the bounds have been
|
|
|
|
relaxed so the response type must implement `IntoResponse` rather than being a
|
|
|
|
literal `Response`
|
2022-08-10 12:09:08 +02:00
|
|
|
- **added:** Support chaining handlers with `HandlerCallWithExtractors::or` ([#1170])
|
2022-08-09 18:43:02 +02:00
|
|
|
- **change:** axum-extra's MSRV is now 1.60 ([#1239])
|
2022-08-17 17:13:31 +02:00
|
|
|
- **breaking:** `SignedCookieJar` and `PrivateCookieJar` now extracts the keys
|
|
|
|
from the router's state, rather than extensions
|
2022-08-15 15:57:07 +02:00
|
|
|
- **added:** Add Protocol Buffer extractor and response ([#1239])
|
2022-08-17 10:57:19 +02:00
|
|
|
- **added:** Add `Either*` types for combining extractors and responses into a
|
|
|
|
single type ([#1263])
|
2022-08-17 09:59:25 +02:00
|
|
|
- **added:** `WithRejection` extractor for customizing other extractors' rejections ([#1262])
|
2022-08-16 15:42:01 +02:00
|
|
|
- **added:** Add sync constructors to `CookieJar`, `PrivateCookieJar`, and
|
|
|
|
`SignedCookieJar` so they're easier to use in custom middleware
|
2022-08-17 17:13:31 +02:00
|
|
|
- **breaking:** `Resource` has a new `S` type param which represents the state ([#1155])
|
|
|
|
- **breaking:** `RouterExt::route_with_tsr` now only accepts `MethodRouter`s ([#1155])
|
|
|
|
- **added:** `RouterExt::route_service_with_tsr` for routing to any `Service` ([#1155])
|
2022-06-30 00:22:43 +02:00
|
|
|
|
2022-08-11 12:17:08 +02:00
|
|
|
[#1086]: https://github.com/tokio-rs/axum/pull/1086
|
2022-06-30 00:22:43 +02:00
|
|
|
[#1119]: https://github.com/tokio-rs/axum/pull/1119
|
2022-08-17 17:13:31 +02:00
|
|
|
[#1155]: https://github.com/tokio-rs/axum/pull/1155
|
2022-08-10 12:09:08 +02:00
|
|
|
[#1170]: https://github.com/tokio-rs/axum/pull/1170
|
2022-08-15 15:57:07 +02:00
|
|
|
[#1214]: https://github.com/tokio-rs/axum/pull/1214
|
2022-08-09 18:43:02 +02:00
|
|
|
[#1239]: https://github.com/tokio-rs/axum/pull/1239
|
2022-08-17 09:59:25 +02:00
|
|
|
[#1262]: https://github.com/tokio-rs/axum/pull/1262
|
2022-08-17 10:57:19 +02:00
|
|
|
[#1263]: https://github.com/tokio-rs/axum/pull/1263
|
2022-06-27 21:08:12 +02:00
|
|
|
|
2022-11-25 13:29:58 +01:00
|
|
|
</details>
|
|
|
|
|
2022-08-20 21:11:02 +02:00
|
|
|
# 0.3.7 (09. August, 2022)
|
|
|
|
|
|
|
|
- **fixed:** Depend on axum 0.5.15 which contains a fix for an accidental breaking change.
|
|
|
|
|
|
|
|
# 0.3.6 (02. July, 2022)
|
|
|
|
|
|
|
|
- **fixed:** Fix feature labels missing in generated docs ([#1137])
|
|
|
|
|
|
|
|
[#1137]: https://github.com/tokio-rs/axum/pull/1137
|
|
|
|
|
2022-06-27 21:08:12 +02:00
|
|
|
# 0.3.5 (27. June, 2022)
|
|
|
|
|
2022-06-20 20:49:18 +02:00
|
|
|
- **added:** Add `JsonLines` for streaming newline delimited JSON ([#1093])
|
2022-08-09 18:43:02 +02:00
|
|
|
- **change:** axum-extra's MSRV is now 1.56 ([#1098])
|
2022-06-17 20:11:35 +02:00
|
|
|
|
2022-06-20 20:49:18 +02:00
|
|
|
[#1093]: https://github.com/tokio-rs/axum/pull/1093
|
2022-06-17 20:11:35 +02:00
|
|
|
[#1098]: https://github.com/tokio-rs/axum/pull/1098
|
2022-06-08 15:58:37 +02:00
|
|
|
|
|
|
|
# 0.3.4 (08. June, 2022)
|
|
|
|
|
2022-06-06 18:00:52 +02:00
|
|
|
- **fixed:** Use `impl IntoResponse` less in docs ([#1049])
|
2022-06-08 11:02:42 +02:00
|
|
|
- **added:** Add `AsyncReadBody` for creating a body from a `tokio::io::AsyncRead` ([#1072])
|
2022-06-06 18:00:52 +02:00
|
|
|
|
|
|
|
[#1049]: https://github.com/tokio-rs/axum/pull/1049
|
2022-06-08 11:02:42 +02:00
|
|
|
[#1072]: https://github.com/tokio-rs/axum/pull/1072
|
2022-05-18 20:29:49 +02:00
|
|
|
|
|
|
|
# 0.3.3 (18. May, 2022)
|
|
|
|
|
2022-05-17 20:19:24 +02:00
|
|
|
- **added:** Add `extract::Query` which supports multi-value items ([#1041])
|
2022-05-18 20:29:49 +02:00
|
|
|
- **added:** Support customizing rejections for `#[derive(TypedPath)]` ([#1012])
|
2022-05-17 20:19:24 +02:00
|
|
|
|
|
|
|
[#1041]: https://github.com/tokio-rs/axum/pull/1041
|
2022-05-18 20:29:49 +02:00
|
|
|
[#1012]: https://github.com/tokio-rs/axum/pull/1012
|
2022-05-15 20:01:00 +02:00
|
|
|
|
|
|
|
# 0.3.2 (15. May, 2022)
|
|
|
|
|
2022-05-15 20:07:29 +02:00
|
|
|
- **added:** Add `extract::Form` which supports multi-value items ([#1031])
|
|
|
|
|
|
|
|
[#1031]: https://github.com/tokio-rs/axum/pull/1031
|
2022-05-10 14:05:36 +02:00
|
|
|
|
|
|
|
# 0.3.1 (10. May, 2022)
|
|
|
|
|
2022-05-06 09:42:10 +02:00
|
|
|
- **fixed:** `Option` and `Result` are now supported in typed path route handler parameters ([#1001])
|
2022-05-06 13:05:30 +02:00
|
|
|
- **fixed:** Support wildcards in typed paths ([#1003])
|
2022-05-17 21:36:05 +02:00
|
|
|
- **added:** Support using a custom rejection type for `#[derive(TypedPath)]`
|
|
|
|
instead of `PathRejection` ([#1012])
|
2022-05-06 09:42:10 +02:00
|
|
|
|
|
|
|
[#1001]: https://github.com/tokio-rs/axum/pull/1001
|
2022-05-06 13:05:30 +02:00
|
|
|
[#1003]: https://github.com/tokio-rs/axum/pull/1003
|
2022-05-17 21:36:05 +02:00
|
|
|
[#1012]: https://github.com/tokio-rs/axum/pull/1012
|
2022-04-27 10:27:41 +02:00
|
|
|
|
|
|
|
# 0.3.0 (27. April, 2022)
|
|
|
|
|
2022-04-07 10:24:01 +02:00
|
|
|
- **fixed:** Don't depend on axum with default features enabled ([#913])
|
2022-04-27 10:27:41 +02:00
|
|
|
- **breaking:** Private and signed cookies now requires enabling the
|
|
|
|
`cookie-private` and `cookie-signed` features respectively ([#949])
|
|
|
|
- **changed:** Update to tower-http 0.3 ([#965])
|
2022-04-07 10:24:01 +02:00
|
|
|
|
|
|
|
[#913]: https://github.com/tokio-rs/axum/pull/913
|
2022-04-27 10:27:41 +02:00
|
|
|
[#949]: https://github.com/tokio-rs/axum/pull/949
|
|
|
|
[#965]: https://github.com/tokio-rs/axum/pull/965
|
2022-04-03 20:18:01 +02:00
|
|
|
|
2022-04-03 20:20:50 +02:00
|
|
|
# 0.2.1 (03. April, 2022)
|
2022-04-03 20:18:01 +02:00
|
|
|
|
2022-04-03 18:29:37 +02:00
|
|
|
- **added:** Re-export `SameSite` and `Expiration` from the `cookie` crate ([#898])
|
|
|
|
- **added:** Add `PrivateCookieJar` for managing private cookies ([#900])
|
2022-04-03 20:18:01 +02:00
|
|
|
- **added:** Add `SpaRouter` for routing setups commonly used for single page applications ([#904])
|
|
|
|
- **fixed:** Fix `SignedCookieJar` when using custom key types ([#899])
|
2022-04-01 11:40:42 +02:00
|
|
|
|
2022-04-03 18:29:37 +02:00
|
|
|
[#898]: https://github.com/tokio-rs/axum/pull/898
|
2022-04-01 11:40:42 +02:00
|
|
|
[#899]: https://github.com/tokio-rs/axum/pull/899
|
2022-04-03 18:29:37 +02:00
|
|
|
[#900]: https://github.com/tokio-rs/axum/pull/900
|
2022-04-03 20:18:01 +02:00
|
|
|
[#904]: https://github.com/tokio-rs/axum/pull/904
|
2022-03-31 20:48:17 +02:00
|
|
|
|
|
|
|
# 0.2.0 (31. March, 2022)
|
|
|
|
|
2022-02-28 09:58:22 +01:00
|
|
|
- **added:** Add `TypedPath::to_uri` for converting the path into a `Uri` ([#790])
|
2022-03-04 10:53:36 +01:00
|
|
|
- **added:** Extractors and responses for dealing with cookies. See `extract::cookies` for more
|
|
|
|
details ([#816])
|
2022-01-13 09:49:55 +01:00
|
|
|
- **breaking:** `CachedRejection` has been removed ([#699])
|
2022-01-25 09:46:26 +01:00
|
|
|
- **breaking:** `<Cached<T> as FromRequest>::Rejection` is now `T::Rejection`. ([#699])
|
2022-03-31 20:21:55 +02:00
|
|
|
- **breaking:** `middleware::from_fn` has been remove from axum-extra and moved into the main
|
|
|
|
axum crate ([#719])
|
2022-03-03 22:50:31 +01:00
|
|
|
- **breaking:** `HasRoutes` has been removed. `Router::merge` now accepts `Into<Router>` ([#819])
|
|
|
|
- **breaking:** `RouterExt::with` method has been removed. Use `Router::merge` instead. It works
|
|
|
|
identically ([#819])
|
2021-12-27 23:28:58 +01:00
|
|
|
|
2022-01-13 09:49:55 +01:00
|
|
|
[#699]: https://github.com/tokio-rs/axum/pull/699
|
2022-01-25 10:19:06 +01:00
|
|
|
[#719]: https://github.com/tokio-rs/axum/pull/719
|
2022-02-28 09:58:22 +01:00
|
|
|
[#790]: https://github.com/tokio-rs/axum/pull/790
|
2022-03-04 10:53:36 +01:00
|
|
|
[#816]: https://github.com/tokio-rs/axum/pull/816
|
2022-03-03 22:50:31 +01:00
|
|
|
[#819]: https://github.com/tokio-rs/axum/pull/819
|
2021-12-27 15:23:02 +01:00
|
|
|
|
2022-03-31 20:21:55 +02:00
|
|
|
# 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
|
|
|
|
|
2022-02-24 09:27:50 +01:00
|
|
|
# 0.1.2 (13. January, 2022)
|
2022-01-25 09:46:26 +01:00
|
|
|
|
|
|
|
- **fix:** Depend on tower with `default_features = false` ([#666])
|
|
|
|
|
2021-12-27 15:23:02 +01:00
|
|
|
# 0.1.1 (27. December, 2021)
|
|
|
|
|
2021-12-27 14:01:26 +01:00
|
|
|
- Add `middleware::from_fn` for creating middleware from async functions ([#656])
|
2021-12-28 10:19:24 +01:00
|
|
|
- Add support for returning pretty JSON response in `response::ErasedJson` ([#662])
|
2021-12-27 14:01:26 +01:00
|
|
|
|
|
|
|
[#656]: https://github.com/tokio-rs/axum/pull/656
|
2021-12-28 10:19:24 +01:00
|
|
|
[#662]: https://github.com/tokio-rs/axum/pull/662
|
2021-12-02 20:02:38 +01:00
|
|
|
|
|
|
|
# 0.1.0 (02. December, 2021)
|
|
|
|
|
|
|
|
- Initial release.
|
2022-02-24 09:27:50 +01:00
|
|
|
|
|
|
|
[Keep a Changelog]: https://keepachangelog.com/en/1.0.0/
|
|
|
|
[Semantic Versioning]: https://semver.org/spec/v2.0.0.html
|