You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Related Issue(s):**
#337
**Description:**
- Updated package names in setup.py files to use underscores instead of
periods for PEP 625 compliance
- Changed `stac_fastapi.opensearch` to `stac_fastapi_opensearch`
- Changed `stac_fastapi.elasticsearch` to `stac_fastapi_elasticsearch`
- Changed `stac_fastapi.core` to `stac_fastapi_core`
- Updated all related dependencies to use the new naming convention
- Renamed `docker-compose.yml` to `compose.yml` to align with Docker
Compose V2 conventions
- Removed deprecated `version` field from all compose files
- Updated `STAC_FASTAPI_VERSION` environment variables to 4.0.0a1 in all
compose files
- Bumped version from 4.0.0a0 to 4.0.0a1 for the PEP 625 compliant
release
- Updated dependency requirements to use compatible release specifiers
(~=) for more controlled updates while allowing for bug fixes and
security patches
- Removed elasticsearch-dsl dependency as it's now part of the
elasticsearch package since version 8.18.0
**PR Checklist:**
- [x] Code is formatted and linted (run `pre-commit run --all-files`)
- [x] Tests pass (run `make test`)
- [x] Documentation has been updated to reflect changes, if applicable
- [x] Changes are added to the changelog
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
13
13
14
14
### Fixed
15
15
16
-
## [v4.0.0a0] - 2025-04-17
16
+
## [v4.0.0a1] - 2925-04-17
17
+
18
+
### Changed
19
+
- Updated package names in setup.py files to use underscores instead of periods for PEP 625 compliance [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/358)
20
+
- Changed `stac_fastapi.opensearch` to `stac_fastapi_opensearch`
21
+
- Changed `stac_fastapi.elasticsearch` to `stac_fastapi_elasticsearch`
22
+
- Changed `stac_fastapi.core` to `stac_fastapi_core`
23
+
- Updated all related dependencies to use the new naming convention
24
+
- Renamed `docker-compose.yml` to `compose.yml` to align with Docker Compose V2 conventions [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/358)
25
+
- Removed deprecated `version` field from all compose files [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/358)
26
+
- Updated `STAC_FASTAPI_VERSION` environment variables to 4.0.0a1 in all compose files [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/358)
27
+
- Bumped version from 4.0.0a0 to 4.0.0a1 for the PEP 625 compliant release [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/358)
28
+
- Updated dependency requirements to use compatible release specifiers (~=) for more controlled updates while allowing for bug fixes and security patches [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/issues/358)
29
+
- Removed elasticsearch-dsl dependency as it's now part of the elasticsearch package since version 8.18.0 [#358](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/issues/358)
30
+
31
+
## [v4.0.0a0] - 2025-04-16
17
32
18
33
### Added
19
34
- Added support for dynamically-generated queryables based on Elasticsearch/OpenSearch mappings, with extensible metadata augmentation [#351](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/351)
@@ -328,7 +343,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
328
343
- Use genexp in execute_search and get_all_collections to return results.
329
344
- Added db_to_stac serializer to item_collection method in core.py.
[](https://gitter.im/stac-fastapi-elasticsearch/community?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
14
14
15
15
@@ -26,7 +26,7 @@
26
26
27
27
- Our Api core library can be used to create custom backends. See [stac-fastapi-mongo](https://github.com/Healy-Hyperspatial/stac-fastapi-mongo) for a working example.
28
28
- Reach out on our [Gitter](https://app.gitter.im/#/room/#stac-fastapi-elasticsearch_community:gitter.im) channel or feel free to add to our [Discussions](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/discussions) page here on github.
29
-
- There is [Postman](https://documenter.getpostman.com/view/12888943/2s8ZDSdRHA) documentation here for examples on how to run some of the API routes locally - after starting the elasticsearch backend via the docker-compose.yml file.
29
+
- There is [Postman](https://documenter.getpostman.com/view/12888943/2s8ZDSdRHA) documentation here for examples on how to run some of the API routes locally - after starting the elasticsearch backend via the compose.yml file.
30
30
- The `/examples` folder shows an example of running stac-fastapi-elasticsearch from PyPI in docker without needing any code from the repository. There is also a Postman collection here that you can load into Postman for testing the API routes.
31
31
32
32
- For changes, see the [Changelog](CHANGELOG.md)
@@ -35,14 +35,20 @@
35
35
36
36
### To install from PyPI:
37
37
38
-
```shell
39
-
pip install stac_fastapi.elasticsearch
40
-
```
41
-
or
42
-
```
43
-
pip install stac_fastapi.opensearch
38
+
```bash
39
+
# For versions 4.0.0a1 and newer (PEP 625 compliant naming):
> **Important Note:** Starting with version 4.0.0a1, package names have changed from using periods (e.g., `stac-fastapi.core`) to using hyphens (e.g., `stac-fastapi-core`) to comply with PEP 625. The internal package structure uses underscores, but users should install with hyphens as shown above. Please update your requirements files accordingly.
51
+
46
52
### To install and run via pre-built Docker Images
47
53
48
54
We provide ready-to-use Docker images through GitHub Container Registry ([ElasticSearch](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pkgs/container/stac-fastapi-es) and [OpenSearch](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pkgs/container/stac-fastapi-os) backends). You can easily pull and run these images:
## Run Elasticsearch API backend on localhost:8080
59
65
60
-
You need to ensure [**Docker Compose**](https://docs.docker.com/compose/install/) or [**Podman Compose**](https://podman-desktop.io/docs/compose) installed and running on your machine. In the follwoing command instead of `docker-compose` you can use `podman-compose` as well.
66
+
You need to ensure [**Docker Compose**](https://docs.docker.com/compose/install/) or [**Podman Compose**](https://podman-desktop.io/docs/compose) installed and running on your machine. In the following command instead of `dockercompose` you can use `podman-compose` as well.
61
67
62
68
```shell
63
-
docker-compose up elasticsearch app-elasticsearch
69
+
dockercompose up elasticsearch app-elasticsearch
64
70
```
65
71
66
-
By default, docker-compose uses Elasticsearch 8.x and OpenSearch 2.11.1.
72
+
By default, Docker Compose uses Elasticsearch 8.x and OpenSearch 2.11.1.
67
73
If you wish to use a different version, put the following in a
68
-
file named `.env` in the same directory you run docker-compose from:
74
+
file named `.env` in the same directory you run Docker Compose from:
69
75
70
76
```shell
71
77
ELASTICSEARCH_VERSION=7.17.1
@@ -165,7 +171,7 @@ These templates will be used implicitly when creating new Collection and Item in
165
171
This section covers how to create a snapshot repository and then create and restore snapshots with this.
166
172
167
173
Create a snapshot repository. This puts the files in the `elasticsearch/snapshots` in this git repo clone, as
168
-
the elasticsearch.yml and docker-compose files create a mapping from that directory to
174
+
the elasticsearch.yml and compose files create a mapping from that directory to
169
175
`/usr/share/elasticsearch/snapshots` within the Elasticsearch container and grant permissions on using it.
0 commit comments