# What changed in @rollup/plugin-commonjs

> 6 changes in @rollup/plugin-commonjs 28 to 29 from its official release notes, upgrade guides and advisories: 1 new APIs and options. Each one cited. Sources checked 2026-10-27. HTML: https://unstale.sh/npm/@rollup/plugin-commonjs/

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

## @rollup/plugin-commonjs 29

### New APIs and options

- Adds the requireNodeBuiltins option while reverting #1909. (29.0.0) — [release notes](https://github.com/rollup/plugins/blob/1e4025b6e984820523b612b74f09da0a4913d38a/packages/commonjs/CHANGELOG.md#v2900)

### Fixes and other changes

- The fix for #1868 is now ES5-compatible. (29.0.3) — [release notes](https://github.com/rollup/plugins/blob/1e4025b6e984820523b612b74f09da0a4913d38a/packages/commonjs/CHANGELOG.md#v2903)
- Fixes handling of conditional exports in commonjs. (29.0.2) — [release notes](https://github.com/rollup/plugins/blob/1e4025b6e984820523b612b74f09da0a4913d38a/packages/commonjs/CHANGELOG.md#v2902)
- Correctly replaces shorthand global properties in objects. (29.0.1) — [release notes](https://github.com/rollup/plugins/blob/1e4025b6e984820523b612b74f09da0a4913d38a/packages/commonjs/CHANGELOG.md#v2901)

## @rollup/plugin-commonjs 28

### Fixes and other changes

- Fixes handling of node: builtins when strictRequires is set to auto. (28.0.9) — [release notes](https://github.com/rollup/plugins/blob/1e4025b6e984820523b612b74f09da0a4913d38a/packages/commonjs/CHANGELOG.md#v2809)
- Guards moduleSideEffects for wrapped externals. (28.0.8) — [release notes](https://github.com/rollup/plugins/blob/1e4025b6e984820523b612b74f09da0a4913d38a/packages/commonjs/CHANGELOG.md#v2808)
