index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2021-08-18 20:30:49.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2021-08-18 20:30:49.0 +00:00:00
commit
6fd2a5f22f6fee21cd0f753d32c31b5cfc6dd004 [patch]
tree
772a46a0c21309cccfe5538217e12860cafe88b8
parent
122e1bde8bcb11b0a39d3780c1922007266a7cee
download
6fd2a5f22f6fee21cd0f753d32c31b5cfc6dd004.tar.gz

v2.0.1



Diff

 .drone.yml   |  2 +-
 CHANGELOG.md | 27 +++++++++++++++++++++++++++
 Cargo.lock   |  2 +-
 Cargo.toml   |  2 +-
 4 files changed, 30 insertions(+), 3 deletions(-)

diff --git a/.drone.yml b/.drone.yml
index 562a860..0c28847 100644
--- a/.drone.yml
+++ b/.drone.yml
@@ -9,7 +9,7 @@ platform:

steps:
- name: test
  image: joseluisq/rust-linux-darwin-builder:1.53.0
  image: joseluisq/rust-linux-darwin-builder:1.54.0
  volumes:
    - name: cargo-target
      path: /drone/src/target
diff --git a/CHANGELOG.md b/CHANGELOG.md
index db085f5..73e7cac 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -7,6 +7,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

_**Note:** See changelog for v1 under the [1.x]https://github.com/joseluisq/static-web-server/blob/1.x/CHANGELOG.md branch._

## v2.0.1 - 2021-08-18

__Fixes__

* [2459ec4]https://github.com/joseluisq/static-web-server/commit/2459ec4 Return incorrect first bytes range when final bytes are requested. For example a request using `Range: bytes=-10` header returned incorrectly the first 10 bytes rather than the last 10 ones.

__Updates__

* [122e1bd]https://github.com/joseluisq/static-web-server/commit/122e1bd Update dependencies including Hyper and Tokio bug fixes, Brotli, Serde and related crates (also [0b413f9]https://github.com/joseluisq/static-web-server/commit/0b413f9, [fa130fa]https://github.com/joseluisq/static-web-server/commit/fa130fa, [167e1de]https://github.com/joseluisq/static-web-server/commit/167e1de, [fa32375]https://github.com/joseluisq/static-web-server/commit/fa32375, [2d1c5f3]https://github.com/joseluisq/static-web-server/commit/2d1c5f3)

__Refactorings__

* [8fc1812]https://github.com/joseluisq/static-web-server/commit/8fc1812 Remove needless borrow on static file and handle modules.
* [27f5687]https://github.com/joseluisq/static-web-server/commit/27f5687 UTF-8 for default Docker `index.html` file.
* [ffb2e54]https://github.com/joseluisq/static-web-server/commit/ffb2e54 Update Rust stable to 1.54.0 on CI.

__Tests__

* [5cdcffc]https://github.com/joseluisq/static-web-server/commit/5cdcffc More directory listing test cases.
* [c7e8ec9]https://github.com/joseluisq/static-web-server/commit/c7e8ec9 More static files test cases.
* [37f2371]https://github.com/joseluisq/static-web-server/commit/37f2371 More static file methods and compression test cases.
* [dd7f995]https://github.com/joseluisq/static-web-server/commit/dd7f995 More static file test cases for during request handling.

__Docs__

* [f389cbc]https://github.com/joseluisq/static-web-server/commit/f389cbc Minor badges and link updates.

## v2.0.0 - 2021-07-18

The second major stable release is finally available after around half a year of work. It introduces notable changes including new features, performance improvements and new targets support like ARM64 and OSes like FreeBSD.
diff --git a/Cargo.lock b/Cargo.lock
index d43918b..acfad59 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -856,7 +856,7 @@ checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d"

[[package]]
name = "static-web-server"
version = "2.0.0"
version = "2.0.1"
dependencies = [
 "anyhow",
 "async-compression",
diff --git a/Cargo.toml b/Cargo.toml
index e5286a0..11a1a3d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "static-web-server"
version = "2.0.0"
version = "2.0.1"
authors = ["Jose Quintana <https://git.io/joseluisq>"]
license = "MIT OR Apache-2.0"
description = "A blazing fast and asynchronous web server for static files-serving."