actix-files/CHANGES.md
Files::try_compressed() to support serving pre-compressed static files #2615bytes=0-NamedFile panic when serving files with pre-UNIX epoch modification times. #2748Content-Encoding: identity header in NamedFile range responses. #3191We addressed 2 vulnerabilities in this release:
Files::new inputs.We encourage updating your actix-files version as soon as possible.
PathBufWrap & UriSegmentError made public. #3694derive_more dependency feature requirements.Files::with_permanent_redirect() method.{Files, NamedFile}::read_mode_threshold() methods to allow faster synchronous reads of small files.tokio-uring dependency to 0.4.time dependency.Content-Disposition: inline instead of attachment. #2903time dependency.tokio-uring dependency to 0.4.time dependency.NamedFile::{modified, metadata, content_type, content_disposition, encoding}() getters. #2021tokio-uring dependency to 0.3.Content-Disposition: inline instead of attachment. #2645hashbrown dependency.0.6.0-beta.16.0.6.0-beta.15.0.6.0-beta.14.prefer_utf8 option introduced in 0.4.0 is now true by default. #2583Files service now rejects requests with URL paths that include %2F (decoded: /). #2398Files service now correctly decodes %25 in the URL path to % for the file path. #23980.6.0-beta.11.0.6.0-beta.10.0.6.0-beta.9.experimental-io-uring, enabling async file I/O to be utilized. This feature is only available on Linux OSes with recent kernel versions. This feature is semver-exempt. #2408NamedFile::open_async. #2408Responder impl for NamedFile now has a boxed future associated type. #2408Service impl for NamedFileService now has a boxed future associated type. #2408impl Clone for FilesService. #2408Files::path_filter(). #2274Files::show_files_listing() can now be used with Files::index_file() to show files listing as a fallback when the index file is not found. #2228NamedFile now implements ServiceFactory and HttpServiceFactory making it much more useful in routing. For example, it can be used directly as a default service. #2135Content-Disposition header no longer shows the filename of the original file. #2156Files::redirect_to_slash_directory() now works as expected when used with Files::show_files_listing(). #2225application/{javascript, json, wasm} mime type now have inline disposition by default. #2257.guard in Files to selectively filter Files services. #2046v_htmlescape with askama_escape. #1953HttpRange::parse now has its own error type.bytes to 1.0. #1813Files::new and improve docs.Files::prefer_utf8 option that adds UTF-8 charset on certain response types. #1714v_htmlescape to 0.10actix-web and actix-http dependencies to beta.1actix-web and actix-http dependencies to alphastd::futurefilename* param in the Content-Disposition header of actix_files::NamedFile to be more compatible. (#1151)Files #1132mime_guess crate version to 2.0.1percent-encoding crate version to 2.1Files #1113Content-Disposition header #686Content-Length header, let actix-http set it #930