# bnid ChangeLog

## 5.0.0 - 2026-05-24

### Changed
- Bump `base-x` dependency to latest (v5.0.0).

## 4.0.0 - 2025-05-16

### Changed
- **BREAKING**: Convert to Typescript (still also exports Javascript).

## 3.0.1 - 2024-01-23

### Changed
- Replace `@digitalcredentials/base58-universal` with `base-x` dependency.

## 3.0.0 - 2024-01-23

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

## 2.1.2 - 2022-01-28

### Changed
- Fix Rollup config for React Native.

## 2.1.1 - 2022-01-26

### Changed
- Remove runtime `esm` transpiler usage, add support for Typescript
  and React Native.

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