diff --git a/.changes/http-abort-listener-cleanup.md b/.changes/http-abort-listener-cleanup.md deleted file mode 100644 index 20821b2e2..000000000 --- a/.changes/http-abort-listener-cleanup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -http: patch -http-js: patch ---- - -Fix request cancellation, including signals supplied through `Request` objects, abort-listener cleanup, and concurrent response-body reads. `fetch_cancel` and `fetch_cancel_body` now only close the plugin's own requests and responses, instead of any resource id they are given. diff --git a/.changes/http-resource-cleanup.md b/.changes/http-resource-cleanup.md deleted file mode 100644 index 9adcc28e8..000000000 --- a/.changes/http-resource-cleanup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -http: patch -http-js: patch ---- - -Fix HTTP resource leaks on cancellation, errors, navigation, window close, and bodyless responses, including WebKit memory leaks. Clean up abandoned responses after garbage collection on supported webviews and reject response statuses outside 200–599. diff --git a/.changes/http-response-clone-cleanup.md b/.changes/http-response-clone-cleanup.md deleted file mode 100644 index f6cf8ee74..000000000 --- a/.changes/http-response-clone-cleanup.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -http: patch -http-js: patch ---- - -Fix loss of response URLs and headers when cloning a previously cloned response. diff --git a/Cargo.lock b/Cargo.lock index cd2196fca..a9e4a9ad9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -211,7 +211,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3" [[package]] name = "api" -version = "2.0.58" +version = "2.0.59" dependencies = [ "log", "serde", @@ -6889,7 +6889,7 @@ dependencies = [ [[package]] name = "tauri-plugin-http" -version = "2.9.0" +version = "2.9.1" dependencies = [ "bytes", "cookie_store", diff --git a/examples/api/CHANGELOG.md b/examples/api/CHANGELOG.md index 64248e4a9..294516c2f 100644 --- a/examples/api/CHANGELOG.md +++ b/examples/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [2.0.55] + +### Dependencies + +- Upgraded to `http-js@2.9.1` + ## [2.0.54] ### Dependencies diff --git a/examples/api/package.json b/examples/api/package.json index 28eecaa32..19d1b116d 100644 --- a/examples/api/package.json +++ b/examples/api/package.json @@ -1,7 +1,7 @@ { "name": "api", "private": true, - "version": "2.0.54", + "version": "2.0.55", "type": "module", "scripts": { "dev": "vite --clearScreen false", diff --git a/examples/api/src-tauri/CHANGELOG.md b/examples/api/src-tauri/CHANGELOG.md index c4c1ff8c7..8555fd4d5 100644 --- a/examples/api/src-tauri/CHANGELOG.md +++ b/examples/api/src-tauri/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [2.0.59] + +### Dependencies + +- Upgraded to `http@2.9.1` + ## [2.0.58] ### Dependencies diff --git a/examples/api/src-tauri/Cargo.toml b/examples/api/src-tauri/Cargo.toml index 243779372..29c34e5fa 100644 --- a/examples/api/src-tauri/Cargo.toml +++ b/examples/api/src-tauri/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "api" publish = false -version = "2.0.58" +version = "2.0.59" description = "An example Tauri Application showcasing the api" edition = "2024" rust-version = { workspace = true } @@ -29,7 +29,7 @@ tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.8.4" } tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart", "cookies", -], version = "2.9.0" } +], version = "2.9.1" } tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.8.1" } tauri-plugin-os = { path = "../../../plugins/os", version = "2.4.0" } tauri-plugin-process = { path = "../../../plugins/process", version = "2.4.0" } diff --git a/plugins/http/CHANGELOG.md b/plugins/http/CHANGELOG.md index 3879fa5ec..869bcb7b9 100644 --- a/plugins/http/CHANGELOG.md +++ b/plugins/http/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## [2.9.1] + +- [`068bc7cc`](https://github.com/tauri-apps/plugins-workspace/commit/068bc7cc8ca9df26fb2feffd1cb3f6a89be5b851) ([#3786](https://github.com/tauri-apps/plugins-workspace/pull/3786) by [@amrbashir](https://github.com/tauri-apps/plugins-workspace/../../amrbashir)) Fix request cancellation, including signals supplied through `Request` objects, abort-listener cleanup, and concurrent response-body reads. `fetch_cancel` and `fetch_cancel_body` now only close the plugin's own requests and responses, instead of any resource id they are given. +- [`068bc7cc`](https://github.com/tauri-apps/plugins-workspace/commit/068bc7cc8ca9df26fb2feffd1cb3f6a89be5b851) ([#3786](https://github.com/tauri-apps/plugins-workspace/pull/3786) by [@amrbashir](https://github.com/tauri-apps/plugins-workspace/../../amrbashir)) Fix HTTP resource leaks on cancellation, errors, navigation, window close, and bodyless responses, including WebKit memory leaks. Clean up abandoned responses after garbage collection on supported webviews and reject response statuses outside 200–599. +- [`068bc7cc`](https://github.com/tauri-apps/plugins-workspace/commit/068bc7cc8ca9df26fb2feffd1cb3f6a89be5b851) ([#3786](https://github.com/tauri-apps/plugins-workspace/pull/3786) by [@amrbashir](https://github.com/tauri-apps/plugins-workspace/../../amrbashir)) Fix loss of response URLs and headers when cloning a previously cloned response. + ## [2.9.0] - [`b11126ea`](https://github.com/tauri-apps/plugins-workspace/commit/b11126eae6dad431ce9e84d1c471bfca2e53bdf8) ([#3756](https://github.com/tauri-apps/plugins-workspace/pull/3756) by [@Lorkydey](https://github.com/tauri-apps/plugins-workspace/../../Lorkydey)) Release native HTTP response resources for responses with no body, such as `204 No Content`, even when the response is never read. diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index bb70ed323..404f29fe5 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-http" -version = "2.9.0" +version = "2.9.1" description = "Access an HTTP client written in Rust." edition = { workspace = true } authors = { workspace = true } diff --git a/plugins/http/package.json b/plugins/http/package.json index 8f4759954..fb6e9b319 100644 --- a/plugins/http/package.json +++ b/plugins/http/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-http", - "version": "2.9.0", + "version": "2.9.1", "license": "MIT OR Apache-2.0", "authors": [ "Tauri Programme within The Commons Conservancy"