unstale

npm / react-simple-maps

react-simple-maps

What changed in react-simple-maps 5, from its official release notes, upgrade guides and advisories. Also covers @types/react-simple-maps. Sources checked 2026-10-18.

1 breaking2 new APIs and options10 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

react-simple-maps 513 changes

Breaking changes 1

  • 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.0upgrade guide

New APIs and options 2

  • A core-only subpath export lets developers import ComposableMap without zoom/pan dependencies.

    5.0.0release notes

  • A zoom/pan-only subpath export lets developers import ZoomableGroup separately.

    5.0.0release notes

Fixes and other changes 10

  • ComposableMap no longer renders width and height as SVG attributes; it sets only the viewBox and projection translation, restoring responsive maps.

    5.0.1release notes

  • Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects.

    5.0.1release notes

  • Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects.

    5.0.1release notes

  • Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects.

    5.0.1release notes

  • Moved from devDependencies to regular dependencies so public type definitions resolve correctly in consuming projects.

    5.0.1release notes

  • Bugfixes were made for Annotation.

    5.0.0release notes

  • Bugfixes were made for Marker.

    5.0.0release notes

  • The public API now has full type coverage, allowing developers to use TypeScript types across the API.

    5.0.0release notes

  • Bugfixes were made for useGeographies.

    5.0.0release notes

  • Bugfixes were made for useZoomPan.

    5.0.0release notes