github zen-fs/core v0.11.0
0.11.0

latest releases: v2.4.4, v2.4.3, v2.4.2...
pre-release20 months ago
  • Merged SyncStore* and AsyncStore* logic into combined Store*
  • StoreFS
    • SyncStoreFS and AsyncStoreFS combined into StoreFS
    • Renamed commitNewFile to commitNew (and *Sync)
    • Renamed addNewNode to addNew (and *Sync)
    • Renamed removeEntry to remove (and *Sync)
    • Streamlined some methods
    • Changed the constructor to take a store directly
      • It now takes a Store | Promise<Store> instead of { store: Store | Promise<Store> }
      • Also removed StoreOptions
  • Store
    • SyncStore and AsyncStore combined into Store
    • Renamed beginTransaction to transaction
    • Changed clear to allow async implementations
    • Added caching for SimpleAsyncStore
  • Transaction
    • SyncTransaction and AsyncTransaction combined into Transaction
    • Renamed put to set and removed the overwrite parameter
    • Made an abstract class
  • Split store code into multiple files (see src/backend/store)
  • Fixed an index out of bound in File.readSync when offset is non-zero— Thanks @atty303! (#56)
  • Fixed unresolved types in configure (#48)
  • Removed PortStore backend (use Port instead)
  • Changed FileSystem.ready() to return Promise<void>
    • This fixes Port attempting to postMessage non-transferable objects
  • Changed InMemoryStore to extend Map
  • Narrowed rootIno type from Ino to 0n
  • Renamed p arguments to path for clarity

Don't miss a new core release

NewReleases is sending notifications on new releases.