H3js v4.0.0-rc1 Release Notes

Release Date: 2022-02-07 // about 2 years ago
  • ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ“‡ Rename functions according to the terminology RFC (#571, #403, #466, #495, #466)
    • Functions that can experience errors now have an H3Error return value. (#551, #550, #509, #505, #507, #508, #503, #478, #468, #436, #359)
    • Cell count parameters use int64_t instead of int.
    • polygonToCells (previously polyfill) accepts a flags argument for future expansion. (#570)

    โž• Added

    • Vertex mode and associated functions: (#422, #420, #417)
      • cellToVertex(cell, vertexNum)
      • cellToVertexes(cell, out)
      • vertexToLatLng(vertex, out)
      • isValidVertex(vertex)
    • h3 CLI application. (#556, #497)

    ๐Ÿ›  Fixed

    • โœ… A number of issues detected via unit tests and fuzzers were fixed. (#568, #562, #558, #559, #560, #430)

    Other changes

    • Generally use lng instead of lon
    • Closed-form implementation of numHexagons
    • A number of fuzzer harnesses are now included in the H3 core library. (#557, #553, #545, #433)
    • โž• Additional benchmarks are added and benchmarks are regularly run in CI. (#524, #518)