From 96985956aab3215c97c47ca0fb8f1a04f88a5554 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Sun, 3 Jan 2021 17:52:38 -0800 Subject: [PATCH 1/2] Bump to 2.0.1. Brings in a fix to 308 redirects. --- CHANGELOG.md | 3 +++ Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d304d58..1049731 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 2.0.1 + * Fix handling of 308 redirects (port from 1.5.4 branch). + # 2.0.0 * Methods that formerly returned Response now return Result. You'll need to change all instances of `.call()` to `.call()?` or handle diff --git a/Cargo.toml b/Cargo.toml index d17ada6..00a46de 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ureq" -version = "2.0.0" +version = "2.0.1" authors = ["Martin Algesten ", "Jacob Hoffman-Andrews "] description = "Simple, safe HTTP client" license = "MIT/Apache-2.0" From 1584690c95e5b66faa754907a6604bad52af0c58 Mon Sep 17 00:00:00 2001 From: Jacob Hoffman-Andrews Date: Sun, 10 Jan 2021 13:28:07 -0800 Subject: [PATCH 2/2] Update CHANGELOG. --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1049731..68cb11e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,7 @@ # 2.0.1 * Fix handling of 308 redirects (port from 1.5.4 branch). + * Return UnexpectedEof instead of InvalidData on short responses. (#293) + * Implement std::error::Error for error::Transport. (#299) # 2.0.0 * Methods that formerly returned Response now return Result.