---
title: "@scure/bip39 2.4.0 Breaking Changes on npm | Since.dev"
description: "What each @scure/bip39 release removed, renamed or changed: 17 breaking changes in 4 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/@scure/bip39
last_updated: 2026-12-04
---

# @scure/bip39 breaking changes

@scure/bip39 2.4.0 (August 28, 2026) is its newest release with breaking changes. The first: Mnemonics and passphrases with unpaired UTF-16 surrogates are now rejected in @scure/bip39 2.4.0. Every breaking API change we have recorded in @scure/bip39 on npm: 17 breaking changes in 4 versions. Below, its 4 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `2.4.0`, released August 28, 2026. [Source repository](https://github.com/paulmillr/scure-bip39)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [2.0.0](#v-2-0-0) to [2.4.0](#v-2-4-0): 8 breaking changes in 3 versions.

## @scure/bip39 2.4.0 breaking changes

@scure/bip39 2.4.0, released August 28, 2026: 1 breaking change.

- **Behavior changed**  

Inputs containing unpaired UTF-16 surrogates, which were accepted before, now throw an error. Normal input is unaffected, but code that passes such strings must sanitize them first. [github.com](https://github.com/paulmillr/scure-bip39/releases/tag/2.4.0)

## @scure/bip39 2.2.0 breaking changes

@scure/bip39 2.2.0, released April 21, 2026: 6 breaking changes.

- **Behavior changed**  

The wordlist arrays are frozen to improve security. Code that mutates these arrays at runtime will now fail, so stop modifying them. [github.com](https://github.com/paulmillr/scure-bip39/releases/tag/2.2.0)
- **Signature changed** `entropyToMnemonic`  

Was function entropyToMnemonic(entropy: Uint8Array, wordlist: string\[\]): string; now function entropyToMnemonic(entropy: TArg\<Uint8Array>, wordlist: string\[\]): string. [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.2.0)
- **Signature changed** `mnemonicToEntropy`  

Was function mnemonicToEntropy(mnemonic: string, wordlist: string\[\]): Uint8Array; now function mnemonicToEntropy(mnemonic: string, wordlist: string\[\]): TRet\<Uint8Array>. [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.2.0)
- **Signature changed** `mnemonicToSeed`  

Was function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise\<Uint8Array>; now function mnemonicToSeed(mnemonic: string, passphrase?: string): Promise\<TRet\<Uint8Array>>. [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.2.0)
- **Signature changed** `mnemonicToSeedSync`  

Was function mnemonicToSeedSync(mnemonic: string, passphrase?: string): Uint8Array; now function mnemonicToSeedSync(mnemonic: string, passphrase?: string): TRet\<Uint8Array>. [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.2.0)
- **Signature changed** `mnemonicToSeedWebcrypto`  

Was function mnemonicToSeedWebcrypto(mnemonic: string, passphrase?: string): Promise\<Uint8Array>; now function mnemonicToSeedWebcrypto(mnemonic: string, passphrase?: string): Promise\<TRet\<Uint8Array>>. [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.2.0)

## @scure/bip39 2.0.1 breaking changes

@scure/bip39 2.0.1, released October 7, 2025: 1 breaking change.

- **Renamed** `@scure.bip39.wordlists.english`  

Imports of submodules without the .js extension, such as wordlists/english, must be changed to include .js, for example wordlists/english.js. [github.com](https://github.com/paulmillr/scure-bip39/releases/tag/2.0.1)

## @scure/bip39 2.0.0 breaking changes

@scure/bip39 2.0.0, released August 25, 2025: 9 breaking changes.

- **Removed** `index:entropyToMnemonic`  

entropyToMnemonic was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Removed** `index:generateMnemonic`  

generateMnemonic was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Removed** `index:mnemonicToEntropy`  

mnemonicToEntropy was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Removed** `index:mnemonicToSeed`  

mnemonicToSeed was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Removed** `index:mnemonicToSeedSync`  

mnemonicToSeedSync was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Removed** `index:validateMnemonic`  

validateMnemonic was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Removed** `wordlists/czech:wordlist`  

wordlist was removed in @scure/bip39 2.0.0 [npmjs.com](https://www.npmjs.com/package/@scure/bip39/v/2.0.0)
- **Behavior changed**  

The underlying noble cryptography dependencies were upgraded to v2, which may change behavior for users relying on them directly. [github.com](https://github.com/paulmillr/scure-bip39/releases/tag/2.0.0)
- **Behavior changed**  

The package no longer ships CommonJS; users must load it as ESM. Node v20.19 is now the minimum required version. [github.com](https://github.com/paulmillr/scure-bip39/releases/tag/2.0.0)

## Related packages

- [@scure/base](https://since.dev/packages/npm/@scure/base.md)
- [@scure/bip32](https://since.dev/packages/npm/@scure/bip32.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
