Skip to content

Commit

Permalink
Bug Fixes found after releasing v0.7.0 (#165)
Browse files Browse the repository at this point in the history
* bug fixes

* add more paging tests, fix paging issues with nulls

* fix for delserts in pypgstac load

* update changelog
  • Loading branch information
bitner authored Mar 1, 2023
1 parent f39c1c1 commit 60af52a
Show file tree
Hide file tree
Showing 20 changed files with 5,054 additions and 96 deletions.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,23 @@ 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/).

## [v0.7.1]

### Fixed
- Fix permission issue when running incremental migrations.
- Make sure that pypgstac migrate runs in a single transaction
- Don't try to use concurrently when building indexes by default (this was tripping things up when using with pg_cron)
- Don't short circuit search for requests with ids (Fixes #159)
- Fix for issue with pagination when sorting by columns with nulls (Fixes #161 Fixes #152)
- Fixes issue where duplicate datetime,end_datetime index was being built.
- Fix bug in pypgstac loader when using delsert option

### Added
- Add trigger to detect duplicate configurations for name/collection combination in queryables
- Add trigger to ensure collections added to queryables exist
- Add tests for queryables triggers
- Add more tests for different pagination scenarios

## [v0.7.0]

### Added
Expand Down
2 changes: 1 addition & 1 deletion scripts/test
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ function usage() {
if [ "${BASH_SOURCE[0]}" = "${0}" ]; then
docker-compose build
echo "test $@"
docker-compose run --rm pgstac test $@
docker-compose run -T --rm pgstac test $@
fi
1 change: 1 addition & 0 deletions src/pgstac/migrations/pgstac.0.6.13-0.7.0.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
RESET ROLE;
DO $$
DECLARE
BEGIN
Expand Down
Loading

0 comments on commit 60af52a

Please sign in to comment.