Skip to content

Commit 42f56e3

Browse files
author
Isaac Brodsky
authored
Prepare for 4.0.0-rc1 release (#573)
* Prepare for 4.0.0-rc1 release * Fix version number parsing * rename vertexToPoint to vertexToLatLng in changelog
1 parent 28b7107 commit 42f56e3

File tree

3 files changed

+19
-11
lines changed

3 files changed

+19
-11
lines changed

CHANGELOG.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,29 @@ The public API of this library consists of the functions declared in file
77

88
## [Unreleased]
99

10+
## [4.0.0-rc1] - 2022-02-07
11+
### Breaking changes
12+
- Rename functions according to the terminology RFC (#571, #403, #466, #495, #466)
13+
- Functions that can experience errors now have an `H3Error` return value. (#551, #550, #509, #505, #507, #508, #503, #478, #468, #436, #359)
14+
- Cell count parameters use `int64_t` instead of `int`.
15+
- `polygonToCells` (previously `polyfill`) accepts a flags argument for future expansion. (#570)
16+
1017
### Added
11-
- Vertex mode and associated functions:
18+
- Vertex mode and associated functions: (#422, #420, #417)
1219
- `cellToVertex(cell, vertexNum)`
1320
- `cellToVertexes(cell, out)`
14-
- `vertexToPoint(vertex, out)`
21+
- `vertexToLatLng(vertex, out)`
1522
- `isValidVertex(vertex)`
16-
- closed-form implementation of `numHexagons`
23+
- `h3` CLI application. (#556, #497)
1724

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

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

2834
## [3.7.2] - 2021-07-15
2935
### Fixed

CMakeLists.txt

+2
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@ endif()
6464
file(READ VERSION H3_VERSION LIMIT_COUNT 1)
6565
# Clean any newlines
6666
string(REPLACE "\n" "" H3_VERSION "${H3_VERSION}")
67+
# Remove any trailing qualifier
68+
string(REGEX REPLACE "-.*$" "" H3_VERSION "${H3_VERSION}")
6769
string(REPLACE "." ";" H3_VERSION_LIST "${H3_VERSION}")
6870
list(GET H3_VERSION_LIST 0 H3_VERSION_MAJOR)
6971
list(GET H3_VERSION_LIST 1 H3_VERSION_MINOR)

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.7.2
1+
4.0.0-rc1

0 commit comments

Comments
 (0)