Skip to content

Commit

Permalink
Prepare release v4.0.1, closes #82 (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme authored Sep 19, 2022
1 parent 756f9f6 commit 9bac4a4
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 14 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ avoid adding features or APIs which do not map onto the
Click to see more.
</summary>

</details>

## [4.0.1] - 2022-09-19

- Bump `h3` to `v4.0.1` (was locked on `rc5` for the previous release)
- Add compile flag support check (see [#78], thanks [@mngr777])
- Split polygons by 180th meridian (see [#76], thanks [@mngr777])

</details>

## [4.0.0] - 2022-08-24

- ⚠️ Update `h3` core library to `v4.0.0`. Almost all functions have been renamed to align with `h3` core `v4`. Please take care when updating. You can see a [list of changed function names](https://h3geo.org/docs/library/migration-3.x/functions) in the core library documentation.
Expand Down Expand Up @@ -163,7 +165,8 @@ avoid adding features or APIs which do not map onto the

- Initial public release

[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.0.0...HEAD
[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.0.1...HEAD
[4.0.1]: https://github.com/zachasme/h3-pg/compare/v4.0.0...v4.0.1
[4.0.0]: https://github.com/zachasme/h3-pg/compare/v3.7.2...v4.0.0
[3.7.2]: https://github.com/zachasme/h3-pg/compare/v3.7.1...v3.7.2
[3.7.1]: https://github.com/zachasme/h3-pg/compare/v3.7.0...v3.7.1
Expand Down
10 changes: 5 additions & 5 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@
"name": "h3",
"abstract": "PostgreSQL bindings for H3",
"description": "PostgreSQL bindings for H3, a hierarchical hexagonal geospatial indexing system.",
"version": "unreleased",
"version": "4.0.1",
"maintainer": "Zacharias Knudsen <[email protected]>",
"license": "apache_2_0",
"provides": {
"h3": {
"abstract": "PostgreSQL bindings for H3",
"file": "h3--unreleased.sql",
"file": "h3--4.0.1.sql",
"docfile": "README.md",
"version": "unreleased"
"version": "4.0.1"
},
"h3_postgis": {
"abstract": "H3 PostGIS integration",
"file": "h3_postgis--unreleased.sql",
"file": "h3_postgis--4.0.1.sql",
"docfile": "README.md",
"version": "unreleased"
"version": "4.0.1"
}
},
"resources": {
Expand Down
2 changes: 1 addition & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,7 @@ Get the currently installed version of the extension.
# WKB indexing functions

### h3_cell_to_boundary_wkb(cell `h3index`) ⇒ `bytea`
*Since vunreleased*
*Since v4.0.1*


Finds the boundary of the index, converts to EWKB.
Expand Down
2 changes: 1 addition & 1 deletion h3.control
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
comment = 'H3 bindings for PostgreSQL'
default_version = 'unreleased'
default_version = '4.0.1'
relocatable = true
2 changes: 1 addition & 1 deletion h3/sql/install/31-wkb.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

--| # WKB indexing functions

--@ availability: unreleased
--@ availability: 4.0.1
CREATE OR REPLACE FUNCTION
h3_cell_to_boundary_wkb(cell h3index) RETURNS bytea
AS 'h3' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; COMMENT ON FUNCTION
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "ALTER EXTENSION h3 UPDATE TO 'unreleased'" to load this file. \quit
\echo Use "ALTER EXTENSION h3 UPDATE TO '4.0.1'" to load this file. \quit

CREATE OR REPLACE FUNCTION
h3_cell_to_boundary_wkb(cell h3index) RETURNS bytea
Expand Down
20 changes: 20 additions & 0 deletions h3/sql/updates/h3--4.0.1--unreleased.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright 2022 Bytes & Brains
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "ALTER EXTENSION h3 UPDATE TO 'unreleased'" to load this file. \quit

-- no changes
2 changes: 1 addition & 1 deletion h3_postgis.control
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
comment = 'H3 PostGIS integration'
default_version = 'unreleased'
default_version = '4.0.1'
relocatable = true
requires = 'h3, postgis'
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "ALTER EXTENSION h3_postgis UPDATE TO 'unreleased'" to load this file. \quit
\echo Use "ALTER EXTENSION h3_postgis UPDATE TO '4.0.1'" to load this file. \quit

-- deprecated
DROP FUNCTION IF EXISTS h3_cell_to_boundary_geometry(h3index, boolean);
Expand Down
20 changes: 20 additions & 0 deletions h3_postgis/sql/updates/h3_postgis--4.0.1--unreleased.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
/*
* Copyright 2022 Bytes & Brains
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "ALTER EXTENSION h3 UPDATE TO 'unreleased'" to load this file. \quit

-- no changes

0 comments on commit 9bac4a4

Please sign in to comment.