Skip to content

Releases: zen-fs/core

1.5.1

01 Dec 18:32
v1.5.1
6582db5
Compare
Choose a tag to compare
  • Fixed ReadStream.wrap having an incorrect parameter type (#147)
  • Updated Dir to be compatible with AsyncIterator<Dirent> (#147)

1.5.0

01 Dec 02:15
v1.5.0
91f72a8
Compare
Choose a tag to compare
  • Contexts are now fs module compatible
  • Changed BoundContext to have the fs be separate from the root and credentials, for security
    • this is a breaking change to an experimental feature
  • Removed tsconfig.json from package
  • Fixed File's type parameter not being used
  • Remove non-functional development dependency typedoc-plugin-remove-references

1.4.3

29 Nov 16:28
v1.4.3
9a20205
Compare
Choose a tag to compare
  • Fixed resolveMount not working correctly when a file name starts with the name of a mount point in the same directory (#151, thanks @SardineFish)
  • Upgraded to Typescript 5.7 and removed unneeded type declarations for resizable ArrayBuffer and SharedArrayBuffer (#149, thanks @yoursunny)
  • Fixed fs.promises.writeFile not supporting DataView and having an incorrect error message

1.4.2

27 Nov 17:54
v1.4.2
95f7158
Compare
Choose a tag to compare

This release makes a couple of small changes to zenfs-test:

  • node_modules is excluded when auto-detecting setup scripts
  • tests/*.test.ts are included in common tests

1.4.1

27 Nov 16:59
v1.4.1
fd36af6
Compare
Choose a tag to compare
  • zenfs-test now accepts a --coverage option, which is used as the test coverage directory. It defaults to tests/.coverage.
  • Updates to documentation
  • Moved mixin types to interfaces
    • This means Mixin<T, { ... }> is now Mixin<T, ExampleMixin>

1.4.0

25 Nov 22:17
v1.4.0
02f4646
Compare
Choose a tag to compare
  • Added contexts (docs)
    • bindContext is used to create a new BoundContext
    • Almost all emulation layer functions now accept a FS_Context as this
  • Added chroot
    • For both chroot and bindContext, you need to make sure the new root directory exists and has the correct permissions
  • Removed some backend option descriptions (runtime bloat)
  • Changed to assert.equal for many tests for readability
  • Fixed Dir tests not using opendir
  • Removed source from package to reduce size and reduce confusion
  • Fixed a race condition in configure
  • Overhauled zenfs-test

1.3.6

23 Nov 02:22
v1.3.6
b3ef005
Compare
Choose a tag to compare

Stats.hasAccess now returns true on symlinks. This change was made for consistency with Linux and the POSIX spec.

1.3.5

21 Nov 21:27
v1.3.5
5340be6
Compare
Choose a tag to compare
  • Absolute paths are no longer required for keys in Configuration.mounts
  • realpath (+Sync) now supports relative and cross-mount symlinks correctly
  • Renamed Cache methods: *Sync to *, * to *Async
  • realpath (+Sync) now actually caches paths
  • rm (+Sync) now supports device files
  • Removed Cache.clearSync
  • Changing mounts now resets the path cache
  • minimatch is now an optional dependency
  • rename (+Sync) now emit a change event for the new file path when renaming across file system boundries

1.3.4

20 Nov 17:05
v1.3.4
ad47e6e
Compare
Choose a tag to compare
  • Added support for multiple groups
  • Fixed emitChange (used in watchers) having incorrect file names when recursively watching (#141, thanks @mcandeia)
  • Fixed emitChange not propagating to / when watched recursively (#141, thanks @mcandeia)
  • Added useCredentials
  • Folded File._setType (+Sync) into chmod (internal)
  • Removed StatsCommon.cred and rootCredentials (internal)

1.3.3

17 Nov 23:07
v1.3.3
960f2db
Compare
Choose a tag to compare
  • Fixed promises.link checking for write and read access instead of read access on target (#138, thanks @mcandeia)
  • Fixed linkSync checking for write access instead of read access on target