multipart-v0.8.0

asheshgoplani/agent-deckmultipart-v0.8.0Jun 21, 2026by JohnTitor

AI Summary

This release adds testing utilities for multipart payloads and hardens the parser to prevent unbounded memory growth on malformed input.

Key Highlights

  • Added multi-field multipart payload builders to `actix_multipart::test`
  • Added `MultipartForm` support for `Option<Vec<T>>` fields
  • Bounded internal multipart parser buffering (64KB cap) to prevent unbounded growth
  • Fixed user-triggerable panic when parsing multipart boundaries
  • Minimum supported Rust version (MSRV) updated to 1.88

Breaking Changes

  • Bounded internal multipart parser buffering (unbounded growth is now capped at 64KB).

New Features

  • Multi-field payload builders in test module
  • Support for `Option<Vec<T>>` fields in `MultipartForm`
  • Configurable buffer limit via `MultipartConfig::buffer_limit`

Full Release Notes

## 0.8.0

- Add multi-field multipart payload builders to `actix_multipart::test`. [#3575]
- Add `MultipartForm` support for `Option<Vec<T>>` fields. [#3577]
- Bound internal multipart parser buffering to prevent unbounded memory growth on malformed bodies.
  - behavior change notice: There's now a cap for buffering (64KB). It can be changed with `MultipartConfig::buffer_limit`.
- Fix user-triggerable panic when parsing multipart boundaries.
- Minimum supported Rust version (MSRV) is now 1.88.
- Update `rand` dependency to `0.10`.

[#3577]: https://github.com/actix/actix-web/pull/3577
[#3575]: https://github.com/actix/actix-web/issues/3575