multipart-v0.5.0

actix/actix-webmultipart-v0.5.0Jan 21, 2023by robjtede

AI Summary

This release updates the Minimum Supported Rust Version (MSRV) to 1.59 and modifies the return type of `Field::content_type()` to `Option<&mime::Mime>`.

Key Highlights

  • MSRV updated to 1.59
  • Field::content_type() now returns Option<&mime::Mime>
  • Updated transitive time dependency

Breaking Changes

  • The return type of `Field::content_type()` changed to `Option<&mime::Mime>`, requiring callers to handle the `None` case.

New Features

  • Updated MSRV to 1.59
  • Field::content_type()` now returns an Option to handle missing MIME types

Full Release Notes

- Minimum supported Rust version (MSRV) is now 1.59 due to transitive `time` dependency.
- `Field::content_type()` now returns `Option<&mime::Mime>` [#2885]

[#2885]: https://github.com/actix/actix-web/pull/2885