Skip to content

Releases: jvilk/BrowserFS

v0.5.4

10 Nov 01:44
Compare
Choose a tag to compare
  • process's EventEmitter-related functions now work. Previously, bfs-process did not expose these due to an oversight.
    • Due to a circular dependency issue, process.std{out, in, err} are initialized after a one-JavaScript-event delay. Your code can force their immediate initialization by calling initializeTTD.
  • MountableFileSystem now appropriately sets the path property on errors. Previously, the paths pointed to paths in the mounted file systems, and did not include their mount point.

v0.5.3

08 Nov 06:38
Compare
Choose a tag to compare
  • Add support for secondary fs modules to EmscriptenFS. See v0.5.2 release notes for further details on secondary fs modules.

v0.5.2

08 Nov 06:18
Compare
Choose a tag to compare
  • Ability to have multiple fs modules on the same page. Now you can construct multiple independent fs modules.
var mainFsModule = BrowserFS.BFSRequire('fs');
var fsSecondary = new mainFsModule.FS();
fsSecondary.initialize(new BrowserFS.FileSystem.InMemory());
var fsTertiary = new mainFsModule.FS();
// etc.
  • File descriptors are now numbers. Before, we gave applications File objects. Now, we give numbers.

v0.5.1

07 Nov 22:23
Compare
Choose a tag to compare

Minor bugfix release:

  • Fixes localStorage backend with non-BFS buffer implementations. We normally use a custom binary string encoding to store data in localStorage, which takes advantage of the fact that most browsers allow you to store invalid UTF-16 in localStorage to pack 2X the data. We now fallback to base64 when binary string isn't available.

v0.5.0

07 Nov 19:56
Compare
Choose a tag to compare

This version brings about mostly internal changes:

  • BrowserFS is now modular for Browserify projects. You can now easily use BrowserFS as the provider of the fs Node module. You do not have to use BrowserFS"s Buffer, path, and process implementations. See the README for more information.
  • Improved compatibility with Node APIs. The process component is now a proper EventEmitter and path implements some previously-missing functions. fs is still somewhat out-of-date (e.g. does not support streams).
  • Usable in Node. BrowserFS can be used from within Node, if you so choose. Note that there is currently no Node backend, so you can't mount Node's filesystem inside of BrowserFS's filesystem. I accept PRs, though, if an enterprising user feels like implementing this functionality!

v0.4.6

27 Oct 21:35
Compare
Choose a tag to compare

Minor bugfix release:

  • Fixes a bug in Buffer construction from a typed array.

v0.4.5

26 Oct 20:44
Compare
Choose a tag to compare

What's new:

  • Improved TypeScript typings. Now, BrowserFS.FileSystem is properly typed. Previously, it was the any type.

v0.4.4

16 Oct 21:39
Compare
Choose a tag to compare

Version 0.4.4 brings a number of incremental improvements to BrowserFS:

  • NPM package now exports TypeScript types!
    • So when you require('browserfs') from TypeScript code, it'll be typechecked.
  • Improved SourceMaps that inline the TS source code.
    • In deployment scenarios, you only need .min.js and .min.js.map to trace back errors to the original TypeScript source.
  • Buffer updated with Node v0.12 methods.
  • SlowBuffer is now defined in the buffer module.
  • Buffer now properly supports the noAssert option.
  • Fixes for Emscripten integration (from beta 0.4.2 release).
  • Fixes for Dropbox backend:
    • Now appropriately retries requests when rate limited or experiencing transient server / network errors.
    • More accurate error code generation / error message generation.
    • Avoids file transfers / directory reads when possible using Dropbox's hash and rev fields, respectfully.
      • Note: You'll still never receive a stale version of either, since we check with Dropbox to ensure our cache is up-to-date. And it doesn't add latency, as this functionality is baked into the Dropbox REST API.
  • Fixes for IE8
    • Previously, we accidentally used delete as an identifier, which is a no-no.
    • NOTE: Actual IE8 not tested; I tested with IE10 in IE8 compatibility mode.
  • Fixes for IE8 compatibility mode in IE10.
    • Previously, we chose an incorrect buffer backend in this scenario, since IE10's compat mode erroneously defines an unusable CanvasPixelArray.
  • General code cleanup.

v0.4.2

14 Aug 03:34
Compare
Choose a tag to compare
v0.4.2 Pre-release
Pre-release

Minor bugfix release. Fixes an issue with Emscripten integration.

v0.4.1

04 Jul 18:24
Compare
Choose a tag to compare

Bugfix release:

  • Fixed an issue where BrowserFS would use Buffer internally without explicitly require-ing it, causing issues if BrowserFS was used in a context where Buffer is not global.
  • Fixed an issue where IndexedDB filesystems would report being available in a private browsing setting that explicitly prevented the API's usage.