# 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/).

# 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.
