v1.3.0
- Removes global
setImmediate
polyfill. It was not a proper polyfill, and avoided implementingclearImmediate
.- 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 invokedXmlHttpRequest
synchronously, which may freeze up your page. Instead, useBrowserFS.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.