<a name="2.0.0"></a>
# [2.0.0](https://github.com/alanshaw/it-length-prefixed/compare/v1.1.0...v2.0.0) (2019-09-26)



<a name="1.1.0"></a>
# [1.1.0](https://github.com/alanshaw/it-length-prefixed/compare/v1.0.0...v1.1.0) (2019-08-13)


### Features

* encode single and optional decode onLength/onData callbacks ([#1](https://github.com/alanshaw/it-length-prefixed/issues/1)) ([ce68bc8](https://github.com/alanshaw/it-length-prefixed/commit/ce68bc8))



<a name="1.0.0"></a>
# 1.0.0 (2019-05-07)


### Bug Fixes

* badgers ([d2cec17](https://github.com/alanshaw/it-length-prefixed/commit/d2cec17))
* decode and add test ([987f8f6](https://github.com/alanshaw/it-length-prefixed/commit/987f8f6))
* decode fixes and e2e tests ([d4020df](https://github.com/alanshaw/it-length-prefixed/commit/d4020df))
* do not slice on bufer and data length equal ([3def7c8](https://github.com/alanshaw/it-length-prefixed/commit/3def7c8))
* fixes and tests ([a26c5e8](https://github.com/alanshaw/it-length-prefixed/commit/a26c5e8))
* more fix badgers ([7bbfc93](https://github.com/alanshaw/it-length-prefixed/commit/7bbfc93))
* properly handle backpressure ([cf47d04](https://github.com/alanshaw/it-length-prefixed/commit/cf47d04))
* sync streams and empty streams ([33e3a64](https://github.com/alanshaw/it-length-prefixed/commit/33e3a64))
* use default max length properly ([182f3ed](https://github.com/alanshaw/it-length-prefixed/commit/182f3ed))


### Features

* add fixed prefix length as an option ([c93f850](https://github.com/alanshaw/it-length-prefixed/commit/c93f850))
* add maxLength to allow controlling max buffer length during decode ([7810ade](https://github.com/alanshaw/it-length-prefixed/commit/7810ade))
* encode + tests ([d5f6d03](https://github.com/alanshaw/it-length-prefixed/commit/d5f6d03))
* improve tests and guards for failure cases ([2c43d59](https://github.com/alanshaw/it-length-prefixed/commit/2c43d59))
* maybe this decode function will work ([3c0efc7](https://github.com/alanshaw/it-length-prefixed/commit/3c0efc7))
* **decode:** add decodeFromReader method ([729dc2e](https://github.com/alanshaw/it-length-prefixed/commit/729dc2e))



