From bf498be6af4a3ffdf8f9b67168c8ea7c2a19c1da Mon Sep 17 00:00:00 2001 From: David Bitner Date: Fri, 6 Dec 2024 10:32:35 -0600 Subject: [PATCH] stage v0.9.2 (#330) --- CHANGELOG.md | 10 ++++++++-- ...tac.0.9.1-unreleased.sql => pgstac.0.9.1-0.9.2.sql} | 2 +- .../{pgstac.unreleased.sql => pgstac.0.9.2.sql} | 2 +- src/pgstac/pgstac.sql | 2 +- src/pgstac/sql/999_version.sql | 2 +- src/pypgstac/pyproject.toml | 2 +- src/pypgstac/src/pypgstac/version.py | 3 ++- 7 files changed, 15 insertions(+), 8 deletions(-) rename src/pgstac/migrations/{pgstac.0.9.1-unreleased.sql => pgstac.0.9.1-0.9.2.sql} (99%) rename src/pgstac/migrations/{pgstac.unreleased.sql => pgstac.0.9.2.sql} (99%) diff --git a/CHANGELOG.md b/CHANGELOG.md index f4a492c3..96f99dcc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). -## [Unreleased] +## [v0.9.2] ### Added @@ -14,12 +14,18 @@ and this project adheres to [Semantic Versioning](http://semver.org/). [OGC API - Features syntax](https://docs.ogc.org/DRAFTS/24-031.html) into a `tsquery` statement which is used to compare to the description, title, and keywords fields in items or collection_search - the text search is un-indexed and will be very slow for item-level searches! + - Add support for Postgres 17 + - Support for adding data to the private field using the pypgstac loader ### Fixed - Add `open=True` in `psycopg.ConnectionPool` to avoid future behavior change - Switch from postgres `server_version` to `server_version_num` to get PG version (Fixes #300) - Allow read-only replicas work even when the context extension is enabled (Fixes #300) +- Consistently ensure use of instantiated postgres fields when addressing with 'properties.' prefix + +### Changed +- Move rust hydration to a separate repo ## [v0.9.1] @@ -531,7 +537,7 @@ _TODO_ - Fixed issue with pypgstac loads which caused some writes to fail ([#18](https://github.com/stac-utils/pgstac/pull/18)) -[Unreleased]: https://github.com/stac-utils/pgstac/compare/v0.9.1...main +[v0.9.2]: https://github.com/stac-utils/pgstac/compare/v0.9.1...v0.9.2 [v0.9.1]: https://github.com/stac-utils/pgstac/compare/v0.9.0...v0.9.1 [v0.9.0]: https://github.com/stac-utils/pgstac/compare/v0.8.5...v0.9.0 [v0.8.5]: https://github.com/stac-utils/pgstac/compare/v0.8.4...v0.8.5 diff --git a/src/pgstac/migrations/pgstac.0.9.1-unreleased.sql b/src/pgstac/migrations/pgstac.0.9.1-0.9.2.sql similarity index 99% rename from src/pgstac/migrations/pgstac.0.9.1-unreleased.sql rename to src/pgstac/migrations/pgstac.0.9.1-0.9.2.sql index 37e0f8c6..5d662b20 100644 --- a/src/pgstac/migrations/pgstac.0.9.1-unreleased.sql +++ b/src/pgstac/migrations/pgstac.0.9.1-0.9.2.sql @@ -962,4 +962,4 @@ RESET ROLE; SET ROLE pgstac_ingest; SELECT update_partition_stats_q(partition) FROM partitions_view; -SELECT set_version('unreleased'); +SELECT set_version('0.9.2'); diff --git a/src/pgstac/migrations/pgstac.unreleased.sql b/src/pgstac/migrations/pgstac.0.9.2.sql similarity index 99% rename from src/pgstac/migrations/pgstac.unreleased.sql rename to src/pgstac/migrations/pgstac.0.9.2.sql index 0858b646..719e28f0 100644 --- a/src/pgstac/migrations/pgstac.unreleased.sql +++ b/src/pgstac/migrations/pgstac.0.9.2.sql @@ -4566,4 +4566,4 @@ RESET ROLE; SET ROLE pgstac_ingest; SELECT update_partition_stats_q(partition) FROM partitions_view; -SELECT set_version('unreleased'); +SELECT set_version('0.9.2'); diff --git a/src/pgstac/pgstac.sql b/src/pgstac/pgstac.sql index 0858b646..719e28f0 100644 --- a/src/pgstac/pgstac.sql +++ b/src/pgstac/pgstac.sql @@ -4566,4 +4566,4 @@ RESET ROLE; SET ROLE pgstac_ingest; SELECT update_partition_stats_q(partition) FROM partitions_view; -SELECT set_version('unreleased'); +SELECT set_version('0.9.2'); diff --git a/src/pgstac/sql/999_version.sql b/src/pgstac/sql/999_version.sql index ecd86ef1..84cc1b19 100644 --- a/src/pgstac/sql/999_version.sql +++ b/src/pgstac/sql/999_version.sql @@ -1 +1 @@ -SELECT set_version('unreleased'); +SELECT set_version('0.9.2'); diff --git a/src/pypgstac/pyproject.toml b/src/pypgstac/pyproject.toml index 4d5c8a06..6fb97a13 100644 --- a/src/pypgstac/pyproject.toml +++ b/src/pypgstac/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "pypgstac" -version = "0.9.1-dev" +version = "0.9.2" description = "Schema, functions and a python library for storing and accessing STAC collections and items in PostgreSQL" readme = "README.md" requires-python = ">=3.8" diff --git a/src/pypgstac/src/pypgstac/version.py b/src/pypgstac/src/pypgstac/version.py index 082e594b..8681cb9f 100644 --- a/src/pypgstac/src/pypgstac/version.py +++ b/src/pypgstac/src/pypgstac/version.py @@ -1,2 +1,3 @@ """Version.""" -__version__ = "0.9.1-dev" + +__version__ = "0.9.2"