files-v0.7.0
actix/actix-webfiles-v0.7.0Aug 19, 2026by robjtede
AI Summary
This release removes the experimental IO-uring feature, adds support for multiple root directories, and fixes several panics and edge cases in static file serving.
Key Highlights
- Remove the experimental `experimental-io-uring` crate feature and its implementation.
- Add support for passing multiple root directories to `Files::new`.
- Add `Files::try_compressed()` to support serving pre-compressed static files.
- Fix panic in `Files` when `use_hidden_files()` is enabled and request paths contain `.` segments.
Breaking Changes
- Removal of the `experimental-io-uring` crate feature.
- Removal of the `NamedFile::open_async()` method.
New Features
- Multiple root directories support
- Pre-compressed static file support via `Files::try_compressed()`
Full Release Notes
- Remove the experimental `experimental-io-uring` crate feature and its implementation, including the `NamedFile::open_async()` method. - Add support for passing multiple root directories to `Files::new`. - Add `Files::try_compressed()` to support serving pre-compressed static files. - Fix handling of `Range: bytes=0-`. - Fix panic in `Files` when `use_hidden_files()` is enabled and request paths contain `.` segments. - Fix `NamedFile` panic when serving files with pre-UNIX epoch modification times. - Fix invalid `Content-Encoding: identity` header in `NamedFile` range responses.