Skip to content

chore(deps): Bump @noble/hashes from 1.4.0 to 1.8.0 - #790

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/noble/hashes-1.8.0
Open

chore(deps): Bump @noble/hashes from 1.4.0 to 1.8.0#790
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/noble/hashes-1.8.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Sep 8, 2026

Copy link
Copy Markdown
Contributor

Bumps @noble/hashes from 1.4.0 to 1.8.0.

Release notes

Sourced from @​noble/hashes's releases.

1.8.0

Preparation for v2

The release contains bugfixes and a few improvements which pave the way for upcoming v2.0.

  • Modules are now available with .js extension
    • Old: @noble/hashes/sha2
    • New: @noble/hashes/sha2.js
    • Old path is still available
    • This simplifies working in browsers natively without transpilers
  • Refactor core functionality, remove duplicate code
  • Decrease package size

Deprecations

In v2, some modules will be removed. For example, sha256 will become sha2. In v1.8, the old names still exist, but are marked as deprecated, to simplify upgrade path.

One of the reasons for moving those was the fact sha384 resided in sha512, sha224 in sha256 - which was confusing. New naming scheme simplifies reasoning and decreases amount of modules.

  • sha256 became sha2 (which already existed for several releases)
  • sha512 became sha2
  • _assert became utils
  • blake2b became blake2
  • blake2s became blake2
  • ripemd160 became legacy (to signify its low security level 2^80)
  • sha1 became legacy

Full Changelog: paulmillr/noble-hashes@1.7.2...1.8.0

1.7.2

  • legacy: new module, with md5 hash
  • sha1: move to legacy, keep old alias until major release
  • utils: randomBytes should ensure Uint8Array output for old node.js versions
  • utils: use built-in Uint8Array toHex / fromHex when available. Gives 13x speed-up on 256b arrays, 20x speed-up on 32kb arrays
  • Typescript source can now be used without compilation in node.js v24, due to erasableSyntaxOnly

Full Changelog: paulmillr/noble-hashes@1.7.1...1.7.2

1.7.1

  • Implement blake1 (sha3 proposal)
  • Use typescript verbatimModuleSyntax to support future node.js type stripping
  • Improve documentation

Full Changelog: paulmillr/noble-hashes@1.7.0...1.7.1

1.7.0

  • The package is now available on JSR.
  • Use isolatedDeclarations typescript option, which massively simplifies documentation auto-gen, and more
    • Check out JSR page for one example
  • Add tons of comments everywhere to improve autocompletion, LLM code gen, and basic code understanding.

... (truncated)

Changelog

Sourced from @​noble/hashes's changelog.

1.8.0 (2025-04-21)

Preparation for version 2

This release contains fixes and improvements that pave the way for version 2.

  • Made modules available with a .js extension.
    • Old: @noble/hashes/sha2.
    • New: @noble/hashes/sha2.js.
    • The old path remains available.
    • This simplifies native browser use without transpilers.
  • Refactored core functionality and removed duplicate code.
  • Reduced package size.

Deprecations

Several modules were renamed for clearer grouping. The old names remain available but deprecated to ease migration:

  • sha256 and sha512sha2.
  • _assertutils.
  • blake2b and blake2sblake2.
  • ripemd160 and sha1legacy.

1.7.2 (2025-04-14)

  • Added an MD5 implementation to the new legacy module.
  • Moved SHA-1 to legacy, retaining the old alias until the next major release.
  • Made randomBytes ensure a Uint8Array result on older Node.js versions.
  • Used built-in Uint8Array.toHex and Uint8Array.fromHex when available, giving a 13× speedup for 256-byte arrays and a 20× speedup for 32 KB arrays.
  • Made the TypeScript source runnable without compilation on Node.js 24 through erasableSyntaxOnly.

1.7.1 (2025-01-18)

  • Implemented BLAKE1, an SHA-3 proposal.
  • Enabled TypeScript verbatimModuleSyntax in preparation for native Node.js type stripping.
  • Improved documentation.

1.7.0 (2025-01-03)

  • Published the package on JSR.
  • Enabled TypeScript isolatedDeclarations, simplifying generated documentation and related tooling.
  • Added extensive comments to improve autocompletion, code generation, and general code comprehension.
  • Removed some exports from the internal _assert module.

New contributors

1.6.1 (2024-11-24)

... (truncated)

Commits

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
@noble/hashes [>= 2.a, < 3]

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 [@noble/hashes](https://github.com/paulmillr/noble-hashes) from 1.4.0 to 1.8.0.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases)
- [Changelog](https://github.com/paulmillr/noble-hashes/blob/main/CHANGELOG.md)
- [Commits](paulmillr/noble-hashes@1.4.0...1.8.0)

---
updated-dependencies:
- dependency-name: "@noble/hashes"
  dependency-version: 1.8.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 8, 2026
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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants