Skip to content

Commit

Permalink
Prepare for release v4.1.3 (#139)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme authored Jul 26, 2023
1 parent cb4222b commit a6d98a4
Show file tree
Hide file tree
Showing 9 changed files with 20 additions and 16 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,13 @@ avoid adding features or APIs which do not map onto the
Click to see more.
</summary>

</details>

## [4.1.3] - 2023-07-26

- Add `geometry @ int` and `geography @ int` operators, as shortcuts for `h3_lat_lng_to_cell`.
- Explain PostGIS SRID expectations (see [#131], thanks [@rustprooflabs])

</details>

## [4.1.2] - 2023-02-08

Expand Down Expand Up @@ -196,7 +199,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.2...HEAD
[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.1.3...HEAD
[4.1.3]: https://github.com/zachasme/h3-pg/compare/v4.1.2...v4.1.3
[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
Expand Down
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ endif()
# Listing the version is nice here since it sets lots of useful variables
project(
h3-pg
VERSION 4.1.2
VERSION 4.1.3
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.1.0)
set(H3_CORE_SHA256 ec99f1f5974846bde64f4513cf8d2ea1b8d172d2218ab41803bf6a63532272bc)

Expand Down
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -598,14 +598,14 @@ Splits polygons when crossing 180th meridian.
# PostGIS Operators

### Operator: `geometry` @ `integer`
*Since vunavailable*
*Since v4.1.3*


Index geometry at specified resolution.


### Operator: `geography` @ `integer`
*Since vunavailable*
*Since v4.1.3*


Index geography at specified resolution.
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Documentation is generated from the sql files, using the script `scripts/documen
- Don't follow semver, simply use major and minor from H3 core and increment patch.
- Version number should be changed in root `CMakeLists.txt`.
- Set `INSTALL_VERSION` to "${PROJECT_VERSION}".
- Update files suffixed `--unreleased` should be renamed.
- Update files (and cmake references) suffixed `--unreleased` should be renamed.
- Installer `.sql` files should have `@ availability` comments updated.
- Update changelog by moving from `Unreleased` to a new section
- Push and merge changes in `release-x.y.z` branch.
Expand Down
2 changes: 1 addition & 1 deletion h3/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ PostgreSQL_add_extension(postgresql_h3
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--4.1.2.sql
sql/updates/h3--4.1.2--unreleased.sql
sql/updates/h3--4.1.2--4.1.3.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.1.3'" to load this file. \quit

COMMENT ON OPERATOR @> (h3index, h3index) IS
'Returns true if A contains B.';
2 changes: 1 addition & 1 deletion h3_postgis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ PostgreSQL_add_extension(postgresql_h3_postgis
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--4.1.2.sql
sql/updates/h3_postgis--4.1.2--unreleased.sql
sql/updates/h3_postgis--4.1.2--4.1.3.sql
)

# link
Expand Down
4 changes: 2 additions & 2 deletions h3_postgis/sql/install/10-operators.sql
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@

--| # PostGIS Operators

--@ availability: unavailable
--@ availability: 4.1.3
CREATE OPERATOR @ (
PROCEDURE = h3_lat_lng_to_cell,
LEFTARG = geometry, RIGHTARG = integer
);
COMMENT ON OPERATOR @ (geometry, integer) IS
'Index geometry at specified resolution.';

--@ availability: unavailable
--@ availability: 4.1.3
CREATE OPERATOR @ (
PROCEDURE = h3_lat_lng_to_cell,
LEFTARG = geography, RIGHTARG = integer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
*/

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

--@ availability: unavailable
--@ availability: 4.1.3
CREATE OPERATOR @ (
PROCEDURE = h3_lat_lng_to_cell,
LEFTARG = geometry, RIGHTARG = integer
);
COMMENT ON OPERATOR @ (geometry, integer) IS
'Index geometry at specified resolution.';

--@ availability: unavailable
--@ availability: 4.1.3
CREATE OPERATOR @ (
PROCEDURE = h3_lat_lng_to_cell,
LEFTARG = geography, RIGHTARG = integer
Expand Down

0 comments on commit a6d98a4

Please sign in to comment.