Release 4.0.0
First production release for H3 v4 🎉 . As noted below, most function names have changed, but the H3 indexes have not, so while using v4 will require code changes it should be 100% backwards compatible with existing data. See the 4x migration guide for more information.
[4.0.0] - 2022-08-23
Breaking Changes
- 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)
Changed
- Add Typescript typechecking, generate types with tsc (#153)
Fixed
- Fail package publish if there are library changes (#148)
Added
- Added legacy API wrapper with Typescript types (#146)