Skip to content

deps(deps-dev): bump bitcoinjs-lib from 6.1.7 to 7.0.1#736

Open
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/bitcoinjs-lib-7.0.1
Open

deps(deps-dev): bump bitcoinjs-lib from 6.1.7 to 7.0.1#736
dependabot[bot] wants to merge 1 commit into
devfrom
dependabot/npm_and_yarn/bitcoinjs-lib-7.0.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 5, 2026

Bumps bitcoinjs-lib from 6.1.7 to 7.0.1.

Changelog

Sourced from bitcoinjs-lib's changelog.

7.0.1

added

  • crypto: Restore ripemd160, sha1, and sha256 hash helpers (#2248)
  • p2ms: Support up to 20 public keys for n-of-20 multisig (previously capped at 16). This is relevant for P2WSH-wrapped multisig where the P2SH script-size limit does not apply. (#2297)

fixed

  • psbt: Remove unnecessary tapInternalKey check for signature validation of taproot inputs (#2270)
  • Bump valibot dependency (#2308)

7.0.0

breaking

  • Buffer → Uint8Array: All public APIs now use standard Uint8Array instead of Node.js Buffer. This affects all payment types, Transaction, Psbt, Block, and script modules. Buffer (a Uint8Array subclass) is still accepted as input, but return types are now Uint8Array. (#2161)
  • Transaction values: number → bigint: Transaction.Output.value changed from number to bigint. Psbt output values, Psbt.getFee(), and witnessUtxo.value are all bigint now. Update your code: value: 10000value: BigInt(10000) or value: 10000n.
  • typeforce → valibot: Runtime type validation switched from typeforce to valibot. All typeforce re-exports removed (Buffer256bit, Hash160bit, Hash256bit, Number, Array, Boolean, String, Buffer, Hex, UInt8, UInt32, BufferN, Null, oneOf, maybe, tuple, Function, Satoshi). Replaced by valibot schemas (Buffer256bitSchema, Hash160bitSchema, Hash256bitSchema, BufferSchema, HexSchema, UInt8Schema, UInt32Schema, SatoshiSchema, NBufferSchemaFactory).
  • ESM support: Package is now dual CJS/ESM. Added "type": "module" and exports field in package.json. CJS files use .cjs extension. Internal import paths now require .js extension.
  • Node.js ≥ 18 required: Minimum Node.js version bumped from 8 to 18.
  • Dependency major bumps: bip174 2.x → 3.x, bs58check 3.x → 4.x, varuint-bitcoin 1.x → 2.x.

added

  • uint8array-tools dependency for cross-platform Uint8Array utilities
  • valibot dependency for runtime type validation
  • toXOnly exported from psbt/bip371
  • Taproot multisig with verified unspendable internalPubkey example
  • Better error message when signing a transaction without outputs

changed

  • Coverage tooling switched from nyc to c8
  • TypeScript execution switched from ts-node to tsx
  • Fix tx version read/write to use uint32 instead of int32

fixed

  • Fix multisig taproot example's provable nonce calculation
  • Various typo fixes
Commits
  • dc7f067 7.0.1
  • 3619e35 Bump valibot
  • e4280e2 Merge pull request #2248 from landabaso/feat/restore-hash-helpers
  • dc1dbc6 Merge branch 'master' into feat/restore-hash-helpers
  • 99bb080 Merge pull request #2297 from landabaso/feat/p2ms-20-keys
  • 48d1e53 feat(crypto): restore ripemd160, sha1 and sha256 hash helpers
  • 16f1bac p2ms: support up to 20 keys
  • 13aea8c Removed unnecessary check for tapInternalKey for signature validations of tap...
  • c151d53 Merge pull request #2264 from bitcoinjs/bump-ver
  • 18b1c22 7.0.0
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bitcoinjs-lib](https://github.com/bitcoinjs/bitcoinjs-lib) from 6.1.7 to 7.0.1.
- [Changelog](https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/CHANGELOG.md)
- [Commits](bitcoinjs/bitcoinjs-lib@v6.1.7...v7.0.1)

---
updated-dependencies:
- dependency-name: bitcoinjs-lib
  dependency-version: 7.0.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label May 5, 2026
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6b6a9fd16e

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread packages/sdk/package.json
"bip32": "^4.0.0",
"bip39": "^3.1.0",
"bitcoinjs-lib": "6.1.7",
"bitcoinjs-lib": "7.0.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid upgrading bitcoinjs-lib before bigint migration

Bumping bitcoinjs-lib to 7.0.1 introduces a breaking runtime API change (Transaction output values are now bigint), but this repo’s BTC test helpers still build transactions with numeric values (e.g. _start_tx_builder in packages/sdk/src/__test__/utils/helpers.ts calls tx.addOutput(..., value) and tx.addOutput(..., changeValue) where both are numbers). With this version bump, those code paths will throw during BTC signing/address tests instead of producing reference transactions, so CI/test workflows that exercise these helpers will regress until values are converted to bigint.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants