# What changed in @visx/shape

> 5 changes in @visx/shape 4 from its official release notes, upgrade guides and advisories: 3 breaking. Each one cited. Sources checked 2026-11-30. HTML: https://unstale.sh/npm/@visx/shape/

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

## @visx/shape 4

### Breaking changes

- Upgraded d3-shape to version 3, which may affect code relying on its previous API or behavior. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Removed prop-types, which may affect applications relying on that package through visx. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
- Packages now require React 18 or 19, so applications using an earlier React version must upgrade. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0), [upgrade guide](https://github.com/airbnb/visx/blob/HEAD/MIGRATION.md)

### Behavior and default changes

- Changed @types/react to an optional peer dependency, affecting how TypeScript applications manage React type dependencies. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)

### Fixes and other changes

- Fixed Node ESM compatibility for the published esm/ output. (4.0.0) — [release notes](https://github.com/airbnb/visx/releases/tag/v4.0.0)
