github tauri-apps/plugins-workspace fs-js-v3.0.0-alpha.2
fs-js v3.0.0-alpha.2

one month ago

[3.0.0-alpha.2]

  • 5c077a38 (#3605 by @lucasfernog) Breaking: Removed the read_text_file and write_text_file commands and their allow-read-text-file, deny-read-text-file, allow-write-text-file and deny-write-text-file permissions. readTextFile and writeTextFile now use the read_file and write_file commands, so grant fs:allow-read-file and fs:allow-write-file instead.
  • a315a07f (#3606 by @lucasfernog) Breaking: Removed the allow-unwatch and deny-unwatch permissions. There has been no unwatch command since v2.0 (Watcher.close() releases the resource instead), so they never granted anything.
  • 8083107a (#3609 by @lucasfernog) Breaking: The notify crate's serialization-compat-6 feature is no longer enabled, so WatchEvent now follows notify v8's format: the event kind is flattened into the event, with type holding the top-level kind (any, access, create, modify, remove or other) and kind/mode refining it. For instance { type: { modify: { kind: 'data', mode: 'content' } } } is now { type: 'modify', kind: 'data', mode: 'content' }, and attrs.flag is rescan instead of Rescan. WatchEvent.attrs is now typed as WatchEventAttributes.
  • fdfb35e5 (#3610 by @lucasfernog) Breaking: watch and watchImmediate now resolve to a Watcher resource instead of an UnwatchFn callback. Call await watcher.close() to stop watching. The UnwatchFn type has been removed and Watcher is now exported.
  • 2fd27c2d Update 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

Don't miss a new plugins-workspace release

NewReleases is sending notifications on new releases.