Releases: zen-fs/core
Releases · zen-fs/core
0.7.3
0.7.2
0.7.1
0.7.0
- Merged
AsyncMirror
intoAsync()
- This means any asynchronous file systems support sync operations now
- Changed
AsyncStoreFS
to work with the overhauledAsync()
- Removed
FileSystemMetadata.synchronous
- Implementing classes will need to initialize the
_sync
property
- Made
PreloadFile
a concrete class- Implemented methods
sync
,syncSync
,close
, andcloseSync
- Removed unneeded file classes
- This was done because the
sync
andsyncSync
methods are implemented onFileSystem
, which means all of the different classes that extendedPreloadFile
just implemented theFile.sync
andFile.syncSync
methods using the same logic.
- Implemented methods
- Overhauled backend types to infer the options config from the options
- Narrowed backend types by using
satisfies
- Added
AsyncFileSystem.ready()
- Made many utils hidden in docs
0.6.0
- Added promises export
- Added
MountConfiguration
andisMountConfig
- Removed
initialize
in config.ts - Renamed
ConfigMapping
toMappingConfiguration
- Renamed
resolveBackend
toresolveMountConfig
and moved to config.ts - Added support for nested
FileSystem
instances toresolveMountConfig
- Added support for uid/gid in
configure
- Renamed
initialize
in emulation/shared.ts tomountMapping
- Renamed
BackendConfig
toBackendConfiguration
- Improved
isBackendConfig
- Renamed
resolveFS
toresolveMount
- Added default mode to
readFile
0.5.12
- Fixed emulation/sync.ts not importing
Buffer
. - Fixed
realpath
not resolving the real path of parent directories - Fixed
exists
not usingrealpath
- Streamlined
path.resolve
implementation
0.5.11
The current working directory (CWD) is now changeable with a new function cd
in emulation/path.ts.