# What changed in @whatwg-node/promise-helpers

> 4 changes in @whatwg-node/promise-helpers 2 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-10-26. HTML: https://unstale.sh/npm/@whatwg-node/promise-helpers/

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

## @whatwg-node/promise-helpers 2

### Breaking changes

- The minimum supported Node.js version is now 22.15.0; Node.js 18 and 20 are no longer supported. (2.0.0) — [release notes](https://github.com/ardatan/whatwg-node/blob/42bbbf6ec476238b7490d46224933159adc08ee7/packages/promise-helpers/CHANGELOG.md#200)
- The input is now an input factory (thunk) rather than a bare value, so synchronous throws are handled like promise rejections; an optional `finallyFactory` supports cleanup. (2.0.0) — [release notes](https://github.com/ardatan/whatwg-node/blob/42bbbf6ec476238b7490d46224933159adc08ee7/packages/promise-helpers/CHANGELOG.md#200)
- The deprecated `mapMaybePromise` API is removed; use `handleMaybePromise` instead. (2.0.0) — [release notes](https://github.com/ardatan/whatwg-node/blob/42bbbf6ec476238b7490d46224933159adc08ee7/packages/promise-helpers/CHANGELOG.md#200)

### Performance

- On the synchronous path, when no finally callback is provided and the input factory returns a non-thenable, success/error factories run directly without temporary fake-promise wrappers. Promise and thenable inputs retain the existing normalization path. (2.0.1) — [release notes](https://github.com/ardatan/whatwg-node/blob/4fe682184ba15e77e1e6f4ea3b74b4a4e5f55441/packages/promise-helpers/CHANGELOG.md#201)
