fs - full changelog
v2.5.1
May 2, 2026
v2.5.0
Apr 4, 2026
e97a4ded(#3244 by @SeijiOkuda) Addencodingoption forreadTextFileandreadTextFileLinesf75d21db(#3360 by @Legend-Master) Removed the dependency ontauri-utils'sbuildfeaturef5f68063(#3185 by @lucasfernog) Enable access for security-scoped resources on iOS by automatically callingNSURL::startAccessingSecurityScopedResourceon resource access and adding thestopAccessingSecurityScopedResourceAPI.
v2.4.5
Jan 8, 2026
521cd8b3(#3155 by @EliasStar) Fix off by one error in the implementation of readTextFileLines causing all lines to end with an (additional) null byte. Issue: #3154 PR: #3155
v2.4.4
Oct 27, 2025
93426f85Fixed an issue that caused docs.rs builds to fail. No user facing changes.
v2.4.3
Oct 26, 2025
6c9b61fb(#3039 by @FabianLars) On Android, updated compileSdk to 36.6b5b1053(#1939 by @amrbashir) Enhance error messages.
v2.4.2
Aug 20, 2025
4eb36b0f(#2907 by @Legend-Master) Fixed callingwriteFilewithdata: ReadableStreamthrowsInvalid argument515182a1(#2915 by @samhinshaw)readFilenow returns a more specific typePromise<Uint8Array<ArrayBuffer>>instead of the defaultPromise<Uint8Array<ArrayBufferLike>
v2.4.1
Jul 20, 2025
44a1f659(#2846 by @Legend-Master) FixwriteFiledoesn't create a new file by default when the data is aReadableStream
v2.4.0
Jun 25, 2025
v2.3.0
May 20, 2025
dac4d537(#2613 by @Legend-Master) Reduce the overhead ofwatchandunwatch
v2.2.1
Apr 2, 2025
bug
831c35ff(#2550) FixwriteFileReadableStream handling due to missing async iterator support on macOS platform
v2.2.0
Dec 9, 2024
3a79266b(#2173 by @FabianLars) Bumped all plugins tov2.2.0. From now, the versions for the Rust and JavaScript packages of each plugin will be in sync with each other.
v2.0.4
Dec 9, 2024
77b85507(#2171 by @FabianLars) Fixed docs.rs build.
v2.0.3
Dec 2, 2024
ed981027(#1962 by @amrbashir) Improve performance ofreadTextFileandreadTextFileLinesAPIs3e78173d(#2018 by @amrbashir) FixreadDirfunction failing to read directories that contain broken symlinks.5092ea5e(#1964 by @amrbashir) Add support for usingReadableStream<Unit8Array>withwriteFileAPI.
v2.0.3
Dec 2, 2024
14cee64c(#1958 by @bWanShiTong) Fix compilation on targets with pointer width of16or32
v2.0.2
Nov 5, 2024
77149dc4(#1965 by @amrbashir) FixwriteTextFileconverting UTF-8 characters (for exampleäöü) in the given path into replacement character (�)
v2.0.1
Oct 20, 2024
ae802456(#1950 by @amrbashir) Improve performance of theFileHandle.readandwriteTextFileAPIs.
v2.0.1
Oct 20, 2024
a1a82208(#1873 by @lucasfernog) Downgrade MSRV to 1.77.2 to support Windows 7.
v2.0.0
Oct 2, 2024
e2c4dfb6Update to tauri v2 stable release.
v2.0.0-rc.6
Oct 2, 2024
fc9b189e(#1837 by @FabianLars) Fix failing to deserialize capability file when using an OS specific path in the scope that is not available on the current OS.
v2.0.0-rc.5
Sep 15, 2024
cc03ccf5(#1774) Fixscope-app,scope-app-recursiveandscope-indexnot properly enabling the application paths.
v2.0.0-rc.4
Sep 12, 2024
v2.0.0-rc.3
Sep 5, 2024
a2fe5551(#1727 by @amrbashir) Add utility methods onFilePathandSafeFilePathenums which are:pathsimplifiedinto_path
a2fe5551(#1727 by @amrbashir) ImplementSerialize,Deserialize,From,TryFromandFromStrtraits forFilePathandSafeFilePathenums.a2fe5551(#1727 by @amrbashir) MarkErrorenum as#[non_exhuastive].a2fe5551(#1727 by @amrbashir) AddSafeFilePathenum.
v2.0.0-rc.2
Aug 29, 2024
f7280c88(#1710 by @Legend-Master) Fix can't use Windows paths likeC:/Users/UserName/file.txt
bug
51819c60(#1708 by @lucasfernog) FixeswriteFilecommand implementation on Android.
v2.0.0-rc.2
Aug 29, 2024
e2e97db5(#1701 by @lucasfernog) Update to tauri 2.0.0-rc.8
v2.0.0-rc.1
Aug 17, 2024
5f689902(#1645 by @lucasfernog) Update documentation.
v2.0.0-rc.0
Aug 2, 2024
9887d1Update to tauri RC.
v2.0.0-beta.8
Jul 31, 2024
99d6ac0f(#1606 by @FabianLars) The JS packages now specify the minimum@tauri-apps/apiversion instead of a single exact version.6de87966(#1597 by @Legend-Master) Update to tauri beta.25.
v2.0.0-beta.7
Jul 12, 2024
22a17980(#1537 by @lucasfernog) Update to tauri beta.24.
v2.0.0-beta.6
Jul 2, 2024
v2.0.0-beta.6
Jul 2, 2024
b115fd22(#1221) Fixes an issue that caused the app to freeze when thedialog,fs, andpersisted-scopeplugins were used together.
v2.0.0-beta.5
May 30, 2024
v2.0.0-beta.5
May 30, 2024
bb51a41(#1168) Breaking Change: All apis that return paths to the frontend will now remove the\\?\UNC prefix on Windows.e3d41f4(#1191) Internally use the webview scoped resources table instead of the app one, so other webviews can't access other webviews resources.e3d41f4(#1191) Update for tauri 2.0.0-beta.15.
v2.0.0-beta.4
May 30, 2024
v2.0.0-beta.4
May 30, 2024
9c2fb93Enhance the scope type to also allow a plain string representing the path to allow or deny.772f2bc(#1136) Update for tauri 2.0.0-beta.14.
v2.0.0-beta.3
May 1, 2024
v2.0.0-beta.3
May 1, 2024
cb96aa0(#1082) FixeswatchandwatchImmediatewhich previously ignored thebaseDirparameter.a04ea2f(#1071) The global API script is now only added to the binary when thewithGlobalTauriconfig is true.
v2.0.0-beta.2
Mar 7, 2024
v2.0.0-beta.1
Feb 21, 2024
569defbUpdate to tauri beta.4.
v2.0.0-beta.0
Feb 3, 2024
d198c01(#862) Update to tauri beta.ea8eadc(#865) Fix incorrectcreateoption default value forwriteFileandwriteTextFilewhich didn't match documentation.61edbbe(#885) Replacenotify-debouncer-miniwithnotify-debouncer-full. (plugins-workspace#885)
v2.0.0-alpha.6
Dec 28, 2023
85f8419(#848) FixDebouncedEventtype to correctly represent the actual type.c601230(#847) AddcreateNewoption forwriteFileandwriteTextFileto create the file if doesn't exist and fail if it does.c601230(#847) Truncate files when usingwriteFileandwriteTextFilewithappend: false.2e2fc8d(#857) Fixinvalid args id for command unwatcherror when trying to unwatch a previously watched file or directory.c601230(#847) Fix panic when usingwriteFileorwriteTextFilewithout passing an option object.
v2.0.0-alpha.5
Dec 20, 2023
387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.13.69a1fa0(#751) Thefsplugin received a major overhaul to add new APIs and changed existing APIs to be closer to Node.js and Deno APIs.
v2.0.0-alpha.4
Dec 14, 2023
387c2f9(#802) Update to @tauri-apps/api v2.0.0-alpha.12.88d260d(#744) Add second argument toexistsfunction to specify base directory.
v2.0.0-alpha.3
Oct 29, 2023
v2.0.0-alpha.2
Oct 23, 2023
v2.0.0-alpha.2
Oct 23, 2023
v2.0.0-alpha.1
Aug 14, 2023
0bba693(#454) FixwriteBinaryFilecrashing withcommand 'write_binary_file' not foundd74fc0a(#555) Update to alpha.11.
v2.0.0-alpha.0
May 24, 2023