Skip to content

Releases: zen-fs/core

0.7.0

14 Apr 14:23
Compare
Choose a tag to compare
0.7.0 Pre-release
Pre-release
  • Merged AsyncMirror into Async()
    • This means any asynchronous file systems support sync operations now
    • Changed AsyncStoreFS to work with the overhauled Async()
    • Removed FileSystemMetadata.synchronous
    • Implementing classes will need to initialize the _sync property
  • Made PreloadFile a concrete class
    • Implemented methods sync, syncSync, close, and closeSync
    • Removed unneeded file classes
    • This was done because the sync and syncSync methods are implemented on FileSystem, which means all of the different classes that extended PreloadFile just implemented the File.sync and File.syncSync methods using the same logic.
  • 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

13 Apr 15:10
966a0bb
Compare
Choose a tag to compare
0.6.0 Pre-release
Pre-release
  • Added promises export
  • Added MountConfiguration and isMountConfig
  • Removed initialize in config.ts
  • Renamed ConfigMapping to MappingConfiguration
  • Renamed resolveBackend to resolveMountConfig and moved to config.ts
  • Added support for nested FileSystem instances to resolveMountConfig
  • Added support for uid/gid in configure
  • Renamed initialize in emulation/shared.ts to mountMapping
  • Renamed BackendConfig to BackendConfiguration
  • Improved isBackendConfig
  • Renamed resolveFS to resolveMount
  • Added default mode to readFile

0.5.12

12 Apr 15:08
8dda69d
Compare
Choose a tag to compare
0.5.12 Pre-release
Pre-release
  • Fixed emulation/sync.ts not importing Buffer.
  • Fixed realpath not resolving the real path of parent directories
  • Fixed exists not using realpath
  • Streamlined path.resolve implementation

0.5.11

11 Apr 17:08
1bd2e11
Compare
Choose a tag to compare
0.5.11 Pre-release
Pre-release

The current working directory (CWD) is now changeable with a new function cd in emulation/path.ts.

0.5.10

08 Apr 20:46
f9edc06
Compare
Choose a tag to compare
0.5.10 Pre-release
Pre-release

Changed build script to use non-positional entry point argument

0.5.9

08 Apr 20:36
0aae597
Compare
Choose a tag to compare
0.5.9 Pre-release
Pre-release

Fixed build script not working with unknown non-positional arguments

0.5.8

08 Apr 20:21
2caddf9
Compare
Choose a tag to compare
0.5.8 Pre-release
Pre-release

Added the hashbang to scripts/build.js

0.5.7

08 Apr 20:09
7d07c95
Compare
Choose a tag to compare
0.5.7 Pre-release
Pre-release
  • Fixed appendFile not calling the callback
  • Fixed make-index not working with different amounts of positional arguments
  • Overhauled build script
  • Renamed some arguments

0.5.6

08 Apr 17:53
71856e3
Compare
Choose a tag to compare
0.5.6 Pre-release
Pre-release
  • Added Node v20 features. The new functions have not been implemented and will throw ENOTSUP.
  • Changed the ENOTSUP calls in the compatibility functions to use ApiError.With so they are more descriptive
  • Fixed built-in backends' type parameters
  • OptionsConfig.required (for backends) is now required
  • Added a Buffer polyfill for better compatibility
  • Removed misc. functions in stats.ts

0.5.5

05 Apr 18:31
37c5ef3
Compare
Choose a tag to compare
0.5.5 Pre-release
Pre-release
  • Added support for ApiError.syscall
  • Improved function implementations:
    • normalizeMode
    • normalizeOptions
    • normalizePath
  • Fixed normalizePath not normalizing backslashes
  • Fixed PreloadFile.writeSync returning an offset instead of the bytes written
  • Fixed stats.hasAccess
  • Added FS type parameter to BackendConfig and resolveBackend