# What changed in libsodium-wrappers

> 6 changes in libsodium-wrappers 0.7 to 0.8 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/libsodium-wrappers/

To see which of these apply to a repository, run `npx @unstale/cli init` in it.

## libsodium-wrappers 0.8

### Tooling

- Local benchmarks can now be run with this command, in addition to the browser benchmarks. (0.8.1) — [release notes](https://github.com/jedisct1/libsodium.js/releases/tag/0.8.1)
- Automatically generated TypeScript definitions are now included. (0.8.1) — [release notes](https://github.com/jedisct1/libsodium.js/releases/tag/0.8.1)

### Fixes and other changes

- The promise chain in the WASM fallback was fixed to prevent race conditions. (0.8.1) — [release notes](https://github.com/jedisct1/libsodium.js/releases/tag/0.8.1)

## libsodium-wrappers 0.7

### New APIs and options

- ESM module distributions are now available in dist/modules-esm/ and dist/modules-sumo-esm/. (0.7.16) — [release notes](https://github.com/jedisct1/libsodium.js/releases/tag/0.7.16)

### Fixes and other changes

- A browser-related crypto exclusion bug was fixed. (0.7.16) — [release notes](https://github.com/jedisct1/libsodium.js/releases/tag/0.7.16)
- Pointer-related bugs were fixed. (0.7.16) — [release notes](https://github.com/jedisct1/libsodium.js/releases/tag/0.7.16)
