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.
- Make
FromRequestdefault to being generic overaxum::body::Body(#146)
- Change WebSocket API to use an extractor (#121)
- Add
RoutingDsl::orfor combining routes. (#108) - Ensure a
HandleErrorservice created fromaxum::ServiceExt::handle_errordoes not implementRoutingDslas that could lead to confusing routing behavior. (#120) - Remove
QueryStringMissingas it was no longer being used extract::extractor_middleware::ExtractorMiddlewareResponseFuturemoved toextract::extractor_middleware::future::ResponseFuture(#133)routing::BoxRouteFuturemoved torouting::future::BoxRouteFuture(#133)routing::EmptyRouterFuturemoved torouting::future::EmptyRouterFuture(#133)routing::RouteFuturemoved torouting::future::RouteFuture(#133)service::BoxResponseBodyFuturemoved toservice::future::BoxResponseBodyFuture(#133)- The following types no longer implement
Copy(#132):EmptyRouterExtractorMiddlewareExtractorMiddlewareLayer
- Fix stripping prefix when nesting services at
/(#91) - Add support for WebSocket protocol negotiation (#83)
- Use
pin-project-liteinstead ofpin-project(#95) - Re-export
httpcrate andhyper::Server(#110) - Fix
QueryandFormextractors giving bad request error when query string is empty. (#117) - Add
Pathextractor. (#124) - Fixed the implementation of
IntoResponseof(HeaderMap, T)and(StatusCode, HeaderMap, T)would ignore headers fromT(#137) - Deprecate
extract::UrlParamsandextract::UrlParamsMap. Useextract::Pathinstead (#138)
- Implement
StreamforWebSocket(#52) - Implement
SinkforWebSocket(#52) - Implement
Derefmost extractors (#56) - Return
405 Method Not Allowedfor unsupported method for route (#63) - Add extractor for remote connection info (#55)
- Improve error message of
MissingExtensionrejections (#72) - Improve documentation for routing (#71)
- Clarify required response body type when routing to
tower::Services (#69) - Add
axum::body::box_bodyto converting anhttp_body::Bodytoaxum::body::BoxBody(#69) - Add
axum::ssefor Server-Sent Events (#75) - Mention required dependencies in docs (#77)
- Fix WebSockets failing on Firefox (#76)
- Misc readme fixes.
- Initial release.