# What changed in d3-transition

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

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

## d3-transition 3

### Breaking changes

- The package publishes an ES module bundle instead of separate source files, changing its distribution format. (3.0.2) — [release notes](https://github.com/d3/d3-transition/releases/tag/v3.0.2)
- The package now requires Node.js 12 or higher. (3.0.0) — [release notes](https://github.com/d3/d3-transition/releases/tag/v3.0.0)
- The package adopts type: module, changing its module format. (3.0.0) — [release notes](https://github.com/d3/d3-transition/releases/tag/v3.0.0)

### New APIs and options

- Adds transition.selectChild. (3.0.0) — [release notes](https://github.com/d3/d3-transition/releases/tag/v3.0.0)
- Adds transition.selectChildren. (3.0.0) — [release notes](https://github.com/d3/d3-transition/releases/tag/v3.0.0)

## d3-transition 2

### Breaking changes

- Changes d3-selection to a peer dependency. (2.0.0) — [release notes](https://github.com/d3/d3-transition/releases/tag/v2.0.0)

### New APIs and options

- Transitions are now iterable. (2.0.0) — [release notes](https://github.com/d3/d3-transition/releases/tag/v2.0.0)
