github zen-fs/core v1.11.0
1.11.0

latest releases: v2.4.4, v2.4.3, v2.4.2...
10 months ago

This release adds streams to the internal API, which allows streaming directly to and from the file system.

  • Added streamRead and streamWrite to FileSystem along with default implementations
  • streamRead is used by readableWebStream in FileHandle
  • Rewrote ReadStream and WriteStream to use streamRead and streamWrite
  • streamWrite for Async writes to both the synchronous and asynchronous file systems
  • Calling streamWrite on ReadonlyFS throws EROFS
  • Streaming a write to CopyOnWrite will stream to the writable file system
  • Added a test for readableWebStream

There are also a some other minor changes:

  • Fixed write on Fetch not updating the index metadata
  • Fixed readdir for CopyOnWriteFS
  • Updated an import from readline to node:readline
  • Fixed CSS log formats
  • CopyOnWrite now handles nested mount configuration resolution
  • Fixed attribute logging in mount
  • Deprecated FileType as it was already unused
  • Updated documentation for mode in StatsCommon

Don't miss a new core release

NewReleases is sending notifications on new releases.