# bnid ChangeLog

## 3.0.0 - 2022-05-13

### Removed
- **BREAKING**: Move command line client into
  [`bnid-cli`](https://github.com/digitalbazaar/bnid-cli). The primary reason
  is to reduce `bnid` dependencies.

### Changed
- **BREAKING**: Convert to module (ESM).
- **BREAKING**: Require Node.js >=14.
- **BREAKING**: Browser support requires `crypto.getRandomValues()`.
- Update dependencies.
- Lint module.

## 2.1.0 - 2021-11-18

### Added
- Add `generateSecretKeySeed()` and `decodeSecretKeySeed()`.
- Add `multihash` boolean parameter to IdEncoder and IdDecoder. A
  multihash-encoded identifier will use the `identity` multicodec tag (`0x00`).
  Using multihash has the advantage of including the size of the identifier
  which can then be verified to have not changed when decoding.
- Add `expectedSize` optional parameter to IdDecoder for multihash-encoded ID
  bytes. (default: 32).

## 2.0.0 - 2020-05-22

### Changed
- **BREAKING**: `multibase` now defaults to `true` for all APIs.
- Remove travis-ci testing in favor of GitHub Actions.

### Added
- Command line tool `bnid`.
- `min/maxEncodedIdBytes` utiltiies. Useful for variable length encodings such
  as `base58`.

## 1.0.0 - 2020-05-07

### Added
- Add core files.

- See git history for changes previous to this release.
