Skip to content

Commit

Permalink
Prepare for release v4.0.2 (#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
zachasme authored Oct 10, 2022
1 parent 1ff2fa7 commit 7987c3a
Show file tree
Hide file tree
Showing 9 changed files with 54 additions and 12 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>

- Fix broken function renames (see [#87], thanks [@Kompza], [@mngr777])

</details>

## [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)
Expand Down Expand Up @@ -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
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.2",
"maintainer": "Zacharias Knudsen <[email protected]>",
"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": {
Expand Down
3 changes: 2 additions & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
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.2'
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.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
Expand Down
18 changes: 18 additions & 0 deletions h3/sql/updates/h3--4.0.2--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.2'
relocatable = true
requires = 'h3, postgis'
20 changes: 20 additions & 0 deletions h3_postgis/sql/updates/h3_postgis--4.0.1--4.0.2.sql
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 7987c3a

Please sign in to comment.