From 49e354f4e49b869fabc322dc862fece425237f61 Mon Sep 17 00:00:00 2001 From: Vincent Sarago Date: Mon, 12 Aug 2024 16:19:56 +0200 Subject: [PATCH] prepare 3.0 release (#138) * prepare 3.0 release * update changelog * fix? --- CHANGES.md | 21 ++++++++++----------- Makefile | 18 +++++++++--------- README.md | 9 +++++++++ VERSION | 2 +- setup.py | 6 +++--- stac_fastapi/pgstac/version.py | 2 +- 6 files changed, 33 insertions(+), 25 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 1995e07a..c9c124e5 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,29 +2,32 @@ ## [Unreleased] +## [3.0.0] - 2024-08-02 + - Enable filter extension for `GET /items` requests and add `Queryables` links in `/collections` and `/collections/{collection_id}` responses ([#89](https://github.com/stac-utils/stac-fastapi-pgstac/pull/89)) - Allow to omit `collection` in bulk item insertions. Same identifier checks as with single insertions ([#113](https://github.com/stac-utils/stac-fastapi-pgstac/pull/113)) +- Set `stac-fastapi-*` requirements to **~=3.0** -## [3.0.0a4] - 2024-07-10 +## 3.0.0a4 - 2024-07-10 - Update stac-fastapi libraries to `~=3.0.0b2` -## [3.0.0a3] - 2024-07-01 +## 3.0.0a3 - 2024-07-01 - Use `quote_plus` instead of `quote` to encode database's password ([#122](https://github.com/stac-utils/stac-fastapi-pgstac/pull/122)) - Update stac-fastapi libraries to `~=3.0.0a4` -## [3.0.0a2] - 2024-06-18 +## 3.0.0a2 - 2024-06-18 - Update stac-fastapi libraries to `~=3.0.0a3` - make sure the application can work without any extension -## [3.0.0a1] - 2024-05-22 +## 3.0.0a1 - 2024-05-22 - Update stac-fastapi libraries to `~=3.0.0a1` - Update stac-pydantic dependency to `==3.1.*` -## [3.0.0a0] - 2024-05-10 +## 3.0.0a0 - 2024-05-10 ### Changed @@ -330,12 +333,8 @@ As a part of this release, this repository was extracted from the main - First PyPi release! -[Unreleased]: -[3.0.0a4]: -[3.0.0a3]: -[3.0.0a2]: -[3.0.0a1]: -[3.0.0a0]: +[Unreleased]: +[3.0.0]: [2.5.0]: [2.4.11]: [2.4.10]: diff --git a/Makefile b/Makefile index f816f13a..57b56b6d 100644 --- a/Makefile +++ b/Makefile @@ -4,25 +4,25 @@ APP_PORT ?= 8080 EXTERNAL_APP_PORT ?= ${APP_PORT} LOG_LEVEL ?= warning -run = docker-compose run --rm \ +run = docker compose run --rm \ -p ${EXTERNAL_APP_PORT}:${APP_PORT} \ -e APP_HOST=${APP_HOST} \ -e APP_PORT=${APP_PORT} \ app -runtests = docker-compose run --rm tests +runtests = docker compose run --rm tests .PHONY: image image: - docker-compose build + docker compose build .PHONY: docker-run docker-run: image - docker-compose up + docker compose up .PHONY: docker-run-nginx-proxy docker-run-nginx-proxy: - docker-compose -f docker-compose.yml -f docker-compose.nginx.yml up + docker compose -f docker-compose.yml -f docker-compose.nginx.yml up .PHONY: docker-shell docker-shell: @@ -34,11 +34,11 @@ test: .PHONY: run-database run-database: - docker-compose run --rm database + docker compose run --rm database .PHONY: run-joplin run-joplin: - docker-compose run --rm loadjoplin + docker compose run --rm loadjoplin .PHONY: install install: @@ -46,10 +46,10 @@ install: .PHONY: docs-image docs-image: - docker-compose -f docker-compose.docs.yml \ + docker compose -f docker-compose.docs.yml \ build .PHONY: docs docs: docs-image - docker-compose -f docker-compose.docs.yml \ + docker compose -f docker-compose.docs.yml \ run docs diff --git a/README.md b/README.md index 8c47c3b4..3aba52a2 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,15 @@ It validates requests and data sent to a [PgSTAC](https://github.com/stac-utils/ All other processing and search is provided directly using PgSTAC procedural sql / plpgsql functions on the database. PgSTAC stores all collection and item records as jsonb fields exactly as they come in allowing for any custom fields to be stored and retrieved transparently. +## `PgSTAC` version + +`stac-fastapi-pgstac` depends on [`pgstac`](https://stac-utils.github.io/pgstac/pgstac/) database schema and [`pypgstac`](https://stac-utils.github.io/pgstac/pypgstac/) python package. + +| stac-fastapi-pgstac Version | pgstac | +| --| --| +| 2.5 | >=0.7,<0.8 | +| 3.0 | >=0.8,<0.9 | + ## Usage PgSTAC is an external project and may be used by multiple front ends. diff --git a/VERSION b/VERSION index 255dd065..4a36342f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -3.0.0a4 +3.0.0 diff --git a/setup.py b/setup.py index 585737d8..76b52893 100644 --- a/setup.py +++ b/setup.py @@ -10,9 +10,9 @@ "orjson", "pydantic", "stac_pydantic==3.1.*", - "stac-fastapi.api~=3.0.0b2", - "stac-fastapi.extensions~=3.0.0b2", - "stac-fastapi.types~=3.0.0b2", + "stac-fastapi.api~=3.0", + "stac-fastapi.extensions~=3.0", + "stac-fastapi.types~=3.0", "asyncpg", "buildpg", "brotli_asgi", diff --git a/stac_fastapi/pgstac/version.py b/stac_fastapi/pgstac/version.py index a0af5a6f..62f2f663 100644 --- a/stac_fastapi/pgstac/version.py +++ b/stac_fastapi/pgstac/version.py @@ -1,3 +1,3 @@ """library version.""" -__version__ = "3.0.0a4" +__version__ = "3.0.0"