web-v4.10.0

actix/actix-webweb-v4.10.0Mar 10, 2025by robjtede

AI Summary

Adds support for 204 No Content responses and improves Windows socket binding error handling.

Key Highlights

  • Implement `Responder` for `Result<(), E: Into<Error>>` (204 No Content)
  • On Windows, return error when binding to an already used socket
  • Update `brotli` dependency to version 7
  • Minimum supported Rust version (MSRV) is now 1.75

Breaking Changes

  • Minimum supported Rust version (MSRV) is now 1.75

New Features

  • Ok(()) responds with HTTP 204 No Content

Full Release Notes

### Added

- Implement `Responder` for `Result<(), E: Into<Error>>`. Returning `Ok(())` responds with HTTP 204 No Content.

### Changed

- On Windows, an error is now returned from `HttpServer::bind()` (or TLS variants) when binding to a socket that's already in use.
- Update `brotli` dependency to `7`.
- Minimum supported Rust version (MSRV) is now 1.75.