mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-23 15:48:06 +01:00
3.7 KiB
3.7 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
- None.
0.3.1 (10. May, 2022)
- fixed:
Option
andResult
are now supported in typed path route handler parameters (#1001) - fixed: Support wildcards in typed paths (#1003)
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-private
andcookie-signed
features respectively (#949) - changed: Update to tower-http 0.3 (#965)
0.2.1 (03. April, 2022)
- added: Re-export
SameSite
andExpiration
from thecookie
crate (#898) - added: Add
PrivateCookieJar
for managing private cookies (#900) - added: Add
SpaRouter
for routing setups commonly used for single page applications (#904) - fixed: Fix
SignedCookieJar
when using custom key types (#899)
0.2.0 (31. March, 2022)
- added: Add
TypedPath::to_uri
for converting the path into aUri
(#790) - added: Extractors and responses for dealing with cookies. See
extract::cookies
for more details (#816) - breaking:
CachedRejection
has been removed (#699) - breaking:
<Cached<T> as FromRequest>::Rejection
is nowT::Rejection
. (#699) - 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 acceptsInto<Router>
(#819) - breaking:
RouterExt::with
method has been removed. UseRouter::merge
instead. It works identically (#819)
0.1.5 (1. March, 2022)
- added: Add
TypedPath::to_uri
for 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::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)
0.1.2 (13. January, 2022)
- 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)
0.1.0 (02. December, 2021)
- Initial release.