balena-image-fs
Version:
Image filesystem manipulation utilities
379 lines (217 loc) • 8.45 kB
Markdown
# Change Log
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](http://semver.org/).
## 7.6.19 - 2026-06-24
* Update to typescript v6 [joshbwlng]
## 7.6.18 - 2026-06-24
* Pin dependency tmp to 0.2.7 [balena-renovate[bot]]
## 7.6.17 - 2026-06-13
* Pin dependencies [balena-renovate[bot]]
## 7.6.16 - 2026-03-26
* Revert flowzone pinning to master [Kyle Harding]
## 7.6.15 - 2026-03-26
* Update product-os/flowzone digest to 8ea01d3 [balena-renovate[bot]]
## 7.6.14 - 2026-03-26
* Update product-os/flowzone digest to 3eb3c97 [balena-renovate[bot]]
## 7.6.13 - 2026-03-26
* Update product-os/flowzone digest to 7b49c1e [balena-renovate[bot]]
## 7.6.12 - 2026-03-26
* Update product-os/flowzone digest to 8d926e2 [balena-renovate[bot]]
## 7.6.11 - 2026-03-26
* Update product-os/flowzone digest to 7b1359d [balena-renovate[bot]]
## 7.6.10 - 2026-03-26
* Update product-os/flowzone digest to 7b87702 [balena-renovate[bot]]
## 7.6.9 - 2026-03-26
* Update product-os/flowzone digest to cc9836f [balena-renovate[bot]]
## 7.6.8 - 2026-03-26
* Update product-os/flowzone digest to b79645a [balena-renovate[bot]]
## 7.6.7 - 2026-03-26
* Update product-os/flowzone digest to 4815186 [balena-renovate[bot]]
## 7.6.6 - 2026-03-26
* Update product-os/flowzone digest to 267495d [balena-renovate[bot]]
## 7.6.5 - 2026-03-25
* Update product-os/flowzone digest to f955793 [balena-renovate[bot]]
## 7.6.4 - 2026-03-25
* Update product-os/flowzone digest to 8674dc5 [balena-renovate[bot]]
## 7.6.3 - 2026-03-25
* Update product-os/flowzone digest to eb703ea [balena-renovate[bot]]
* Update product-os/flowzone digest to 54776e8 [balena-renovate[bot]]
## 7.6.2 - 2026-03-24
* Pin product-os/flowzone action to a53cf4b [balena-renovate[bot]]
## 7.6.1 - 2026-02-19
* Add id-token: write permission for NPM OIDC publishing [Kyle Harding]
## 7.6.0 - 2026-01-13
* Add `explorePartition` function for exploring partitions of an image [Matthew Yarmolinsky]
## 7.5.3 - 2025-04-09
* Update dependency mocha to v11 [balena-renovate[bot]]
## 7.5.2 - 2025-04-02
* Update dependency jsdoc-to-markdown to v9 [balena-renovate[bot]]
## 7.5.1 - 2025-03-26
* Update @balena/lint to v9 [Thodoris Greasidis]
* Remove the no longer needed gpt detection helper [Thodoris Greasidis]
* Update TypeScript to 5.8.2 [Thodoris Greasidis]
* Drop the package-lock.json [Thodoris Greasidis]
## 7.5.0 - 2025-03-26
* Add function to find a partition by name/label [Ken Bannister]
## 7.4.1 - 2025-02-21
* bump ext2fs to 4.2.4 [Ryan Cooke]
## 7.4.0 - 2025-01-27
* Add getLabel() to retrieve filesystem label [Ken Bannister]
## 7.3.0 - 2025-01-06
* 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]
## 7.2.2 - 2024-01-02
* Update dependency @types/node to v20 [Self-hosted Renovate Bot]
## 7.2.1 - 2023-12-19
* Remove repo config from flowzone.yml [Kyle Harding]
## 7.2.0 - 2023-01-20
* Add support for Node 18 [Akis Kesoglou]
## 7.1.2 - 2023-01-05
* Update dependencies [ab77]
## 7.1.1 - 2022-12-20
* Update dependency jsdoc-to-markdown to 8.0.0 [Renovate Bot]
## 7.1.0 - 2022-12-13
* update dependencies [Zane Hitchcox]
## 7.0.6 - 2020-12-02
<details>
<summary> Update ext2fs from 3.0.4 to 3.0.5 [Alexis Svinartchouk] </summary>
> ### node-ext2fs-3.0.5 - 2020-12-02
>
> * Fix reading and discarding with offsets > 32 bits [Alexis Svinartchouk]
>
</details>
## 7.0.5 - 2020-11-27
<details>
<summary> Update file-disk from 8.0.0 to 8.0.1 [Alexis Svinartchouk] </summary>
> ### file-disk-8.0.1 - 2020-11-26
>
> * Add versionbot changelog [Alexis Svinartchouk]
>
</details>
<details>
<summary> Update ext2fs from 3.0.3 to 3.0.4 [Alexis Svinartchouk] </summary>
> ### node-ext2fs-3.0.4 - 2020-11-26
>
> * Add versionbot changelog [Alexis Svinartchouk]
>
</details>
<details>
<summary> Update partitioninfo from 6.0.1 to 6.0.2 [Alexis Svinartchouk] </summary>
> ### partitioninfo-6.0.2 - 2020-11-27
>
>
> <details>
> <summary> Update file-disk from 8.0.0 to 8.0.1 [Alexis Svinartchouk] </summary>
>
>> #### file-disk-8.0.1 - 2020-11-26
>>
>> * Add versionbot changelog [Alexis Svinartchouk]
>>
> </details>
>
> * Add versionbot changelog [Alexis Svinartchouk]
>
</details>
* Add versionbot changelog [Alexis Svinartchouk]
# v7.0.4
## (2020-11-05)
* Update ext2fs to ^3.0.3 [Alexis Svinartchouk]
# v7.0.3
## (2020-10-27)
* Try fat before ext in interact [Alexis Svinartchouk]
# v7.0.2
## (2020-09-03)
* Fix wrong error being thrown for fat partition errors [Alexis Svinartchouk]
# v7.0.1
## (2020-08-04)
* Add .versionbot/CHANGELOG.yml for nested changelogs [Pagan Gazzard]
# v7.0.0
## (2020-07-30)
* 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]
# v6.0.0
## (2020-07-24)
* Update file-disk to ^7 [Alexis Svinartchouk]
## 5.0.9 - 2020-03-02
* Update dev dependencies [Pagan Gazzard]
## 5.0.8 - 2019-05-06
* Add bump node-ext2fs ^1.0.28 and and support/CI testing for Node 12/10 [Gergely Imreh]
## 5.0.7 - 2019-04-04
* Update file-disk to ^6.0.0 [Alexis Svinartchouk]
* Update jsdoc-to-markdown [Alexis Svinartchouk]
## 5.0.6 - 2019-01-14
* Update partitioninfo to ^5.2.0 [Alexis Svinartchouk]
## 5.0.5 - 2018-11-29
* Update file-disk to 5.0.0 [Alexis Svinartchouk]
## v5.0.4 - 2018-05-01
* Don't require chalk in utils.coffee #41 [Alexis Svinartchouk]
## v5.0.3 - 2018-04-30
* Only require `fatfs` when it's needed. #39 [Pagan Gazzard]
## v5.0.2 - 2018-04-25
* Change the way we try to identify filesystems #38 [Theodor Gherzan]
## v5.0.1 - 2018-04-25
* Update ext2fs to 1.0.4 #37 [Theodor Gherzan]
## v5.0.0 - 2018-03-30
* 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]
## v4.1.2 - 2018-01-25
* Throw an error when partition == 0, fix docs. #34 [Alexis Svinartchouk]
## v4.1.1 - 2017-12-11
* Refactor read stream logic to improve clarity & error handling #32 [Tim Perry]
* Update Bluebird to v3 #32 [Tim Perry]
## v4.1.0 - 2017-11-21
* Upgrade partitioninfo so we can read GPT partition tables too #31 [Tim Perry]
* Upgrade to new ext2fs with prebuilt packages available #31 [Tim Perry]
## v4.0.2 - 2017-10-18
### Fixed
- Make errors on read streams safe, by delaying read until someone is attached
## v4.0.1 - 2017-06-23
### Fixed
- Fixed creating files in ext partitions with paths that do not start with '/'.
## v4.0.0 - 2017-06-19
### Changed
- All methods that take a partition as a parameter now expect the partition number instead of {primary: X, logical: Y}.
## v3.0.0 - 2017-06-16
### Added
- 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.
### Changed
- `imagefs.listDirectory()` lists all files, including those that start with a dot.
- `imagefs.write`, `imagefs.copy` and `imagefs.replace` now return a `Promise` instead of a `Promise<WriteStream>`.
- `imagefs.read` now returns a `disposer<ReadStream>` instead of a `Promise<ReadStream>`.
- All methods now accept `filedisk.Disk` instances as well as image paths.
### Fixed
- Logical partitions are now correctly handled.
## v2.3.0 - 2016-10-05
### Added
- Implement `imagefs.listDirectory()`.
## v2.2.0 - 2016-10-03
### Added
- Implement `imagefs.readFile()`.
- Implement `imagefs.writeFile()`.
## v2.1.2 - 2015-12-04
### Changed
- Reduce package size by omitting tests in NPM.
## v2.1.1 - 2015-10-13
### Changed
- Close drive file descriptor after any operation.
## v2.1.0 - 2015-07-28
### Added
- Implement `imagefs.replace()` function.
## v2.0.1 - 2015-07-27
### Changed
- Fix documentation issues.
### Removed
- FAT file touch workaround before write.
## v2.0.0 - 2015-07-23
### Changed
- Use object path definitions instead of `image:(partition):/path` device paths.
### Removed
- Local file read/write support.