All notable changes to this project will be documented in this file automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY! This project adheres to Semantic Versioning.
- Add getLabel() to retrieve filesystem label [Ken Bannister]
- Drop Bluebird from devDependencies [Thodoris Greasidis]
- flowzone: Remove empty with clause [Thodoris Greasidis]
- Add the promises namespace as part of the exposed fs [Thodoris Greasidis]
- Update dependency @types/node to v20 [Self-hosted Renovate Bot]
- Remove repo config from flowzone.yml [Kyle Harding]
- Add support for Node 18 [Akis Kesoglou]
- Update dependencies [ab77]
- Update dependency jsdoc-to-markdown to 8.0.0 [Renovate Bot]
- update dependencies [Zane Hitchcox]
Update ext2fs from 3.0.4 to 3.0.5 [Alexis Svinartchouk]
- Fix reading and discarding with offsets > 32 bits [Alexis Svinartchouk]
Update file-disk from 8.0.0 to 8.0.1 [Alexis Svinartchouk]
- Add versionbot changelog [Alexis Svinartchouk]
Update ext2fs from 3.0.3 to 3.0.4 [Alexis Svinartchouk]
- Add versionbot changelog [Alexis Svinartchouk]
Update partitioninfo from 6.0.1 to 6.0.2 [Alexis Svinartchouk]
Update file-disk from 8.0.0 to 8.0.1 [Alexis Svinartchouk]
- Add versionbot changelog [Alexis Svinartchouk]
- Add versionbot changelog [Alexis Svinartchouk]
- Add versionbot changelog [Alexis Svinartchouk]
- Update ext2fs to ^3.0.3 [Alexis Svinartchouk]
- Try fat before ext in interact [Alexis Svinartchouk]
- Fix wrong error being thrown for fat partition errors [Alexis Svinartchouk]
- Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
- Replace wary with mocha [Alexis Svinartchouk]
- Rename resin -> balena [Alexis Svinartchouk]
- lint on pre-commit [Alexis Svinartchouk]
- Convert to typescript [Alexis Svinartchouk]
- Simplify, only leave the interact function [Alexis Svinartchouk]
- Stop using lodash [Alexis Svinartchouk]
- Update file-disk to ^7 [Alexis Svinartchouk]
- Update dev dependencies [Pagan Gazzard]
- Add bump node-ext2fs ^1.0.28 and and support/CI testing for Node 12/10 [Gergely Imreh]
- Update file-disk to ^6.0.0 [Alexis Svinartchouk]
- Update jsdoc-to-markdown [Alexis Svinartchouk]
- Update partitioninfo to ^5.2.0 [Alexis Svinartchouk]
- Update file-disk to 5.0.0 [Alexis Svinartchouk]
- Don't require chalk in utils.coffee #41 [Alexis Svinartchouk]
- Only require
fatfs
when it's needed. #39 [Pagan Gazzard]
- Change the way we try to identify filesystems #38 [Theodor Gherzan]
- Update ext2fs to 1.0.4 #37 [Theodor Gherzan]
- Update file-disk, partitioninfo and node-ext2fs #36 [Alexis Svinartchouk]
- Don't version built files #36 [Alexis Svinartchouk]
- Update lodash to v4 #36 [Alexis Svinartchouk]
- Throw an error when partition == 0, fix docs. #34 [Alexis Svinartchouk]
- Refactor read stream logic to improve clarity & error handling #32 [Tim Perry]
- Update Bluebird to v3 #32 [Tim Perry]
- Upgrade partitioninfo so we can read GPT partition tables too #31 [Tim Perry]
- Upgrade to new ext2fs with prebuilt packages available #31 [Tim Perry]
- Make errors on read streams safe, by delaying read until someone is attached
- Fixed creating files in ext partitions with paths that do not start with '/'.
- All methods that take a partition as a parameter now expect the partition number instead of {primary: X, logical: Y}.
- Support for ext2, ext3 and ext4 filesystems.
imagefs.interact(disk, partition)
returns a disposer of a node fs like interface. Sync methods are not supported.
imagefs.listDirectory()
lists all files, including those that start with a dot.imagefs.write
,imagefs.copy
andimagefs.replace
now return aPromise
instead of aPromise<WriteStream>
.imagefs.read
now returns adisposer<ReadStream>
instead of aPromise<ReadStream>
.- All methods now accept
filedisk.Disk
instances as well as image paths.
- Logical partitions are now correctly handled.
- Implement
imagefs.listDirectory()
.
- Implement
imagefs.readFile()
. - Implement
imagefs.writeFile()
.
- Reduce package size by omitting tests in NPM.
- Close drive file descriptor after any operation.
- Implement
imagefs.replace()
function.
- Fix documentation issues.
- FAT file touch workaround before write.
- Use object path definitions instead of
image:(partition):/path
device paths.
- Local file read/write support.