diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index 06615a7e1..da9f8938a 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -16,7 +16,7 @@ jobs: services: elasticsearch_8_svc: - image: docker.elastic.co/elasticsearch/elasticsearch:8.11.0 + image: docker.elastic.co/elasticsearch/elasticsearch:8.19.5 env: cluster.name: stac-cluster node.name: es01 @@ -32,23 +32,6 @@ jobs: ports: - 9200:9200 - elasticsearch_7_svc: - image: docker.elastic.co/elasticsearch/elasticsearch:7.17.1 - env: - cluster.name: stac-cluster - node.name: es01 - network.host: 0.0.0.0 - transport.host: 0.0.0.0 - discovery.type: single-node - http.port: 9400 - xpack.license.self_generated.type: basic - xpack.security.enabled: false - xpack.security.transport.ssl.enabled: false - ES_JAVA_OPTS: -Xms512m -Xmx1g - action.destructive_requires_name: false - ports: - - 9400:9400 - opensearch_2_11: image: opensearchproject/opensearch:2.11.1 env: @@ -69,7 +52,7 @@ jobs: strategy: matrix: python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13"] - backend: [ "elasticsearch7", "elasticsearch8", "opensearch"] + backend: [ "elasticsearch8", "opensearch"] name: Python ${{ matrix.python-version }} testing with ${{ matrix.backend }} @@ -120,9 +103,9 @@ jobs: pipenv run pytest -svvv --timeout=300 env: ENVIRONMENT: testing - ES_PORT: ${{ matrix.backend == 'elasticsearch7' && '9400' || matrix.backend == 'elasticsearch8' && '9200' || '9202' }} + ES_PORT: ${{ matrix.backend == 'elasticsearch8' && '9200' || '9202' }} ES_HOST: 172.17.0.1 ES_USE_SSL: false DATABASE_REFRESH: true ES_VERIFY_CERTS: false - BACKEND: ${{ matrix.backend == 'elasticsearch7' && 'elasticsearch' || matrix.backend == 'elasticsearch8' && 'elasticsearch' || 'opensearch' }} + BACKEND: ${{ matrix.backend == 'elasticsearch8' && 'elasticsearch' || 'opensearch' }} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 21151ced8..c1bc054ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### 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) +- 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] - CloudFerro logo to sponsors and supporters list [#485](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/485) @@ -22,6 +22,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ### Fixed +### Removed + +- Removed Elasticsearch 7 from CI/CD test matrix. The project now only tests against Elasticsearch 8 and OpenSearch. [#497](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/497) + +### Updated + +- Updated Elasticsearch version to 8.19.5 in CI/CD test matrix and compose.yml. [#497](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/497) + ## [v6.5.1] - 2025-09-30 ### Fixed diff --git a/compose.yml b/compose.yml index 8c83ae127..b694c7e98 100644 --- a/compose.yml +++ b/compose.yml @@ -71,7 +71,7 @@ services: elasticsearch: container_name: es-container - image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.11.0} + image: docker.elastic.co/elasticsearch/elasticsearch:${ELASTICSEARCH_VERSION:-8.19.5} hostname: elasticsearch environment: ES_JAVA_OPTS: -Xms512m -Xmx1g