Skip to content

Commit

Permalink
Prepare for release v4.0.3 (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme authored Nov 4, 2022
1 parent 55f4bbc commit 5a4899f
Show file tree
Hide file tree
Showing 8 changed files with 51 additions and 13 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,15 @@ avoid adding features or APIs which do not map onto the
Click to see more.
</summary>

</details>

## [4.0.3] - 2022-11-04

- Add BRIN operator class (see [#97], thanks [@mngr777])
- Split PostGIS multipolygons by 180th meridian (see [#90], thanks [@mngr777])
- Add aggregate functions for `h3_postgis` (see [#91], thanks [@mngr777])
- Add recursive `h3_grid_path_cells` (see [#93], thanks [@mngr777])

</details>

## [4.0.2] - 2022-09-19

- Fix broken function renames (see [#87], thanks [@Kompza], [@mngr777])
Expand Down Expand Up @@ -174,7 +176,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.2...HEAD
[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.0.3...HEAD
[4.0.3]: https://github.com/zachasme/h3-pg/compare/v4.0.2...v4.0.3
[4.0.2]: https://github.com/zachasme/h3-pg/compare/v4.0.1...v4.0.2
[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
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.3",
"maintainer": "Zacharias Knudsen <[email protected]>",
"license": "apache_2_0",
"provides": {
"h3": {
"abstract": "PostgreSQL bindings for H3",
"file": "h3--unreleased.sql",
"file": "h3--4.0.3.sql",
"docfile": "README.md",
"version": "unreleased"
"version": "4.0.3"
},
"h3_postgis": {
"abstract": "H3 PostGIS integration",
"file": "h3_postgis--unreleased.sql",
"file": "h3_postgis--4.0.3.sql",
"docfile": "README.md",
"version": "unreleased"
"version": "4.0.3"
}
},
"resources": {
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.3'
relocatable = true
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.3'" to load this file. \quit

CREATE OR REPLACE FUNCTION
h3_cells_to_multi_polygon_wkb(h3index[]) RETURNS bytea
Expand Down
18 changes: 18 additions & 0 deletions h3/sql/updates/h3--4.0.3--unreleased.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* 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
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.3'
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 UPDATE TO 'unreleased'" to load this file. \quit
\echo Use "ALTER EXTENSION h3 UPDATE TO '4.0.3'" to load this file. \quit

CREATE OR REPLACE FUNCTION
h3_cells_to_multi_polygon_geometry(h3index[]) RETURNS geometry
Expand Down Expand Up @@ -75,4 +75,3 @@ BEGIN
END IF;
END;
$$ LANGUAGE 'plpgsql' IMMUTABLE STRICT PARALLEL SAFE;

18 changes: 18 additions & 0 deletions h3_postgis/sql/updates/h3_postgis--4.0.3--unreleased.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
/*
* 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

0 comments on commit 5a4899f

Please sign in to comment.