2019-03-02 08:59:44 +01:00
# Changes
2021-01-02 01:12:18 +01:00
## Unreleased - 2021-xx-xx
2021-11-22 19:46:19 +01:00
2021-12-11 01:31:41 +01:00
## 0.6.0-beta.10 - 2021-12-11
* No significant changes since `0.6.0-beta.9` .
2021-11-22 19:46:19 +01:00
## 0.6.0-beta.9 - 2021-11-22
2021-11-22 02:19:09 +01:00
* Add crate feature `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. [#2408]
* Add `NamedFile::open_async` . [#2408]
2021-11-19 15:04:12 +01:00
* Fix 304 Not Modified responses to omit the Content-Length header, as per the spec. [#2453]
2021-11-22 02:19:09 +01:00
* The `Responder` impl for `NamedFile` now has a boxed future associated type. [#2408]
* The `Service` impl for `NamedFileService` now has a boxed future associated type. [#2408]
* Add `impl Clone` for `FilesService` . [#2408]
2021-11-19 15:04:12 +01:00
2021-11-22 02:19:09 +01:00
[#2408]: https://github.com/actix/actix-web/pull/2408
2021-11-19 15:04:12 +01:00
[#2453]: https://github.com/actix/actix-web/pull/2453
2021-10-21 00:32:46 +02:00
## 0.6.0-beta.8 - 2021-10-20
2021-10-19 02:59:28 +02:00
* Minimum supported Rust version (MSRV) is now 1.52.
2021-09-09 02:35:41 +02:00
## 0.6.0-beta.7 - 2021-09-09
2021-08-31 00:19:03 +02:00
* Minimum supported Rust version (MSRV) is now 1.51.
2021-06-26 17:33:36 +02:00
## 0.6.0-beta.6 - 2021-06-26
2021-06-25 15:21:57 +02:00
* Added `Files::path_filter()` . [#2274]
2021-06-26 17:33:36 +02:00
* `Files::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. [#2228]
2021-06-25 15:21:57 +02:00
[#2274]: https://github.com/actix/actix-web/pull/2274
2021-06-26 17:33:36 +02:00
[#2228]: https://github.com/actix/actix-web/pull/2228
2021-06-19 12:51:20 +02:00
## 0.6.0-beta.5 - 2021-06-17
2021-04-19 03:11:07 +02:00
* `NamedFile` now implements `ServiceFactory` and `HttpServiceFactory` making it much more useful in routing. For example, it can be used directly as a default service. [#2135]
2021-04-13 06:28:30 +02:00
* For symbolic links, `Content-Disposition` header no longer shows the filename of the original file. [#2156]
2021-05-26 11:42:29 +02:00
* `Files::redirect_to_slash_directory()` now works as expected when used with `Files::show_files_listing()` . [#2225]
2021-06-16 21:33:22 +02:00
* `application/{javascript, json, wasm}` mime type now have `inline` disposition by default. [#2257]
2021-04-13 06:28:30 +02:00
2021-04-19 03:11:07 +02:00
[#2135]: https://github.com/actix/actix-web/pull/2135
2021-04-13 06:28:30 +02:00
[#2156]: https://github.com/actix/actix-web/pull/2156
2021-05-26 11:42:29 +02:00
[#2225]: https://github.com/actix/actix-web/pull/2225
2021-06-16 21:33:22 +02:00
[#2257]: https://github.com/actix/actix-web/pull/2257
2021-02-10 13:10:03 +01:00
2021-04-02 10:43:51 +02:00
## 0.6.0-beta.4 - 2021-04-02
2021-04-22 19:13:13 +02:00
* Add support for `.guard` in `Files` to selectively filter `Files` services. [#2046]
[#2046]: https://github.com/actix/actix-web/pull/2046
2021-04-02 10:43:51 +02:00
2021-06-26 17:33:36 +02:00
2021-03-10 00:39:40 +01:00
## 0.6.0-beta.3 - 2021-03-09
* No notable changes.
2021-02-10 13:10:03 +01:00
## 0.6.0-beta.2 - 2021-02-10
2021-01-11 19:18:23 +01:00
* Fix If-Modified-Since and If-Unmodified-Since to not compare using sub-second timestamps. [#1887]
2021-02-07 05:50:23 +01:00
* Replace `v_htmlescape` with `askama_escape` . [#1953]
2021-01-07 21:02:08 +01:00
2021-01-11 19:18:23 +01:00
[#1887]: https://github.com/actix/actix-web/pull/1887
2021-02-07 05:50:23 +01:00
[#1953]: https://github.com/actix/actix-web/pull/1953
2021-01-07 21:02:08 +01:00
2021-02-10 13:10:03 +01:00
2021-01-07 21:02:08 +01:00
## 0.6.0-beta.1 - 2021-01-07
2020-12-27 21:53:19 +01:00
* `HttpRange::parse` now has its own error type.
2021-01-04 00:47:04 +01:00
* Update `bytes` to `1.0` . [#1813]
[#1813]: https://github.com/actix/actix-web/pull/1813
2020-12-26 05:05:45 +01:00
## 0.5.0 - 2020-12-26
2020-12-26 04:36:15 +01:00
* Optionally support hidden files/directories. [#1811]
[#1811]: https://github.com/actix/actix-web/pull/1811
2020-10-06 23:08:33 +02:00
2020-11-24 21:23:09 +01:00
## 0.4.1 - 2020-11-24
* Clarify order of parameters in `Files::new` and improve docs.
2020-10-06 23:08:33 +02:00
## 0.4.0 - 2020-10-06
2020-10-06 22:56:28 +02:00
* Add `Files::prefer_utf8` option that adds UTF-8 charset on certain response types. [#1714]
[#1714]: https://github.com/actix/actix-web/pull/1714
2020-10-06 23:08:33 +02:00
## 0.3.0 - 2020-09-11
2020-10-06 22:56:28 +02:00
* No significant changes from 0.3.0-beta.1.
2020-07-02 10:52:42 +02:00
2020-10-06 23:08:33 +02:00
## 0.3.0-beta.1 - 2020-07-15
2020-07-02 10:52:42 +02:00
* Update `v_htmlescape` to 0.10
2020-07-16 12:38:57 +02:00
* Update `actix-web` and `actix-http` dependencies to beta.1
2020-07-02 10:52:42 +02:00
2020-10-06 23:08:33 +02:00
## 0.3.0-alpha.1 - 2020-05-23
2020-05-23 11:47:08 +02:00
* Update `actix-web` and `actix-http` dependencies to alpha
* Fix some typos in the docs
2020-05-13 02:57:37 +02:00
* Bump minimum supported Rust version to 1.40
2020-05-23 11:47:08 +02:00
* Support sending Content-Length when Content-Range is specified [#1384]
[#1384]: https://github.com/actix/actix-web/pull/1384
2020-05-13 02:57:37 +02:00
2019-12-22 08:43:41 +01:00
2020-10-06 23:08:33 +02:00
## 0.2.1 - 2019-12-22
2019-12-22 08:43:41 +01:00
* Use the same format for file URLs regardless of platforms
2019-12-16 12:22:26 +01:00
2020-10-06 23:08:33 +02:00
## 0.2.0 - 2019-12-20
2019-12-16 12:22:26 +01:00
* Fix BodyEncoding trait import #1220
2019-12-03 11:35:31 +01:00
2020-10-06 23:08:33 +02:00
## 0.2.0-alpha.1 - 2019-12-07
2019-12-03 11:35:31 +01:00
* Migrate to `std::future`
2019-11-06 19:35:13 +01:00
2020-10-06 23:08:33 +02:00
## 0.1.7 - 2019-11-06
* Add an additional `filename*` param in the `Content-Disposition` header of
`actix_files::NamedFile` to be more compatible. (#1151)
2019-10-14 17:23:15 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.6 - 2019-10-14
2019-10-14 17:23:15 +02:00
* Add option to redirect to a slash-ended path `Files` #1132
2019-08-11 22:43:29 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.5 - 2019-10-08
2019-08-11 22:43:29 +02:00
* Bump up `mime_guess` crate version to 2.0.1
2019-08-13 19:48:11 +02:00
* Bump up `percent-encoding` crate version to 2.1
2019-10-08 06:09:40 +02:00
* Allow user defined request guards for `Files` #1113
2019-10-14 17:26:26 +02:00
2019-07-20 07:43:49 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.4 - 2019-07-20
2019-07-20 07:43:49 +02:00
* Allow to disable `Content-Disposition` header #686
2019-06-28 07:42:20 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.3 - 2019-06-28
2019-06-28 07:42:20 +02:00
* Do not set `Content-Length` header, let actix-http set it #930
2019-06-07 05:34:30 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.2 - 2019-06-13
2019-06-13 11:27:21 +02:00
* Content-Length is 0 for NamedFile HEAD request #914
* Fix ring dependency from actix-web default features for #741
2019-06-07 05:34:30 +02:00
2019-06-01 13:57:40 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.1 - 2019-06-01
2019-06-01 13:57:40 +02:00
* Static files are incorrectly served as both chunked and with length #812
2019-05-23 06:21:12 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.0 - 2019-05-25
* NamedFile last-modified check always fails due to nano-seconds in file modified date #820
2019-05-23 06:21:12 +02:00
2019-05-12 20:41:43 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.0-beta.4 - 2019-05-12
2019-05-12 20:41:43 +02:00
* Update actix-web to beta.4
2019-04-21 06:16:51 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.0-beta.1 - 2019-04-20
2019-04-21 06:16:51 +02:00
* Update actix-web to beta.1
2019-04-14 17:09:32 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.0-alpha.6 - 2019-04-14
2019-04-14 17:09:32 +02:00
* Update actix-web to alpha6
2019-04-08 08:42:05 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.0-alpha.4 - 2019-04-08
2019-04-08 08:42:05 +02:00
* Update actix-web to alpha4
2019-04-01 03:19:18 +02:00
2020-10-06 23:08:33 +02:00
## 0.1.0-alpha.2 - 2019-04-02
2019-04-01 03:19:18 +02:00
* Add default handler support
2019-03-02 08:59:44 +01:00
2020-10-06 23:08:33 +02:00
## 0.1.0-alpha.1 - 2019-03-28
2019-03-02 08:59:44 +01:00
* Initial impl