@scure/bip32 breaking changes
@scure/bip32 2.4.0 (August 28, 2026) is its newest release with breaking changes, 12 of them. The first: Removed __TESTS. Every breaking API change we have recorded in @scure/bip32 on npm: 16 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 2.4.0, released August 28, 2026. Source repository
Its 2.0.0 release requires Node.js 20.19 or later. Node.js end of life dates.
@scure/bip32 2.4.0 breaking changes
- Removed
__TESTS
__TESTS was removed in @scure/bip32 2.4.0 npmjs.com - Behavior changed
chainCode
chainCode now returns a copy of the buffer rather than the live internal buffer, so code that mutated or relied on the shared buffer must change. github.com - Behavior changed
derive
derive(path) now throws before deriving if the path would exceed the maximum serializable depth of 255. github.com - Behavior changed
deriveChild
deriveChild no longer swallows all errors; only specific errors are retried, and other errors now propagate to the caller. github.com - Behavior changed
fromExtendedKey
fromExtendedKey now throws for checksum-valid payloads that are not exactly 78 bytes, which it previously accepted. github.com - Behavior changed
HDKey
The HDKey constructor now throws RangeError for depth outside 0..255 or non-integer depth, and rejects invalid uint32 index or parentFingerprint and chainCode not exactly 32 bytes. github.com - Behavior changed
identifier
identifier now returns a copy of the buffer rather than the live internal buffer, so code that mutated or relied on the shared buffer must change. github.com - Behavior changed
privateKey
privateKey now returns a copy of the buffer rather than the live internal buffer, so code that mutated or relied on the shared buffer must change. github.com - Behavior changed
pubKeyHash
pubKeyHash now returns a copy of the buffer rather than the live internal buffer, so code that mutated or relied on the shared buffer must change. github.com - Behavior changed
publicKey
publicKey now returns a copy of the buffer rather than the live internal buffer, so code that mutated or relied on the shared buffer must change. github.com - Signature changed
HDKey.deriveChild
Was deriveChild(index: number, _I?: Uint8Array): HDKey; now deriveChild(index: number): HDKey. npmjs.com - Signature changed
HDKey.fromJSON
Was static fromJSON(json: {xpriv: string;}): HDKey; now static fromJSON(json: {xpriv: string;} | {xpub: string;}): HDKey. npmjs.com
@scure/bip32 2.2.0 breaking changes
- Signature changed
HDKey.deriveChild
Was deriveChild(index: number): HDKey; now deriveChild(index: number, _I?: Uint8Array): HDKey. npmjs.com
@scure/bip32 2.0.0 breaking changes
- Behavior changed
Keys with a depth over 255 are now prohibited to match the BIP32 spec. Code that creates or loads such keys will no longer work. github.com - Behavior changed
The package now ships only as ESM. Code that loads it with CommonJS require must switch to ESM import syntax. github.com - Behavior changed
Node.js v20.19 is now the minimum supported version. Older Node.js versions must be upgraded before using this release. github.com
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.