From bd5128a6b0daafe1786804b9ecde125a44442ea8 Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Thu, 23 May 2024 15:06:36 +0200 Subject: [PATCH 1/4] Release 0.12 --- Cargo.toml | 2 +- README.md | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index fa666c2..99ff3b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reqwless" -version = "0.11.0" +version = "0.12.0" edition = "2021" resolver = "2" description = "HTTP client for embedded devices" diff --git a/README.md b/README.md index bf1a743..a6e44ef 100644 --- a/README.md +++ b/README.md @@ -115,8 +115,4 @@ This enables `alloc` on `embedded-tls` which in turn enables RSA signature algor # Minimum supported Rust version (MSRV) -`reqwless` requires a feature from `nightly` to compile `embedded-io` with async support: - -* `async_fn_in_trait` - -This feature is complete, but is not yet merged to `stable`. +`reqwless` can compile on stable Rust 1.75 and up. From adc3ebe56d7f9e0866ef11cc3f7c46dcc5116027 Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Thu, 23 May 2024 15:08:33 +0200 Subject: [PATCH 2/4] Set esp-mbedtls version --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 99ff3b6..9aa9fed 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ defmt = { version = "0.3", optional = true } embedded-tls = { version = "0.17", default-features = false, optional = true } rand_chacha = { version = "0.3", default-features = false } nourl = "0.1.1" -esp-mbedtls = { git = "https://github.com/esp-rs/esp-mbedtls.git", features = [ +esp-mbedtls = { version = "0.1", git = "https://github.com/esp-rs/esp-mbedtls.git", features = [ "async", ], optional = true } From 67fbc64cfd634c5fe8e53e5c11a6057a87a6dc85 Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Thu, 23 May 2024 15:19:14 +0200 Subject: [PATCH 3/4] Add esp-mbedtls warning to readme --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index a6e44ef..b62aad2 100644 --- a/README.md +++ b/README.md @@ -43,6 +43,8 @@ If you are missing a feature or would like an improvement, please raise an issue :warning: Note that both features cannot be used together and will cause a compilation error. +:warning: The released version of `reqwless` does not support `esp-mbedtls`. The reason for this is that `esp-mbedtls` is not yet published to crates.io. One should specify `reqwless` as a git dependency to use `esp-mbedtls`. + ### esp-mbedtls **Can only be used on esp32 boards** `esp-mbedtls` supports TLS 1.2 and 1.3. It uses espressif's Rust wrapper over mbedtls, alongside optimizations such as hardware acceleration. From 8b7035c51763245ab891503ea7a52f680c80ec1f Mon Sep 17 00:00:00 2001 From: Rasmus Melchior Jacobsen Date: Thu, 23 May 2024 15:54:48 +0200 Subject: [PATCH 4/4] Update CHANGELOG.md --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a53a36b..0d528bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,17 @@ ## Unreleased +## v0.12 (2024-05-23) + +### Fixes + +* Fix bug when calling fill_buf() when there are no remaining bytes ([#75](https://github.com/drogue-iot/reqwless/pull/75)) +* Handle no-content status code 204 ([#76](https://github.com/drogue-iot/reqwless/pull/76)) + +### Features +* Support accessing the response code as an integer ([#70](https://github.com/drogue-iot/reqwless/pull/70) / [#73](https://github.com/drogue-iot/reqwless/pull/73)) +* Buffer writes before chunks are written to connection ([#72](https://github.com/drogue-iot/reqwless/pull/72)) + ### Fixes ## v0.9.1 (2023-11-04)