diff --git a/CHANGELOG.md b/CHANGELOG.md index 23e1f441..3420a551 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,10 +26,12 @@ avoid adding features or APIs which do not map onto the Click to see more. -- Fix broken function renames (see [#87], thanks [@Kompza], [@mngr777]) - +## [4.0.2] - 2022-09-19 + +- Fix broken function renames (see [#87], thanks [@Kompza], [@mngr777]) + ## [4.0.1] - 2022-09-19 - Bump `h3` to `v4.0.1` (was locked on `rc5` for the previous release) @@ -167,7 +169,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.1...HEAD +[unreleased]: https://github.com/zachasme/h3-pg/compare/v4.0.2...HEAD +[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 [3.7.2]: https://github.com/zachasme/h3-pg/compare/v3.7.1...v3.7.2 diff --git a/META.json b/META.json index c012f80b..c6eb25fb 100644 --- a/META.json +++ b/META.json @@ -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.2", "maintainer": "Zacharias Knudsen ", "license": "apache_2_0", "provides": { "h3": { "abstract": "PostgreSQL bindings for H3", - "file": "h3--unreleased.sql", + "file": "h3--4.0.2.sql", "docfile": "README.md", - "version": "unreleased" + "version": "4.0.2" }, "h3_postgis": { "abstract": "H3 PostGIS integration", - "file": "h3_postgis--unreleased.sql", + "file": "h3_postgis--4.0.2.sql", "docfile": "README.md", - "version": "unreleased" + "version": "4.0.2" } }, "resources": { diff --git a/docs/development.md b/docs/development.md index 60ce8a24..bcadac45 100644 --- a/docs/development.md +++ b/docs/development.md @@ -12,7 +12,8 @@ so output can be inspected. 1. Update version number - Don't follow semver, simply use major and minor from H3 core and increment patch. - Version number should be changed in `h3.control`, `h3_postgis.control` and `META.json`. - - Update file suffixed `--unreleased` should be renamed. + - Update files suffixed `--unreleased` should be renamed. + - Create new update files with `--unreleased` suffix. - Update changelog by moving from `Unreleased` to a new section 2. Create a release on GitHub - Draft new release "vX.Y.Z" diff --git a/h3.control b/h3.control index 4607ce85..80d919db 100644 --- a/h3.control +++ b/h3.control @@ -1,3 +1,3 @@ comment = 'H3 bindings for PostgreSQL' -default_version = 'unreleased' +default_version = '4.0.2' relocatable = true diff --git a/h3/sql/updates/h3--4.0.1--unreleased.sql b/h3/sql/updates/h3--4.0.1--4.0.2.sql similarity index 99% rename from h3/sql/updates/h3--4.0.1--unreleased.sql rename to h3/sql/updates/h3--4.0.1--4.0.2.sql index 3c373803..1f4e8907 100644 --- a/h3/sql/updates/h3--4.0.1--unreleased.sql +++ b/h3/sql/updates/h3--4.0.1--4.0.2.sql @@ -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.2'" to load this file. \quit -- Due to mishandling of C-level renames in previous releases, -- this upgrade attempts to align user-installations as much as possible diff --git a/h3/sql/updates/h3--4.0.2--unreleased.sql b/h3/sql/updates/h3--4.0.2--unreleased.sql new file mode 100644 index 00000000..b7d1285d --- /dev/null +++ b/h3/sql/updates/h3--4.0.2--unreleased.sql @@ -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 diff --git a/h3_postgis.control b/h3_postgis.control index 50c94577..a5cd38a9 100644 --- a/h3_postgis.control +++ b/h3_postgis.control @@ -1,4 +1,4 @@ comment = 'H3 PostGIS integration' -default_version = 'unreleased' +default_version = '4.0.2' relocatable = true requires = 'h3, postgis' diff --git a/h3_postgis/sql/updates/h3_postgis--4.0.1--4.0.2.sql b/h3_postgis/sql/updates/h3_postgis--4.0.1--4.0.2.sql new file mode 100644 index 00000000..f0d85bd8 --- /dev/null +++ b/h3_postgis/sql/updates/h3_postgis--4.0.1--4.0.2.sql @@ -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 '4.0.2'" to load this file. \quit + +-- no changes \ No newline at end of file diff --git a/h3_postgis/sql/updates/h3_postgis--4.0.1--unreleased.sql b/h3_postgis/sql/updates/h3_postgis--4.0.2--unreleased.sql similarity index 100% rename from h3_postgis/sql/updates/h3_postgis--4.0.1--unreleased.sql rename to h3_postgis/sql/updates/h3_postgis--4.0.2--unreleased.sql