Skip to content

actix-web: v4.21.0

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 14:13
Immutable release. Only release title and notes can be modified.
f701c8c
  • Add the cookies-0_18 crate feature, disabled by default.
  • Re-export the cookie v0.18 crate as actix_web::cookie_0_18.
  • Add HttpRequest::{cookies_0_18, cookie_0_18, cookies_raw_0_18, cookie_raw_0_18}() methods.
  • Add ServiceRequest::{cookies_0_18, cookie_0_18, cookies_raw_0_18, cookie_raw_0_18}() methods.
  • Add HttpResponse::{cookies_0_18, add_cookie_0_18, add_removal_cookie_0_18}() methods.
  • Add HttpResponseBuilder::cookie_0_18() method.
  • Add CustomizeResponder::add_cookie_0_18() method.
  • Add TestRequest::cookie_0_18() method.
  • Allow HttpResponse::del_cookie() when cookies-0_18 feature is enabled.
  • The guard::Acceptable guard now prevents matches of media types marked with q=0.
  • The Allow header produced in automatic 405 responses now prevents specifying duplicate methods.
  • The middleware::Logger no longer panics on construction when the format string contains an unknown %{..}a sequence, they are now handled as literal text.