Compare commits

...
Author SHA1 Message Date
github-actions[bot] 3c5d267767 publish new versions (#3567)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-09-16 12:17:22 +08:00
Tony c050e073b6 fix(store): apply_pending_auto_save can deadlock (#3572) 2026-09-16 10:49:36 +08:00
13 changed files with 35 additions and 18 deletions
@@ -1,6 +0,0 @@
---
"http": patch
"http-js": patch
---
Fix unhandled promise rejections on every `fetch` teardown: the request/body cleanup commands were fired as floating promises, and releasing an already-released resource rejects with `The resource id N is invalid.`. `dropBody` is now idempotent and both cleanup calls handle their own rejection.
Generated
+3 -3
View File
@@ -207,7 +207,7 @@ checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
[[package]]
name = "api"
version = "2.0.47"
version = "2.0.48"
dependencies = [
"log",
"serde",
@@ -6605,7 +6605,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-http"
version = "2.6.0"
version = "2.6.1"
dependencies = [
"bytes",
"cookie_store",
@@ -6818,7 +6818,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-store"
version = "2.4.4"
version = "2.4.5"
dependencies = [
"dunce",
"serde",
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## [2.0.44]
### Dependencies
- Upgraded to `http-js@2.6.1`
- Upgraded to `store-js@2.4.5`
## [2.0.43]
### Dependencies
+1 -1
View File
@@ -1,7 +1,7 @@
{
"name": "api",
"private": true,
"version": "2.0.43",
"version": "2.0.44",
"type": "module",
"scripts": {
"dev": "vite --clearScreen false",
+7
View File
@@ -1,5 +1,12 @@
# Changelog
## [2.0.48]
### Dependencies
- Upgraded to `http@2.6.1`
- Upgraded to `store@2.4.5`
## [2.0.47]
### Dependencies
+3 -3
View File
@@ -1,7 +1,7 @@
[package]
name = "api"
publish = false
version = "2.0.47"
version = "2.0.48"
description = "An example Tauri Application showcasing the api"
edition = "2021"
rust-version = { workspace = true }
@@ -29,7 +29,7 @@ tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.7.3" }
tauri-plugin-http = { path = "../../../plugins/http", features = [
"multipart",
"cookies",
], version = "2.6.0" }
], version = "2.6.1" }
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.4.0", features = [
"windows7-compat",
] }
@@ -37,7 +37,7 @@ tauri-plugin-os = { path = "../../../plugins/os", version = "2.3.2" }
tauri-plugin-process = { path = "../../../plugins/process", version = "2.3.1" }
tauri-plugin-opener = { path = "../../../plugins/opener", version = "2.5.5" }
tauri-plugin-shell = { path = "../../../plugins/shell", version = "2.3.6" }
tauri-plugin-store = { path = "../../../plugins/store", version = "2.4.4" }
tauri-plugin-store = { path = "../../../plugins/store", version = "2.4.5" }
tauri-plugin-upload = { path = "../../../plugins/upload", version = "2.3.0" }
[dependencies.tauri]
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [2.6.1]
- [`a21555dd`](https://github.com/tauri-apps/plugins-workspace/commit/a21555ddd2eaadfed23848912fe2802c2ba7579e) ([#3566](https://github.com/tauri-apps/plugins-workspace/pull/3566) by [@followdarko](https://github.com/tauri-apps/plugins-workspace/../../followdarko)) Fix unhandled promise rejections on every `fetch` teardown: the request/body cleanup commands were fired as floating promises, and releasing an already-released resource rejects with `The resource id N is invalid.`. `dropBody` is now idempotent and both cleanup calls handle their own rejection.
## [2.6.0]
- [`f8053e65`](https://github.com/tauri-apps/plugins-workspace/commit/f8053e659e4ccd85c1f52833411ff8417cbc5e69) ([#3527](https://github.com/tauri-apps/plugins-workspace/pull/3527) by [@Legend-Master](https://github.com/tauri-apps/plugins-workspace/../../Legend-Master)) Documented Cargo feature flags in each plugin's crate-level documentation.
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-http"
version = "2.6.0"
version = "2.6.1"
description = "Access an HTTP client written in Rust."
edition = { workspace = true }
authors = { workspace = true }
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@tauri-apps/plugin-http",
"version": "2.6.0",
"version": "2.6.1",
"license": "MIT OR Apache-2.0",
"authors": [
"Tauri Programme within The Commons Conservancy"
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## [2.4.5]
- [`c050e073`](https://github.com/tauri-apps/plugins-workspace/commit/c050e073b68205bae7389fb86958cb9331e1a3be) ([#3572](https://github.com/tauri-apps/plugins-workspace/pull/3572) by [@Legend-Master](https://github.com/tauri-apps/plugins-workspace/../../Legend-Master)) Fix `apply_pending_auto_save` can deadlock the store
## \[2.4.4]
- [`2ed6d6c1`](https://github.com/tauri-apps/plugins-workspace/commit/2ed6d6c1de4f5051b87cb6a2c5ac45320c444989) ([#3499](https://github.com/tauri-apps/plugins-workspace/pull/3499) by [@Legend-Master](https://github.com/tauri-apps/plugins-workspace/../../Legend-Master)) Fix `StoreOptions` requires `defaults` field
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-store"
version = "2.4.4"
version = "2.4.5"
description = "Simple, persistent key-value store."
authors = { workspace = true }
license = { workspace = true }
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@tauri-apps/plugin-store",
"version": "2.4.4",
"version": "2.4.5",
"description": "Simple, persistent key-value store.",
"license": "MIT OR Apache-2.0",
"authors": [
+2 -1
View File
@@ -600,7 +600,8 @@ impl<R: Runtime> Store<R> {
fn apply_pending_auto_save(&self) {
// Cancel and save if auto save is pending
if let Some(sender) = self.auto_save_debounce_sender.lock().unwrap().take() {
let auto_save_debounce_sender = self.auto_save_debounce_sender.lock().unwrap().take();
if let Some(sender) = auto_save_debounce_sender {
let _ = sender.send(AutoSaveMessage::Cancel);
let _ = self.save();
};