From e80626cf8121f930d56323451e62f0e1a44d1ce9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 28 Dec 2023 10:37:04 -0300 Subject: [PATCH] Publish New Versions (v2) (#854) Co-authored-by: FabianLars --- .changes/pre.json | 5 +++++ Cargo.lock | 12 ++++++------ examples/api/CHANGELOG.md | 6 ++++++ examples/api/package.json | 4 ++-- examples/api/src-tauri/CHANGELOG.md | 8 ++++++++ examples/api/src-tauri/Cargo.toml | 8 ++++---- plugins/dialog/CHANGELOG.md | 8 +++++++- plugins/dialog/Cargo.toml | 4 ++-- plugins/fs/CHANGELOG.md | 10 +++++++++- plugins/fs/Cargo.toml | 2 +- plugins/fs/package.json | 2 +- plugins/http/CHANGELOG.md | 6 ++++++ plugins/http/Cargo.toml | 4 ++-- plugins/persisted-scope/CHANGELOG.md | 6 ++++++ plugins/persisted-scope/Cargo.toml | 4 ++-- pnpm-lock.yaml | 2 +- 16 files changed, 68 insertions(+), 23 deletions(-) diff --git a/.changes/pre.json b/.changes/pre.json index 8e88fcad..1fa83e92 100644 --- a/.changes/pre.json +++ b/.changes/pre.json @@ -16,6 +16,7 @@ ".changes/dialog-export-fileresponse.md", ".changes/dialog-pin-rfd.md", ".changes/dialog-return-result.md", + ".changes/fix-debounced-event-type.md", ".changes/fix-deep-link-alpha-20.md", ".changes/fix-docs-build.md", ".changes/fix-emit-all-usage.md", @@ -24,11 +25,15 @@ ".changes/fix-permission-notification.md", ".changes/fix-updater-macos.md", ".changes/fix-window-state-api.md", + ".changes/fs-create-new.md", ".changes/fs-exists-2nd-arg.md", ".changes/fs-improve-error-message.md", ".changes/fs-improved-apis.md", ".changes/fs-scope-tauri.md", + ".changes/fs-trunacte-non-append.md", + ".changes/fs-unwtach-rid.md", ".changes/fs-wiret-binary-file.md", + ".changes/fs-write-panic.md", ".changes/global-shortcut-app-handle.md", ".changes/http-multipart-refactor.md", ".changes/http-plugin-refactor.md", diff --git a/Cargo.lock b/Cargo.lock index 1eb5ca12..abf9e6ce 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -230,7 +230,7 @@ checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" [[package]] name = "api" -version = "2.0.0-alpha.9" +version = "2.0.0-alpha.11" dependencies = [ "log", "serde", @@ -5965,7 +5965,7 @@ dependencies = [ [[package]] name = "tauri-plugin-deep-link" -version = "2.0.0-alpha.4" +version = "2.0.0-alpha.5" dependencies = [ "log", "serde", @@ -5978,7 +5978,7 @@ dependencies = [ [[package]] name = "tauri-plugin-dialog" -version = "2.0.0-alpha.6" +version = "2.0.0-alpha.7" dependencies = [ "glib 0.16.9", "log", @@ -5994,7 +5994,7 @@ dependencies = [ [[package]] name = "tauri-plugin-fs" -version = "2.0.0-alpha.6" +version = "2.0.0-alpha.7" dependencies = [ "anyhow", "glob", @@ -6022,7 +6022,7 @@ dependencies = [ [[package]] name = "tauri-plugin-http" -version = "2.0.0-alpha.7" +version = "2.0.0-alpha.9" dependencies = [ "data-url", "glob", @@ -6117,7 +6117,7 @@ dependencies = [ [[package]] name = "tauri-plugin-persisted-scope" -version = "2.0.0-alpha.6" +version = "2.0.0-alpha.7" dependencies = [ "aho-corasick", "bincode", diff --git a/examples/api/CHANGELOG.md b/examples/api/CHANGELOG.md index 6be78dc7..f05bc1ce 100644 --- a/examples/api/CHANGELOG.md +++ b/examples/api/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.9] + +### Dependencies + +- Upgraded to `fs-js@2.0.0-alpha.6` + ## \[2.0.0-alpha.8] ### Dependencies diff --git a/examples/api/package.json b/examples/api/package.json index c394430a..c426d81b 100644 --- a/examples/api/package.json +++ b/examples/api/package.json @@ -1,7 +1,7 @@ { "name": "svelte-app", "private": true, - "version": "2.0.0-alpha.8", + "version": "2.0.0-alpha.9", "type": "module", "scripts": { "dev": "vite --clearScreen false", @@ -15,7 +15,7 @@ "@tauri-apps/plugin-cli": "2.0.0-alpha.5", "@tauri-apps/plugin-clipboard-manager": "2.0.0-alpha.5", "@tauri-apps/plugin-dialog": "2.0.0-alpha.5", - "@tauri-apps/plugin-fs": "2.0.0-alpha.5", + "@tauri-apps/plugin-fs": "2.0.0-alpha.6", "@tauri-apps/plugin-global-shortcut": "2.0.0-alpha.5", "@tauri-apps/plugin-http": "2.0.0-alpha.6", "@tauri-apps/plugin-nfc": "2.0.0-alpha.0", diff --git a/examples/api/src-tauri/CHANGELOG.md b/examples/api/src-tauri/CHANGELOG.md index ccf60c7e..2c71cd42 100644 --- a/examples/api/src-tauri/CHANGELOG.md +++ b/examples/api/src-tauri/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## \[2.0.0-alpha.11] + +### Dependencies + +- Upgraded to `fs@2.0.0-alpha.7` +- Upgraded to `dialog@2.0.0-alpha.7` +- Upgraded to `http@2.0.0-alpha.9` + ## \[2.0.0-alpha.10] ### Dependencies diff --git a/examples/api/src-tauri/Cargo.toml b/examples/api/src-tauri/Cargo.toml index 0b2b757d..7645f026 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.0-alpha.10" +version = "2.0.0-alpha.11" description = "An example Tauri Application showcasing the api" edition = "2021" rust-version = { workspace = true } @@ -20,10 +20,10 @@ serde = { workspace = true } tiny_http = "0.11" log = { workspace = true } tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-alpha.6" } -tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-alpha.6" } +tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-alpha.7" } tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-alpha.6" } -tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.6" } -tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.8" } +tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-alpha.7" } +tauri-plugin-http = { path = "../../../plugins/http", features = [ "multipart" ], version = "2.0.0-alpha.9" } tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-alpha.7", features = [ "windows7-compat" ] } tauri-plugin-os = { path = "../../../plugins/os", version = "2.0.0-alpha.6" } tauri-plugin-process = { path = "../../../plugins/process", version = "2.0.0-alpha.6" } diff --git a/plugins/dialog/CHANGELOG.md b/plugins/dialog/CHANGELOG.md index f0bd537a..994fc06d 100644 --- a/plugins/dialog/CHANGELOG.md +++ b/plugins/dialog/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.7] + +### Dependencies + +- Upgraded to `fs@2.0.0-alpha.7` + ## \[2.0.0-alpha.5] - [`387c2f9`](https://github.com/tauri-apps/plugins-workspace/commit/387c2f9e0ce4c75c07ffa3fd76391a25b58f5daf)([#802](https://github.com/tauri-apps/plugins-workspace/pull/802)) Update to @tauri-apps/api v2.0.0-alpha.13. @@ -55,7 +61,7 @@ - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! pull/371)) First v2 alpha release! -hub.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! + hub.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! pull/371)) First v2 alpha release! ri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! \` diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index e4db3a1e..d22e4acf 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-dialog" -version = "2.0.0-alpha.6" +version = "2.0.0-alpha.7" description = "Native system dialogs for opening and saving files along with message dialogs on your Tauri application." edition = { workspace = true } authors = { workspace = true } @@ -19,7 +19,7 @@ serde_json = { workspace = true } tauri = { workspace = true } log = { workspace = true } thiserror = { workspace = true } -tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.6" } +tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.7" } [target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] glib = "0.16" diff --git a/plugins/fs/CHANGELOG.md b/plugins/fs/CHANGELOG.md index f65daddb..7fde7b08 100644 --- a/plugins/fs/CHANGELOG.md +++ b/plugins/fs/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## \[2.0.0-alpha.6] + +- [`85f8419`](https://github.com/tauri-apps/plugins-workspace/commit/85f841968200316958d707db0c39bb115f762471)([#848](https://github.com/tauri-apps/plugins-workspace/pull/848)) Fix `DebouncedEvent` type to correctly represent the actual type. +- [`c601230`](https://github.com/tauri-apps/plugins-workspace/commit/c60123093ddf725af7228494182fed697ff8b021)([#847](https://github.com/tauri-apps/plugins-workspace/pull/847)) Add `createNew` option for `writeFile` and `writeTextFile` to create the file if doesn't exist and fail if it does. +- [`c601230`](https://github.com/tauri-apps/plugins-workspace/commit/c60123093ddf725af7228494182fed697ff8b021)([#847](https://github.com/tauri-apps/plugins-workspace/pull/847)) Truncate files when using `writeFile` and `writeTextFile` with `append: false`. +- [`2e2fc8d`](https://github.com/tauri-apps/plugins-workspace/commit/2e2fc8de69dd8d282b66ec81561d57d8af802dc5)([#857](https://github.com/tauri-apps/plugins-workspace/pull/857)) Fix `invalid args id for command unwatch` error when trying to unwatch a previously watched file or directory. +- [`c601230`](https://github.com/tauri-apps/plugins-workspace/commit/c60123093ddf725af7228494182fed697ff8b021)([#847](https://github.com/tauri-apps/plugins-workspace/pull/847)) Fix panic when using `writeFile` or `writeTextFile` without passing an option object. + ## \[2.0.0-alpha.5] - [`387c2f9`](https://github.com/tauri-apps/plugins-workspace/commit/387c2f9e0ce4c75c07ffa3fd76391a25b58f5daf)([#802](https://github.com/tauri-apps/plugins-workspace/pull/802)) Update to @tauri-apps/api v2.0.0-alpha.13. @@ -30,7 +38,7 @@ ## \[2.0.0-alpha.0] - [`717ae67`](https://github.com/tauri-apps/plugins-workspace/commit/717ae670978feb4492fac1f295998b93f2b9347f)([#371](https://github.com/tauri-apps/plugins-workspace/pull/371)) First v2 alpha release! -/pull/454)) Fix `writeBinaryFile` crashing with `command 'write_binary_file' not found` + /pull/454)) Fix `writeBinaryFile` crashing with `command 'write_binary_file' not found` - [`d74fc0a`](https://github.com/tauri-apps/plugins-workspace/commit/d74fc0a097996e90a37be8f57d50b7d1f6ca616f)([#555](https://github.com/tauri-apps/plugins-workspace/pull/555)) Update to alpha.11. ## \[2.0.0-alpha.0] diff --git a/plugins/fs/Cargo.toml b/plugins/fs/Cargo.toml index f40d2c7f..a3273731 100644 --- a/plugins/fs/Cargo.toml +++ b/plugins/fs/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-fs" -version = "2.0.0-alpha.6" +version = "2.0.0-alpha.7" description = "Access the file system." authors = { workspace = true } license = { workspace = true } diff --git a/plugins/fs/package.json b/plugins/fs/package.json index 2c95d958..30f9c8c2 100644 --- a/plugins/fs/package.json +++ b/plugins/fs/package.json @@ -1,6 +1,6 @@ { "name": "@tauri-apps/plugin-fs", - "version": "2.0.0-alpha.5", + "version": "2.0.0-alpha.6", "description": "Access the file system.", "license": "MIT or APACHE-2.0", "authors": [ diff --git a/plugins/http/CHANGELOG.md b/plugins/http/CHANGELOG.md index 1fb52ad5..8fb031dd 100644 --- a/plugins/http/CHANGELOG.md +++ b/plugins/http/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.9] + +### Dependencies + +- Upgraded to `fs@2.0.0-alpha.7` + ## \[2.0.0-alpha.6] - [`bfa87da`](https://github.com/tauri-apps/plugins-workspace/commit/bfa87da848f9f1da2abae3354eed632881eddf11)([#824](https://github.com/tauri-apps/plugins-workspace/pull/824)) Add `proxy` field to `fetch` options to configure proxy. diff --git a/plugins/http/Cargo.toml b/plugins/http/Cargo.toml index b4657eea..108c3b89 100644 --- a/plugins/http/Cargo.toml +++ b/plugins/http/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-http" -version = "2.0.0-alpha.8" +version = "2.0.0-alpha.9" description = "Access an HTTP client written in Rust." edition = { workspace = true } authors = { workspace = true } @@ -16,7 +16,7 @@ serde = { workspace = true } serde_json = { workspace = true } tauri = { workspace = true } thiserror = { workspace = true } -tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.6" } +tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.7" } glob = "0.3" http = "0.2" reqwest = { version = "0.11", default-features = false } diff --git a/plugins/persisted-scope/CHANGELOG.md b/plugins/persisted-scope/CHANGELOG.md index aaf6a10a..d8579ef8 100644 --- a/plugins/persisted-scope/CHANGELOG.md +++ b/plugins/persisted-scope/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## \[2.0.0-alpha.7] + +### Dependencies + +- Upgraded to `fs@2.0.0-alpha.7` + ## \[2.0.0-alpha.6] - [`2cf8faa`](https://github.com/tauri-apps/plugins-workspace/commit/2cf8faa3e149af55eb86e5aba8ebfc54210ca703)([#839](https://github.com/tauri-apps/plugins-workspace/pull/839)) Update to tauri@alpha.20. diff --git a/plugins/persisted-scope/Cargo.toml b/plugins/persisted-scope/Cargo.toml index d9235842..81e1851c 100644 --- a/plugins/persisted-scope/Cargo.toml +++ b/plugins/persisted-scope/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "tauri-plugin-persisted-scope" -version = "2.0.0-alpha.6" +version = "2.0.0-alpha.7" description = "Save filesystem and asset scopes and restore them when the app is reopened." authors = { workspace = true } license = { workspace = true } @@ -19,7 +19,7 @@ log = { workspace = true } thiserror = { workspace = true } aho-corasick = "1" bincode = "1" -tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.6" } +tauri-plugin-fs = { path = "../fs", version = "2.0.0-alpha.7" } [features] protocol-asset = [ "tauri/protocol-asset" ] diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 8dea8d35..ede917ff 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -82,7 +82,7 @@ importers: specifier: 2.0.0-alpha.5 version: link:../../plugins/dialog '@tauri-apps/plugin-fs': - specifier: 2.0.0-alpha.5 + specifier: 2.0.0-alpha.6 version: link:../../plugins/fs '@tauri-apps/plugin-global-shortcut': specifier: 2.0.0-alpha.5