fs_shim
A portable file system implementation working on io, web (OPFS or IndexedDB) and memory
2.5.5
5.2K downloads/mo
#3778 most downloaded on pub.dev
tekartik/fs_shim.dart
What this package is like to depend on
Last release 1 months ago
21 Jul 2026
Release timing varies
gaps range from 8 days to 6 months
Some releases are documented
notes for 37 of 78 stable releases
1 version withdrawn
withdrawn after publishing
11 years old
100 releases · first in 2015
21 releases in the last 12 months
see the full history below
Release timeline
100 releases · Dec 2015 to Jul 2026Releases
latest 60 of 100-
2.5.521 Jul 2026Release notes
Open source →- Add
File.unsandbox()andDirectory.unsandbox()extension methods to get the full path in the delegate file system if any
- Add
-
2.5.408 Jul 2026 -
2.5.4+108 Jul 2026Nothing published for this version
-
2.5.4+208 Jul 2026Release notes
Open source →- Add
FileSystemOpfsWeb.withRootHandle()to create a file system rooted at an existingFileSystemOpfsWebDirectoryHandle(e.g. obtained fromFileSystemOpfsWeb.showDirectoryPicker()orFileSystemOpfsWeb.storageGetDirectory()). - Add
FileSystemOpfsWeb.withFileHandles()to create a file system giving access to files obtained fromFileSystemOpfsWeb.showOpenFilePicker()/FileSystemOpfsWeb.showSaveFilePicker(). - Add
fileSystemOpfsWeb.requestWritePermission()to request thereadwritepermission on a file or directory handle - Use conditional imports for
fileSystemDefaultso that importingpackage:fs_shim/fs.dartno longer pullsdart:ioon the web (fixes the build_web_compilers platform check when compiling web entrypoints)
- Add
-
2.5.326 Jun 2026 -
2.5.229 May 2026 -
2.5.124 Feb 2026 -
2.5.1+101 Apr 2026Release notes
Open source →- Add
Directory.sandboxextension method as shortcut to sandbox a file system - Add
fsIdbExportLinesandfsIdbImportmainly for testing purpose - Add
FileStreamSinkto addflushfeature when writing files. - requires dart 3.11
- Add
-
2.5.1-423 Feb 2026 pre-release -
2.5.1-322 Feb 2026 pre-releaseNothing published for this version
-
2.5.1-220 Feb 2026 pre-release -
2.5.1-120 Feb 2026 pre-releaseNothing published for this version
-
2.5.022 Jan 2026Nothing published for this version
-
2.5.0+126 Jan 2026Nothing published for this version
-
2.5.0+213 Feb 2026 withdrawnNothing published for this version
-
2.5.0+313 Feb 2026Nothing published for this version
-
2.5.0+414 Feb 2026Release notes
Open source →- Add
Directory.tryCreateextension method to create a directory if it does not exist - Add
FileSystem.sandboxextension method to create a sandboxed file system - Add
FileSystem.unsandboxextension method to get the parent file system directory - Add
FileSystem.absolutePathextension method to get an absolute path - Add
FileSystem.normalizePathextension method to get an absolute path - Add
FileSystem.pathHashCodeextension method to get a hash code for a path (normalized and absolute) - Add
FileSystem.pathEqualsextension method to compare two paths (normalized and absolute) - Add
FileSystemEntityParent.linkmethod to create a link in the parent directory - Add
FileSystemEntityParent.childPathmethod to get a child path in the parent directory/file system - null
pathargument no longer accepted for file, directory, and link constructors and various entity path arguments in methods (type, isFile, isDirectory, isLink). This should be considered as a breaking change, however null was always throwing an error. Sorry if not ok for you...
- Add
-
2.5.0-321 Jan 2026 pre-releaseNothing published for this version
-
2.5.0-221 Jan 2026 pre-releaseNothing published for this version
-
2.5.0-121 Jan 2026 pre-releaseNothing published for this version
-
2.4.026 May 2025Nothing published for this version
-
2.4.0+107 Nov 2025Release notes
Open source →- Add
FileSystemEntityParentinterface withdirectory(),directoryWith(), andfile()methods for Directory and FileSystem - Fix web detection
- Add
-
2.4.0-128 Mar 2025 pre-releaseNothing published for this version
-
2.3.413 Feb 2025 -
2.3.324 Oct 2024Nothing published for this version
-
2.3.3+124 Oct 2024 -
2.3.204 Sep 2024Nothing published for this version
-
2.3.2+125 Sep 2024Nothing published for this version
-
2.3.2+227 Sep 2024Nothing published for this version
-
2.3.2+305 Oct 2024 -
2.3.1+106 Jun 2024Nothing published for this version
-
2.3.1+217 Jun 2024Nothing published for this version
-
2.3.1+317 Jul 2024 -
2.3.016 Mar 2024Nothing published for this version
-
2.3.0+118 Mar 2024Nothing published for this version
-
2.2.120 Apr 2023 -
2.2.007 Mar 2023Release notes
Open source →- Add
fileSystemDefaultglobal on web and io. - Add
File,LinkandDirectory. - Add
Directory.current. - Add
FileSystemEntity.isLink,FileSystemEntity.isFile,FileSystemEntity.isDirectory,FileSystemEntity.type
- Add
-
2.2.0-106 Mar 2023 pre-releaseNothing published for this version
-
2.1.013 Jan 2023Nothing published for this version
-
2.1.0+116 Jan 2023Nothing published for this version
-
2.1.0+205 Feb 2023 -
2.1.0-811 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-710 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-608 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-507 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-406 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-304 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-204 Jan 2023 pre-releaseNothing published for this version
-
2.1.0-103 Jan 2023 pre-releaseNothing published for this version
-
2.0.302 Apr 2022 -
2.0.213 Sep 2021Nothing published for this version
-
2.0.2+117 Oct 2021Nothing published for this version
-
2.0.2+218 Oct 2021Nothing published for this version
-
2.0.2+318 Oct 2021Release notes
Open source →- dart 2.14 lints
- fix toPosixPath to handle proper conversion of windows drive letter
-
2.0.121 Feb 2021Nothing published for this version
-
2.0.1+101 Apr 2021Nothing published for this version
-
2.0.1+216 Apr 2021Release notes
Open source →- Idb file system now always uses
/separator even on idb io windows (never used).
- Idb file system now always uses
-
2.0.017 Feb 2021 -
2.0.0-nullsafety.115 Dec 2020 pre-releaseNothing published for this version
-
2.0.0-nullsafety.022 Nov 2020 pre-releaseNothing published for this version