Skip to content

v1.3.0

Compare
Choose a tag to compare
@jvilk jvilk released this 19 Mar 21:23
· 243 commits to master since this release
  • Removes global setImmediate polyfill. It was not a proper polyfill, and avoided implementing clearImmediate.
    • While never explicitly documented, others may have come to depend on this functionality, leading me to bump up the minor version.
  • Proper API documentation
    • There may be some rough edges, as we use typedoc (a TypeScript documentation generator) rather hackily.
  • Deprecates using new BrowserFS.FileSystem.XmlHttpRequest(url). This usage of the constructor invoked XmlHttpRequest synchronously, which may freeze up your page. Instead, use BrowserFS.FileSystem.XmlHttpRequest.FromURL(url, function(e, fs) { /* FS is ready to go. */ }.
    • This constructor will be removed in the next major version.
    • I will likely revisit some other API design choices by then, too. (Like the constructors that take callbacks...)

Internal changes:

  • Avoids using Buffer constructor. Uses Buffer.from / Buffer.alloc instead.
  • Uses Yarn. Avoids weird issues/churn where minor NPM dependency version changes breaks CI builds / user builds.