Skip to content

Commit

Permalink
Various Bug Fixes (#226)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
bitner authored Nov 14, 2023
1 parent 10ad866 commit e8ef344
Show file tree
Hide file tree
Showing 19 changed files with 801 additions and 155 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,28 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
and this project adheres to [Semantic Versioning](http://semver.org/).

## [unreleased]

## Added
- Add support functions and tests for Collection Search
- Add configuration parameter for base_url to be able to generate absolute links
- With this release, this is only used to create links for paging in collection_search
- Adds read only mode to allow use of pgstac on read replicas
- 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.
- Add option to pypgstac loader "--usequeue" that forces use of the query queue for the loading process
- Add "pypgstac runqueue" command to run any commands that are set in the query queue

### Fixed
- Fix bug with end_datetime constraint management leading to inability to add data outside of constraints
- Fix bugs dealing with table ownership to ensure that all pgstac tables are owned by the pgstac_admin role
- Fixes issues with errors/warnings caused when doing index maintenance
- Fixes issues with errors/warnings caused with partition management
- Make sure that pgstac_ingest role always has read/write permissions on all tables
- 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
- Add NOT NULL constraint to collections table (FIXES #224)
- Fix issue with indexes not getting created as the pg_admin role using SECURITY DEFINER

### Changed
- 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

## [v0.8.1]

Expand Down
Loading

0 comments on commit e8ef344

Please sign in to comment.