Skip to content

Commit

Permalink
Prepare for release 4.1.2 (#119)
Browse files Browse the repository at this point in the history
* Upgrade cleanup

* Prepare for release 4.1.2
  • Loading branch information
zachasme authored Feb 8, 2023
1 parent 120b95a commit eeb2390
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 28 deletions.
9 changes: 6 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ avoid adding features or APIs which do not map onto the
Click to see more.
</summary>

- *Actually* fix `h3_postgis` upgrade path (see [#117], thanks [@mngr777])

</details>

## [4.1.2] - 2023-02-08

- *Actually* fix `h3_postgis` upgrade path (see [#117], thanks [@mngr777])

## [4.1.1] - 2023-02-07

- Add `postgis_raster` integration (see [#112], thanks [@mngr777])
Expand Down Expand Up @@ -191,7 +193,8 @@ avoid adding features or APIs which do not map onto the

- Initial public release

[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.1.1...HEAD
[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.1.2...HEAD
[4.1.2]: https://github.com/zachasme/h3-pg/compare/v4.1.1...v4.1.2
[4.1.1]: https://github.com/zachasme/h3-pg/compare/v4.1.0...v4.1.1
[4.1.0]: https://github.com/zachasme/h3-pg/compare/v4.0.3...v4.1.0
[4.0.3]: https://github.com/zachasme/h3-pg/compare/v4.0.2...v4.0.3
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ endif()
# Listing the version is nice here since it sets lots of useful variables
project(
h3-pg
VERSION 4.1.1
VERSION 4.1.2
LANGUAGES C
)
# set this to "${PROJECT_VERSION}" on release
set(INSTALL_VERSION unreleased)
set(INSTALL_VERSION "${PROJECT_VERSION}")
set(H3_CORE_VERSION 4.1.0)
set(H3_CORE_SHA256 ec99f1f5974846bde64f4513cf8d2ea1b8d172d2218ab41803bf6a63532272bc)

Expand Down
2 changes: 1 addition & 1 deletion h3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ PostgreSQL_add_extension(postgresql_h3
sql/updates/h3--4.0.2--4.0.3.sql
sql/updates/h3--4.0.3--4.1.0.sql
sql/updates/h3--4.1.0--4.1.1.sql
sql/updates/h3--4.1.1--unreleased.sql
sql/updates/h3--4.1.1--4.1.2.sql
)

# configure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
*/

-- 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.1.2'" to load this file. \quit
2 changes: 1 addition & 1 deletion h3_postgis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ PostgreSQL_add_extension(postgresql_h3_postgis
sql/updates/h3_postgis--4.0.2--4.0.3.sql
sql/updates/h3_postgis--4.0.3--4.1.0.sql
sql/updates/h3_postgis--4.1.0--4.1.1.sql
sql/updates/h3_postgis--4.1.1--unreleased.sql
sql/updates/h3_postgis--4.1.1--4.1.2.sql
)

# link
Expand Down
19 changes: 0 additions & 19 deletions h3_postgis/sql/updates/h3_postgis--4.1.0--4.1.1.sql
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,8 @@
-- complain if script is sourced in psql, rather than via CREATE EXTENSION
\echo Use "ALTER EXTENSION h3_postgis UPDATE TO '4.1.1'" to load this file. \quit

CREATE OR REPLACE FUNCTION
h3_cell_to_boundary_wkb(cell h3index) RETURNS bytea
AS 'h3_postgis' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; COMMENT ON FUNCTION
h3_cell_to_boundary_wkb(h3index)
IS 'Finds the boundary of the index, converts to EWKB.
Splits polygons when crossing 180th meridian.
This function has to return WKB since Postgres does not provide multipolygon type.';

CREATE OR REPLACE FUNCTION
h3_cells_to_multi_polygon_wkb(h3index[]) RETURNS bytea
AS 'h3_postgis' LANGUAGE C IMMUTABLE STRICT PARALLEL SAFE; COMMENT ON FUNCTION
h3_cells_to_multi_polygon_wkb(h3index[])
IS 'Create a LinkedGeoPolygon describing the outline(s) of a set of hexagons, converts to EWKB.
Splits polygons when crossing 180th meridian.';

-- raster


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,9 @@
*/

-- 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.1.2'" to load this file. \quit

-- fix wrong shared lib #117

CREATE OR REPLACE FUNCTION
h3_cell_to_boundary_wkb(cell h3index) RETURNS bytea
Expand Down

0 comments on commit eeb2390

Please sign in to comment.