Skip to content

v0.4.0

Compare
Choose a tag to compare
@jvilk jvilk released this 19 Jun 06:37
· 480 commits to master since this release

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 with AsyncMirror, you can persist changes to a read-only filesystem to data stores like Dropbox or IndexedDB.
  • BrowserFS should now work with your module system of choice!
    • CommonJS, AMD, UMD, exposing a BrowserFS global...
  • 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.

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!