# What changed in pretty-bytes

> 5 changes in pretty-bytes 7 from its official release notes, upgrade guides and advisories. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/pretty-bytes/

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

## pretty-bytes 7

### Fixes and other changes

- Formatting edge cases are fixed. (7.2.0) — [release notes](https://github.com/sindresorhus/pretty-bytes/releases/tag/v7.2.0)
- Options are validated. (7.2.0) — [release notes](https://github.com/sindresorhus/pretty-bytes/releases/tag/v7.2.0)
- Fixes fractional digit formatting when localization is disabled. (7.1.3) — [release notes](https://github.com/sindresorhus/pretty-bytes/releases/tag/v7.1.3)
- Fixes rounding across unit boundaries when formatting byte values. (7.1.2) — [release notes](https://github.com/sindresorhus/pretty-bytes/releases/tag/v7.1.2)
- Fixes excessive precision when formatting numbers less than 1. (7.1.1) — [release notes](https://github.com/sindresorhus/pretty-bytes/releases/tag/v7.1.1)
