2025-11-05 17:04:23 -03:00

167 lines
11 KiB
Markdown

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v3.1.2](https://github.com/browserify/hash-base/compare/v3.1.1...v3.1.2) - 2025-09-22
### Commits
- [fix] package already works in node 0.8 [`1c19201`](https://github.com/browserify/hash-base/commit/1c1920112ef4baa65085b08ada90b4d0a83b69f2)
- [Dev Deps] add missing peer dep [`7ac34b6`](https://github.com/browserify/hash-base/commit/7ac34b6011fb02b7a8261ee35f01fe8828218dda)
## [v3.1.1](https://github.com/browserify/hash-base/compare/v3.1.0...v3.1.1) - 2025-09-22
### Commits
- [eslint] switch to eslint [`d63bf3b`](https://github.com/browserify/hash-base/commit/d63bf3b65c911e0de091918b7d331c6cf413567e)
- [meta] add `auto-changelog` [`b2c7408`](https://github.com/browserify/hash-base/commit/b2c74084f744d090a1c59d2f8326a639409281f2)
- [Tests] avoid tape-mutating beforeEach nonsense [`bb1f9b6`](https://github.com/browserify/hash-base/commit/bb1f9b6492acd97fd02acca575dcb334888b6fbb)
- [Tests] avoid tape-mutating beforeEach nonsense [`ae228cd`](https://github.com/browserify/hash-base/commit/ae228cd0e9421fcca4c7e9e41b5451fa7ad74c73)
- [readme] clean up formatting [`fd5cb3d`](https://github.com/browserify/hash-base/commit/fd5cb3d73a9be7617b6af647dd775ede7f5dab24)
- [readme] clean up formatting [`a13ed61`](https://github.com/browserify/hash-base/commit/a13ed61331879e342435e71569a49061fdf1889c)
- [Tests] migrate from travis to GHA [`9e2c04c`](https://github.com/browserify/hash-base/commit/9e2c04c435c25363fbe1f1fea8b32390f3f623b7)
- [Tests] migrate from travis to GHA [`31766d4`](https://github.com/browserify/hash-base/commit/31766d413a21e534c96e6e562174f74b3d0368ca)
- [Fix] return valid values on multi-byte-wide TypedArray input [`1af18ee`](https://github.com/browserify/hash-base/commit/1af18ee40d747bc177fba2cb89b4e937e3bd0724)
- [Refactor] use `to-buffer` [`41d738b`](https://github.com/browserify/hash-base/commit/41d738bca2c5fa97c09bed9cdc7b2f3d8f1f9958)
- [Dev Deps] update `tape`, downgrade `nyc`, clean up scripts [`13d373c`](https://github.com/browserify/hash-base/commit/13d373c1b06ed0a20db0fe158def49a7abf6a85b)
- [Dev Deps] update `tape`, downgrade `nyc`, clean up scripts [`84f4fab`](https://github.com/browserify/hash-base/commit/84f4fab691c35591f44b1781311de10fc6f76b16)
- [meta] use `npmignore` [`ecdd9a3`](https://github.com/browserify/hash-base/commit/ecdd9a312e26f81d6a84256d8bcdbf4427f84490)
- Merge tag 'v3.0.5' [`d59c766`](https://github.com/browserify/hash-base/commit/d59c766986d962868457d05299fe111323dedd6f)
- Only apps should have lockfiles [`de3ce83`](https://github.com/browserify/hash-base/commit/de3ce831c7f61a2ca3448f639d7b8ebe6b7b27ab)
- Only apps should have lockfiles [`05b7504`](https://github.com/browserify/hash-base/commit/05b7504d4038fdf380e5c3227ee0719df12f5bda)
- [Deps] update `inherits`, `safe-buffer` [`2b8687d`](https://github.com/browserify/hash-base/commit/2b8687d89f8e9de6c21bc277b147e76507ba74a6)
- [Deps] update `safe-buffer`; downgrade `readable-stream` [`523da5d`](https://github.com/browserify/hash-base/commit/523da5dbfcef879a5c6967978cd4d39946f20c5a)
- [Tests] clean up linting [`4274b7c`](https://github.com/browserify/hash-base/commit/4274b7cc9608712652e56091efcf5c66151be418)
- [Tests] in node 0.10, Buffer `.fill` returns `undefined` [`0fdfd67`](https://github.com/browserify/hash-base/commit/0fdfd676fc51987e5d93f17858cc0f740b56b6af)
- [Tests] in node 0.10, Buffer `.fill` returns `undefined` [`5d1f911`](https://github.com/browserify/hash-base/commit/5d1f91153a0c8365e970e0f9a4fde2fd901bb446)
- [Fix] restore `engines.node` from 3.0.0 [`8cbfd12`](https://github.com/browserify/hash-base/commit/8cbfd123b307d51b6588718baa2c343dddf13fa4)
- [Fix] restore `engines.node` from 3.0.0 [`b99d8a1`](https://github.com/browserify/hash-base/commit/b99d8a1ce428683c93ac005ea01e48f77ce005db)
- [Tests] use `safe-buffer` in tests, too [`84bdfe9`](https://github.com/browserify/hash-base/commit/84bdfe944f46edbcaffed7b48567faf460f13bb8)
- [Tests] use `safe-buffer` in tests, too [`9182f82`](https://github.com/browserify/hash-base/commit/9182f823b7f365189116a4582fa906f8fb008ab6)
## [v3.1.0](https://github.com/browserify/hash-base/compare/v3.0.5...v3.1.0) - 2020-05-01
### Merged
- Update deps, add readable-stream [`#14`](https://github.com/browserify/hash-base/pull/14)
## [v3.0.5](https://github.com/browserify/hash-base/compare/v3.0.4...v3.0.5) - 2024-11-23
### Commits
- [Tests] avoid tape-mutating beforeEach nonsense [`ae228cd`](https://github.com/browserify/hash-base/commit/ae228cd0e9421fcca4c7e9e41b5451fa7ad74c73)
- [readme] clean up formatting [`a13ed61`](https://github.com/browserify/hash-base/commit/a13ed61331879e342435e71569a49061fdf1889c)
- [Tests] migrate from travis to GHA [`31766d4`](https://github.com/browserify/hash-base/commit/31766d413a21e534c96e6e562174f74b3d0368ca)
- [Fix] return valid values on multi-byte-wide TypedArray input [`1af18ee`](https://github.com/browserify/hash-base/commit/1af18ee40d747bc177fba2cb89b4e937e3bd0724)
- [Dev Deps] update `tape`, downgrade `nyc`, clean up scripts [`13d373c`](https://github.com/browserify/hash-base/commit/13d373c1b06ed0a20db0fe158def49a7abf6a85b)
- Only apps should have lockfiles [`de3ce83`](https://github.com/browserify/hash-base/commit/de3ce831c7f61a2ca3448f639d7b8ebe6b7b27ab)
- [Deps] update `inherits`, `safe-buffer` [`2b8687d`](https://github.com/browserify/hash-base/commit/2b8687d89f8e9de6c21bc277b147e76507ba74a6)
- [Tests] clean up linting [`4274b7c`](https://github.com/browserify/hash-base/commit/4274b7cc9608712652e56091efcf5c66151be418)
- [Tests] in node 0.10, Buffer `.fill` returns `undefined` [`5d1f911`](https://github.com/browserify/hash-base/commit/5d1f91153a0c8365e970e0f9a4fde2fd901bb446)
- [Fix] restore `engines.node` from 3.0.0 [`8cbfd12`](https://github.com/browserify/hash-base/commit/8cbfd123b307d51b6588718baa2c343dddf13fa4)
- [Tests] use `safe-buffer` in tests, too [`9182f82`](https://github.com/browserify/hash-base/commit/9182f823b7f365189116a4582fa906f8fb008ab6)
## [v3.0.4](https://github.com/browserify/hash-base/compare/v3.0.3...v3.0.4) - 2017-05-24
### Merged
- use safe-buffer [`#12`](https://github.com/browserify/hash-base/pull/12)
- Only Node v4 or greater [Buffer only] [`#11`](https://github.com/browserify/hash-base/pull/11)
- Reset state after #_digest [`#10`](https://github.com/browserify/hash-base/pull/10)
### Commits
- Improve tests [`b20d350`](https://github.com/browserify/hash-base/commit/b20d3509f1d3b79f68bd9cd330938ca6472b9aa5)
- Only Node v4 or greater [`8e24ac9`](https://github.com/browserify/hash-base/commit/8e24ac9258a1c9294960ee24820eed7494c38e10)
- Real example in README [`71fc5bb`](https://github.com/browserify/hash-base/commit/71fc5bb4ac98a837bc68a34b58aa668e88031a33)
- Typecheck as function [`867095d`](https://github.com/browserify/hash-base/commit/867095d2d7d369d1c24a44d64bdf403ecb1dd653)
- Reset state after HashBase#_digest [`1a4298c`](https://github.com/browserify/hash-base/commit/1a4298c9401597c5e632b29a653ca88d965ae2b2)
- Update devdependencies [`3b46138`](https://github.com/browserify/hash-base/commit/3b46138ad6779cc7f50b4ab3a4a93c7c84cf9dda)
- Add node7 to travis [`3d29655`](https://github.com/browserify/hash-base/commit/3d29655b7add9008e88f76f4acb5bfe77df7833e)
- Fix example in README [`89cdcd8`](https://github.com/browserify/hash-base/commit/89cdcd885a0473b9b6109d6bf285baba8cbeea3f)
## [v3.0.3](https://github.com/browserify/hash-base/compare/v3.0.2...v3.0.3) - 2016-08-28
### Commits
- Add LICENSE file [`3d998aa`](https://github.com/browserify/hash-base/commit/3d998aaa4e6fbacc86b1b0f28b6fb7a4e4398998)
## [v3.0.2](https://github.com/browserify/hash-base/compare/v3.0.1...v3.0.2) - 2016-08-25
### Commits
- Remove extra check [`bd13db2`](https://github.com/browserify/hash-base/commit/bd13db2156ce1fa56ddfc7931ef034aebf693903)
## [v3.0.1](https://github.com/browserify/hash-base/compare/v3.0.0...v3.0.1) - 2016-08-09
### Merged
- Fix ._flush [`#7`](https://github.com/browserify/hash-base/pull/7)
- Update nyc to version 7.0.0 🚀 [`#6`](https://github.com/browserify/hash-base/pull/6)
### Commits
- Change ._digest to .digest in ._flush [`fdad9ad`](https://github.com/browserify/hash-base/commit/fdad9ad23f9a43f388123667e7ba917100e4fe3a)
- Fix typo in README.md [`13264ec`](https://github.com/browserify/hash-base/commit/13264ec7adf25d68c3ff6a8a9a26f7e57282080f)
- chore(package): update nyc to version 7.0.0 [`2a24e6a`](https://github.com/browserify/hash-base/commit/2a24e6a664bdd693dac080c81a903fb7548a89e4)
## [v3.0.0](https://github.com/browserify/hash-base/compare/v2.0.2...v3.0.0) - 2016-05-04
### Merged
- utf8 as default encoding [`#4`](https://github.com/browserify/hash-base/pull/4)
- Update standard to version 7.0.0 🚀 [`#5`](https://github.com/browserify/hash-base/pull/5)
### Commits
- chore(package): update standard to version 7.0.0 [`0720515`](https://github.com/browserify/hash-base/commit/0720515b0fa865bdbf772ea07a84c13e6f4db717)
## [v2.0.2](https://github.com/browserify/hash-base/compare/v2.0.1...v2.0.2) - 2016-04-17
### Commits
- Add type checking in .update [`96acf4a`](https://github.com/browserify/hash-base/commit/96acf4a5650fceb9dbaaba9873805a5c9d71eb88)
- Normalize encoding in tests (utf-8 to utf8) [`0bb7c88`](https://github.com/browserify/hash-base/commit/0bb7c8871b177230c83ef27523812590a22ad6b4)
## [v2.0.1](https://github.com/browserify/hash-base/compare/v2.0.0...v2.0.1) - 2016-04-14
### Commits
- Use this._block as local variable [`aa8bab9`](https://github.com/browserify/hash-base/commit/aa8bab94e5d2a905c1abd913684fc00ae6db7a69)
- Change Math.floor to |0 [`24f7bb5`](https://github.com/browserify/hash-base/commit/24f7bb573e4b9d2d3a8851fa72ed446a5df05960)
## [v2.0.0](https://github.com/browserify/hash-base/compare/v1.0.2...v2.0.0) - 2016-04-07
### Fixed
- (Closes #3) remove DEFAULT_ENCODING [`#3`](https://github.com/browserify/hash-base/issues/3)
### Commits
- Add blocks handling [`0c8fb67`](https://github.com/browserify/hash-base/commit/0c8fb676e7d15af1fb7d441a7b9d783c17da5d08)
- (#1) rename _initialized to _finalized [`ea3c00f`](https://github.com/browserify/hash-base/commit/ea3c00fdf768f68313e07f1d93652316f94d9de9)
- Fix code style [`964daa5`](https://github.com/browserify/hash-base/commit/964daa56acf87439b229ee4582cc29f4b6f3a722)
- Rename initialised_ to _initialised [`6e458c6`](https://github.com/browserify/hash-base/commit/6e458c69f9cf124758f68a01a8232fc7c3269945)
## [v1.0.2](https://github.com/browserify/hash-base/compare/v1.0.1...v1.0.2) - 2016-04-04
### Commits
- Update should return hash instance [`59fef2b`](https://github.com/browserify/hash-base/commit/59fef2bc3b417aac5563022bcc928d1ae8161ee9)
## [v1.0.1](https://github.com/browserify/hash-base/compare/v1.0.0...v1.0.1) - 2016-04-04
### Commits
- Throw error on second call digest [`f0b4caf`](https://github.com/browserify/hash-base/commit/f0b4cafb0a87e8bd3c22a6a3b31e323926dc4e63)
- Update README.md [`6ca4555`](https://github.com/browserify/hash-base/commit/6ca4555d3be194f31725ebf21569d759e0bb9b74)
## v1.0.0 - 2016-04-03
### Commits
- Initial commit [`e315bd2`](https://github.com/browserify/hash-base/commit/e315bd2c5c9e98ecac9a45bb5af1c38d87c3bc47)