Skip to content

Bump @noble/secp256k1 from 2.2.3 to 3.1.0#390

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/noble/secp256k1-3.0.0
Open

Bump @noble/secp256k1 from 2.2.3 to 3.1.0#390
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/noble/secp256k1-3.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 10, 2026

Bumps @noble/secp256k1 from 2.2.3 to 3.1.0.

Release notes

Sourced from @​noble/secp256k1's releases.

3.1.0

  • March 2026 self-audit (all files): no major issues found
    • Audited for spec compliance and security
    • General hardening was completed
  • Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+
    • TS 5.6 has Uint8Array, while TS 5.9+ made it generic Uint8Array<ArrayBuffer>
    • This creates incompatibility of code between versions
    • Previously, it was hard to use and constantly emitted errors similar to TS2345
    • See typescript#62240 for more context
  • Fix compilation issues on TypeScript v6
  • Improve tree-shaking, reduce bundle sizes
  • Add massive amounts of documentation everywhere

New Contributors

Full Changelog: paulmillr/noble-secp256k1@3.0.0...3.1.0

3.0.0

v3 brings the package closer to noble-curves v2

  • Add Schnorr signatures
  • Most methods now expect Uint8Array, string hex inputs are prohibited
  • Add keygen method
  • sign, verify: Switch to prehashed messages. Instead of messageHash, the methods now expect unhashed message. To bring back old behavior, use option {prehash: false}
  • sign, verify: Switch to Uint8Array signatures (format: 'compact') by default.
  • verify: recovered format must be explicitly specified in {format: 'recovered'}. This reduces malleability
  • verify: prohibit Signature-instance signature. User must now always do signature.toBytes()
  • Node v20.19 is now the minimum required version
  • Various small changes for types and Point class
  • etc: hashes are now set in hashes object. Also sha256 needs to be set now for prehash: true:
// before
// etc.hmacSha256Sync = (key, ...messages) => hmac(sha256, key, etc.concatBytes(...messages));
// etc.hmacSha256Async = (key, ...messages) => Promise.resolve(etc.hmacSha256Sync(key, ...messages));
// after
hashes.hmacSha256 = (key, msg) => hmac(sha256, key, msg);
hashes.sha256 = sha256;
hashes.hmacSha256Async = async (key, msg) => hmac(sha256, key, msg);
hashes.sha256Async = async (msg) => sha256(msg);

Full Changelog: paulmillr/noble-secp256k1@2.3.0...3.0.0

2.3.0

... (truncated)

Commits
  • f61f685 Release 3.1.0.
  • 30841b9 Minor fixes
  • 943f916 Implement changes as per Mar 2026 audit.
  • f982d7d Bump typescript to 6.0.2
  • 4639c0f Fix tests
  • 7c74a5a Add docs everywhere. Upgrade to ts 6.0-rc, jsbt 0.5. Add pkg.json scripts.
  • 18cf7c0 Merge pull request #141 from Zosoled/bugfix/p-documentation
  • 0f3c1e9 Fix P documentation in .ts
  • 3e1e0ce Merge pull request #140 from Zosoled/bugfix/p-documentation
  • f7cb2dc Fix P documentation
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for @​noble/secp256k1 since your current version.


@dependabot dependabot Bot added dependencies Pull requests that update a dependency file npm security labels Apr 10, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 10, 2026 18:03
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file security npm labels Apr 10, 2026
@dependabot dependabot Bot changed the title Bump @noble/secp256k1 from 2.2.3 to 3.0.0 Bump @noble/secp256k1 from 2.2.3 to 3.1.0 Apr 30, 2026
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/noble/secp256k1-3.0.0 branch from 351cd6b to d4742d5 Compare April 30, 2026 18:55
Bumps [@noble/secp256k1](https://github.com/paulmillr/noble-secp256k1) from 2.2.3 to 3.1.0.
- [Release notes](https://github.com/paulmillr/noble-secp256k1/releases)
- [Commits](paulmillr/noble-secp256k1@2.2.3...3.1.0)

---
updated-dependencies:
- dependency-name: "@noble/secp256k1"
  dependency-version: 3.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/npm_and_yarn/noble/secp256k1-3.0.0 branch from d4742d5 to fa255b4 Compare April 30, 2026 19:40
@sonarqubecloud
Copy link
Copy Markdown

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 npm security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants