# What changed in iconv-lite

> 5 changes in iconv-lite 0.7 from its official release notes, upgrade guides and advisories: 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/iconv-lite/

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

## iconv-lite 0.7

### New APIs and options

- Added as a charset alias. (0.7.3) — [release notes](https://github.com/pillarjs/iconv-lite/releases/tag/v0.7.3)
- Added as a charset alias. (0.7.3) — [release notes](https://github.com/pillarjs/iconv-lite/releases/tag/v0.7.3)

### Tooling

- Type definitions were improved and missing APIs were added, making more of the API available in the types. (0.7.1) — [release notes](https://github.com/pillarjs/iconv-lite/releases/tag/v0.7.1)

### Fixes and other changes

- Decoding correctly handles 4-byte code units split across chunks and replaces a truncated trailing unit with U+FFFD; encoding no longer throws when a surrogate is held across chunks. Whole-buffer decode/encode are unaffected. (0.7.3) — [release notes](https://github.com/pillarjs/iconv-lite/releases/tag/v0.7.3)
- TypeScript definitions now correctly represent the library's CommonJS exports, resolving errors caused by definitions that did not match the actual module exports. (0.7.2) — [release notes](https://github.com/pillarjs/iconv-lite/releases/tag/v0.7.2)
