github actix/actix-web http-v3.0.0-beta.6
actix-http: v3.0.0-beta.6

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

Added

  • impl<T: MessageBody> MessageBody for Pin<Box<T>>. #2152
  • Response::{ok, bad_request, not_found, internal_server_error}. #2159
  • Helper body::to_bytes for async collecting message body into Bytes. #2158

Changes

  • The type parameter of Response no longer has a default. #2152
  • The Message variant of body::Body is now Pin<Box<dyn MessageBody>>. #2152
  • BodyStream and SizedStream are no longer restricted to Unpin types. #2152
  • Error enum types are marked #[non_exhaustive]. #2161

Removed

  • cookies feature flag. #2065
  • Top-level cookies mod (re-export). #2065
  • HttpMessage trait loses the cookies and cookie methods. #2065
  • impl ResponseError for CookieParseError. #2065
  • Deprecated methods on ResponseBuilder: if_true, if_some. #2148
  • ResponseBuilder::json. #2148
  • ResponseBuilder::{set_header, header}. #2148
  • impl From<serde_json::Value> for Body. #2148
  • Response::build_from. #2159
  • Most of the status code builders on Response. #2159

Don't miss a new actix-web release

NewReleases is sending notifications on new releases.