# What changed in @hapi/hapi

> 4 changes in @hapi/hapi 21 from its official release notes, upgrade guides and advisories: 1 breaking. Each one cited. Sources checked 2026-10-24. HTML: https://unstale.sh/npm/@hapi/hapi/

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

## @hapi/hapi 21

### Breaking changes

- Support for Node.js v12 has been dropped. (21.0.0) — [release notes](https://github.com/hapijs/hapi/releases/tag/v21.0.0)

### Behavior and default changes

- The hapi.js ecosystem is now compatible with ESM projects. (21.0.0) — [release notes](https://github.com/hapijs/hapi/releases/tag/v21.0.0)
- The hapi.js ecosystem now officially supports Node.js v18. (21.0.0) — [release notes](https://github.com/hapijs/hapi/releases/tag/v21.0.0)

### Fixes and other changes

- Plugins in the hapi.js ecosystem now support hapi v20+. (21.0.0) — [release notes](https://github.com/hapijs/hapi/releases/tag/v21.0.0)
