- Added
syncconvenience function, which calls all currently mounted filesystems'syncmethod - Added
syncmethod toAsyncMixin - Fixed cache de-sync in
Async()by always running the sync operation first - Fixed race conditions in
Async()by changing_asyncto accept a thunk- Note you will need to
sync()after a synchronous write before you can reliably do a synchronous read
- Note you will need to
- Fixed RPC handlers for web workers not being attached due to identity discontinuity
- Fixed
checkOptionsnot working with regular functions - Fixed
IndexFS.rmdirusingreaddirSyncto check if empty - Fixed
configureSinglenot working with file system instances - Fixed
PortFS.syncnot callingsuper.sync() - Du-duplicated call loop detection in
Async()._patchAsync - Un-deprecated
AsyncMixin.ready - Increased RPC message ID length by 5 to reduce collision chance
- Unhandled rejections in tests are now logged
- Some async methods are no longer patched by
Async():read,readdir,stat,exists - Changed
EIO/RPC FailedtoETIMEDOUT/RPC request timed out, which is more descriptive sync()is now run before eachPorttest and in between specific read/writes