Skip to content

Commit

Permalink
Release v4.0.0-rc5 (#640)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacbrodsky authored Aug 17, 2022
1 parent e10530f commit 46a581c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 24 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ The public API of this library consists of the functions declared in file
[h3api.h.in](./src/h3lib/include/h3api.h.in).

## [Unreleased]

## [4.0.0-rc5] - 2022-08-16
### Breaking changes
- `exactEdgeLength` functions renamed to `edgeLength` (#639)

### Fixed
- `polygonToCells` returns an error if Infinity is passed in. (#636)

Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4.0.0-rc4
4.0.0-rc5
26 changes: 16 additions & 10 deletions dev-docs/RFCs/v4.0.0/names_for_concepts_types_functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -243,16 +243,22 @@ For a future undirected edge mode, use the term `Edge`.

### Area/Length Functions

| Current name | Proposed name |
|----------------|-----------------------------|
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
| `hexAreaM2` | `getHexagonAreaAvgM2` |
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
| *DNE* | `getPentagonAreaAvg*` |
| *DNE* | `getPentagonEdgeLengthAvg*` |
| *DNE* | `cellAreaKm2` |
| *DNE* | `cellAreaM2` |
| 3.x name. | 4.0.0 name |
|-----------------------|-----------------------------|
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
| `hexAreaM2` | `getHexagonAreaAvgM2` |
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
| *DNE* | `getPentagonAreaAvg*` |
| *DNE* | `getPentagonEdgeLengthAvg*` |
| *DNE* | `cellAreaKm2` |
| *DNE* | `cellAreaM2` |
| `pointDistKm` | `greatCircleDistanceKm` |
| `pointDistM` | `greatCircleDistanceM` |
| `pointDistRads` | `greatCircleDistanceRads` |
| `exactEdgeLengthRads` | `edgeLengthRads` |
| `exactEdgeLengthKm` | `edgeLengthKm` |
| `exactEdgeLengthM` | `edgeLengthM` |

**Note**: `cellAreaKm2` and `cellAreaM2` would return the actual area of
the passed-in cell.
Expand Down
29 changes: 16 additions & 13 deletions website/docs/library/migration-3.x/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,19 +123,22 @@ For a future undirected edge mode, use the term `Edge`.

### Area/Length Functions

| 3.x name. | 4.0.0 name |
|-----------------|-----------------------------|
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
| `hexAreaM2` | `getHexagonAreaAvgM2` |
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
| *DNE* | `getPentagonAreaAvg*` |
| *DNE* | `getPentagonEdgeLengthAvg*` |
| *DNE* | `cellAreaKm2` |
| *DNE* | `cellAreaM2` |
| `pointDistKm` | `greatCircleDistanceKm` |
| `pointDistM` | `greatCircleDistanceM` |
| `pointDistRads` | `greatCircleDistanceRads` |
| 3.x name. | 4.0.0 name |
|-----------------------|-----------------------------|
| `hexAreaKm2` | `getHexagonAreaAvgKm2` |
| `hexAreaM2` | `getHexagonAreaAvgM2` |
| `edgeLengthKm` | `getHexagonEdgeLengthAvgKm` |
| `edgeLengthM` | `getHexagonEdgeLengthAvgM` |
| *DNE* | `getPentagonAreaAvg*` |
| *DNE* | `getPentagonEdgeLengthAvg*` |
| *DNE* | `cellAreaKm2` |
| *DNE* | `cellAreaM2` |
| `pointDistKm` | `greatCircleDistanceKm` |
| `pointDistM` | `greatCircleDistanceM` |
| `pointDistRads` | `greatCircleDistanceRads` |
| `exactEdgeLengthRads` | `edgeLengthRads` |
| `exactEdgeLengthKm` | `edgeLengthKm` |
| `exactEdgeLengthM` | `edgeLengthM` |

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

0 comments on commit 46a581c

Please sign in to comment.