What's Changed
Breaking change
Previously, the timestamp of STAC objects was updated when any field in the object or in one of the field of one of its children was updated. As of this release, the timestamp is only updated if an underlying file or a file of a child is updated. This affects the updated field of the following object types: Asset, Item, Collection, CollectionAsset, CollectionLink, ItemLink, Provider.
New Features
- PB-1403: Only update asset timestamp when the underlying file has changed. by @adk-swisstopo in #648
- PB-1403: Always update Asset.etag when Asset is updated. by @adk-swisstopo in #651
- PB-1403: Only update timestamp when the file changes. by @adk-swisstopo in #652
- PB-1403: Only update parent timestamp when child timestamp is updated. by @adk-swisstopo in #653
- PB-1608 Reject assets in putFeature payload #patch by @asteiner-swisstopo in #655
Other Changes
- Add TODO to clean up authentication code. by @adk-swisstopo in #641
- Deduplicate and simplify Expires header test code. by @adk-swisstopo in #643
- PB-1403: test and refactor the timestamp-updating trigger. by @adk-swisstopo in #644
- PB-1403: Add tests for pgtriggers and clean up conditions. by @adk-swisstopo in #647
Full Changelog: v2.8.2...v3.0.0