Repository navigation
fs v3.0.0-alpha.2
[3.0.0-alpha.2]
5c077a38(#3605 by @lucasfernog) Breaking: Removed theread_text_fileandwrite_text_filecommands and theirallow-read-text-file,deny-read-text-file,allow-write-text-fileanddeny-write-text-filepermissions.readTextFileandwriteTextFilenow use theread_fileandwrite_filecommands, so grantfs:allow-read-fileandfs:allow-write-fileinstead.a315a07f(#3606 by @lucasfernog) Breaking: Removed theallow-unwatchanddeny-unwatchpermissions. There has been nounwatchcommand since v2.0 (Watcher.close()releases the resource instead), so they never granted anything.8083107a(#3609 by @lucasfernog) Breaking: Thenotifycrate'sserialization-compat-6feature is no longer enabled, soWatchEventnow follows notify v8's format: the event kind is flattened into the event, withtypeholding the top-level kind (any,access,create,modify,removeorother) andkind/moderefining it. For instance{ type: { modify: { kind: 'data', mode: 'content' } } }is now{ type: 'modify', kind: 'data', mode: 'content' }, andattrs.flagisrescaninstead ofRescan.WatchEvent.attrsis now typed asWatchEventAttributes.fdfb35e5(#3610 by @lucasfernog) Breaking:watchandwatchImmediatenow resolve to aWatcherresource instead of anUnwatchFncallback. Callawait watcher.close()to stop watching. TheUnwatchFntype has been removed andWatcheris now exported.2fd27c2dUpdate MSRV to 1.95 to match tauri.
Cargo Publish
Updating crates.io index
Packaging tauri-plugin-fs v3.0.0-alpha.2 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/fs)
Updating crates.io index
Packaged 72 files, 370.3KiB (73.3KiB compressed)
Uploading tauri-plugin-fs v3.0.0-alpha.2 (/home/runner/work/plugins-workspace/plugins-workspace/plugins/fs)
Uploaded tauri-plugin-fs v3.0.0-alpha.2 to registry `crates-io`
note: waiting for tauri-plugin-fs v3.0.0-alpha.2 to be available at registry `crates-io`
help: you may press ctrl-c to skip waiting; the crate should be available shortly
Published tauri-plugin-fs v3.0.0-alpha.2 at registry `crates-io`