Skip to content

Commit e8ef344

Browse files
authored
Various Bug Fixes (#226)
* fix bug where edtrange was set using datetime rather than end_datetime * fixes for partition generation, drop pydantic requirement to 1.7+ * make collection id not null fixes #224 * add queue options to pypgstac * fix issues to ensure creating indexes as pgstac_admin role * update changelog
1 parent 10ad866 commit e8ef344

19 files changed

+801
-155
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,28 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77
## [unreleased]
8+
9+
## Added
810
- Add support functions and tests for Collection Search
911
- Add configuration parameter for base_url to be able to generate absolute links
1012
- With this release, this is only used to create links for paging in collection_search
1113
- Adds read only mode to allow use of pgstac on read replicas
1214
- Note: Turning on romode disables any caching (particularly when context is turned on) and does not allow to store q query hash that can be used with geometry_search.
15+
- Add option to pypgstac loader "--usequeue" that forces use of the query queue for the loading process
16+
- Add "pypgstac runqueue" command to run any commands that are set in the query queue
17+
18+
### Fixed
19+
- Fix bug with end_datetime constraint management leading to inability to add data outside of constraints
20+
- Fix bugs dealing with table ownership to ensure that all pgstac tables are owned by the pgstac_admin role
21+
- Fixes issues with errors/warnings caused when doing index maintenance
22+
- Fixes issues with errors/warnings caused with partition management
23+
- Make sure that pgstac_ingest role always has read/write permissions on all tables
24+
- Remove call to create_table_constraints from check_partition function. create_table_constraints was being called twice as it also gets called from update_partition_stats
25+
- Add NOT NULL constraint to collections table (FIXES #224)
26+
- Fix issue with indexes not getting created as the pg_admin role using SECURITY DEFINER
27+
28+
### Changed
29+
- Revert pydantic requirement back to '>=1.7' and use basesettings conditionally from pydantic or pydantic.v1 to allow compatibility with pydantic 2 as well as with stac-fastapi that requires pydantic <2
1330

1431
## [v0.8.1]
1532

0 commit comments

Comments
 (0)