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

## 6.0.3 - 2022-05-16

* Update dev dependencies [Zane Hitchcox]

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

# v6.0.1
## (2020-07-27)

* Nothing [Alexis Svinartchouk]
* Resin.io -> balena.io [Alexis Svinartchouk]
* Remove bluebird dependency, update file-disk [Alexis Svinartchouk]

# v6.0.0
## (2020-07-24)

* Target es2018 [Alexis Svinartchouk]
* Update file-disk to ^7.0.1 [Alexis Svinartchouk]

# v5.3.6
## (2020-07-14)

* Don't version generated files [Alexis Svinartchouk]
* Use tslib [Alexis Svinartchouk]
* Use strict typescript flag [Alexis Svinartchouk]
* Update dependencies [Alexis Svinartchouk]

# v5.3.5
## (2020-06-22)

* Run travis tests with node 10 and 12 [Alexis Svinartchouk]
* Remove appveyor link [Alexis Svinartchouk]
* Remove gitter link [Alexis Svinartchouk]
* Rename resin -> balena [Alexis Svinartchouk]
* Update resin-lint to @balena/lint [Alexis Svinartchouk]
* Fix GPT detection when the protective MBR has more than one partition [Alexis Svinartchouk]
* Add @types/bluebird to dev dependencies [Alexis Svinartchouk]

## 5.3.4 - 2019-04-17

* Switch back to the original node-gpt [Alexis Svinartchouk]

## 5.3.3 - 2019-04-16

* Use balena-io-module's node-gpt [Alexis Svinartchouk]

## 5.3.2 - 2019-04-04

* Update file-disk to ^6.0.0 [Alexis Svinartchouk]
* Update README [Alexis Svinartchouk]

## 5.3.1 - 2019-03-21

* Update resin-lint to ^3.0.1 [Alexis Svinartchouk]

## 5.3.0 - 2019-01-16

* Include guid and name for gpt partitions [Alexis Svinartchouk]

## 5.2.0 - 2019-01-14

* Detect gpt partition tables at different offsets [Alexis Svinartchouk]

## 5.1.0 - 2018-12-21

* Get and getPartitions now accept Buffers as first parameter [Alexis Svinartchouk]

## 5.0.0 - 2018-12-21

* Switch to typescript [Alexis Svinartchouk]

## 4.0.3 - 2018-11-29

* Change licence to Apache 2 [Alexis Svinartchouk]
* Update file-disk to 5.0.0 [Alexis Svinartchouk]

## v4.0.2 - 2018-07-06

* Update node-mbr to 1.1.3 #34 [Alexis Svinartchouk]

## v4.0.1 - 2018-06-08

* Update gpt to 2.0.0 #33 [Alexis Svinartchouk]

## v4.0.0 - 2018-03-27

* Only test with node 6 and 8 #32 [Alexis Svinartchouk]
* Update file-disk to v4.1.1 #32 [Alexis Svinartchouk]
* Lint with resin-lint, don't publish .coffee files #32 [Alexis Svinartchouk]

## v3.0.1 - 2018-02-09

* Fix get(disk, index) for logical partitions that are inside an extended partition with LBA #30 [Alexis Svinartchouk]

## v3.0.0 - 2017-10-10

* Support GPT partition tables #28 [Alexis Svinartchouk]

## v2.2.1 - 2017-10-09

* Update built js files and README #27 [Alexis Svinartchouk]

## v2.2.0 - 2017-10-09

* Add index property to each returned partition #24 [Alexis Svinartchouk]

## v2.1.0 - 2017-07-25

### Added

- getPartitions now accepts an optional `includeExtended` argument (default true)

### Changed

- Fixed `get()` and `getPartitions()` behaviour when the extended partition is not the last one


## v2.0.1 - 2017-06-23

### Changed

- Updated file-disk to ^1.0.1

## v2.0.0 - 2017-06-19

### Changed

- Use the partition number instead of {primary: X, logical: Y}, like Linux's /dev/sdaX

## v1.3.0 - 2017-06-09

### Changed

- Fix logical partitions listing.

## v1.2.0 - 2017-06-02

### Changed

- Accept `filedisk.Disk` instances as well as file paths.
- `partitioninfo.get` result includes the partition type.

## v1.1.1 - 2015-04-10

### Changed

- Remove unnecessary write fs open flag.

## v1.1.0 - 2015-04-04

### Added

- Implement `.getPartitions()`.

## v1.0.2 - 2015-11-24

### Changed

- Upgrade `tmp` to v0.0.28.

## v1.0.1 - 2015-07-27

### Changed

- Add `lodash` to the dependencies list.
