Skip to content

Latest commit

 

History

History
273 lines (181 loc) · 6.58 KB

File metadata and controls

273 lines (181 loc) · 6.58 KB

Changelog

This project tracks the major and minor versions set upstream by h3 and introduces backwards-compatible updates and/or fixes via patches with patch version bumps.

Unreleased

4.4.1 (6 Apr 2026)

Changed

  • #107: Minor optimization for the integer power function.
  • #108: Minor optimization for cellBndryFromC.
  • #109: GridDisksUnsafe now calls into Cgo directly instead of looping over GridDiskUnsafe.
  • #110: LatLng.toC is now stack allocated.
  • #111: edgesFromC now uses zero-copy casting like cellsFromC and vertexesFromC.

4.4.0 (10 Dec 2025)

Breaking Changes

  • #96: Vertex mode was updated to have its own typedef.

Added

  • #95: Introduced CellFromString and CellToString.
  • #99: Introduced IndexDigit.
  • #100: Introduced DirectedEdgeFromString.
  • #103: Introduced IsValidIndex.

Changed

  • #100: Used generics for some internal implementations.

Updated

  • #98: H3 Core was updated to v4.4.0.
  • #101: Updated error codes to match H3 Core.

4.3.0 (17 Jun 2025)

Changed

  • #89: GridRing implementation was updated to use the C library directly.

Updated

  • #89: H3 Core was updated to v4.3.0.

4.2.4 (6 Jun 2025)

Added

  • #84: GridDisksUnsafe, GridDiskDistancesUnsafe, and GridDiskDistancesSafe functions.

Changed

  • #85: Convert directly between C and Go arrays.
  • #86: Slightly optimized CellsToMultiPolygon and LatLng#String.

Thanks to @justinhwang for their contributions to this release.

4.2.3 (4 Jun 2025)

Added

  • #82: GridRing and GridRingUnsafe functions.

Updated

  • #83: Go was updated to v1.22.

Thanks to @justinhwang for their contributions to this release.

4.2.2 (31 Mar 2025)

Fixed

  • #79: Memory leak in CellsToMultiPolygon.

Updated

  • #79: H3 Core was updated to v4.2.1.

Thanks to @zachcoleman for their contributions to this release.

4.2.1 (10 Feb 2025)

Added

  • #68: PolygonToCellsExperimental function.

Thanks to @zachcoleman for their contributions to this release.

4.2.0 (27 Dec 2024)

Breaking Changes

  • #73: Errors are now returned from various functions.

Updated

  • #72: Go was updated to v.1.20.
  • #75: H3 Core was updated to v4.2.0.

Thanks to @mojixcoder for their contributions to this release.

4.1.2 (26 Aug 2024)

Added

  • #71: Full support for vertices.

Thanks to @mojixcoder for their contributions to this release.

4.1.1 (12 Aug 2024)

Added

  • #70: CellsToMultiPolygon function.

Thanks to @zachcoleman for their contributions to this release.

4.1.0 (22 Mar 2023)

Added

  • #61: CellToChildPos and ChildPosToCell functions.

Updated

  • #60: H3 core was updated to v4.1.0.

Thanks to @akhenakh for their contributions to this release.

4.0.1 (30 Sep 2022)

Updated

  • c3cc4ae: H3 core was updated to v4.0.1.

4.0.0 (8 Sep 2022)

  • #54: All new functions to match H3 v4.

See the migration guide for upstream changes, and the README.md for upstream to h3-go binding name mapping.

Thanks to @jogly for their contributions to this release.

3.7.1 (15 Mar 2021)

Added

  • #46: Functions to cover full functionality.
    • Res0IndexCount
    • GetRes0Indexes
    • DistanceBetween
    • ToCenterChild
    • MaxFaceCount
    • GetFaces
    • PentagonIndexCount
    • GetPentagonIndexes
    • HexAreaKm2
    • HexAreaM2
    • PointDistRads
    • PointDistKm
    • PointDistM
    • CellAreaRads2
    • CellAreaKm2
    • CellAreaM2
    • EdgeLengthKm
    • EdgeLengthM
    • ExactEdgeLengthRads
    • ExactEdgeLengthKm
    • ExactEdgeLengthM
    • NumHexagons

3.7.0 (17 Feb 2021)

Added

  • #37: Line function.
  • #41: SetToLinkedGeo function.

3.0.2 (19 May 2020)

Fixed

  • #30, #32: go mod vendor now works correctly.

Added

  • #22: Some useful H3 constants:
    • MaxResolution
    • NumIcosaFaces
    • NumBaseCells
  • #24: Support for GOMODULES.

3.0.1 (3 Jun 2019)

Added

  • #19: Polyfill function.

Changed

  • #19: [Breaking] Uncompat now returns ([]H3Index, error) instead of []H3Index to accommodate error scenario from C API.

Fixed

  • #20: Panic when using Uncompact with invalid resolutions.
  • #7, #9, #13: Latitudes and longitudes outside of respective ranges when unprojecting in certain areas.

3.0.0 (18 Oct 2018)

Added

  • everything! first commit.