Skip to content

Releases: zen-fs/core

1.6.5

02 Dec 23:15
v1.6.5
4e578e4
Compare
Choose a tag to compare

The randomBigInt utility function now has a fallback for when crypto.getRandomValues doesn't work or is not available.

1.6.4

02 Dec 05:13
v1.6.4
f0c6334
Compare
Choose a tag to compare

Removed patch-package in favor of just modifying the type in polyfills.ts

1.6.3

02 Dec 04:17
v1.6.3
3eba304
Compare
Choose a tag to compare
  • Removed a function that shouldn't have existed
  • Patches are now included in the package

1.6.2

02 Dec 04:06
v1.6.2
be5485a
Compare
Choose a tag to compare
  • Fixed patch-package not running on install
  • Fixed src/emulation/types not being included in build (.d.ts -> .ts)

1.6.1

02 Dec 03:55
v1.6.1
0a3f3a4
Compare
Choose a tag to compare

Fixed patch-package running as a postinstall script instead of install script, meaning npm i @zenfs/core would try to run it (incorrectly).

1.6.0

02 Dec 03:47
v1.6.0
a0a1d87
Compare
Choose a tag to compare
  • Node v22 is now supported
    • New fs functions: glob, globSync, promises.glob
    • Changes to FileHandle.read and FileHandle.write
  • Most device features are no longer experimental
  • Added addDevice
  • Added DeviceDriver.singleton and DeviceDriver.init options
  • Added device data to DeviceFile types
  • Deprecated DeviceFS.createDevice (use addDevice)
  • Changed devices to a named export
  • Organized emulation extra types
  • Patched Typescript (see microsoft/TypeScript#60654)
  • Removed internal _synced function
  • Deprecated fs.mounts for security
    • mounts is not deprecated, just the export in the fs namespace

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