h3_core 1.0.6
h3_core: ^1.0.6 copied to clipboard
Dart/Flutter bindings for Uber's H3 hexagonal geospatial indexing library. Uses dart:ffi on native platforms and h3-js on web — same API everywhere.
1.0.6 #
- Move repository to the
wayqteamGitHub organization; refreshpubspec.yamlURLs (repository,homepage,issue_tracker) and README CI badge - Bump dependencies to latest majors:
hooks ^2.0.0,code_assets ^1.1.0,native_toolchain_c ^0.19.0,lints ^6.1.0 - Upgrade vendored H3 C library from 4.4.1 → 4.5.0 (upstream notes)
- Add
reverseDirectedEdge— returns a directed edge with origin and destination swapped (FFI + stub; throwsUnsupportedErroron web pending h3-js 4.5) gridPathCellsis now bidirectional:gridPathCells(a, b)reversed equalsgridPathCells(b, a)(H3 v4.5.0 behavior change)cellsToLinkedMultiPolygon/cellsToMultiPolygonnow surfaceE_CELL_INVALID,E_RES_MISMATCH, andE_DOMAINfor invalid input, mixed resolutions, and duplicate cells (previously undefined output)- Internal: refactored indexing (now uses
Vec3d) and CoordIJK (now inlineable) from upstream — transparent to callers - Regenerate FFI bindings against H3 v4.5.0 headers
- Refresh README badges and version references
- Expand pub.dev metadata: add
homepage,issue_tracker,documentation, refined topics for better discoverability
1.0.5 #
- Upgrade vendored H3 C library from 4.4.1 → 4.5.0 (upstream notes)
- Add
reverseDirectedEdge— returns a directed edge with origin and destination swapped (FFI + stub; throwsUnsupportedErroron web pending h3-js 4.5) gridPathCellsis now bidirectional:gridPathCells(a, b)reversed equalsgridPathCells(b, a)(H3 v4.5.0 behavior change)cellsToLinkedMultiPolygon/cellsToMultiPolygonnow surfaceE_CELL_INVALID,E_RES_MISMATCH, andE_DOMAINfor invalid input, mixed resolutions, and duplicate cells (previously undefined output)- Internal: refactored indexing (now uses
Vec3d) and CoordIJK (now inlineable) from upstream — transparent to callers - Regenerate FFI bindings against H3 v4.5.0 headers
- Refresh README badges and version references
- Expand pub.dev metadata: add
homepage,issue_tracker,documentation, refined topics for better discoverability
1.0.4 #
- Switch h3-js CDN from jsDelivr to unpkg
1.0.3 #
- Update README with badges and structured platform support documentation
1.0.2 #
- Fix Windows build: add
BUILD_SHARED_LIBSandBUILDING_H3defines for DLL symbol export - Fix Windows build: skip
libmlinking (math is part of the C runtime on Windows) - Remove deprecated
avoid_returning_null_for_futurelint rule - Add CI/CD: automated testing on Linux, macOS, Windows, and Chrome
- Add automated publishing to pub.dev via GitHub Actions OIDC
1.0.1 #
- Web support via h3-js and
dart:js_interop H3Indexchanged from int-backed to String-backed to avoid JS number precision loss- Same public API on all platforms (conditional export: FFI on native, h3-js on web)
getIndexDigit/constructCelluse BigInt on web for 64-bit precision
1.0.0 #
- Initial release wrapping H3 v4.4.1
- Full H3 API: indexing, inspection, traversal, hierarchy, edges, vertices, measurements, regions, coordinates
- Native compilation via Build Hooks for Android, iOS, macOS, Linux, Windows
- Auto-generated FFI bindings via ffigen 20.x
- Async wrappers for heavy operations (polygonToCells, gridDisk, compact/uncompact)