Skip to content

Commit 46a581c

Browse files
authored
Release v4.0.0-rc5 (#640)
1 parent e10530f commit 46a581c

File tree

4 files changed

+38
-24
lines changed

4 files changed

+38
-24
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The public API of this library consists of the functions declared in file
66
[h3api.h.in](./src/h3lib/include/h3api.h.in).
77

88
## [Unreleased]
9+
10+
## [4.0.0-rc5] - 2022-08-16
11+
### Breaking changes
12+
- `exactEdgeLength` functions renamed to `edgeLength` (#639)
13+
914
### Fixed
1015
- `polygonToCells` returns an error if Infinity is passed in. (#636)
1116

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.0.0-rc4
1+
4.0.0-rc5

dev-docs/RFCs/v4.0.0/names_for_concepts_types_functions.md

+16-10
Original file line numberDiff line numberDiff line change
@@ -243,16 +243,22 @@ For a future undirected edge mode, use the term `Edge`.
243243

244244
### Area/Length Functions
245245

246-
| Current name | Proposed name |
247-
|----------------|-----------------------------|
248-
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
249-
| `hexAreaM2` | `getHexagonAreaAvgM2` |
250-
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
251-
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
252-
| *DNE* | `getPentagonAreaAvg*` |
253-
| *DNE* | `getPentagonEdgeLengthAvg*` |
254-
| *DNE* | `cellAreaKm2` |
255-
| *DNE* | `cellAreaM2` |
246+
| 3.x name. | 4.0.0 name |
247+
|-----------------------|-----------------------------|
248+
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
249+
| `hexAreaM2` | `getHexagonAreaAvgM2` |
250+
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
251+
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
252+
| *DNE* | `getPentagonAreaAvg*` |
253+
| *DNE* | `getPentagonEdgeLengthAvg*` |
254+
| *DNE* | `cellAreaKm2` |
255+
| *DNE* | `cellAreaM2` |
256+
| `pointDistKm` | `greatCircleDistanceKm` |
257+
| `pointDistM` | `greatCircleDistanceM` |
258+
| `pointDistRads` | `greatCircleDistanceRads` |
259+
| `exactEdgeLengthRads` | `edgeLengthRads` |
260+
| `exactEdgeLengthKm` | `edgeLengthKm` |
261+
| `exactEdgeLengthM` | `edgeLengthM` |
256262

257263
**Note**: `cellAreaKm2` and `cellAreaM2` would return the actual area of
258264
the passed-in cell.

website/docs/library/migration-3.x/functions.md

+16-13
Original file line numberDiff line numberDiff line change
@@ -123,19 +123,22 @@ For a future undirected edge mode, use the term `Edge`.
123123

124124
### Area/Length Functions
125125

126-
| 3.x name. | 4.0.0 name |
127-
|-----------------|-----------------------------|
128-
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
129-
| `hexAreaM2` | `getHexagonAreaAvgM2` |
130-
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
131-
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
132-
| *DNE* | `getPentagonAreaAvg*` |
133-
| *DNE* | `getPentagonEdgeLengthAvg*` |
134-
| *DNE* | `cellAreaKm2` |
135-
| *DNE* | `cellAreaM2` |
136-
| `pointDistKm` | `greatCircleDistanceKm` |
137-
| `pointDistM` | `greatCircleDistanceM` |
138-
| `pointDistRads` | `greatCircleDistanceRads` |
126+
| 3.x name. | 4.0.0 name |
127+
|-----------------------|-----------------------------|
128+
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
129+
| `hexAreaM2` | `getHexagonAreaAvgM2` |
130+
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
131+
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
132+
| *DNE* | `getPentagonAreaAvg*` |
133+
| *DNE* | `getPentagonEdgeLengthAvg*` |
134+
| *DNE* | `cellAreaKm2` |
135+
| *DNE* | `cellAreaM2` |
136+
| `pointDistKm` | `greatCircleDistanceKm` |
137+
| `pointDistM` | `greatCircleDistanceM` |
138+
| `pointDistRads` | `greatCircleDistanceRads` |
139+
| `exactEdgeLengthRads` | `edgeLengthRads` |
140+
| `exactEdgeLengthKm` | `edgeLengthKm` |
141+
| `exactEdgeLengthM` | `edgeLengthM` |
139142

140143
**Note**: `cellAreaKm2` and `cellAreaM2` would return the actual area of
141144
the passed-in cell.

0 commit comments

Comments
 (0)