You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+18-3
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file. This librar
4
4
5
5
## [Unreleased]
6
6
7
+
## [4.0.0] - 2022-08-23
8
+
### Breaking Changes
9
+
- 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](https://h3geo.org/docs/library/migration-3.x/functions) 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)
10
+
- 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)
11
+
12
+
### Changed
13
+
- Add Typescript typechecking, generate types with tsc (#153)
14
+
15
+
### Fixed
16
+
- Fail package publish if there are library changes (#148)
17
+
18
+
### Added
19
+
- Added legacy API wrapper with Typescript types (#146)
20
+
7
21
## [4.0.0-rc4] - 2022-08-22
8
22
### Breaking changes
9
23
- Updated the core library to `v4.0.0-rc5`. (#151)
@@ -19,13 +33,14 @@ All notable changes to this project will be documented in this file. This librar
19
33
- Added legacy API wrapper with Typescript types (#146)
20
34
21
35
## [4.0.0-rc1] - 2022-07-28
22
-
### Added
23
-
- Added vertex mode functions (#138)
24
36
### Breaking Changes
25
37
- Updated the core library to `v4.0.0-rc4`. (#141)
26
-
- Updated the core library to `v4.0.0-rc2`. This update renames the majority of the H3 functions. You can see a [list of changed function names](https://h3geo.org/docs/next/library/migration-3.x/functions) 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. (#139)
38
+
- Updated the core library to `v4.0.0-rc2`. This update renames the majority of the H3 functions. You can see a [list of changed function names](https://h3geo.org/docs/library/migration-3.x/functions) 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. (#139)
27
39
- 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)
28
40
41
+
### Added
42
+
- Added vertex mode functions (#138)
43
+
29
44
## [3.7.2] - 2021-04-29
30
45
### Fixed
31
46
- Accept integer input to `h3GetResolution` (#113)
The `h3-js` library provides a pure-JavaScript version of the [H3 Core Library](https://github.com/uber/h3), a hexagon-based geographic grid system. It can be used either in Node >= 6 or in the browser. The core library is transpiled from C using [emscripten](http://kripken.github.io/emscripten-site), offering full parity with the C API and highly efficient operations.
14
14
@@ -23,10 +23,10 @@ For more information on H3 and for the full API documentation, please see the [H
23
23
24
24
## Usage
25
25
26
-
> :construction:**Note:** The following usage docs apply to **H3 v4**, which is currently still in the Release Candidate stage.
26
+
> :tada:**Note:** The following usage docs apply to **H3 v4**, which was released on August 23, 2022.
27
27
>
28
28
> - For v3 docs, [see the latest v3.x.x release](https://github.com/uber/h3-js/blob/v3.7.2/README.md).
29
-
> - For breaking changes in v4, [see the CHANGELOG](./CHANGELOG.md). In particular, most [function names have changed](https://h3geo.org/docs/next/library/migration-3.x/functions).
29
+
> - For breaking changes in v4, [see the CHANGELOG](./CHANGELOG.md). In particular, most [function names have changed](https://h3geo.org/docs/library/migration-3.x/functions).
30
30
31
31
The library uses ES6 modules. Bundles for Node and the browser are built to the `dist` folder.
32
32
@@ -1092,7 +1092,7 @@ Coordinates as an `{i, j}` pair
1092
1092
1093
1093
### h3.H3Error
1094
1094
Custom JS Error instance with an attached error code. Error codes come from the
1095
-
core H3 library and can be found [in the H3 docs](https://h3geo.org/docs/next/library/errors#table-of-error-codes).
1095
+
core H3 library and can be found [in the H3 docs](https://h3geo.org/docs/library/errors#table-of-error-codes).
The `h3-js` library provides a pure-JavaScript version of the [H3 Core Library](https://github.com/uber/h3), a hexagon-based geographic grid system. It can be used either in Node >= 6 or in the browser. The core library is transpiled from C using [emscripten](http://kripken.github.io/emscripten-site), offering full parity with the C API and highly efficient operations.
14
14
@@ -23,10 +23,10 @@ For more information on H3 and for the full API documentation, please see the [H
23
23
24
24
## Usage
25
25
26
-
> :construction:**Note:** The following usage docs apply to **H3 v4**, which is currently still in the Release Candidate stage.
26
+
> :tada:**Note:** The following usage docs apply to **H3 v4**, which was released on August 23, 2022.
27
27
>
28
28
> - For v3 docs, [see the latest v3.x.x release](https://github.com/uber/h3-js/blob/v3.7.2/README.md).
29
-
> - For breaking changes in v4, [see the CHANGELOG](./CHANGELOG.md). In particular, most [function names have changed](https://h3geo.org/docs/next/library/migration-3.x/functions).
29
+
> - For breaking changes in v4, [see the CHANGELOG](./CHANGELOG.md). In particular, most [function names have changed](https://h3geo.org/docs/library/migration-3.x/functions).
30
30
31
31
The library uses ES6 modules. Bundles for Node and the browser are built to the `dist` folder.
0 commit comments