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

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

Added

  • HttpServer::worker_max_blocking_threads for setting block thread pool. #2200

Changed

  • Adjusted default JSON payload limit to 2MB (from 32kb) and included size and limits in the JsonPayloadError::Overflow error variant. [#2162]
    [#2162]: (#2162)
  • ServiceResponse::error_response now uses body type of Body. #2201
  • ServiceResponse::checked_expr now returns a Result. #2201
  • Update language-tags to 0.3.
  • ServiceResponse::take_body. #2201
  • ServiceResponse::map_body closure receives and returns B instead of ResponseBody<B> types. #2201
  • All error trait bounds in server service builders have changed from Into<Error> to Into<Response<AnyBody>>. #2253
  • All error trait bounds in message body and stream impls changed from Into<Error> to Into<Box<dyn std::error::Error>>. #2253
  • HttpServer::{listen_rustls(), bind_rustls()} now honor the ALPN protocols in the configuation parameter. [#2226]
  • middleware::normalize now will not try to normalize URIs with no valid path #2246

Removed

  • HttpResponse::take_body and old HttpResponse::into_body method that casted body type. #2201

Don't miss a new actix-web release

NewReleases is sending notifications on new releases.