Skip to content

Commit 7c3dfc2

Browse files
authored
Stage Release for v0.9.0 (#267)
* update changelog * update changelog, stage release
1 parent febbaf8 commit 7c3dfc2

File tree

8 files changed

+26
-11
lines changed

8 files changed

+26
-11
lines changed

CHANGELOG.md

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,29 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

7-
### UNRELEASED
7+
### [v0.9.0]
88

9+
### Breaking Changes
10+
- Context Extension has been deprecated. Context is now reported using OGC Features compliant numberMatched and numberReturned
11+
- Paging return from search using prev/next properties has been deprecated. Paging is now available in the spec compliant Links
12+
13+
### Added
14+
- Add support for Casei and Accenti (Fixes #237). (Also, requires the addition of the unaccent extension)
15+
- Add numberReturned and numberMatched fields for ItemCollection. BREAKING CHANGE: As the context extension is deprecated, this also removes the "context" item from results.
916
- Updated docs on automated updates of collection extents. (CLOSES #247)
17+
- stac search now returns paging information using standards compliant links rather than prev/next properties (Fixes #265)
1018

1119
### Fixed
1220
- 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.
1321
- Adds fixes/updates to documentation
1422
- Fixes issue when using geometry with the strict queryables setting set.
23+
- Fixes issue when there is a None rather than an empty dictionary in hydration.
24+
- 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)
25+
- Refactor search_query and search_where functions to eliminate race condition when running identical queries. (Fixes #233)
26+
- Fixes CQL2 Parser for Between operator (Fixes #251)
27+
- Update PyO3 for rust hydration performance improvements.
28+
29+
1530

1631

1732
## [v0.8.4]
@@ -438,7 +453,7 @@ _TODO_
438453
### Fixed
439454

440455
- Fixed issue with pypgstac loads which caused some writes to fail ([#18](https://github.com/stac-utils/pgstac/pull/18))
441-
456+
[v0.9.0]: https://github.com/stac-utils/pgstac/compare/v0.8.4...v0.9.0
442457
[v0.8.4]: https://github.com/stac-utils/pgstac/compare/v0.8.2...v0.8.4
443458
[v0.8.3]: https://github.com/stac-utils/pgstac/compare/v0.8.2...v0.8.3
444459
[v0.8.2]: https://github.com/stac-utils/pgstac/compare/v0.8.1...v0.8.2

src/pgstac/migrations/pgstac.0.8.5-unreleased.sql renamed to src/pgstac/migrations/pgstac.0.8.5-0.9.0.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BEGIN
1010
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
1111
CREATE EXTENSION IF NOT EXISTS btree_gist;
1212
END IF;
13-
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
13+
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='unaccent') THEN
1414
CREATE EXTENSION IF NOT EXISTS unaccent;
1515
END IF;
1616
END;
@@ -1209,4 +1209,4 @@ RESET ROLE;
12091209

12101210
SET ROLE pgstac_ingest;
12111211
SELECT update_partition_stats_q(partition) FROM partitions_view;
1212-
SELECT set_version('unreleased');
1212+
SELECT set_version('0.9.0');

src/pgstac/migrations/pgstac.unreleased.sql renamed to src/pgstac/migrations/pgstac.0.9.0.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN
88
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
99
CREATE EXTENSION IF NOT EXISTS btree_gist;
1010
END IF;
11-
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
11+
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='unaccent') THEN
1212
CREATE EXTENSION IF NOT EXISTS unaccent;
1313
END IF;
1414
END;
@@ -4498,4 +4498,4 @@ RESET ROLE;
44984498

44994499
SET ROLE pgstac_ingest;
45004500
SELECT update_partition_stats_q(partition) FROM partitions_view;
4501-
SELECT set_version('unreleased');
4501+
SELECT set_version('0.9.0');

src/pgstac/pgstac.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
migrations/pgstac.unreleased.sql
1+
migrations/pgstac.0.9.0.sql

src/pgstac/sql/000_idempotent_pre.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ BEGIN
88
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
99
CREATE EXTENSION IF NOT EXISTS btree_gist;
1010
END IF;
11-
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='btree_gist') THEN
11+
IF NOT EXISTS (SELECT 1 FROM pg_extension WHERE extname='unaccent') THEN
1212
CREATE EXTENSION IF NOT EXISTS unaccent;
1313
END IF;
1414
END;

src/pgstac/sql/999_version.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
SELECT set_version('unreleased');
1+
SELECT set_version('0.9.0');

src/pypgstac/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "pypgstac"
3-
version = "0.8.5-dev"
3+
version = "0.9.0"
44
description = "Schema, functions and a python library for storing and accessing STAC collections and items in PostgreSQL"
55
readme = "README.md"
66
requires-python = ">=3.8"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""Version."""
2-
__version__ = "0.8.5-dev"
2+
__version__ = "0.9.0"

0 commit comments

Comments
 (0)