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
|
|
|
|
|
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-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-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
|