unstale

npm / supercluster

supercluster

What changed in supercluster 6 to 9, from its official release notes, upgrade guides and advisories. Also covers @types/supercluster. Sources checked 2026-10-25.

7 breaking3 new APIs and options3 performance1 behavior and defaults1 tooling1 fixes and other

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

npx @unstale/cli init

@unstale/cli 0.2.6 on npm

supercluster 99 changes

Breaking changes 3

  • Tile tags are typed as possibly null or undefined, so consumers must guard before use.

    9.1.0release notes

  • Options is a named type export; replace Supercluster.Options<P, C> with an import type from supercluster.

    9.1.0release notes

  • maxZoom is now hard-capped at 30; values above 30 are no longer practical to use.

    9.0.0release notes

New APIs and options 2

  • Adds getTileRaw(z, x, y), returning tiles with each feature's coordinates inline instead of nested in geometry arrays.

    9.1.0release notes

  • Supercluster adds support for MultiPoint features.

    9.0.0release notes

Performance 1

  • On a sample 1M points index, transient allocation is 94% lower, peak heap 57% lower, retained memory 65% lower, and runtime 23% faster.

    9.0.0release notes

Behavior and default changes 1

  • Internal coordinate precision improves by 6 bits (64 times).

    9.0.0release notes

Tooling 1

  • Remove the separately installed @types/supercluster package because TypeScript declarations now ship with the package.

    9.1.0release notes

Fixes and other changes 1

  • The bundled declarations allow load() to accept MultiPoint features as well as Point features.

    9.1.0release notes

supercluster 84 changes

Breaking changes 2

  • The package drops its CommonJS entry point and switches to ESM only for Node and bundlers, with a UMD bundle for browsers.

    8.0.0release notes

  • IE11 is no longer supported; developers can still transpile on their end to keep it.

    8.0.0release notes

Performance 2

supercluster 72 changes

Breaking changes 1

  • Adjusted generated cluster id values to avoid collisions when combined with generateId.

    7.0.0release notes

New APIs and options 1

  • Added an option to generate numeric feature.id values for input features that don't have one.

    7.0.0release notes

supercluster 61 changes

Breaking changes 1

  • The map/reduce option was removed; Supercluster now uses the first mapped item of the cluster as the initial value.

    6.0.0release notes