# What changed in react-simple-maps

> 13 changes in react-simple-maps 5 from its official release notes, upgrade guides and advisories: 1 breaking, 2 new APIs and options. Each one cited. Sources checked 2026-10-18. HTML: https://unstale.sh/npm/react-simple-maps/

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

## react-simple-maps 5

### Breaking changes

- The style prop on Geography and Marker is now a plain React style object; the keyed default, hover, and pressed form no longer applies interaction styles. (5.0.0) — [upgrade guide](https://www.react-simple-maps.io/docs/migrating-to-v5)

### New APIs and options

- A core-only subpath export lets developers import ComposableMap without zoom/pan dependencies. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)
- A zoom/pan-only subpath export lets developers import ZoomableGroup separately. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)

### Fixes and other changes

- ComposableMap no longer renders width and height as SVG attributes; it sets only the viewBox and projection translation, restoring responsive maps. (5.0.1) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v501-2026-09-05)
- Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects. (5.0.1) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v501-2026-09-05)
- Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects. (5.0.1) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v501-2026-09-05)
- Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects. (5.0.1) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v501-2026-09-05)
- Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects. (5.0.1) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v501-2026-09-05)
- Bugfixes were made for Annotation. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)
- Bugfixes were made for Marker. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)
- The public API now has full type coverage, allowing developers to use TypeScript types across the API. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)
- Bugfixes were made for useGeographies. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)
- Bugfixes were made for useZoomPan. (5.0.0) — [release notes](https://github.com/zcreativelabs/react-simple-maps/blob/7809bce4d74ccdc39461dafa0f16d7b17fb6de95/CHANGELOG.md#v500-2026-08-28)
