# What changed in which

> 8 changes in which 2 to 7 from its official release notes, upgrade guides and advisories: 8 breaking. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/which/

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

## which 7

### Breaking changes

- The supported Node.js versions are now ^22.22.2 || ^24.15.0 || >=26.0.0. (7.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v7.0.0)

## which 6

### Breaking changes

- The supported Node.js engine range was aligned with npm 11. (6.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v6.0.0)

## which 5

### Breaking changes

- which now supports Node.js ^18.17.0 || >=20.5.0. (5.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v5.0.0)

## which 4

### Breaking changes

- Node.js 14 is no longer supported. (4.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v4.0.0)

## which 3

### Breaking changes

- The supported Node.js versions are ^14.17.0, ^16.13.0, or >=18.0.0. (3.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v3.0.0)
- The CLI ignores any arguments after --. (3.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v3.0.0)
- The async interface no longer accepts callbacks and is Promise-only. (3.0.0) — [release notes](https://github.com/npm/node-which/releases/tag/v3.0.0)

## which 2

### Breaking changes

- Support for Node versions below 8 was dropped. (2.0.0) — [release notes](https://github.com/npm/node-which/blob/HEAD/CHANGELOG.md)
