Skip to content

0.17.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@james-pre james-pre released this 07 Sep 20:27
· 580 commits to main since this release
v0.17.0
e7b4b61
  • Changed LockedFS into a mixin named Mutexed
    • Removed Locked backend
    • Removed unlock method
  • Fixed race condition after Mutex unlock (#78, Thanks @terryluan12)
  • Removed OverlayFS methods: getOverlayedFileSystems, resDeletionLog, unwrap
  • Changed OverlayFS protected _readable and _writable properties to public readonly readable and writeable
  • Renamed UnlockedOverlayFS to UnmutexedOverlayFS
  • Backends' types are no longer expanded
    • This means a much cleaner and readable error message with an incorrect configuration for a mount in configure and configureSingle
    • This is exclusively an aesthetic change
  • Implemented fs.watch and fs.promises.watch
    • Note that the internal events have not been added, so no events will be emitted
  • Fully added File.close functionality
    • After closing a file, most operations no longer work.
  • Index constructor now accepts entries
  • opendir now preloads Dir entries
  • Fixed double close in _readFileSync
  • Fixed being able to abort a Transaction after it was already commited
  • Changed Transaction disposal to abort instead of commit
  • Updated StoreFS methods to use using on transaction instances

File structure changes:

  • Consolidated backends/index/* into backends/file_index
  • Organized FS mixins into mixins