[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.
PNPM Publish
npm warn publish npm auto-corrected some errors in your package.json when publishing. Please run "npm pkg fix" to address these errors.
npm warn publish errors corrected:
npm warn publish "repository" was changed from a string to an object
npm warn publish "repository.url" was normalized to "git+https://github.com/tauri-apps/plugins-workspace.git"
npm notice
npm notice 📦 @tauri-apps/plugin-fs@3.0.0-alpha.2
npm notice Tarball Contents
npm notice 888B LICENSE.spdx
npm notice 2.4kB README.md
npm notice 38.0kB dist-js/index.cjs
npm notice 40.8kB dist-js/index.d.ts
npm notice 37.2kB dist-js/index.js
npm notice 712B package.json
npm notice Tarball Details
npm notice name: @tauri-apps/plugin-fs
npm notice version: 3.0.0-alpha.2
npm notice filename: tauri-apps-plugin-fs-3.0.0-alpha.2.tgz
npm notice package size: 24.9 kB
npm notice unpacked size: 120.0 kB
npm notice shasum: 53bd594c7df3e6fd795845b45fafc33e8fa562d4
npm notice integrity: sha512-w/pmQ5swWqEgQ[...]AP/dsg0Ud9p9w==
npm notice total files: 6
npm notice
npm notice npm tokens that bypass 2FA are being restricted for account changes and direct publishing. Learn how to prepare: https://gh.io/npm-gat-bypass2fa-deprecation
npm notice Publishing to https://registry.npmjs.org/ with tag next and public access
npm notice publish Signed provenance statement with source and build information from GitHub Actions
npm notice publish Provenance statement published to transparency log: https://search.sigstore.dev/?logIndex=3021486174
npm notice Your package is being processed and may take a few minutes to become available.
+ @tauri-apps/plugin-fs@3.0.0-alpha.2