Release 2.1.0 +++ Added - A way to customize the picture's license. If none is set, the pictures's license is considered to be proprietary. - A new route `PATCH /api/collections/:cid` is offered to change visibility of a sequence - A way to call the vector tiles as an authenticated user. It is mainly used to be able to see objects only visible for this user. - A `hidden` property in the vector tiles, to mark a sequence or picture as only visible for the owner of this sequence or picture. If the property is not set, the object is visible by all - A new route `DELETE /api/collections/:cid` is offered to delete a collection. The deletion is done asynchronously. - A new route `DELETE /api/collections/:cid/items/:id` is offered to delete a picture - [OpenAPI](https://swagger.io/specification/) conformance tests are now automatically run through `tests/test_api_conformance.sh` script - [Support of pagination](https://github.com/radiantearth/stac-api-spec/tree/main/ogcapi-features#item-pagination) for `GET /api/collections/:cid/items` API route (`first, last, prev, next` relation types) * also support a `?withPicture=:picture_id` query paramater to ask for a page with a specific picture in it - Add a `flask sequences reorder` subcommand to reorder all or some sequences using the picture's datetime. - [Support of pagination](https://github.com/radiantearth/stac-api-spec/blob/master/ogcapi-features/README.md#collection-pagination) for `GET /api/collections` API route (`first, last, prev, next` relation types), with a default limit to 100 sequences retrieved per call - Add 2 optional parameters to the `GET /api/collections` api: `created_after`/`created_before` used to filter the collection by their creation date. +++ Changed - Docker compose files now use `latest` API image instead of `develop` - In default pages (`/` and `/viewer.html`), web viewer version is now synced to current API version instead of develop - Algorithm used for generating smaller versions of pictures changed from _NEAREST_ to _HAMMING_ for better results - API documentation and specifications moved to `/api/docs/swagger` and `/api/docs/specs.json`, and with improved readability of their content - Now heading are recomputed if set to 0 because some camera use this value by default - Hidden pictures will now always be served through the API to be able to check permissions. +++ Fixed - Raw picture bytes are sent to blurring API instead of Pillow-based version, avoiding various issues (too large files, missing EXIF) - Docker-compose files are now compatible with MacOS (replaced `network_mode: host` to use a more classic approach) - Some CORS HTTP headers were missing in API responses to allow client send credentials