Packages

@noble/hashes

2.4.0 · 27 Aug 2026MIT155.8M / weekRepositoryHomepagenpmAtom feed

Upgrading @noble/hashes From 1.1.0 to 2.4.0

23 releases in betweenevery note read

Reading releases, release notes and advisories…

Other targets from 1.1.0Newest 1.x1.8.0
  1. 1.1.0yours
  2. 1.1.1breaking
  3. 13 releases
  4. 1.7.0breaking
  5. 3 releases
  6. 2.0.0major
  7. 3 releases
  8. 2.4.0target

Before you upgrade

Tick each one off as you go
  • Breaking1.7.0
  • Breaking1.1.1
  • Deprecated1.8.0
  • Deprecated1.8.0
  • Deprecated1.8.0
  • Deprecated1.8.0
  • Deprecated1.8.0
  • Deprecated1.8.0
  • Deprecated1.8.0

Security

  • Protect passed options against mutation / pollution

    2.4.0
  • keccakprg: Fail until entropy is added

    2.4.0
  • webcrypto: Reject output sizes which crashed engine

    2.4.0
  • blake3: Fix tree merging for multi-terabyte streams

    2.4.0
  • Improve zeroization

    2.4.0

Release by release

  1. 2.4.0

    Security fix27 Aug 2026
    • Security

      Protect passed options against mutation / pollution

    • Security

      keccakprg: Fail until entropy is added

    • Security

      webcrypto: Reject output sizes which crashed engine

    • Security

      blake3: Fix tree merging for multi-terabyte streams

    • Security

      Improve zeroization

  2. 2.3.0nothing new or fixed in the note

  3. 2.2.0

    11 Apr 20261 new · 2 fixes
    • New

      Add massive amounts of documentation everywhere

    • Fixed

      Fix all Byte Array types, to ensure proper work in both TypeScript 5.6 & TypeScript 5.9+

    • Fixed

      Fix compilation issues on TypeScript v6

  4. 2.0.1

    22 Sep 20251 fix
    • Fixed

      scrypt: Fix error message for maxmem check

  5. 2.0.0nothing new or fixed in the note

  6. 1.8.0

    Deprecation21 Apr 2025
    • Deprecated

      sha256 became sha2 (which already existed for several releases)

    • Deprecated

      sha512 became sha2

    • Deprecated

      _assert became utils

    • Deprecated

      blake2b became blake2

    • Deprecated

      blake2s became blake2

    • Deprecated

      ripemd160 became legacy (to signify its low security level 2^80)

    • Deprecated

      sha1 became legacy

  7. 1.7.2

    14 Apr 20251 new
    • New

      legacy: New module, with md5 hash

  8. 1.7.1

    18 Jan 20251 new
    • New

      Implement blake1 (sha3 proposal)

53 other lines we could not sort, mostly version bumps
  • +10-45% 32b inputs across all hashes

    2.3.0
  • +40% SHA-3 / SHAKE, +50% 1mb KT128 / KT256 / TurboSHAKE, +20% kmac

    2.3.0
  • 2.2x argon

    2.3.0
  • +20% pbkdf2 and hkdf

    2.3.0
  • Better error messages and stricter type checks everywhere

    2.3.0
  • blake2.compress renamed to _compress (marked internal).

    2.3.0
  • Reduce on-disk unpacked size 869kb → 665kb (-204kb) by disabling source maps (they became less relevant).

    2.3.0
  • March 2026 self-audit (all files): no major issues found

    2.2.0
  • sha3: speed-up by up to 50%. Contributed

    2.2.0
  • Make package Big Endian friendly. All tests pass on s390x

    2.2.0

6 internal lines (docs, tests, tooling) left out.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.