Skip to content

actix-web: v4.1.0

Compare
Choose a tag to compare
@robjtede robjtede released this 11 Jun 15:54
· 491 commits to master since this release
3926416

Added

  • Add ServiceRequest::extract() to make it easier to use extractors when writing middlewares. #2647
  • Add Route::wrap() to allow individual routes to use middleware. #2725
  • Add ServiceConfig::default_service(). #2338 #2743
  • Implement ResponseError for std::convert::Infallible

Changed

  • Minimum supported Rust version (MSRV) is now 1.56 due to transitive hashbrown dependency.

Fixed

  • Clear connection-level data on HttpRequest drop. #2742