# What changed in micro-memoize

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

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

## micro-memoize 5

### Fixes and other changes

- Replacement cache values are kept when an older promise settles. (5.2.1) — [release notes](https://github.com/planttheidea/micro-memoize/releases/tag/v5.2.1)
- Fixed typings that were invalid in some cases. (5.1.2) — [release notes](https://github.com/planttheidea/micro-memoize/releases/tag/v5.1.2)
- Listeners can be removed while listeners are being iterated. (5.1.0) — [release notes](https://github.com/planttheidea/micro-memoize/releases/tag/v5.1.0)
- Expiration is updated when a promise resolves. (5.1.0) — [release notes](https://github.com/planttheidea/micro-memoize/releases/tag/v5.1.0)
- Types were cleaned up so the result type is appropriately narrowed. (5.0.1) — [release notes](https://github.com/planttheidea/micro-memoize/releases/tag/v5.0.1)
