npm / @capacitor/filesystem
@capacitor/filesystem
What changed in @capacitor/filesystem 7 to 8, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-28.
1 breaking1 security2 new APIs and options7 fixes and other
See which of these apply to your code, ranked, in your agent:
npx @unstale/cli init@capacitor/filesystem 89 changes
Breaking changes 1
This release supports Capacitor 8; the Capacitor major version update requires a major version update of the plugin.
Security 1
Directory-scoped paths are now contained to their target directory.
New APIs and options 2
Reading parts of a file can now specify a length.
Reading parts of a file can now start at a specified offset.
Fixes and other changes 5
On iOS, writeFile and stat in Directory.Temporary no longer fail with OS-PLUG-FILE-0006.
On iOS, raw file paths without a scheme can now be accessed.
The Android Kotlin plugin is applied only if it has not already been applied, avoiding duplicate application.
Fixes Android build compatibility because AGP 9.0 no longer supports proguard-android.txt.
The Capacitor 8 peerDependency was adjusted for pnpm compatibility.
@capacitor/filesystem 72 changes
Fixes and other changes 2
The 7.x release uses the latest-7 npm dist-tag, so developers can target the latest 7.x release when installing the package.
Simplifies SPM usage for the iOS native library.