From 9a2566c15ea0295e85ceab5eeb74cc744adefbfc Mon Sep 17 00:00:00 2001 From: Richard Bradfield Date: Thu, 14 Oct 2021 15:41:19 +0100 Subject: [PATCH] Prepare for 0.9.0 release --- CHANGELOG.md | 14 ++++++++++++++ Cargo.toml | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index de28fb66..22c90336 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changes +## 0.9.0 + +* [Rust 2018 Refactor](https://github.com/tiny-http/tiny-http/pull/208) +* [Enable prompt responses, before the request has been fully read](https://github.com/tiny-http/tiny-http/pull/207) + + This isn't an API change, but does result in different behaviour to 0.8.2 and so justifies a minor version bump. + + HTTP requests now return a boxed `FusedReader` which drops the underlying + reader once it reaches EOF, such that the reader no longer needs to be + explicitly consumed and the server may now respond with e.g. a "413 Payload + too large" without waiting for the whole reader. + +* Bumped the minimum compiler version tested by CI to 1.48 (the version supported in Debian Bullseye) + ## 0.8.2 * [Add TestRequest for writing server tests more easily](https://github.com/tiny-http/tiny-http/pull/203) diff --git a/Cargo.toml b/Cargo.toml index ea2a8dd0..d6312f1f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tiny_http" -version = "0.8.2" +version = "0.9.0" authors = ["pierre.krieger1708@gmail.com", "Corey Farwell "] description = "Low level HTTP server library"