github actix/actix-web web-v4.0.0-beta.17
actix-web: v4.0.0-beta.17

latest releases: awc-v3.5.1, web-v4.9.0, http-v3.9.0...
pre-release2 years ago

Added

  • guard::GuardContext for use with the Guard trait. #2552
  • ServiceRequest::guard_ctx for obtaining a guard context. #2552

Changed

  • Guard trait now receives a &GuardContext. #2552
  • guard::fn_guard functions now receives a &GuardContext. #2552
  • Some guards now return impl Guard and their concrete types are made private: guard::Header and all the method guards. #2552
  • The Not guard is now generic over the type of guard it wraps. #2552

Fixed

  • Rename ConnectionInfo::{remote_addr => peer_addr}, deprecating the old name. #2554
  • ConnectionInfo::peer_addr will not return the port number. #2554
  • ConnectionInfo::realip_remote_addr will not return the port number if sourcing the IP from the peer's socket address. #2554

Don't miss a new actix-web release

NewReleases is sending notifications on new releases.