From 34b23f31c93b9b8d02a211636b62133d9fc1f769 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Tue, 6 Oct 2020 22:08:33 +0100 Subject: [PATCH] prepare files release 0.4.0 --- actix-files/CHANGES.md | 56 +++++++++++++++++++++--------------------- actix-files/Cargo.toml | 4 +-- actix-files/README.md | 24 ++++++++++++------ actix-files/src/lib.rs | 2 +- 4 files changed, 48 insertions(+), 38 deletions(-) diff --git a/actix-files/CHANGES.md b/actix-files/CHANGES.md index 271476d9..978d1c69 100644 --- a/actix-files/CHANGES.md +++ b/actix-files/CHANGES.md @@ -1,20 +1,24 @@ # Changes -## [Unreleased] - 2020-xx-xx +## Unreleased - 2020-xx-xx + + +## 0.4.0 - 2020-10-06 * Add `Files::prefer_utf8` option that adds UTF-8 charset on certain response types. [#1714] [#1714]: https://github.com/actix/actix-web/pull/1714 -## [0.3.0] - 2020-09-11 +## 0.3.0 - 2020-09-11 * No significant changes from 0.3.0-beta.1. -## [0.3.0-beta.1] - 2020-07-15 +## 0.3.0-beta.1 - 2020-07-15 * Update `v_htmlescape` to 0.10 * Update `actix-web` and `actix-http` dependencies to beta.1 -## [0.3.0-alpha.1] - 2020-05-23 + +## 0.3.0-alpha.1 - 2020-05-23 * Update `actix-web` and `actix-http` dependencies to alpha * Fix some typos in the docs * Bump minimum supported Rust version to 1.40 @@ -22,77 +26,73 @@ [#1384]: https://github.com/actix/actix-web/pull/1384 -## [0.2.1] - 2019-12-22 +## 0.2.1 - 2019-12-22 * Use the same format for file URLs regardless of platforms -## [0.2.0] - 2019-12-20 +## 0.2.0 - 2019-12-20 * Fix BodyEncoding trait import #1220 -## [0.2.0-alpha.1] - 2019-12-07 +## 0.2.0-alpha.1 - 2019-12-07 * Migrate to `std::future` -## [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) - -## [0.1.6] - 2019-10-14 +## 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) +## 0.1.6 - 2019-10-14 * Add option to redirect to a slash-ended path `Files` #1132 -## [0.1.5] - 2019-10-08 +## 0.1.5 - 2019-10-08 * Bump up `mime_guess` crate version to 2.0.1 - * Bump up `percent-encoding` crate version to 2.1 - * Allow user defined request guards for `Files` #1113 -## [0.1.4] - 2019-07-20 +## 0.1.4 - 2019-07-20 * Allow to disable `Content-Disposition` header #686 -## [0.1.3] - 2019-06-28 +## 0.1.3 - 2019-06-28 * Do not set `Content-Length` header, let actix-http set it #930 -## [0.1.2] - 2019-06-13 +## 0.1.2 - 2019-06-13 * Content-Length is 0 for NamedFile HEAD request #914 - * Fix ring dependency from actix-web default features for #741 -## [0.1.1] - 2019-06-01 +## 0.1.1 - 2019-06-01 * Static files are incorrectly served as both chunked and with length #812 -## [0.1.0] - 2019-05-25 -* NamedFile last-modified check always fails due to nano-seconds - in file modified date #820 +## 0.1.0 - 2019-05-25 +* NamedFile last-modified check always fails due to nano-seconds in file modified date #820 -## [0.1.0-beta.4] - 2019-05-12 +## 0.1.0-beta.4 - 2019-05-12 * Update actix-web to beta.4 -## [0.1.0-beta.1] - 2019-04-20 +## 0.1.0-beta.1 - 2019-04-20 * Update actix-web to beta.1 -## [0.1.0-alpha.6] - 2019-04-14 +## 0.1.0-alpha.6 - 2019-04-14 * Update actix-web to alpha6 -## [0.1.0-alpha.4] - 2019-04-08 +## 0.1.0-alpha.4 - 2019-04-08 * Update actix-web to alpha4 -## [0.1.0-alpha.2] - 2019-04-02 +## 0.1.0-alpha.2 - 2019-04-02 * Add default handler support -## [0.1.0-alpha.1] - 2019-03-28 +## 0.1.0-alpha.1 - 2019-03-28 * Initial impl diff --git a/actix-files/Cargo.toml b/actix-files/Cargo.toml index 634296c5..c829887b 100644 --- a/actix-files/Cargo.toml +++ b/actix-files/Cargo.toml @@ -1,8 +1,8 @@ [package] name = "actix-files" -version = "0.3.0" +version = "0.4.0" authors = ["Nikolay Kim "] -description = "Static files support for actix web." +description = "Static file serving for Actix Web" readme = "README.md" keywords = ["actix", "http", "async", "futures"] homepage = "https://actix.rs" diff --git a/actix-files/README.md b/actix-files/README.md index 5a5a6208..d3143936 100644 --- a/actix-files/README.md +++ b/actix-files/README.md @@ -1,9 +1,19 @@ -# Static files support for actix web [![Build Status](https://travis-ci.org/actix/actix-web.svg?branch=master)](https://travis-ci.org/actix/actix-web) [![codecov](https://codecov.io/gh/actix/actix-web/branch/master/graph/badge.svg)](https://codecov.io/gh/actix/actix-web) [![crates.io](https://meritbadge.herokuapp.com/actix-files)](https://crates.io/crates/actix-files) [![Join the chat at https://gitter.im/actix/actix](https://badges.gitter.im/actix/actix.svg)](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +# actix-files -## Documentation & community resources +> Static file serving for Actix Web -* [User Guide](https://actix.rs/docs/) -* [API Documentation](https://docs.rs/actix-files/) -* [Chat on gitter](https://gitter.im/actix/actix) -* Cargo package: [actix-files](https://crates.io/crates/actix-files) -* Minimum supported Rust version: 1.40 or later +[![crates.io](https://meritbadge.herokuapp.com/actix-web)](https://crates.io/crates/actix-files) +[![Documentation](https://docs.rs/actix-files/badge.svg)](https://docs.rs/actix-files) +[![Version](https://img.shields.io/badge/rustc-1.42+-ab6000.svg)](https://blog.rust-lang.org/2020/03/12/Rust-1.42.html) +![License](https://img.shields.io/crates/l/actix-files.svg) +
+[![dependency status](https://deps.rs/crate/actix-files/0.4.0/status.svg)](https://deps.rs/crate/actix-files/0.4.0) +[![Download](https://img.shields.io/crates/d/actix-files.svg)](https://crates.io/crates/actix-files) +[![Join the chat at https://gitter.im/actix/actix](https://badges.gitter.im/actix/actix.svg)](https://gitter.im/actix/actix?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) + +## Documentation & Resources + +- [API Documentation](https://docs.rs/actix-files/) +- [Example Project](https://github.com/actix/examples/tree/master/static_index) +- [Chat on Gitter](https://gitter.im/actix/actix-web) +- Minimum supported Rust version: 1.42 or later diff --git a/actix-files/src/lib.rs b/actix-files/src/lib.rs index 120345c4..662fba0a 100644 --- a/actix-files/src/lib.rs +++ b/actix-files/src/lib.rs @@ -1,4 +1,4 @@ -//! Static files support for Actix Web. +//! Static file serving for Actix Web. //! //! Provides a non-blocking service for serving static files from disk. //!