Skip to content

Commit

Permalink
Changelog for 4.0.0 (#103)
Browse files Browse the repository at this point in the history
* bump to 4.0.0

* PR number

* update release date

* update H3 version

* update README

* remove /next/ from website URLs
  • Loading branch information
Isaac Brodsky authored Aug 23, 2022
1 parent 8dd2cdb commit 890c185
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 6 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,20 @@ The public API of this library consists of the public functions declared in
file [H3Core.java](./src/main/java/com/uber/h3core/H3Core.java), and support
for the Linux x64 and Darwin x64 platforms.

## [4.0.0] - 2022-08-23
### Breaking Changes
- Upgraded the core library to v4.0.0. (#104, #103, #102, #91)

### Added
- `H3CoreV3` for users who wish to temporarily use old function names. (#91)
- Vertex mode API. (#91)

### Changed
- Required version of glibc on Linux is 2.26. (#98)

### Removed
- Removed support for Linux MIPS and MIPSEL (#98, #92)

## [4.0.0-rc4] - 2022-08-17
### Breaking Changes
- Upgraded the core library to v4.0.0-rc5. (#104)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Coverage Status](https://coveralls.io/repos/github/uber/h3-java/badge.svg?branch=master)](https://coveralls.io/github/uber/h3-java?branch=master)
[![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.uber/h3/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.uber/h3)
[![H3 Version](https://img.shields.io/badge/h3-v3.7.2-blue.svg)](https://github.com/uber/h3/releases/tag/v3.7.2)
[![H3 Version](https://img.shields.io/badge/h3-v3.7.2-blue.svg)](https://github.com/uber/h3/releases/tag/v4.0.0)

This library provides Java bindings for the [H3 Core Library](https://github.com/uber/h3). For API reference, please see the [H3 Documentation](https://h3geo.org/).

Expand All @@ -18,14 +18,14 @@ Add it to your pom.xml:
<dependency>
<groupId>com.uber</groupId>
<artifactId>h3</artifactId>
<version>3.7.2</version>
<version>4.0.0</version>
</dependency>
```

Or, using Gradle:

```gradle
compile("com.uber:h3:3.7.2")
compile("com.uber:h3:4.0.0")
```

Encode a location into a hexagon address:
Expand Down
2 changes: 1 addition & 1 deletion docs/migrating-from-v3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Migrating from h3-java version 3

The H3 library introduced breaking [changes](https://h3geo.org/docs/next/library/migrating-3.x) in 4.0.0 which are reflected in H3-Java 4.0.0.
The H3 library introduced breaking [changes](https://h3geo.org/docs/library/migrating-3.x) in 4.0.0 which are reflected in H3-Java 4.0.0.

Cell indexes generated in 3.x and 4.x are the same and can be used in either library version interchangably.

Expand Down
2 changes: 1 addition & 1 deletion h3version.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
h3.git.reference=v4.0.0-rc5
h3.git.reference=v4.0.0
2 changes: 1 addition & 1 deletion src/main/java/com/uber/h3core/exceptions/H3Exception.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
*
* <p>The error code contained in an H3Exception comes from the H3 core library. The H3
* documentation contains a <a
* href="https://h3geo.org/docs/next/library/errors/#table-of-error-codes">table of error codes</a>.
* href="https://h3geo.org/docs/library/errors/#table-of-error-codes">table of error codes</a>.
*/
public class H3Exception extends RuntimeException {
private int code;
Expand Down

0 comments on commit 890c185

Please sign in to comment.