github zen-fs/core v2.3.10
2.3.10

latest releases: v2.4.4, v2.4.3, v2.4.2...
3 months ago
  • Added sync convenience function, which calls all currently mounted filesystems' sync method
  • Added sync method to AsyncMixin
  • Fixed cache de-sync in Async() by always running the sync operation first
  • Fixed race conditions in Async() by changing _async to accept a thunk
    • Note you will need to sync() after a synchronous write before you can reliably do a synchronous read
  • Fixed RPC handlers for web workers not being attached due to identity discontinuity
  • Fixed checkOptions not working with regular functions
  • Fixed IndexFS.rmdir using readdirSync to check if empty
  • Fixed configureSingle not working with file system instances
  • Fixed PortFS.sync not calling super.sync()
  • Du-duplicated call loop detection in Async()._patchAsync
  • Un-deprecated AsyncMixin.ready
  • Increased RPC message ID length by 5 to reduce collision chance
  • Unhandled rejections in tests are now logged
  • Some async methods are no longer patched by Async(): read, readdir, stat, exists
  • Changed EIO/RPC Failed to ETIMEDOUT/RPC request timed out, which is more descriptive
  • sync() is now run before each Port test and in between specific read/writes

Don't miss a new core release

NewReleases is sending notifications on new releases.