Skip to content

Releases: zen-fs/core

1.7.2

07 Jan 18:18
v1.7.2
89b1309
Compare
Choose a tag to compare
  • Fixed ErrnoError.message incorrectly including the path and errno
    • This full message is now returned by ErrnoError.toString
  • Fix incorrect usage of assert.rejects message argument in tests
  • Updated Async._patchAsync error message for clarity

1.7.1

07 Jan 17:24
v1.7.1
a9f7d57
Compare
Choose a tag to compare

Made FileSystemMetadata.features optional to accommodate older FSes.

1.7.0

07 Jan 17:00
v1.7.0
b7be848
Compare
Choose a tag to compare
  • Added the Passthrough backend (#114)
    • This allows you to use an existing node:fs interface with ZenFS
  • Added support for set uid/gid behavior on directories to the VFS (#133)
    • Updated FileSystem.createFile and FileSystem.mkdir so contexts will be used for uid/gid
    • If a FileSystem applies setuid/setgid based on the mode, it can indicate this to the VFS by adding setid to its list of features.
  • Renamed emulation to vfs for clarity. There is now a export field for emulation in package.json for compatiblity
  • Added symlink, readlink, and realpath tests for contexts
  • Added --exit-on-fail/-e to zenfs-test
  • Reverted Async._patchAsync not throwing when out of sync on ENOENT

1.6.17

06 Jan 04:46
v1.6.17
73f091b
Compare
Choose a tag to compare
  • randomBigInt no longer uses crypto
  • randomBigInt generated 32 bits instead of 64
    • This simplifies debugging and some use cases
  • Async._patchAsync will no longer throw an error if the sync cache is out of sync and causes an ENOENT

1.6.16

24 Dec 01:16
v1.6.16
d78e35f
Compare
Choose a tag to compare
  • Fixed fs.promises.watch not passing the right this (context) to new FSWatcher
    • Added tests to prevent regression
  • Turned off some Eslint rules relating to any

1.6.15

23 Dec 23:03
v1.6.15
be3f663
Compare
Choose a tag to compare

The type of IndexData.version has been changed from 1 to number, to better support JSON imports.

1.6.14

23 Dec 21:36
v1.6.14
36ac80c
Compare
Choose a tag to compare

This release fixes watchers not supporting contexts correctly.

1.6.13

23 Dec 19:52
v1.6.13
468a43c
Compare
Choose a tag to compare
  • Updated npm dependencies
  • Removed lint-staged and minimatch

1.6.12

22 Dec 22:41
v1.6.12
b31af4b
Compare
Choose a tag to compare

Async's async methods will no longer try to sync to the cache before it is initialized. (zen-fs/dom#23)

1.6.11

20 Dec 03:26
v1.6.11
4eee287
Compare
Choose a tag to compare
  • Async now patches itself so async operations (even on child classes) will also update the sync cache (#132)
    • Added Async tests to prevent a regression
  • Simplified AsyncMixin interface
  • Made c8 an optional dependency instead of a development dependency
  • Changed target from ES2020 to ES2019
  • Removed bigint literals (#160)