Skip to content

Commit

Permalink
Stage Release for v0.9.0 (#267)
Browse files Browse the repository at this point in the history
* update changelog

* update changelog, stage release
  • Loading branch information
bitner authored Apr 30, 2024
1 parent febbaf8 commit 7c3dfc2
Show file tree
Hide file tree
Showing 8 changed files with 26 additions and 11 deletions.
19 changes: 17 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,29 @@ 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.0]

### Breaking Changes
- Context Extension has been deprecated. Context is now reported using OGC Features compliant numberMatched and numberReturned
- Paging return from search using prev/next properties has been deprecated. Paging is now available in the spec compliant Links

### Added
- Add support for Casei and Accenti (Fixes #237). (Also, requires the addition of the unaccent extension)
- Add numberReturned and numberMatched fields for ItemCollection. BREAKING CHANGE: As the context extension is deprecated, this also removes the "context" item from results.
- Updated docs on automated updates of collection extents. (CLOSES #247)
- stac search now returns paging information using standards compliant links rather than prev/next properties (Fixes #265)

### Fixed
- Fix issue when installing or migrating pgstac using a non superuser (particularly when using the default role found on RDS). (FIXES #239). Backports fix into migrations for 0.8.2, 0.8.3, and 0.8.4.
- Adds fixes/updates to documentation
- Fixes issue when using geometry with the strict queryables setting set.
- Fixes issue when there is a None rather than an empty dictionary in hydration.
- Use "debug" log level rather than "log" to prevent growth in log messages due to differences in how client_min_messages and log_min_messages treat log levels. (Fixes #242)
- Refactor search_query and search_where functions to eliminate race condition when running identical queries. (Fixes #233)
- Fixes CQL2 Parser for Between operator (Fixes #251)
- Update PyO3 for rust hydration performance improvements.




## [v0.8.4]
Expand Down Expand Up @@ -438,7 +453,7 @@ _TODO_
### Fixed

- Fixed issue with pypgstac loads which caused some writes to fail ([#18](https://github.com/stac-utils/pgstac/pull/18))

[v0.9.0]: https://github.com/stac-utils/pgstac/compare/v0.8.4...v0.9.0
[v0.8.4]: https://github.com/stac-utils/pgstac/compare/v0.8.2...v0.8.4
[v0.8.3]: https://github.com/stac-utils/pgstac/compare/v0.8.2...v0.8.3
[v0.8.2]: https://github.com/stac-utils/pgstac/compare/v0.8.1...v0.8.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
CREATE EXTENSION IF NOT EXISTS btree_gist;
END IF;
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='unaccent') THEN
CREATE EXTENSION IF NOT EXISTS unaccent;
END IF;
END;
Expand Down Expand Up @@ -1209,4 +1209,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.0');
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
CREATE EXTENSION IF NOT EXISTS btree_gist;
END IF;
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='unaccent') THEN
CREATE EXTENSION IF NOT EXISTS unaccent;
END IF;
END;
Expand Down Expand Up @@ -4498,4 +4498,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.0');
2 changes: 1 addition & 1 deletion src/pgstac/pgstac.sql
2 changes: 1 addition & 1 deletion src/pgstac/sql/000_idempotent_pre.sql
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BEGIN
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
CREATE EXTENSION IF NOT EXISTS btree_gist;
END IF;
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='unaccent') THEN
CREATE EXTENSION IF NOT EXISTS unaccent;
END IF;
END;
Expand Down
2 changes: 1 addition & 1 deletion src/pgstac/sql/999_version.sql
Original file line number Diff line number Diff line change
@@ -1 +1 @@
SELECT set_version('unreleased');
SELECT set_version('0.9.0');
2 changes: 1 addition & 1 deletion src/pypgstac/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "pypgstac"
version = "0.8.5-dev"
version = "0.9.0"
description = "Schema, functions and a python library for storing and accessing STAC collections and items in PostgreSQL"
readme = "README.md"
requires-python = ">=3.8"
Expand Down
2 changes: 1 addition & 1 deletion src/pypgstac/python/pypgstac/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
"""Version."""
__version__ = "0.8.5-dev"
__version__ = "0.9.0"

0 comments on commit 7c3dfc2

Please sign in to comment.