Publish New Versions (v2) (#3618)

* publish new versions

* clippy

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
github-actions[bot]andLucas Nogueira authored and GitHub committed 2026-09-26 17:21:49 -03:00
1 parent f460570b44
commit cbfd428bcc
113 files changed
+436 -393

No files matched your search

+17
View File
@@ -1,5 +1,17 @@
# Changelog
## [2.6.0]
- [`97e865bc`](https://github.com/tauri-apps/plugins-workspace/commit/97e865bc138925ba29b102a9cb99d406ce1fe48e) ([#3623](https://github.com/tauri-apps/plugins-workspace/pull/3623)) Added an `options` parameter with `baseDir` to `size`, so relative paths can be measured, like the other functions and like the JSDoc example already showed. The Rust command already accepted it.
- [`9106093f`](https://github.com/tauri-apps/plugins-workspace/commit/9106093f775a09f899561d7823518e76f9bd6b45) ([#3624](https://github.com/tauri-apps/plugins-workspace/pull/3624)) Fixed opening Android `content://` URIs with `append` or with `write`, `truncate` and `append` together: the options were turned into invalid modes such as `ra` or `wta`. They now map to the modes Android accepts (`r`, `w`, `wt`, `wa`, `rw`, `rwt`), `append` taking precedence over `read` since there is no read and append mode.
- [`1cae06a5`](https://github.com/tauri-apps/plugins-workspace/commit/1cae06a55b3398d409fba5ac17dbac63d9cf7652) ([#3625](https://github.com/tauri-apps/plugins-workspace/pull/3625)) Fixed `readTextFileLines` yielding empty lines forever when reading fails (e.g. on a directory). The read error is now reported: the iterator rejects and the file is closed.
- [`1cae06a5`](https://github.com/tauri-apps/plugins-workspace/commit/1cae06a55b3398d409fba5ac17dbac63d9cf7652) ([#3625](https://github.com/tauri-apps/plugins-workspace/pull/3625)) Fixed `readTextFileLines` leaving the file open until the webview is destroyed when a `for await` loop over it exits early (`break`, `return` or `throw`). The iterator now implements `return()`, which closes the file.
- [`0c84c917`](https://github.com/tauri-apps/plugins-workspace/commit/0c84c917e32af391fed9eaac9e131e447d0a1148) ([#3621](https://github.com/tauri-apps/plugins-workspace/pull/3621)) File watcher errors (e.g. the watched directory was removed or the inotify limit was reached) are now logged instead of being silently dropped.
- [`b46a88ff`](https://github.com/tauri-apps/plugins-workspace/commit/b46a88ff55948367e40a90f4fcec807f8e43cbc9) ([#3622](https://github.com/tauri-apps/plugins-workspace/pull/3622)) `writeFile` and `writeTextFile` now fail when their options cannot be parsed instead of silently ignoring them (including `baseDir`, `append` and `createNew`) and writing to the raw path. Data sent as a JSON array is rejected if it contains values that are not bytes, instead of truncating them.
- [`ae3c808e`](https://github.com/tauri-apps/plugins-workspace/commit/ae3c808eb60086f32b1d67bb8ccc525b95333e77) ([#3602](https://github.com/tauri-apps/plugins-workspace/pull/3602)) The plugin's global API script (used with `app.withGlobalTauri`) now resolves the core API from `window.__TAURI__` instead of bundling its own copy of `@tauri-apps/api`. Values created with the core API are now accepted by plugin APIs in global mode (e.g. an `Image` from `window.__TAURI__.image` passed to `clipboardManager.writeImage`, which previously failed the `instanceof` check against the plugin's private copy), and the script is considerably smaller.
- [`9b29b601`](https://github.com/tauri-apps/plugins-workspace/commit/9b29b601f387ded1f4adb4386623a3c035a5598c) Update MSRV to 1.90 to match tauri.
- [`a87a3c7d`](https://github.com/tauri-apps/plugins-workspace/commit/a87a3c7d4491bf25589a0b24c285fcd5df3d6337) Update documentation.
## [2.5.2]
- [`db9c5998`](https://github.com/tauri-apps/plugins-workspace/commit/db9c5998feff9384f9cbbefcbe0d45937c00a1fc) ([#3531](https://github.com/tauri-apps/plugins-workspace/pull/3531) by [@Legend-Master](https://github.com/tauri-apps/plugins-workspace/../../Legend-Master)) Fix missing `consumer-rules.pro` on Gradle v9.
@@ -230,3 +242,8 @@
## \[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!
55](https://github.com/tauri-apps/plugins-workspace/pull/555)) Update to alpha.11.
## \[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!
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-fs"
version = "2.5.2"
version = "2.6.0"
description = "Access the file system."
authors = { workspace = true }
license = { workspace = true }
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@tauri-apps/plugin-fs",
"version": "2.5.2",
"version": "2.6.0",
"description": "Access the file system.",
"license": "MIT OR Apache-2.0",
"authors": [