- Removed "built-in" backend support (providing strings for backend config)
- Removed
backendsandregisterBackend - This means you must now
importthe backends you would like to use withconfigure
- Removed
- All backends are now exported
- The
BackendandBackendConfigtypes are now exported MirrorFileis now exportedOverlayFileis now exportedFileFlagchanges:- Renamed
FromStringtoGet - Renamed
NumberToStringtoStringOf - Added
NumberOf - Renamed
flagStrto_flag - Renamed
validFlagStrstovalidStrings - Changed
privatefields toprotected - Made constructor
protected, since it should never be called directly (useGetinstead)
- Renamed
- Fixed
encodeanddecode - Added error handling for buffers passed to the
Inodeconstructor that are too small - Added
Inode.birthtimeMs - Removed
Inode.sizeof - Added
Offset.end(for inodes) - Added
StatsLike(implemented byStatsCommon,Stats,BigIntStats, andInode) - Updated stats constructor to take
StatsLikeinstead of lots of arguments - Deprecated
Stats.cloneandBigIntStats.clone(usenew Stats(o)instead ofStats.clone(o)) - Fixed the
AsyncMirrorvalidator for thesyncoption - Changed many constants to use hex (
0x) instead of octal (0o), for clarity - Changed
Mutexto a named export - Renamed
PreloadFiletype parameter fromTtoFS - Renamed
LockedFStype parameter fromTtoFS - Removed
toPromisesince it was unused - Made
setImmediateandmkdirpSynchidden - Changed many internal imports to be type-only
- Marked some classes as internal