From 189cc95bbb2d04d1ece2a4d3b146415e54eab1da Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Tue, 21 Oct 2025 14:16:32 +0800 Subject: [PATCH 1/4] Re;ease v6.6.0 --- CHANGELOG.md | 16 +++++++++++++++- stac_fastapi/core/stac_fastapi/core/version.py | 2 +- stac_fastapi/elasticsearch/pyproject.toml | 4 ++-- .../stac_fastapi/elasticsearch/version.py | 2 +- stac_fastapi/opensearch/pyproject.toml | 4 ++-- .../stac_fastapi/opensearch/version.py | 2 +- stac_fastapi/sfeos_helpers/pyproject.toml | 2 +- .../stac_fastapi/sfeos_helpers/version.py | 2 +- 8 files changed, 24 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ac25a36ce..9b775bb94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,19 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Added +### Changed + +### Fixed + +### Removed + +### Updated + + +## [v6.6.0] - 2025-10-21 + +### Added + - Spatial search support for collections via `bbox` parameter on `/collections` endpoint. Collections are now indexed with a `bbox_shape` field (GeoJSON polygon) derived from their spatial extent for efficient geospatial queries when created or updated. [#481](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/481 - Introduced SFEOS Tools (`sfeos_tools/`) - An installable Click-based CLI package for managing SFEOS deployments. Initial command `add-bbox-shape` adds the `bbox_shape` field to existing collections for spatial search compatibility. Install with `pip install sfeos-tools[elasticsearch]` or `pip install sfeos-tools[opensearch]`. [#481](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/481) - Moved SFEOS Tools to its own repository at [Healy-Hyperspatial/sfeos-tools](https://github.com/Healy-Hyperspatial/sfeos-tools). The CLI package is now maintained separately. [#PR_NUMBER] @@ -577,7 +590,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. - Use genexp in execute_search and get_all_collections to return results. - Added db_to_stac serializer to item_collection method in core.py. -[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.5.1...main +[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.6.0...main +[v6.6.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.5.1...v6.6.0 [v6.5.1]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.5.0...v6.5.1 [v6.5.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.4.0...v6.5.0 [v6.4.0]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.3.0...v6.4.0 diff --git a/stac_fastapi/core/stac_fastapi/core/version.py b/stac_fastapi/core/stac_fastapi/core/version.py index 019563e86..1335b265b 100644 --- a/stac_fastapi/core/stac_fastapi/core/version.py +++ b/stac_fastapi/core/stac_fastapi/core/version.py @@ -1,2 +1,2 @@ """library version.""" -__version__ = "6.5.1" +__version__ = "6.6.0" diff --git a/stac_fastapi/elasticsearch/pyproject.toml b/stac_fastapi/elasticsearch/pyproject.toml index 85e196b08..340f9bf5c 100644 --- a/stac_fastapi/elasticsearch/pyproject.toml +++ b/stac_fastapi/elasticsearch/pyproject.toml @@ -30,8 +30,8 @@ keywords = [ ] dynamic = ["version"] dependencies = [ - "stac-fastapi-core==6.5.1", - "sfeos-helpers==6.5.1", + "stac-fastapi-core==6.6.0", + "sfeos-helpers==6.6.0", "elasticsearch[async]~=8.19.1", "uvicorn~=0.23.0", "starlette>=0.35.0,<0.36.0", diff --git a/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/version.py b/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/version.py index 019563e86..1335b265b 100644 --- a/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/version.py +++ b/stac_fastapi/elasticsearch/stac_fastapi/elasticsearch/version.py @@ -1,2 +1,2 @@ """library version.""" -__version__ = "6.5.1" +__version__ = "6.6.0" diff --git a/stac_fastapi/opensearch/pyproject.toml b/stac_fastapi/opensearch/pyproject.toml index 4ed3222f4..24f7fb09a 100644 --- a/stac_fastapi/opensearch/pyproject.toml +++ b/stac_fastapi/opensearch/pyproject.toml @@ -30,8 +30,8 @@ keywords = [ ] dynamic = ["version"] dependencies = [ - "stac-fastapi-core==6.5.1", - "sfeos-helpers==6.5.1", + "stac-fastapi-core==6.6.0", + "sfeos-helpers==6.6.0", "opensearch-py~=2.8.0", "opensearch-py[async]~=2.8.0", "uvicorn~=0.23.0", diff --git a/stac_fastapi/opensearch/stac_fastapi/opensearch/version.py b/stac_fastapi/opensearch/stac_fastapi/opensearch/version.py index 019563e86..1335b265b 100644 --- a/stac_fastapi/opensearch/stac_fastapi/opensearch/version.py +++ b/stac_fastapi/opensearch/stac_fastapi/opensearch/version.py @@ -1,2 +1,2 @@ """library version.""" -__version__ = "6.5.1" +__version__ = "6.6.0" diff --git a/stac_fastapi/sfeos_helpers/pyproject.toml b/stac_fastapi/sfeos_helpers/pyproject.toml index a2f236529..4c49aec11 100644 --- a/stac_fastapi/sfeos_helpers/pyproject.toml +++ b/stac_fastapi/sfeos_helpers/pyproject.toml @@ -31,7 +31,7 @@ keywords = [ ] dynamic = ["version"] dependencies = [ - "stac-fastapi.core==6.5.1", + "stac-fastapi.core==6.6.0", ] [project.urls] diff --git a/stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/version.py b/stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/version.py index 019563e86..1335b265b 100644 --- a/stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/version.py +++ b/stac_fastapi/sfeos_helpers/stac_fastapi/sfeos_helpers/version.py @@ -1,2 +1,2 @@ """library version.""" -__version__ = "6.5.1" +__version__ = "6.6.0" From 474ee276c033b265177faea4f3d6b145ad1763f9 Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Tue, 21 Oct 2025 14:20:34 +0800 Subject: [PATCH 2/4] update publish script --- .github/workflows/publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 51f326e13..0139f38a1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -21,7 +21,7 @@ jobs: - name: Install build dependencies run: | python -m pip install --upgrade pip - pip install setuptools wheel twine + pip install build twine - name: Build and publish stac-fastapi-core working-directory: stac_fastapi/core @@ -30,7 +30,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | # Build package - python setup.py sdist bdist_wheel + python -m build # Publish to PyPI twine upload dist/* @@ -42,7 +42,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | # Build package - python setup.py sdist bdist_wheel + python -m build # Publish to PyPI twine upload dist/* @@ -54,7 +54,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | # Build package - python setup.py sdist bdist_wheel + python -m build # Publish to PyPI twine upload dist/* @@ -66,7 +66,7 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} run: | # Build package - python setup.py sdist bdist_wheel + python -m build # Publish to PyPI twine upload dist/* From 41ab25a38540491f000314d21a946457094d9557 Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Tue, 21 Oct 2025 15:06:11 +0800 Subject: [PATCH 3/4] remove readme files --- stac_fastapi/core/README.md | 1 - stac_fastapi/elasticsearch/README.md | 1 - stac_fastapi/opensearch/README.md | 1 - stac_fastapi/sfeos_helpers/README.md | 1 - 4 files changed, 4 deletions(-) delete mode 120000 stac_fastapi/core/README.md delete mode 120000 stac_fastapi/elasticsearch/README.md delete mode 120000 stac_fastapi/opensearch/README.md delete mode 120000 stac_fastapi/sfeos_helpers/README.md diff --git a/stac_fastapi/core/README.md b/stac_fastapi/core/README.md deleted file mode 120000 index fe8400541..000000000 --- a/stac_fastapi/core/README.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file diff --git a/stac_fastapi/elasticsearch/README.md b/stac_fastapi/elasticsearch/README.md deleted file mode 120000 index fe8400541..000000000 --- a/stac_fastapi/elasticsearch/README.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file diff --git a/stac_fastapi/opensearch/README.md b/stac_fastapi/opensearch/README.md deleted file mode 120000 index fe8400541..000000000 --- a/stac_fastapi/opensearch/README.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file diff --git a/stac_fastapi/sfeos_helpers/README.md b/stac_fastapi/sfeos_helpers/README.md deleted file mode 120000 index fe8400541..000000000 --- a/stac_fastapi/sfeos_helpers/README.md +++ /dev/null @@ -1 +0,0 @@ -../../README.md \ No newline at end of file From 0d49758964b168f9bd1bce95c768d4c7f78ab00a Mon Sep 17 00:00:00 2001 From: jonhealy1 Date: Tue, 21 Oct 2025 15:08:42 +0800 Subject: [PATCH 4/4] add readme files --- stac_fastapi/core/README.md | 20 ++++++++++++++++++++ stac_fastapi/elasticsearch/README.md | 20 ++++++++++++++++++++ stac_fastapi/opensearch/README.md | 20 ++++++++++++++++++++ stac_fastapi/sfeos_helpers/README.md | 22 ++++++++++++++++++++++ 4 files changed, 82 insertions(+) create mode 100644 stac_fastapi/core/README.md create mode 100644 stac_fastapi/elasticsearch/README.md create mode 100644 stac_fastapi/opensearch/README.md create mode 100644 stac_fastapi/sfeos_helpers/README.md diff --git a/stac_fastapi/core/README.md b/stac_fastapi/core/README.md new file mode 100644 index 000000000..6f89cb4a4 --- /dev/null +++ b/stac_fastapi/core/README.md @@ -0,0 +1,20 @@ +# stac-fastapi-core + +Core functionality for stac-fastapi. For full documentation, please see the [main README](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/README.md). + +## Package Information + +- **Package name**: stac-fastapi-core +- **Description**: Core functionality for STAC API implementations. +- **Documentation**: [https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/) +- **Source**: [GitHub Repository](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/) + +## Installation + +```bash +pip install stac-fastapi-core +``` + +## Quick Start + +For detailed usage and examples, please refer to the [main documentation](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/). diff --git a/stac_fastapi/elasticsearch/README.md b/stac_fastapi/elasticsearch/README.md new file mode 100644 index 000000000..2ffe21b2f --- /dev/null +++ b/stac_fastapi/elasticsearch/README.md @@ -0,0 +1,20 @@ +# stac-fastapi-elasticsearch + +This is the Elasticsearch backend for stac-fastapi. For full documentation, please see the [main README](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/README.md). + +## Package Information + +- **Package name**: stac-fastapi-elasticsearch +- **Description**: An implementation of STAC API based on the FastAPI framework with Elasticsearch. +- **Documentation**: [https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/) +- **Source**: [GitHub Repository](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/) + +## Installation + +```bash +pip install stac-fastapi-elasticsearch +``` + +## Quick Start + +For detailed usage and examples, please refer to the [main documentation](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/). diff --git a/stac_fastapi/opensearch/README.md b/stac_fastapi/opensearch/README.md new file mode 100644 index 000000000..27b698413 --- /dev/null +++ b/stac_fastapi/opensearch/README.md @@ -0,0 +1,20 @@ +# stac-fastapi-opensearch + +This is the OpenSearch backend for stac-fastapi. For full documentation, please see the [main README](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/README.md). + +## Package Information + +- **Package name**: stac-fastapi-opensearch +- **Description**: An implementation of STAC API based on the FastAPI framework with OpenSearch. +- **Documentation**: [https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/) +- **Source**: [GitHub Repository](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/) + +## Installation + +```bash +pip install stac-fastapi-opensearch +``` + +## Quick Start + +For detailed usage and examples, please refer to the [main documentation](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/). diff --git a/stac_fastapi/sfeos_helpers/README.md b/stac_fastapi/sfeos_helpers/README.md new file mode 100644 index 000000000..108ba60b6 --- /dev/null +++ b/stac_fastapi/sfeos_helpers/README.md @@ -0,0 +1,22 @@ +# sfeos-helpers + +Helper utilities for the stac-fastapi project. For full documentation, please see the [main README](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/README.md). + +## Package Information + +- **Package name**: sfeos-helpers +- **Description**: Helper utilities for the stac-fastapi project. +- **Documentation**: [https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/) +- **Source**: [GitHub Repository](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/) + +## Installation + +This package is a dependency of stac-fastapi-elasticsearch and stac-fastapi-opensearch and is typically installed automatically. + +```bash +pip install stac-fastapi-elasticsearch # or stac-fastapi-opensearch +``` + +## Quick Start + +For detailed usage and examples, please refer to the [main documentation](https://stac-utils.github.io/stac-fastapi-elasticsearch-opensearch/).