feat: v4.5.0 - #141
Merged
Merged
Conversation
H3.net 4.5.0: upstream alignment, modern targets, structs, perf Aligns the port with upstream H3 4.5.0 and modernizes the codebase; see the 4.5.0 entry in CHANGES.md for the full breakdown. * retarget to net10.0/net8.0/netstandard2.1/netstandard2.0; drop EOL TFMs; netstandard targets carry no System.Text.Json dependency (Unity-consumable; JSON support on net8.0+) (GH-98, GH-140) * fix IsValidCell 32-bit shift wraparound rejecting res 11+ cells (GH-111) and EdgeLength* silently returning 0 for non-edge input (GH-109), plus the polar pentagon 'is not 118 or 8' precedence bug, stale 3.x average edge/area tables and other latent issues * port upstream 4.0.1-4.5.0: CellToChildPos/ChildPosToCell/ CellToChildrenSize, pentagon-safe GridRing, bidirectional GridPathCells, Cagnoli/Kahan cell areas, IsValidIndex, ReverseDirectedEdge, CellsToMultiPolygon, grid statistics, overflow/OOB fixes and upstream test suites (GH-102) * convert H3Index, CoordIJK, FaceIJK and LatLng to structs (GH-93): FromLatLng/ToLatLng measured allocation-free; remove GeoCoord and scratch-buffer parameters; annotate pure members readonly * polyfill improvements (GH-53): geometry-type dispatch incl. GeometryCollection, multi-seed disjoint MultiPolygon fills, containment predicate overload * canonical cell sets (GH-61) and component-based, validated H3Index.Create (upstream constructCell) * allocation-free hot paths (CoordIJK->Direction ~10x, IsNeighbour fast path ~2.7x), incremental source generators, Polyfill package for netstandard backfills, updated dependencies and CI, standalone 4.0.0-vs-current benchmark suite (test/H3.CompareBenchmarks)
pocketpickleken
approved these changes
Jul 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
H3.net 4.5.0 'better late than never': upstream alignment, modern targets, structs, perf.
Aligns the port with upstream H3 4.5.0 and modernizes the codebase; see the 4.5.0 entry in CHANGES.md for the full breakdown.
Closes GH-3, closes GH-44, closes GH-53, closes GH-61, closes GH-86, closes GH-93, closes GH-98 (no longer applicable -- .NET 10 now), closes GH-102 (out of date: now aligned with 4.5.0 release), closes GH-109, closes GH-111 AND closes GH-140.