v0.4.0
BrowserFS v0.4.0 comes with the following new features:
- New file systems:
OverlayFS
: Overlay a writable synchronous filesystem over a readable file system, letting programs modify read-only data sources and storing only the changed files.AsyncMirror
: Mirror a synchronous file system to asynchronous storage.- If you pair
OverlayFS
withAsyncMirror
, you can persist changes to a read-only filesystem to data stores like Dropbox or IndexedDB.
- If you pair
- BrowserFS should now work with your module system of choice!
- CommonJS, AMD, UMD, exposing a
BrowserFS
global...
- CommonJS, AMD, UMD, exposing a
- Faster zip support via pako!
- And by actually telling the inflate algorithm how big the inflated file will be...
- Bug fixes for EmscriptenFS
- We now ignore certain types of
ENOTSUP
failures for operations that Emscripten likes to perform, but couldn't care less about. Previously, these failures caused Emscripten to prematurely terminate.
- We now ignore certain types of
Some internal bits:
- Added dirty bit to
PreloadFile
to avoid unneeded syncs. - Switched to Browserify for modules.
- Switched to Mocha for unit testing, and cleaned up unit tests.
Enjoy!