mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-24 00:00:16 +02:00
* Prepare axum-next branch * Remove deprecated `extractor_middleware` function (#1077) * Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` (#948) * Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` (#924) * Allow `Error: Into<Infallible>` for `Route::{layer, route_layer}` Fixes https://github.com/tokio-rs/axum/issues/922 * changelog * fixup changelog * Panic on overlapping routes in `MethodRouter` (#1102) * Panic on overlapping routes in `MethodRouter` * changelog link * add test to ensure `head` and `get` don't overlap * Fix changelog * Prepare axum-next branch * Remove trailing slash redirects * changelog link * Fix changelog * remove asserting to make make the test more clear * remove tsr related feature * Add `RouterExt::route_with_tsr` * Apply suggestions from code review Co-authored-by: Jonas Platte <[email protected]> * Update axum-extra/src/routing/mod.rs Co-authored-by: Jonas Platte <[email protected]> * fix typos in docs * Update axum/CHANGELOG.md Co-authored-by: Jonas Platte <[email protected]> * mention `RouterExt::route_with_tsr` in the changelog Co-authored-by: Jonas Platte <[email protected]>
5.0 KiB
5.0 KiB
Changelog
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Unreleased
- added: Add
RouterExt::route_with_tsrfor adding routes with an additional "trailing slash redirect" route (#1119)
0.3.5 (27. June, 2022)
- added: Add
JsonLinesfor streaming newline delimited JSON (#1093) - change: axum's MSRV is now 1.56 (#1098)
0.3.4 (08. June, 2022)
- fixed: Use
impl IntoResponseless in docs (#1049) - added: Add
AsyncReadBodyfor creating a body from atokio::io::AsyncRead(#1072)
0.3.3 (18. May, 2022)
- added: Add
extract::Querywhich supports multi-value items (#1041) - added: Support customizing rejections for
#[derive(TypedPath)](#1012)
0.3.2 (15. May, 2022)
- added: Add
extract::Formwhich supports multi-value items (#1031)
0.3.1 (10. May, 2022)
- fixed:
OptionandResultare now supported in typed path route handler parameters (#1001) - fixed: Support wildcards in typed paths (#1003)
- added: Support using a custom rejection type for
#[derive(TypedPath)]instead ofPathRejection(#1012)
0.3.0 (27. April, 2022)
- fixed: Don't depend on axum with default features enabled (#913)
- breaking: Private and signed cookies now requires enabling the
cookie-privateandcookie-signedfeatures respectively (#949) - changed: Update to tower-http 0.3 (#965)
0.2.1 (03. April, 2022)
- added: Re-export
SameSiteandExpirationfrom thecookiecrate (#898) - added: Add
PrivateCookieJarfor managing private cookies (#900) - added: Add
SpaRouterfor routing setups commonly used for single page applications (#904) - fixed: Fix
SignedCookieJarwhen using custom key types (#899)
0.2.0 (31. March, 2022)
- added: Add
TypedPath::to_urifor converting the path into aUri(#790) - added: Extractors and responses for dealing with cookies. See
extract::cookiesfor more details (#816) - breaking:
CachedRejectionhas been removed (#699) - breaking:
<Cached<T> as FromRequest>::Rejectionis nowT::Rejection. (#699) - breaking:
middleware::from_fnhas been remove from axum-extra and moved into the main axum crate (#719) - breaking:
HasRouteshas been removed.Router::mergenow acceptsInto<Router>(#819) - breaking:
RouterExt::withmethod has been removed. UseRouter::mergeinstead. It works identically (#819)
0.1.5 (1. March, 2022)
- added: Add
TypedPath::to_urifor converting the path into aUri(#790)
0.1.4 (22. February, 2022)
- fix: Depend on the right versions of axum and axum-macros (#782)
0.1.3 (22. February, 2022)
- added: Add type safe routing. See
axum_extra::routing::typedfor more details (#756) - fix: Depend on tower with
default_features = false(#666) - change:
middleware::from_fnhas been deprecated and moved into the main axum crate (#719)
0.1.2 (13. January, 2022)
- fix: Depend on tower with
default_features = false(#666)
0.1.1 (27. December, 2021)
- Add
middleware::from_fnfor creating middleware from async functions (#656) - Add support for returning pretty JSON response in
response::ErasedJson(#662)
0.1.0 (02. December, 2021)
- Initial release.