From 5f02c14026ba97d5318c5c59220b965e1022b165 Mon Sep 17 00:00:00 2001 From: FabianLars Date: Wed, 3 May 2023 07:04:42 +0000 Subject: [PATCH] publish new versions --- .changes/persisted-scope-fix-oom.md | 5 ---- plugins/persisted-scope/CHANGELOG.md | 6 +++++ plugins/persisted-scope/Cargo.toml | 40 +++++++++++++++++++--------- 3 files changed, 34 insertions(+), 17 deletions(-) delete mode 100644 .changes/persisted-scope-fix-oom.md create mode 100644 plugins/persisted-scope/CHANGELOG.md diff --git a/.changes/persisted-scope-fix-oom.md b/.changes/persisted-scope-fix-oom.md deleted file mode 100644 index 6e6520af..00000000 --- a/.changes/persisted-scope-fix-oom.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -persisted-scope: patch ---- - -Recursively unescape saved patterns before allowing/forbidding them. This effectively prevents `.persisted-scope` files from blowing up, which caused Out-Of-Memory issues, while automatically fixing existing broken files seamlessly. diff --git a/plugins/persisted-scope/CHANGELOG.md b/plugins/persisted-scope/CHANGELOG.md new file mode 100644 index 00000000..34959373 --- /dev/null +++ b/plugins/persisted-scope/CHANGELOG.md @@ -0,0 +1,6 @@ +# Changelog + +## \[0.1.1] + +- Recursively unescape saved patterns before allowing/forbidding them. This effectively prevents `.persisted-scope` files from blowing up, which caused Out-Of-Memory issues, while automatically fixing existing broken files seamlessly. + - [ebb2eb2](https://github.com/tauri-apps/plugins-workspace/commit/ebb2eb2fe2ebfbb70530d16a983d396aa5829aa1) fix(persisted-scope): Prevent out-of-memory issues, fixes [#274](https://github.com/tauri-apps/plugins-workspace/pull/274) ([#328](https://github.com/tauri-apps/plugins-workspace/pull/328)) on 2023-04-26 diff --git a/plugins/persisted-scope/Cargo.toml b/plugins/persisted-scope/Cargo.toml index 4e1f24d0..b93809ff 100644 --- a/plugins/persisted-scope/Cargo.toml +++ b/plugins/persisted-scope/Cargo.toml @@ -1,22 +1,38 @@ [package] name = "tauri-plugin-persisted-scope" -version = "0.1.0" +version = "0.1.1" description = "Save filesystem and asset scopes and restore them when the app is reopened." -authors.workspace = true -license.workspace = true -edition.workspace = true -rust-version.workspace = true -# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html + [package.authors] + workspace = true + + [package.license] + workspace = true + + [package.edition] + workspace = true + + [package.rust-version] + workspace = true [dependencies] -serde.workspace = true -serde_json.workspace = true -tauri.workspace = true -log.workspace = true -thiserror.workspace = true aho-corasick = "1.0" bincode = "1" + [dependencies.serde] + workspace = true + + [dependencies.serde_json] + workspace = true + + [dependencies.tauri] + workspace = true + + [dependencies.log] + workspace = true + + [dependencies.thiserror] + workspace = true + [features] -protocol-asset = [ "tauri/protocol-asset" ] \ No newline at end of file +protocol-asset = [ "tauri/protocol-asset" ]