Skip to content

Releases: zen-fs/core

1.2.10

11 Nov 17:37
v1.2.10
53edbfe
Compare
Choose a tag to compare
  • Fixed Stats.hasAccess not checking for permissions correctly (#131, thanks @mcandeia)
  • appendFileSync flag default changed from a to a+
  • Updated utimes tests

1.2.9

07 Nov 20:39
v1.2.9
18e4230
Compare
Choose a tag to compare
  • Directories are now needed for mounts (#127)
  • Fix incorrect node copying in AsyncFS.ready (#130)
  • Optimized StoreFS.commitNew root path check
  • Added DeviceFS.addDefaults
  • Added mount function in config.ts, which calls mkdir with recursive: true.
  • Running tests now automatically runs build (#126, thanks @konsumer)
  • configure now mounts in parallel
  • rootCredentials and mountObject are now deprecated

1.2.8

04 Nov 05:19
v1.2.8
ea984b2
Compare
Choose a tag to compare
  • Added DeviceDriver.init and support for Device data (#125)
  • Made DeviceDriver.isBuffered optional
  • Added documentation for DeviceFS
  • Updated comments for resolveMount
  • Changed to normal string concatenation in umount
  • Added support for fetch options (#51)
  • Made OptionsConfig.description optional and deprecated (it isn't used)
  • Removed description from options configurations in built-in backends

1.2.7

31 Oct 23:43
v1.2.7
e313d6e
Compare
Choose a tag to compare

Configuration.disableUpdateOnRead will now only prevent a file from being marked as dirty when read from. It will not prevent sync attempts nor will it prevent the file's atime from being updated.

The internal configuration option syncOnWrite was renamed to syncImmediately and is used when deciding whether to sync after reading a file.

1.2.6

31 Oct 22:57
v1.2.6
6975b73
Compare
Choose a tag to compare

This release adds Configuration.onlySyncOnClose. When enabled, files will not sync with the file system until they are closed. This release also changes the behavior of Configuration.disableUpdateOnRead to actually prevent syncing, rather than to not update the file's atime.

1.2.5

31 Oct 22:07
v1.2.5
6e82339
Compare
Choose a tag to compare
  • Added config.unsafeBufferReplace
  • PreloadFile._write no longer marks a file as dirty before checking if the flag is writeable
    • This may avoid uneeded File.sync calls.
  • Fixed double sync on _open when the flag is truncating
  • symlink now reuses the file handle for writing, instead of opening it twice

1.2.4

31 Oct 14:48
v1.2.4
b058a8b
Compare
Choose a tag to compare

This release changes disableSyncOnRead to disableUpdateOnRead. The toggle now behaves by disabling the atime update when reading entirely, which avoids the problem of a sync immediately after a read due to closing the file.

1.2.3

31 Oct 14:37
v1.2.3
2449410
Compare
Choose a tag to compare
  • Transaction now has keys and keysSync, which get all of the keys in the store
  • Added SimpleSyncStore.keys()
  • Optimized AsyncFS to skip crossCopy when both the sync and async backends are based on StoreFS. Instead, it will copy all of the Inodes in parallel.

1.2.2

31 Oct 14:13
v1.2.2
c508e70
Compare
Choose a tag to compare
  • Changed async stats cache to work with promises
  • Changed assert(a == b) to assert.equal(a, b) in tests for better errors

1.2.1

30 Oct 23:58
v1.2.1
5735b32
Compare
Choose a tag to compare
  • Fixed PreloadFile.readSync calling statSync instead of syncSync
  • Added Configuration.disableSyncOnRead, which prevents read from immediately syncing updated access times to the file system
  • Changed tests to use dist instead of src
  • Refactored CI/CD