Skip to content

Commit

Permalink
Prepare for 4.0.0-rc1 release (#573)
Browse files Browse the repository at this point in the history
* Prepare for 4.0.0-rc1 release
* Fix version number parsing
* rename vertexToPoint to vertexToLatLng in changelog
  • Loading branch information
Isaac Brodsky authored Feb 7, 2022
1 parent 28b7107 commit 42f56e3
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 11 deletions.
26 changes: 16 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,23 +7,29 @@ The public API of this library consists of the functions declared in file

## [Unreleased]

## [4.0.0-rc1] - 2022-02-07
### Breaking changes
- Rename functions according to the terminology RFC (#571, #403, #466, #495, #466)
- Functions that can experience errors now have an `H3Error` return value. (#551, #550, #509, #505, #507, #508, #503, #478, #468, #436, #359)
- Cell count parameters use `int64_t` instead of `int`.
- `polygonToCells` (previously `polyfill`) accepts a flags argument for future expansion. (#570)

### Added
- Vertex mode and associated functions:
- Vertex mode and associated functions: (#422, #420, #417)
- `cellToVertex(cell, vertexNum)`
- `cellToVertexes(cell, out)`
- `vertexToPoint(vertex, out)`
- `vertexToLatLng(vertex, out)`
- `isValidVertex(vertex)`
- closed-form implementation of `numHexagons`
- `h3` CLI application. (#556, #497)

### Breaking changes
- rename functions according to the terminology RFC (#403, #466)
- `cellToChildrenSize` to output `int64_t` instead of `int`
- `pointDistRads` to `distanceRads`
- `pointDistKm` to `distanceKm`
- `pointDistM` to `distanceM`
### Fixed
- A number of issues detected via unit tests and fuzzers were fixed. (#568, #562, #558, #559, #560, #430)

### Other changes
- generally use `lng` instead of `lon`
- Generally use `lng` instead of `lon`
- Closed-form implementation of `numHexagons`
- A number of fuzzer harnesses are now included in the H3 core library. (#557, #553, #545, #433)
- Additional benchmarks are added and benchmarks are regularly run in CI. (#524, #518)

## [3.7.2] - 2021-07-15
### Fixed
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@ endif()
file(READ VERSION H3_VERSION LIMIT_COUNT 1)
# Clean any newlines
string(REPLACE "\n" "" H3_VERSION "${H3_VERSION}")
# Remove any trailing qualifier
string(REGEX REPLACE "-.*$" "" H3_VERSION "${H3_VERSION}")
string(REPLACE "." ";" H3_VERSION_LIST "${H3_VERSION}")
list(GET H3_VERSION_LIST 0 H3_VERSION_MAJOR)
list(GET H3_VERSION_LIST 1 H3_VERSION_MINOR)
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.7.2
4.0.0-rc1

0 comments on commit 42f56e3

Please sign in to comment.