Skip to content

Releases: mapbox/supercluster

v8.0.1

27 Apr 19:38
Compare
Choose a tag to compare

Fix an error when creating an empty index (after load([])). #225

v8.0.0

26 Apr 18:44
Compare
Choose a tag to compare
  • ⚡ Drastically reduce memory footprint (by up to 60%) and improve clustering performance by ~15-20%. #223
  • ⚠️ Breaking: drop CommonJS entry point and switch to ESM only for Node & bundlers + UMD bundle for browsers.
  • ⚠️ Breaking: drop support for IE11 (you can still transpile on your end to keep it).
  • Upgrade kdbush dependency to v4.

v7.1.5

05 Jul 16:03
Compare
Choose a tag to compare

Fix handling of non-integer zoom values in methods like getClusters(). #199

v7.1.4

11 Oct 15:16
Compare
Choose a tag to compare

Avoid creating new objects for same clusters across zooms, improving memory footprint and making sure the same clusters have the same cluster_id across zoom levels. #190

v7.1.3

30 Mar 15:36
Compare
Choose a tag to compare

Fix a bug where coordinates of unclustered points were snapping to a grid on higher zoom levels. #176

v7.1.2

19 Jan 10:21
Compare
Choose a tag to compare

Fix fround fallback on IE11 so that the v7.1.1 small radius bugfix is effective there too.

v7.1.1

19 Jan 10:21
Compare
Choose a tag to compare

Fix a bug where identical points sometimes wouldn't cluster on higher zooms given a small radius.

v7.1.0

02 Jun 13:13
Compare
Choose a tag to compare

Added minPoints option for the minimum number of points to form a cluster (2 by default).

v7.0.0

05 Nov 13:07
Compare
Choose a tag to compare
  • Added generateId option to generate numeric ids (feature.id) for input features that don't have it.
  • ⚠️ Possibly breaking: adjusted generated cluster id values to make sure there are no collisions when combined with generateId.

v6.0.2

23 Jul 10:55
Compare
Choose a tag to compare

Slightly improved performance of map/reduce by avoiding redundant map calls. #131