github zen-fs/core v0.10.0
0.10.0

latest releases: v2.4.4, v2.4.3, v2.4.2...
pre-release20 months ago
  • Overhauled configuration
    • Renamed MappingConfiguration to Configuration
    • Removed old Configuration type
    • Changed the new Configuration to have mounts as a property
    • Renamed MountMapping to MountObject
    • Renamed mountMapping to mountObject
  • Added port backends (since they are cross platform)
    • Fixed PortFile sync methods having a "Sync" postfix in error syscalls
    • Fixed PortFS not awaiting super.ready()
    • Fixed handleRequest not transmitting errors correctly
    • RPC.handleResponse no longer returns a value
  • Added the Fetch backend (again, because it is cross-platform)
    • Fixed FetchFS.preloadFile check ordering
  • Added Fetch backend to core
  • Changes to errors
    • Renamed ApiError to ErrnoError
    • Renamed ApiErrorJSON to ErrnoErrorJSON
    • Renamed ErrorCode to Errno
    • The error JSON interface is now exported
    • Changed some errors to use ErrnoError instead of regular error classes
  • Added the AbsolutePath type
  • Streamlined path emulation and normalizePath
  • Changed FileHandle constructor to also take Files
  • Removed _readFile and _appendFile internal functions
  • Inlined doOp for the promises API
  • Added Symbol.dispose and Symbol.asyncDispose to File
  • Upgraded eslint to support explicit resource management (ERM not added yet because it breaks tests)
  • Added ESNext.Disposable TS lib

Don't miss a new core release

NewReleases is sending notifications on new releases.