Skip to content

Stage v0.10.1 - #496

Merged
bitner merged 9 commits into
v0.10.0from
stage_v0.10.1
Nov 10, 2026
Merged

bitner merged 9 commits into
v0.10.0from
stage_v0.10.1

Conversation

@bitner

@bitner bitner commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

Fix release on the 0.10 branch.

Upgrading

  • From 0.9.x, pypgstac migrate goes straight to 0.10.1. Read the 0.10.0 upgrading notes first.
  • An upgrade now stops before changing the schema if a partition has lost its unique id index, because a plain rebuild would block writes and a concurrent one can't run in a transaction. See "Unique id indexes" in docs/src/pgstac.md.
  • An upgrade from 0.9.x now stops if a queryable's property_path cannot be converted, or if merging duplicate queryables would leave a collection without one. The error names the rows.

Fixed

  • maintain_partitions(dropindexes => true) dropped a partition's unique id index when the id queryable did not cover its collection, letting in duplicate ids.
  • maintain_partitions(dropindexes => true, rebuildindexes => true) failed on an index it keeps when that index's queryable was limited or deleted.
  • The loader picked the wrong partition for a datetime whose UTC offset changed its month or year, and could fail on a batch mixing offsets. Datetimes without an offset are read as UTC.
  • search() with limit 2147483647, and collection_search() with offset + limit above it, failed with integer out of range.
  • A plain pg_dump restore failed on collection_geom (collection_geom has no search_path, so pg_upgrade cannot carry a pgstac database to a new Postgres major #493).

@bitner
bitner requested a review from gadomski November 5, 2026 17:11

@gadomski gadomski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just one question about behavior around too-big limits.

Comment thread src/pgstac/sql/004_search.sql Resolved
@bitner
bitner merged commit acd4414 into v0.10.0 Nov 10, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants