All notable changes to this project will be documented in this file. This library adheres to a versioning policy described in the README. The public API of this library consists of the functions exported in h3core.js.
- None
- Add
cellToChildPos
,childPosToCell
, andcellToChildrenSize
functions. (#170)
- Updated the core library to
v4.1.0
(#170)
- Patch libh3 bundles to check for
typeof document != "undefined"
before accessingdocument
. This allows h3-js to be used in a Web Worker and React Native (#169) - Fix H3Index type hints for
cellToBoundary
,cellArea
,edgeLength
(#171)
- Updated the core library to
v4.0.1
(#161)
- Fixed error when compacting with res 0 cells (#161)
- Updated the core library to
v4.0.0
. This update renames the majority of the H3 functions. You can see a list of changed function names in the core library documentation. For the most part, upgrading to v4 for Javascript consumers should be a straightforward search & replace between the old names and the new. (#151, #144, #141, #139) - Added more cases in which JS errors may be thrown. In H3 v3, many functions would fail silently with invalid input, returning
null
or similar signal values. In H3 v4, we will throw descriptive errors for most instances of bad input. (#139)
- Add Typescript typechecking, generate types with tsc (#153)
- Fail package publish if there are library changes (#148)
- Added legacy API wrapper with Typescript types (#146)
- Updated the core library to
v4.0.0-rc5
. (#151)
- Add Typescript typechecking, generate types with tsc (#153)
- Fail package publish if there are library changes (#148)
- Added legacy API wrapper with Typescript types (#146)
- Updated the core library to
v4.0.0-rc4
. (#141) - Updated the core library to
v4.0.0-rc2
. This update renames the majority of the H3 functions. You can see a list of changed function names in the core library documentation. For the most part, upgrading to v4 for Javascript consumers should be a straightforward search & replace between the old names and the new. (#139) - Added more cases in which JS errors may be thrown. In H3 v3, many functions would fail silently with invalid input, returning
null
or similar signal values. In H3 v4, we will throw descriptive errors for most instances of bad input. (#139)
- Added vertex mode functions (#138)
- Accept integer input to
h3GetResolution
(#113)
- Fixed bug in freeing geo polygon memory during
polyfill
(#104)
- Added bindings for new area and distance functions (#93):
cellArea
exactEdgeLength
pointDist
- All functions accepting H3 index input now also accept a
[lowerBits, upperBits]
tuple of 32-bit integers (#91)
- Fixed type definition for
UNITS
(#94)
- Updated the core library to 3.7.1 (#93)
- Fixed
h3IsValid
returning true on certain edge cases (#81) - Fix some
polyfill
edge cases (#86)
- Updated the core library to 3.6.3 - minor fixes for
h3IsValid
andcompact
(#81) - Updated the core library to 3.6.4 - reinstate new
polyfill
algorithm (#86)
- Updated the core library to v3.6.2. This rolls back the polyfill algorithm to previous version; we'll roll forward again once we've fixed the known issues.
- Improved TypeScript typedefs (#73)
- Fix
polyfill
edge cases, improve perfomance (#74)
- Updated the core library to v3.6.1 (#74)
- Downgraded required
yarn
version (#68)
- Removed
unhandledRejection
handling from emscripten build (#64) - Fixed TypeScript definition file, added a CI test to guard against regressions (#65)
- Updated the core library to v3.6.0 (#61)
- Added bindings for
getPentagonIndexes
andh3ToCenterChild
(#61)
- Added
h3GetFaces
binding (#54) - Generated a TypeScript definition file from jsdoc comments (#55)
- Updated the core library to v3.5.0 (#52, #54)
- Changed module exports to ES6 syntax (#41)
- Added UMD bundle to published package (#41)
- Added separate bundles with an Emscripten browser-only build (#43)
- Changed
const
tovar
for better compatibility in Emscripten-generated code (#37)
- Updated Emscripten, removing hack for
getTempRet0
- Updated the core library to v3.4.0 (#31)
- Added
getRes0Indexes
binding (#31)
- Updated the core library to v3.3.0 (#29)
- Added
h3Line
binding (#29)
- Updated the core library to v3.2.0 (#26)
- Added
experimentalH3ToLocalIj
andexperimentalLocalIjToH3
bindings (#26)
- Updated the core library to v3.1.1, including fixes for
polyfill
andh3SetToMultiPolygon
(#19) - Removed Emscripten Node error handling from built library, fixing stacktraces (#18)
- Added generated API documentation to README (#17)
- Added binding for
h3Distance
(#15)
- Updated the core library to v3.1.0 (#15)
- Moved emscripten build to docker (#14)
- Updated the core library to v3.0.8 (#10)
- Renamed names of h3.1 or h3-1 to h3 (#4)
- Added engine support for Node 10 (#11)
- Fixed npm distribution
- First public release.