# What changed in d3-force

> 5 changes in d3-force 2 to 3 from its official release notes, upgrade guides and advisories: 3 breaking, 1 new APIs and options. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/d3-force/

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

## d3-force 3

### Breaking changes

- The package now publishes an ES module bundle instead of separate source files, which may affect how developers consume it. (3.0.1) — [release notes](https://github.com/d3/d3-force/releases/tag/v3.0.1)
- Node.js 12 or higher is now required to use this package. (3.0.0) — [release notes](https://github.com/d3/d3-force/releases/tag/v3.0.0)
- The package adopts type: module, affecting how developers load and write modules. (3.0.0) — [release notes](https://github.com/d3/d3-force/releases/tag/v3.0.0)

## d3-force 2

### New APIs and options

- Adds an iterations argument to simulation.tick. (2.0.0) — [release notes](https://github.com/d3/d3-force/releases/tag/v2.0.0)

### Fixes and other changes

- Fixes a bug when initializing nodes with fixed positions. (2.0.0) — [release notes](https://github.com/d3/d3-force/releases/tag/v2.0.0)
