unstale

npm / js-sha256

js-sha256

What changed in js-sha256 0.12 to 1, from its official release notes, upgrade guides and advisories. Sources checked 2026-10-23.

5 breaking2 new APIs and options2 tooling1 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli 0.2.4 on npm

js-sha256 19 changes

Breaking changes 5

  • Updating after finalization now throws an error.

    1.0.0release notes

  • Legacy environment flags and obsolete compatibility polyfills are removed.

    1.0.0release notes

  • Runtime CommonJS, AMD, Node.js, Web Worker, and ArrayBuffer environment switches are removed from the core implementation.

    1.0.0release notes

  • The old generated sha256.mjs entry point is removed.

    1.0.0release notes

  • The old generated sha256.node.mjs entry point is removed.

    1.0.0release notes

New APIs and options 2

  • Dedicated ESM, CommonJS, Node.js, and browser distribution entry points are available.

    1.0.0release notes

  • Native Node.js SHA-256, SHA-224, and HMAC implementations support streaming.

    1.0.0release notes

Tooling 2

  • The package builds automatically before npm pack.

    1.0.0release notes

  • The package builds automatically before npm publish.

    1.0.0release notes

js-sha256 0.121 changes

Fixes and other changes 1

  • Fixes recognizing the environment as Node.js when using browserfs.

    0.12.0release notes