Skip to content

Releases: mapbox/delaunator

v5.0.1

24 Jan 17:25
Compare
Choose a tag to compare

Slightly smaller bundle.

v5.0.0

26 Mar 10:42
Compare
Choose a tag to compare
  • Make the library fully robust by switching to robust-predicates for orientation checks. Now the library will produce valid output even on highly degenerate floating point input.
  • ⚠️ Breaking: expose the library as ES Module by default with "type": "module", requiring Node v12+.
  • ⚠️ Breaking: remove transpilation, dropping support for IE11 out of the box. Consumers will need to transpile the code on their own if necessary.

v4.0.1

30 Aug 07:06
Compare
Choose a tag to compare

Significantly improved robustness, fixing a few edge cases leading to a broken triangulation. #51

v4.0.0

19 Jun 11:35
Compare
Choose a tag to compare
  • Define tessellation of collinear input, returning an empty result with an ordered hull instead of throwing an error. Allows building Voronoi tessellation for degenerate cases. #47 (by @Fil)
  • Added an update method for updating the triangulation after changing coords in place (useful for iterative relaxation algorithms). #48
  • Improved performance by ~5-10%. #35
  • Fixed a rare race condition that could lead to an infinite loop. #49

v3.0.2

26 Sep 09:35
Compare
Choose a tag to compare

Improve performance further.

v3.0.1

10 Sep 09:40
Compare
Choose a tag to compare
  • Improved performance further, and made the algorithm easier to port to compiled languages. #32
  • ⚠️ Breaking: hull API changed: delaunay.hull is now just a typed array of indices to hull edges in order (instead of a linked list). This wasn't publicly documented, but have to release a major version anyway because d3-delaunay depended on it.

v2.0.5

05 Sep 11:18
Compare
Choose a tag to compare

Minor robustness improvements.

v2.0.4

03 Sep 17:18
Compare
Choose a tag to compare

Improved numerical robustness.

v2.0.3

31 Aug 07:12
Compare
Choose a tag to compare
  • Improve performance on certain kinds of inputs. ~1.5x faster for grids, orders of magnitude faster for degenerate inputs like concentric circles.
  • Fix race condition that produced broken triangulation on certain kinds of degenerate input, e.g. points on a circle.

v2.0.2

28 Aug 12:34
Compare
Choose a tag to compare
  • 🐞Fix a rare race condition that could produce corrupt halfedges structure. #25
  • ✨Add a guide to Delaunator data structures by @redblobgames #23