Skip to content

Commit

Permalink
Prepare for release 4.2.0 (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme authored Jan 20, 2025
1 parent a979b52 commit c1cc94d
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 8 deletions.
6 changes: 4 additions & 2 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.2.0 - 2025-01-17

- Bump `h3` to `v4.2.0`
- Add `h3_polygon_to_cells_experimental` (see [#159], thanks [@jmealo])
- Add experimental SP-GIST operator class (see [#43], thanks [@BielStela])
- Fix for MacOS in nixpkgs / NixOS (see [#141], thanks [@wolfgangwalther])

</details>

## [4.1.4] - 2024-11-06

- Fix library extension on macOS for PostgreSQL >= 16 (see [#140], thanks [@bayandin])
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ project(
LANGUAGES C
)
# set this to "${PROJECT_VERSION}" on release
#set(INSTALL_VERSION "${PROJECT_VERSION}")
set(INSTALL_VERSION "unreleased")
set(INSTALL_VERSION "${PROJECT_VERSION}")
#set(INSTALL_VERSION "unreleased")
set(H3_CORE_VERSION 4.2.0)
set(H3_CORE_SHA256 438db46fc2b388785d2a0d8e26aa5509739240a7b50b2510c416778d871a4e11)

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

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

--@ availability: 4.2.0
CREATE OR REPLACE FUNCTION
Expand Down
2 changes: 1 addition & 1 deletion h3_postgis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ PostgreSQL_add_extension(postgresql_h3_postgis
sql/updates/h3_postgis--4.1.1--4.1.2.sql
sql/updates/h3_postgis--4.1.2--4.1.3.sql
sql/updates/h3_postgis--4.1.3--4.1.4.sql
sql/updates/h3_postgis--4.1.4--unreleased.sql
sql/updates/h3_postgis--4.1.4--4.2.0.sql
)

# link
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_postgis UPDATE TO 'unreleased'" to load this file. \quit
\echo Use "ALTER EXTENSION h3_postgis UPDATE TO '4.2.0'" to load this file. \quit

CREATE OR REPLACE FUNCTION h3_polygon_to_cells_experimental(multi geometry, resolution integer, containment_mode text DEFAULT 'center') RETURNS SETOF h3index
AS $$ SELECT h3_polygon_to_cells_experimental(exterior, holes, resolution, containment_mode) FROM (
Expand Down

0 comments on commit c1cc94d

Please sign in to comment.