- Merged
SyncStore*andAsyncStore*logic into combinedStore* StoreFSSyncStoreFSandAsyncStoreFScombined intoStoreFS- Renamed
commitNewFiletocommitNew(and*Sync) - Renamed
addNewNodetoaddNew(and*Sync) - Renamed
removeEntrytoremove(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
- It now takes a
StoreSyncStoreandAsyncStorecombined intoStore- Renamed
beginTransactiontotransaction - Changed
clearto allow async implementations - Added caching for
SimpleAsyncStore
TransactionSyncTransactionandAsyncTransactioncombined intoTransaction- Renamed
puttosetand removed theoverwriteparameter - Made an abstract class
- Split store code into multiple files (see src/backend/store)
- Fixed an index out of bound in
File.readSyncwhen offset is non-zero— Thanks @atty303! (#56) - Fixed unresolved types in
configure(#48) - Removed
PortStorebackend (usePortinstead) - Changed
FileSystem.ready()to returnPromise<void>- This fixes
Portattempting topostMessagenon-transferable objects
- This fixes
- Changed
InMemoryStoreto extendMap - Narrowed
rootInotype fromInoto0n - Renamed
parguments topathfor clarity