Skip to content

Latest commit

Β 

History

History
1165 lines (848 loc) Β· 101 KB

CHANGELOG.md

File metadata and controls

1165 lines (848 loc) Β· 101 KB

4.8.2 (2024-04-14)

Bug Fixes

  • don't include filename in path when calling readdir with withFileTypes: true (#1024) (711c4bd)

4.8.1 (2024-03-31)

Bug Fixes

  • fix handle paths in FSA entries iterator (#1019) (b8905eb)

4.8.0 (2024-03-19)

Features

  • 🎸 allow to customize CAS storage hash and location mappin (e32a57d)

4.7.7 (2024-02-21)

Bug Fixes

  • accept file names beginning with a period (#1005) (3c18dae)

4.7.6 (2024-02-17)

Bug Fixes

4.7.5 (2024-02-17)

Bug Fixes

4.7.4 (2024-02-17)

Bug Fixes

4.7.3 (2024-02-17)

Bug Fixes

4.7.2 (2024-02-17)

Bug Fixes

4.7.1 (2024-02-16)

Bug Fixes

  • use internal buffer instead of global Buffer (#977) (02249f7)

4.7.0 (2024-02-13)

Bug Fixes

  • ensure consistent file path formatting when reading directories recursively (#990) (36def27)

Features

  • add support for recursive to readdir (#972) (919ddfc)

4.6.1 (2024-02-12)

Bug Fixes

  • deps: update dependency json-joy to v11 (#966) (91909ff)

4.6.0 (2023-10-07)

Features

  • add queueMicrotask implementation (45d1784)

4.5.0 (2023-09-25)

Features

  • volume: fromJSON now accepts Buffer as volume content (#880) (9c0a6ff)

4.4.0 (2023-09-22)

Features

  • volume: toJSON now accepts the asBuffer parameter (#952) (91a3742)
  • volume: implement readv and writev (#946) (966e17e)

4.3.0 (2023-09-15)

Features

4.2.3 (2023-09-15)

Bug Fixes

  • add missing nanosecond-precision properties to Stats (#943) (b9d4c6d)

4.2.2 (2023-09-15)

Bug Fixes

4.2.1 (2023-08-07)

Bug Fixes

  • don't error when watched directory gets renamed (#939) (b431b08)

4.1.0 (2023-06-26)

Bug Fixes

  • πŸ› add support for unknown nodes (77786f1)
  • πŸ› allow readin into various kinds of buffers (361812d)
  • πŸ› allow readin into various kinds of buffers (e9c70e9)
  • πŸ› allow to seek in file (c04895b)
  • πŸ› allow to seek in file (b363689)
  • πŸ› correctly handle directory paths (ea909e8)
  • πŸ› do not allow empty children names (f014fd8)
  • πŸ› do not allow empty children names (43da1d6)
  • πŸ› handle root folder better (89bbffd)
  • πŸ› handle root folder better (76de780)
  • πŸ› improve file opening and closing logic (403c271)
  • πŸ› throw "ENOENT" and "ENOTDIR" when folder or file 404 (5de4faa)
  • πŸ› throw "ENOENT" and "ENOTDIR" when folder or file 404 (ddd5d56)

Features

  • 🎸 add .toTree() to Volume (2d5c4cb)
  • 🎸 add .truncate() method (038ab36)
  • 🎸 add .truncate() method (085335c)
  • 🎸 add ability to close files (0db56be)
  • 🎸 add ability to close files (d3828a8)
  • 🎸 add ability to create sub directories (8f15bd9)
  • 🎸 add ability to create sub directories (528c807)
  • 🎸 add ability to remove all files (76cabc7)
  • 🎸 add ability to remove all files (566e29b)
  • 🎸 add appendFileSync() method (57192fe)
  • 🎸 add appendFileSync() method (27411e4)
  • 🎸 add basenem() utility (8b27695)
  • 🎸 add basenem() utility (43354e5)
  • 🎸 add binary serialization to snapshots (c1cd615)
  • 🎸 add copyFile() method (de2bb0a)
  • 🎸 add copyFile() method (5e207c4)
  • 🎸 add copyFileSync() method (7e0137c)
  • 🎸 add copyFileSync() method (5fc1bac)
  • 🎸 add createSwapFile() method (dfdb908)
  • 🎸 add createSwapFile() method (b07ce79)
  • 🎸 add crudfs types (18c0658)
  • 🎸 add existsSync() method (0492a98)
  • 🎸 add existsSync() method (073ec6b)
  • 🎸 add fstatSync() method (f13ddb7)
  • 🎸 add fstatSync() method (6b1597a)
  • 🎸 add initial writign implementation (2f9542c)
  • 🎸 add initial writign implementation (6a50382)
  • 🎸 add integrity check on read (710eb2f)
  • 🎸 add json encoding for snapshots (41f9b8c)
  • 🎸 add lstat() and fstat() methods (ce5dd5e)
  • 🎸 add lstat() and fstat() methods (e147d58)
  • 🎸 add missing callback API methods and some sycn API ones (956533a)
  • 🎸 add missing promisees API types (f6727f3)
  • 🎸 add missing synchronous method types (ac38b5d)
  • 🎸 add mkdirSync() method (57f386b)
  • 🎸 add mkdirSync() method (bcad970)
  • 🎸 add mkdtempSync() method (1ac2df4)
  • 🎸 add mkdtempSync() method (68033dd)
  • 🎸 add options to promises.rmdir() method (ce268bb)
  • 🎸 add options to promises.rmdir() method (0628d56)
  • 🎸 add pathToLocation() utility (8e0136a)
  • 🎸 add pathToLocation() utility (cb92a99)
  • 🎸 add read/write mode separation (b4b6fcb)
  • 🎸 add read/write mode separation (60a65c1)
  • 🎸 add readdirSync() method (2178a50)
  • 🎸 add readdirSync() method (3689abd)
  • 🎸 add readlinkSync() method (f398908)
  • 🎸 add readlinkSync() method (8d243a0)
  • 🎸 add readSync() method (31383a8)
  • 🎸 add readSync() method (3729cd0)
  • 🎸 add realpathSync() method (f9a3cbe)
  • 🎸 add realpathSync() method (75890e0)
  • 🎸 add renameSync() method (a1674e4)
  • 🎸 add renameSync() method (5b1cd63)
  • 🎸 add rm() method (239437d)
  • 🎸 add rm() method (29a7dc8)
  • 🎸 add rmdirSync() method (59ccf3c)
  • 🎸 add rmdirSync() method (695b62a)
  • 🎸 add rmSync() method (a39e9a2)
  • 🎸 add rmSync() method (aa9acb3)
  • 🎸 add snapshot creation utilities (9fc8f13)
  • 🎸 add some common objects (b68ea2a)
  • 🎸 add some common objects (c89744d)
  • 🎸 add sumlink printing support (1850dae)
  • 🎸 add sync api (29c035a)
  • 🎸 add sync api (16d6600)
  • 🎸 add timeout to spin lock (1e2fc72)
  • 🎸 add timeout to spin lock (48e8e74)
  • 🎸 add truncateSync() and ftruncateSync() methods (4caf28b)
  • 🎸 add truncateSync() and ftruncateSync() methods (2b77619)
  • 🎸 add typed array view support to volume (a8bee73)
  • 🎸 add typed array view support to volume (7c8439f)
  • 🎸 add unlinkSync() method (4b3444d)
  • 🎸 add unlinkSync() method (417f911)
  • 🎸 add writev() method (17b0446)
  • 🎸 add writev() method (8190bfd)
  • 🎸 create FSA types folder (c153506)
  • 🎸 create FSA types folder (bb0c75a)
  • 🎸 create Node fs api tyeps (27fd08a)
  • 🎸 create Node fs api tyeps (4db1321)
  • 🎸 explose FSA from index file (6865a05)
  • 🎸 explose FSA from index file (77696f5)
  • 🎸 implement .del() method (9a7fd37)
  • 🎸 implement .drop() method (1b893a2)
  • 🎸 implement .get() method (63aacb6)
  • 🎸 implement .getDirectoryHandle() method (b6b026a)
  • 🎸 implement .getDirectoryHandle() method (090980c)
  • 🎸 implement .getFile() method (b8601cc)
  • 🎸 implement .getFile() method (17015a3)
  • 🎸 implement .getFileHandle() method (71567c9)
  • 🎸 implement .getFileHandle() method (40bdc13)
  • 🎸 implement .isSameEntry() method (f18d91e)
  • 🎸 implement .isSameEntry() method (438806b)
  • 🎸 implement .list() method (4a064cf)
  • 🎸 implement .mkdir method (2623049)
  • 🎸 implement .mkdir method (be1525a)
  • 🎸 implement .mkdtemp() method (cd54e9b)
  • 🎸 implement .mkdtemp() method (2db4cd0)
  • 🎸 implement .removeEntry() method (48617aa)
  • 🎸 implement .removeEntry() method (dca57a2)
  • 🎸 implement .resolve() method (bf47b96)
  • 🎸 implement .resolve() method (9d5669c)
  • 🎸 implement .values() and .entries() (f13de3b)
  • 🎸 implement .values() and .entries() (177010a)
  • 🎸 implement .write() for FSA (8226541)
  • 🎸 implement .write() for FSA (6a2fa2d)
  • 🎸 implement access() method (0a43a1b)
  • 🎸 implement access() method (c72390b)
  • 🎸 implement accessSync() method (accebdb)
  • 🎸 implement accessSync() method (719a19f)
  • 🎸 implement async verions of snapshotting (18912bf)
  • 🎸 implement basic readdir (898e221)
  • 🎸 implement basic readdir (685bc7e)
  • 🎸 implement basic rename() method, only for files (169662a)
  • 🎸 implement basic rename() method, only for files (4769314)
  • 🎸 implement basic state() method (425cad7)
  • 🎸 implement basic state() method (4039d64)
  • 🎸 implement CAS storage (33ddbcc)
  • 🎸 implement closeSync() method (24841fa)
  • 🎸 implement closeSync() method (646efaf)
  • 🎸 implement crudfs .put() method (505dc20)
  • 🎸 implement crudfs on top of fs (cb7ac4d)
  • 🎸 implement Dirent listings (03e60d0)
  • 🎸 implement Dirent listings (5d6f976)
  • 🎸 implement exists() method (615e88f)
  • 🎸 implement exists() method (0753937)
  • 🎸 implement first version of readFile() method (e046128)
  • 🎸 implement first version of readFile() method (629f22a)
  • 🎸 implement first version of worker (3662003)
  • 🎸 implement first version of worker (caf8394)
  • 🎸 implement FSA ReadStream (bc50fc5)
  • 🎸 implement FSA ReadStream (53784d9)
  • 🎸 implement info() method (eea9215)
  • 🎸 implement initial version of .open() mehtod (b3983df)
  • 🎸 implement initial version of .open() mehtod (cb363b5)
  • 🎸 implement initial version of appendFile() method (616be8d)
  • 🎸 implement initial version of appendFile() method (65580aa)
  • 🎸 implement initial version of writeFile() method (80e8499)
  • 🎸 implement initial version of writeFile() method (e2b2bfd)
  • 🎸 implement keys() method (33f9af0)
  • 🎸 implement keys() method (b8e8a4c)
  • 🎸 implement openSync() method (8ecac69)
  • 🎸 implement openSync() method (4b7eddd)
  • 🎸 implement read() method (33bea4b)
  • 🎸 implement read() method (7357c14)
  • 🎸 implement readFileSync() method (3a1b737)
  • 🎸 implement readFileSync() method (2a07e34)
  • 🎸 implement readFileSync() method (953d276)
  • 🎸 implement readFileSync() method (bb803e2)
  • 🎸 implement realpath() method (458a7b2)
  • 🎸 implement realpath() method (99b12dc)
  • 🎸 implement rmdir() method (c06734b)
  • 🎸 implement rmdir() method (973af0a)
  • 🎸 implement sync messenger (1c0bd59)
  • 🎸 implement sync messenger (d221870)
  • 🎸 implement sync write method (3017ecd)
  • 🎸 implement sync write method (22047da)
  • 🎸 implement toTreeSync() method (09c9770)
  • 🎸 implement truncation (af8452e)
  • 🎸 implement truncation (d4469d1)
  • 🎸 implement unlink() method (e11a383)
  • 🎸 implement unlink() method (6bd3e75)
  • 🎸 implement writeSync() method (7a2fced)
  • 🎸 implement writeSync() method (12a8b3f)
  • 🎸 improve mkdir method (e6dd59e)
  • 🎸 improve mkdir method (c393f6c)
  • 🎸 improve read stream interfaces (7e1a844)
  • 🎸 improve read stream interfaces (6d5de0c)
  • 🎸 improve stat method (505a1d9)
  • 🎸 improve stat method (c6eeab4)
  • 🎸 improve write stream, better flag handling (531f2a7)
  • 🎸 improve write stream, better flag handling (7b9e0a3)
  • 🎸 improve writing at offset logic (71b6afc)
  • 🎸 improve writing at offset logic (392932a)
  • 🎸 improve writing to file (1de0e06)
  • 🎸 improve writing to file (3edcac1)
  • 🎸 include "writeSync" method for sync writer (b267f78)
  • 🎸 include "writeSync" method for sync writer (b006b2d)
  • 🎸 introduce FSA context (f603262)
  • 🎸 introduce FSA context (b696e09)
  • 🎸 make basic WriteStream work (69281ff)
  • 🎸 make basic WriteStream work (c109af1)
  • 🎸 make promises methods bound (3010141)
  • 🎸 make statSync() resolve the path correctly (0d81728)
  • 🎸 make statSync() resolve the path correctly (7801533)
  • 🎸 normalize adapter rpc (16ce2cf)
  • 🎸 normalize adapter rpc (96b8374)
  • 🎸 progress on writable stream (a568afd)
  • 🎸 progress on writable stream (9900423)
  • 🎸 setup fsa to node utility (50d2a1e)
  • 🎸 setup fsa to node utility (5fa0d61)
  • 🎸 setup node-to-fsa folder (a4268c6)
  • 🎸 setup node-to-fsa folder (16e78e3)
  • 🎸 setup NodeCrud implementation (39073ce)
  • 🎸 setup webfs (68f0014)
  • 🎸 setup webfs (99c915f)
  • 🎸 standartize message contents (b3254f6)
  • 🎸 standartize message contents (c254dc7)
  • 🎸 start synchronous file handle implementation (f9b0f73)
  • 🎸 start synchronous file handle implementation (d05c407)
  • 🎸 start WriteStream implementation (5971c39)
  • 🎸 start WriteStream implementation (32e13a8)
  • 🎸 throw exception on closed files (7adff27)
  • 🎸 throw exception on closed files (5119b8f)
  • 🎸 track number of written bytes (b80f7b7)
  • 🎸 track number of written bytes (7a65daa)
  • 🎸 write through a swap file (84cecec)
  • 🎸 write through a swap file (5134766)

4.1.0-next.5 (2023-06-25)

Bug Fixes

  • πŸ› add support for unknown nodes (77786f1)

Features

  • 🎸 add binary serialization to snapshots (c1cd615)
  • 🎸 add json encoding for snapshots (41f9b8c)
  • 🎸 add snapshot creation utilities (9fc8f13)
  • 🎸 implement async verions of snapshotting (18912bf)

4.1.0-next.4 (2023-06-25)

Features

  • 🎸 add .toTree() to Volume (2d5c4cb)
  • 🎸 add sumlink printing support (1850dae)
  • 🎸 implement toTreeSync() method (09c9770)

4.1.0-next.3 (2023-06-22)

Bug Fixes

  • πŸ› correctly handle directory paths (ea909e8)
  • πŸ› improve file opening and closing logic (403c271)

Features

  • 🎸 add missing callback API methods and some sycn API ones (956533a)
  • 🎸 add missing promisees API types (f6727f3)
  • 🎸 add missing synchronous method types (ac38b5d)
  • 🎸 implement crudfs on top of fs (cb7ac4d)
  • 🎸 make promises methods bound (3010141)
  • 🎸 setup NodeCrud implementation (39073ce)

4.1.0-next.2 (2023-06-21)

Features

  • 🎸 add integrity check on read (710eb2f)
  • 🎸 implement CAS storage (33ddbcc)

4.1.0-next.1 (2023-06-21)

Bug Fixes

  • πŸ› allow readin into various kinds of buffers (361812d)
  • πŸ› allow readin into various kinds of buffers (e9c70e9)
  • πŸ› allow to seek in file (c04895b)
  • πŸ› allow to seek in file (b363689)
  • πŸ› do not allow empty children names (f014fd8)
  • πŸ› do not allow empty children names (43da1d6)
  • πŸ› handle root folder better (89bbffd)
  • πŸ› handle root folder better (76de780)
  • πŸ› throw "ENOENT" and "ENOTDIR" when folder or file 404 (5de4faa)
  • πŸ› throw "ENOENT" and "ENOTDIR" when folder or file 404 (ddd5d56)

Features

  • 🎸 add .truncate() method (038ab36)
  • 🎸 add .truncate() method (085335c)
  • 🎸 add ability to close files (0db56be)
  • 🎸 add ability to close files (d3828a8)
  • 🎸 add ability to create sub directories (8f15bd9)
  • 🎸 add ability to create sub directories (528c807)
  • 🎸 add ability to remove all files (76cabc7)
  • 🎸 add ability to remove all files (566e29b)
  • 🎸 add appendFileSync() method (57192fe)
  • 🎸 add appendFileSync() method (27411e4)
  • 🎸 add basenem() utility (8b27695)
  • 🎸 add basenem() utility (43354e5)
  • 🎸 add copyFile() method (de2bb0a)
  • 🎸 add copyFile() method (5e207c4)
  • 🎸 add copyFileSync() method (7e0137c)
  • 🎸 add copyFileSync() method (5fc1bac)
  • 🎸 add createSwapFile() method (dfdb908)
  • 🎸 add createSwapFile() method (b07ce79)
  • 🎸 add crudfs types (18c0658)
  • 🎸 add existsSync() method (0492a98)
  • 🎸 add existsSync() method (073ec6b)
  • 🎸 add fstatSync() method (f13ddb7)
  • 🎸 add fstatSync() method (6b1597a)
  • 🎸 add initial writign implementation (2f9542c)
  • 🎸 add initial writign implementation (6a50382)
  • 🎸 add lstat() and fstat() methods (ce5dd5e)
  • 🎸 add lstat() and fstat() methods (e147d58)
  • 🎸 add mkdirSync() method (57f386b)
  • 🎸 add mkdirSync() method (bcad970)
  • 🎸 add mkdtempSync() method (1ac2df4)
  • 🎸 add mkdtempSync() method (68033dd)
  • 🎸 add options to promises.rmdir() method (ce268bb)
  • 🎸 add options to promises.rmdir() method (0628d56)
  • 🎸 add pathToLocation() utility (8e0136a)
  • 🎸 add pathToLocation() utility (cb92a99)
  • 🎸 add read/write mode separation (b4b6fcb)
  • 🎸 add read/write mode separation (60a65c1)
  • 🎸 add readdirSync() method (2178a50)
  • 🎸 add readdirSync() method (3689abd)
  • 🎸 add readlinkSync() method (f398908)
  • 🎸 add readlinkSync() method (8d243a0)
  • 🎸 add readSync() method (31383a8)
  • 🎸 add readSync() method (3729cd0)
  • 🎸 add realpathSync() method (f9a3cbe)
  • 🎸 add realpathSync() method (75890e0)
  • 🎸 add renameSync() method (a1674e4)
  • 🎸 add renameSync() method (5b1cd63)
  • 🎸 add rm() method (239437d)
  • 🎸 add rm() method (29a7dc8)
  • 🎸 add rmdirSync() method (59ccf3c)
  • 🎸 add rmdirSync() method (695b62a)
  • 🎸 add rmSync() method (a39e9a2)
  • 🎸 add rmSync() method (aa9acb3)
  • 🎸 add some common objects (b68ea2a)
  • 🎸 add some common objects (c89744d)
  • 🎸 add sync api (29c035a)
  • 🎸 add sync api (16d6600)
  • 🎸 add timeout to spin lock (1e2fc72)
  • 🎸 add timeout to spin lock (48e8e74)
  • 🎸 add truncateSync() and ftruncateSync() methods (4caf28b)
  • 🎸 add truncateSync() and ftruncateSync() methods (2b77619)
  • 🎸 add typed array view support to volume (a8bee73)
  • 🎸 add typed array view support to volume (7c8439f)
  • 🎸 add unlinkSync() method (4b3444d)
  • 🎸 add unlinkSync() method (417f911)
  • 🎸 add writev() method (17b0446)
  • 🎸 add writev() method (8190bfd)
  • 🎸 create FSA types folder (c153506)
  • 🎸 create FSA types folder (bb0c75a)
  • 🎸 create Node fs api tyeps (27fd08a)
  • 🎸 create Node fs api tyeps (4db1321)
  • 🎸 explose FSA from index file (6865a05)
  • 🎸 explose FSA from index file (77696f5)
  • 🎸 implement .del() method (9a7fd37)
  • 🎸 implement .drop() method (1b893a2)
  • 🎸 implement .get() method (63aacb6)
  • 🎸 implement .getDirectoryHandle() method (b6b026a)
  • 🎸 implement .getDirectoryHandle() method (090980c)
  • 🎸 implement .getFile() method (b8601cc)
  • 🎸 implement .getFile() method (17015a3)
  • 🎸 implement .getFileHandle() method (71567c9)
  • 🎸 implement .getFileHandle() method (40bdc13)
  • 🎸 implement .isSameEntry() method (f18d91e)
  • 🎸 implement .isSameEntry() method (438806b)
  • 🎸 implement .list() method (4a064cf)
  • 🎸 implement .mkdir method (2623049)
  • 🎸 implement .mkdir method (be1525a)
  • 🎸 implement .mkdtemp() method (cd54e9b)
  • 🎸 implement .mkdtemp() method (2db4cd0)
  • 🎸 implement .removeEntry() method (48617aa)
  • 🎸 implement .removeEntry() method (dca57a2)
  • 🎸 implement .resolve() method (bf47b96)
  • 🎸 implement .resolve() method (9d5669c)
  • 🎸 implement .values() and .entries() (f13de3b)
  • 🎸 implement .values() and .entries() (177010a)
  • 🎸 implement .write() for FSA (8226541)
  • 🎸 implement .write() for FSA (6a2fa2d)
  • 🎸 implement access() method (0a43a1b)
  • 🎸 implement access() method (c72390b)
  • 🎸 implement accessSync() method (accebdb)
  • 🎸 implement accessSync() method (719a19f)
  • 🎸 implement basic readdir (898e221)
  • 🎸 implement basic readdir (685bc7e)
  • 🎸 implement basic rename() method, only for files (169662a)
  • 🎸 implement basic rename() method, only for files (4769314)
  • 🎸 implement basic state() method (425cad7)
  • 🎸 implement basic state() method (4039d64)
  • 🎸 implement closeSync() method (24841fa)
  • 🎸 implement closeSync() method (646efaf)
  • 🎸 implement crudfs .put() method (505dc20)
  • 🎸 implement Dirent listings (03e60d0)
  • 🎸 implement Dirent listings (5d6f976)
  • 🎸 implement exists() method (615e88f)
  • 🎸 implement exists() method (0753937)
  • 🎸 implement first version of readFile() method (e046128)
  • 🎸 implement first version of readFile() method (629f22a)
  • 🎸 implement first version of worker (3662003)
  • 🎸 implement first version of worker (caf8394)
  • 🎸 implement FSA ReadStream (bc50fc5)
  • 🎸 implement FSA ReadStream (53784d9)
  • 🎸 implement info() method (eea9215)
  • 🎸 implement initial version of .open() mehtod (b3983df)
  • 🎸 implement initial version of .open() mehtod (cb363b5)
  • 🎸 implement initial version of appendFile() method (616be8d)
  • 🎸 implement initial version of appendFile() method (65580aa)
  • 🎸 implement initial version of writeFile() method (80e8499)
  • 🎸 implement initial version of writeFile() method (e2b2bfd)
  • 🎸 implement keys() method (33f9af0)
  • 🎸 implement keys() method (b8e8a4c)
  • 🎸 implement openSync() method (8ecac69)
  • 🎸 implement openSync() method (4b7eddd)
  • 🎸 implement read() method (33bea4b)
  • 🎸 implement read() method (7357c14)
  • 🎸 implement readFileSync() method (3a1b737)
  • 🎸 implement readFileSync() method (2a07e34)
  • 🎸 implement readFileSync() method (953d276)
  • 🎸 implement readFileSync() method (bb803e2)
  • 🎸 implement realpath() method (458a7b2)
  • 🎸 implement realpath() method (99b12dc)
  • 🎸 implement rmdir() method (c06734b)
  • 🎸 implement rmdir() method (973af0a)
  • 🎸 implement sync messenger (1c0bd59)
  • 🎸 implement sync messenger (d221870)
  • 🎸 implement sync write method (3017ecd)
  • 🎸 implement sync write method (22047da)
  • 🎸 implement truncation (af8452e)
  • 🎸 implement truncation (d4469d1)
  • 🎸 implement unlink() method (e11a383)
  • 🎸 implement unlink() method (6bd3e75)
  • 🎸 implement writeSync() method (7a2fced)
  • 🎸 implement writeSync() method (12a8b3f)
  • 🎸 improve mkdir method (e6dd59e)
  • 🎸 improve mkdir method (c393f6c)
  • 🎸 improve read stream interfaces (7e1a844)
  • 🎸 improve read stream interfaces (6d5de0c)
  • 🎸 improve stat method (505a1d9)
  • 🎸 improve stat method (c6eeab4)
  • 🎸 improve write stream, better flag handling (531f2a7)
  • 🎸 improve write stream, better flag handling (7b9e0a3)
  • 🎸 improve writing at offset logic (71b6afc)
  • 🎸 improve writing at offset logic (392932a)
  • 🎸 improve writing to file (1de0e06)
  • 🎸 improve writing to file (3edcac1)
  • 🎸 include "writeSync" method for sync writer (b267f78)
  • 🎸 include "writeSync" method for sync writer (b006b2d)
  • 🎸 introduce FSA context (f603262)
  • 🎸 introduce FSA context (b696e09)
  • 🎸 make basic WriteStream work (69281ff)
  • 🎸 make basic WriteStream work (c109af1)
  • 🎸 make statSync() resolve the path correctly (0d81728)
  • 🎸 make statSync() resolve the path correctly (7801533)
  • 🎸 normalize adapter rpc (16ce2cf)
  • 🎸 normalize adapter rpc (96b8374)
  • 🎸 progress on writable stream (a568afd)
  • 🎸 progress on writable stream (9900423)
  • 🎸 setup fsa to node utility (50d2a1e)
  • 🎸 setup fsa to node utility (5fa0d61)
  • 🎸 setup node-to-fsa folder (a4268c6)
  • 🎸 setup node-to-fsa folder (16e78e3)
  • 🎸 setup webfs (68f0014)
  • 🎸 setup webfs (99c915f)
  • 🎸 standartize message contents (b3254f6)
  • 🎸 standartize message contents (c254dc7)
  • 🎸 start synchronous file handle implementation (f9b0f73)
  • 🎸 start synchronous file handle implementation (d05c407)
  • 🎸 start WriteStream implementation (5971c39)
  • 🎸 start WriteStream implementation (32e13a8)
  • 🎸 throw exception on closed files (7adff27)
  • 🎸 throw exception on closed files (5119b8f)
  • 🎸 track number of written bytes (b80f7b7)
  • 🎸 track number of written bytes (7a65daa)
  • 🎸 write through a swap file (84cecec)
  • 🎸 write through a swap file (5134766)

4.1.0 (2023-06-20)

Bug Fixes

  • πŸ› allow readin into various kinds of buffers (e9c70e9)
  • πŸ› allow to seek in file (b363689)
  • πŸ› do not allow empty children names (43da1d6)
  • πŸ› handle root folder better (76de780)
  • πŸ› throw "ENOENT" and "ENOTDIR" when folder or file 404 (ddd5d56)

Features

  • 🎸 add .truncate() method (085335c)
  • 🎸 add ability to close files (d3828a8)
  • 🎸 add ability to create sub directories (528c807)
  • 🎸 add ability to remove all files (566e29b)
  • 🎸 add appendFileSync() method (27411e4)
  • 🎸 add basenem() utility (43354e5)
  • 🎸 add copyFile() method (5e207c4)
  • 🎸 add copyFileSync() method (5fc1bac)
  • 🎸 add createSwapFile() method (b07ce79)
  • 🎸 add existsSync() method (073ec6b)
  • 🎸 add fstatSync() method (6b1597a)
  • 🎸 add initial writign implementation (6a50382)
  • 🎸 add lstat() and fstat() methods (e147d58)
  • 🎸 add mkdirSync() method (bcad970)
  • 🎸 add mkdtempSync() method (68033dd)
  • 🎸 add options to promises.rmdir() method (0628d56)
  • 🎸 add pathToLocation() utility (cb92a99)
  • 🎸 add read/write mode separation (60a65c1)
  • 🎸 add readdirSync() method (3689abd)
  • 🎸 add readlinkSync() method (8d243a0)
  • 🎸 add readSync() method (3729cd0)
  • 🎸 add realpathSync() method (75890e0)
  • 🎸 add renameSync() method (5b1cd63)
  • 🎸 add rm() method (29a7dc8)
  • 🎸 add rmdirSync() method (695b62a)
  • 🎸 add rmSync() method (aa9acb3)
  • 🎸 add some common objects (c89744d)
  • 🎸 add sync api (16d6600)
  • 🎸 add timeout to spin lock (48e8e74)
  • 🎸 add truncateSync() and ftruncateSync() methods (2b77619)
  • 🎸 add typed array view support to volume (7c8439f)
  • 🎸 add unlinkSync() method (417f911)
  • 🎸 add writev() method (8190bfd)
  • 🎸 create FSA types folder (bb0c75a)
  • 🎸 create Node fs api tyeps (4db1321)
  • 🎸 explose FSA from index file (77696f5)
  • 🎸 implement .getDirectoryHandle() method (090980c)
  • 🎸 implement .getFile() method (17015a3)
  • 🎸 implement .getFileHandle() method (40bdc13)
  • 🎸 implement .isSameEntry() method (438806b)
  • 🎸 implement .mkdir method (be1525a)
  • 🎸 implement .mkdtemp() method (2db4cd0)
  • 🎸 implement .removeEntry() method (dca57a2)
  • 🎸 implement .resolve() method (9d5669c)
  • 🎸 implement .values() and .entries() (177010a)
  • 🎸 implement .write() for FSA (6a2fa2d)
  • 🎸 implement access() method (c72390b)
  • 🎸 implement accessSync() method (719a19f)
  • 🎸 implement basic readdir (685bc7e)
  • 🎸 implement basic rename() method, only for files (4769314)
  • 🎸 implement basic state() method (4039d64)
  • 🎸 implement closeSync() method (646efaf)
  • 🎸 implement Dirent listings (5d6f976)
  • 🎸 implement exists() method (0753937)
  • 🎸 implement first version of readFile() method (629f22a)
  • 🎸 implement first version of worker (caf8394)
  • 🎸 implement FSA ReadStream (53784d9)
  • 🎸 implement initial version of .open() mehtod (cb363b5)
  • 🎸 implement initial version of appendFile() method (65580aa)
  • 🎸 implement initial version of writeFile() method (e2b2bfd)
  • 🎸 implement keys() method (b8e8a4c)
  • 🎸 implement openSync() method (4b7eddd)
  • 🎸 implement read() method (7357c14)
  • 🎸 implement readFileSync() method (953d276)
  • 🎸 implement readFileSync() method (bb803e2)
  • 🎸 implement realpath() method (99b12dc)
  • 🎸 implement rmdir() method (973af0a)
  • 🎸 implement sync messenger (d221870)
  • 🎸 implement sync write method (22047da)
  • 🎸 implement truncation (d4469d1)
  • 🎸 implement unlink() method (6bd3e75)
  • 🎸 implement writeSync() method (12a8b3f)
  • 🎸 improve mkdir method (c393f6c)
  • 🎸 improve read stream interfaces (6d5de0c)
  • 🎸 improve stat method (c6eeab4)
  • 🎸 improve write stream, better flag handling (7b9e0a3)
  • 🎸 improve writing at offset logic (392932a)
  • 🎸 improve writing to file (3edcac1)
  • 🎸 include "writeSync" method for sync writer (b006b2d)
  • 🎸 introduce FSA context (b696e09)
  • 🎸 make basic WriteStream work (c109af1)
  • 🎸 make statSync() resolve the path correctly (7801533)
  • 🎸 normalize adapter rpc (96b8374)
  • 🎸 progress on writable stream (9900423)
  • 🎸 setup fsa to node utility (5fa0d61)
  • 🎸 setup node-to-fsa folder (16e78e3)
  • 🎸 setup webfs (99c915f)
  • 🎸 standartize message contents (c254dc7)
  • 🎸 start synchronous file handle implementation (d05c407)
  • 🎸 start WriteStream implementation (32e13a8)
  • 🎸 throw exception on closed files (5119b8f)
  • 🎸 track number of written bytes (7a65daa)
  • 🎸 write through a swap file (5134766)

4.0.0 (2023-06-16)

Features

  • 🎸 add File System Access API TypeScript types (3ea8641)

BREAKING CHANGES

  • 🧨 no breaking changes in this commit, but bumping to get this to v4 in NPM

3.6.0 (2023-06-16)

Features

  • 🎸 node fs and volume improvements (5bc245b)

3.5.3 (2023-06-07)

Bug Fixes

  • bump fs-monkey minimum version for rm support (#909) (595a473)

3.5.2 (2023-06-02)

Bug Fixes

  • correctly output filename when watching files (#907) (fbde74f)

3.5.1 (2023-04-20)

Bug Fixes

  • ensure metadata is updated correctly so that watchFile is correctly triggered (#891) (8af880e)

3.5.0 (2023-04-06)

Features

  • support the recursive option for fs.watch() (#902) (c829803)

3.4.13 (2023-01-07)

Bug Fixes

3.4.12 (2022-11-19)

Bug Fixes

3.4.11 (2022-11-13)

Bug Fixes

3.4.10 (2022-11-03)

Bug Fixes

3.4.9 (2022-10-29)

Bug Fixes

3.4.8 (2022-10-28)

Bug Fixes

  • extend with null bytes when calling truncate with a len greater than the current file size (#875) (25027fb)

3.4.7 (2022-06-24)

Bug Fixes

  • dont patch getuid and getgid on process anymore (#847) (1c19e87)

3.4.6 (2022-06-18)

Bug Fixes

3.4.5 (2022-06-18)

Bug Fixes

  • throw EEXIST when opening file that already exists with 'wx' flag (#853) (8b021b3)

3.4.4 (2022-05-28)

Bug Fixes

  • allow Uint8Arrays to be passed to FsWriteStream (#842) (4398992)

3.4.3 (2022-05-17)

Bug Fixes

  • ensure js file is copied to expected place (#838) (90e2e1d)

3.4.2 (2022-05-17)

Bug Fixes

  • set closed property correct on Node 18 (#836) (d1823e1)

3.4.1 (2021-12-30)

Bug Fixes

  • recursively sync children steps to fix rename (43e8222)

3.4.0 (2021-11-24)

Features

  • support the throwIfNoEntry option (80cf803)

3.3.0 (2021-09-19)

Bug Fixes

  • πŸ› remove unused method (05b2a47)

Features

  • 🎸 add .rmSync(), .rm(), and .promises.rm() methods (2414fb6)
  • 🎸 add support for "recursive" and "force" flags in .rm() (7f6714c)

3.2.4 (2021-09-02)

Bug Fixes

  • πŸ› use globalThis defensively (eed6bbf)

3.2.3 (2021-08-31)

Bug Fixes

  • global and timers this arg in browser (1e93ab1)
  • prevent callback from triggering twice when callback throws (07e8215)
  • prevent callback from triggering twice when callback throws (6db755d), closes #542

3.2.2 (2021-04-05)

Bug Fixes

  • deps: update dependency fs-monkey to v1.0.2 (07f05db)
  • deps: update dependency fs-monkey to v1.0.3 (84346ed)

3.2.1 (2021-03-31)

Bug Fixes

  • add The Unlicense license SDPX in package.json (#594) (0e7b04b)

3.2.0 (2020-05-19)

Bug Fixes

  • 'fromJSON()' did not consider cwd when creating directories (3d6ee3b)

Features

  • support nested objects in 'fromJSON()' (f8c329c)

3.1.3 (2020-05-14)

Bug Fixes

  • deps: update dependency fs-monkey to v1.0.1 (10fc705)

3.1.2 (2020-03-12)

Bug Fixes

  • should throw EEXIST instead of EISDIR on mkdirSync('/') (f89eede)

3.1.1 (2020-02-17)

Bug Fixes

  • deps: update dependency fs-monkey to v1 (ccd1be0)

3.1.0 (2020-02-17)

Features

  • replace fast-extend with native Object.assign (934f1f3)
  • specify engines field with node constraint of >= 8.3.0 (7d3b132)

3.0.6 (2020-02-16)

Bug Fixes

  • export DirectoryJSON from index (c447a6c)

3.0.5 (2020-02-15)

Bug Fixes

  • remove space from error message (42f870a)
  • use IStore interface instead of Storage (ff82480)
  • use PathLike type from node (98a4014)

3.0.4 (2020-01-15)

Bug Fixes

  • πŸ› handle opening directories with O_DIRECTORY (acdfac8), closes #494

3.0.3 (2019-12-25)

Bug Fixes

  • rmdir: proper async functionality (cc75c56)
  • rmdir: support recursive option (1e943ae)
  • watch: suppress event-emitter warnings (1ab2dcb)

3.0.2 (2019-12-25)

Bug Fixes

  • watch: trigger change event for creation/deletion of children in a folder (b1b7884)

3.0.1 (2019-11-26)

Performance Improvements

  • ⚑️ bump fast-extend (606775b)

3.0.0 (2019-11-26)

Bug Fixes

  • πŸ› adjust definition of TCallback to accept null for error parameter (aedcbda)
  • πŸ› adjust return of Link#walk to return Link | null (1b76cb1)
  • πŸ› adjust type of children in Link to be possibly undefined (b4945c2)
  • πŸ› allow _modeToNumber to be called w/ undefined (07c0b7a)
  • πŸ› allow _modeToNumber to return undefined (3e3c992)
  • πŸ› allow assertEncoding to be called w/ undefined (e37ab9a)
  • πŸ› allow Dirent~build to accept undefined for the encoding parameter (8ca3550)
  • πŸ› allow flagsToNumber to be called w/ undefined (dbfc754)
  • πŸ› allow mkdtempBase to be called w/ undefined for encoding (f28c395)
  • πŸ› allow modeToNumber to be called w/ undefined (336821d)
  • πŸ› allow realpathBase to be called w/ undefined for encoding (e855f1c)
  • πŸ› create tryGetChild util function (b5093a1)
  • πŸ› create tryGetChildNode util function (62b5a52)
  • πŸ› define the type elements in the Volume.releasedFds array (9e21f3a)
  • πŸ› don't assign null to ._link property in FSWatcher (71569c0)
  • πŸ› don't assign null to ._steps property in FSWatcher (0e94b9c)
  • πŸ› don't assign null to .buf property in Node (00be0c2)
  • πŸ› don't assign null to .link property in File (5d01713)
  • πŸ› don't assign null to .node property in File (d06201e)
  • πŸ› don't assign null to .node property in Link (4d7f439)
  • πŸ› don't assign null to .parent property in Link (b3e60b6)
  • πŸ› don't assign null to .symlink property in Node (9bfb6f5)
  • πŸ› don't assign null to StatWatcher.prev property (fd1a253)
  • πŸ› don't assign null to StatWatcher.vol property (1540522)
  • πŸ› don't set #vol or #parent of link to null (b396f04)
  • πŸ› enable strictNullChecks (3896de7)
  • πŸ› make StatWatcher.timeoutRef property optional (d09cd03)
  • πŸ› refactor #access to be compatible w/ strictNullChecks (82ed81b)
  • πŸ› refactor #copyFileSync to be compatible w/ strictNullChecks (40f8337)
  • πŸ› refactor #createLink to be compatible w/ strictNullChecks (7d8559d)
  • πŸ› refactor #ftruncate to be compatible w/ strictNullChecks (f2ea3f1)
  • πŸ› refactor #mkdir to be compatible w/ strictNullChecks (d5d7883)
  • πŸ› refactor #mkdirp to be compatible w/ strictNullChecks (6cf0bce)
  • πŸ› refactor #mkdtempBase to be compatible w/ strictNullChecks (d935b3b)
  • πŸ› refactor #mkdtempSync to be compatible w/ strictNullChecks (7e22617)
  • πŸ› refactor #newFdNumber to be compatible w/ strictNullChecks (0bc4a15)
  • πŸ› refactor #newInoNumber to be compatible w/ strictNullChecks (e9ba56c)
  • πŸ› refactor #openFile to be compatible w/ strictNullChecks (1c4a4ba)
  • πŸ› refactor #openLink to be compatible w/ strictNullChecks (216a85f)
  • πŸ› refactor #read to be compatible w/ strictNullChecks (87b587f)
  • πŸ› refactor #readdirBase to be compatible w/ strictNullChecks (ab248b4)
  • πŸ› refactor #readFileBase to be compatible w/ strictNullChecks (27a4dad)
  • πŸ› refactor #readlinkBase to be compatible w/ strictNullChecks (b2e0f76)
  • πŸ› refactor #resolveSymlinks to be compatible w/ strictNullChecks (6dc4913)
  • πŸ› refactor #statBase to be compatible w/ strictNullChecks (ba0c20a)
  • πŸ› refactor #symlink to be compatible w/ strictNullChecks (4148ad3)
  • πŸ› refactor #truncate to be compatible w/ strictNullChecks (fadbd77)
  • πŸ› refactor #watch to be compatible w/ strictNullChecks (415a186)
  • πŸ› refactor #watchFile to be compatible w/ strictNullChecks (2c02287)
  • πŸ› refactor #write to be compatible w/ strictNullChecks (2ba6e0f)
  • πŸ› refactor #writeFile to be compatible w/ strictNullChecks (ac78c50)
  • πŸ› refactor #writeFileBase to be compatible w/ strictNullChecks (e931778)
  • πŸ› refactor #writeSync to be compatible w/ strictNullChecks (7b67eea)
  • πŸ› refactor copyFile tests to be compatible w/ strictNullChecks (e318af2)
  • πŸ› refactor errors to be compatible w/ strictNullChecks (b25c035)
  • πŸ› refactor exists tests to be compatible w/ strictNullChecks (81a564f)
  • πŸ› refactor renameSync tests to use tryGetChildNode (8cd782a)
  • πŸ› refactor volume tests to be compatible w/ strictNullChecks (f02fbac)
  • πŸ› refactor volume tests to use tryGetChild (5a6624f)
  • πŸ› refactor volume tests to use tryGetChildNode (34acaac)
  • πŸ› refactor writeFileSync tests to be compatible w/ strictNullChecks (4b7f164)
  • πŸ› remove unused getArgAndCb function (f8bb0f8)
  • πŸ› replace throwError fn w/ inline throw createError() calls (c9a0fd6)

Features

  • 🎸 enable TypeScript strict null checks (1998b24)

BREAKING CHANGES

  • TypeScript strict null checks are now enabled which may break some TypeScript users.

2.17.1 (2019-11-26)

Bug Fixes

  • set-up semantic-release packages (0554c7e)

2.15.5 (2019-07-16)

Bug Fixes

2.15.4 (2019-06-01)

Bug Fixes

  • πŸ› accept null as value in fromJSON functions (9e1af7d)
  • πŸ› annotate return type of toJSON functions (6609840)

2.15.3 (2019-06-01)

Bug Fixes

  • πŸ› mocks process.emitWarning for browser compatibility (e3456b2), closes #374

2.15.2 (2019-02-16)

Bug Fixes

  • πŸ› BigInt type handling (c640f25)

2.15.1 (2019-02-09)

Bug Fixes

  • πŸ› show directory path when throwing EISDIR in mkdir (9dc7007)
  • πŸ› throw when creating root directory (f77fa8b), closes #325

2.15.0 (2019-01-27)

Features

  • volume: add env variable to suppress fs.promise api warnings (e6b6d0a)

2.14.2 (2018-12-11)

Bug Fixes

  • fds to start from 0x7fffffff instead of 0xffffffff (#277) (31e44ba)

2.14.1 (2018-11-29)

Bug Fixes

  • don't copy legacy files into dist (ab8ffbb), closes #263

2.14.0 (2018-11-12)

Features

  • add bigint option support (00a017e)

2.13.1 (2018-11-11)

Bug Fixes

  • πŸ› don't install semantic-release, incompat with old Node (cd2b69c)