# What changed in @capacitor/filesystem

> 11 changes in @capacitor/filesystem 7 to 8 from its official release notes, upgrade guides and advisories: 1 breaking, 1 security, 2 new APIs and options. Each one cited. Sources checked 2026-11-28. HTML: https://unstale.sh/npm/@capacitor/filesystem/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## @capacitor/filesystem 8

### Breaking changes

- This release supports Capacitor 8; the Capacitor major version update requires a major version update of the plugin. (8.0.0) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.0.0)

### Security

- Directory-scoped paths are now contained to their target directory. (7.1.9, 8.1.4) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.4), [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v7.1.9)

### New APIs and options

- Reading parts of a file can now specify a length. (8.1.0) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.0)
- Reading parts of a file can now start at a specified offset. (8.1.0) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.0)

### Fixes and other changes

- On iOS, writeFile and stat in Directory.Temporary no longer fail with OS-PLUG-FILE-0006. (8.1.5) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.5)
- On iOS, raw file paths without a scheme can now be accessed. (8.1.4) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.4)
- The Android Kotlin plugin is applied only if it has not already been applied, avoiding duplicate application. (8.1.3) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.3)
- Fixes Android build compatibility because AGP 9.0 no longer supports proguard-android.txt. (7.1.7, 8.1.1) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.1.1), [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v7.1.7)
- The Capacitor 8 peerDependency was adjusted for pnpm compatibility. (8.0.0) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v8.0.0)

## @capacitor/filesystem 7

### Fixes and other changes

- The 7.x release uses the latest-7 npm dist-tag, so developers can target the latest 7.x release when installing the package. (7.1.6) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v7.1.6)
- Simplifies SPM usage for the iOS native library. (7.1.5) — [release notes](https://github.com/ionic-team/capacitor-filesystem/releases/tag/v7.1.5)
