Skip to content

Commit 92be5a6

Browse files
authored
Merge branch 'main' into feat/helm-chart
2 parents f3d43ce + f99c6e6 commit 92be5a6

File tree

9 files changed

+31
-18
lines changed

9 files changed

+31
-18
lines changed

CHANGELOG.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,20 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1818

1919
### Fixed
2020

21+
- Fix unawaited coroutine in `stac_fastapi.core.core`. [#551](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/551)
22+
23+
### Removed
24+
25+
### Updated
26+
27+
## [v6.7.6] - 2025-12-04
28+
29+
### Fixed
30+
2131
- Fix incorrect min/max date formatting in `apply_datetime_filter` for `POST` requests. [#539](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/539)
2232
- Fixed datetime filtering for .0Z milliseconds to preserve precision in apply_filter_datetime, ensuring only items exactly within the specified range are returned. [#535](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/535)
2333
- Normalize datetime in POST /search requests to match GET /search behavior. [#543](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/543)
24-
25-
### Removed
34+
- Fix optional Redis support in core.py. [#549](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/549)
2635

2736
## [v6.7.5] - 2025-11-25
2837

@@ -664,7 +673,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
664673
- Use genexp in execute_search and get_all_collections to return results.
665674
- Added db_to_stac serializer to item_collection method in core.py.
666675

667-
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.5...main
676+
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.6...main
677+
[v6.7.6]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.5...v6.7.6
668678
[v6.7.5]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.4...v6.7.5
669679
[v6.7.4]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.3...v6.7.4
670680
[v6.7.3]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.2...v6.7.3

stac_fastapi/core/stac_fastapi/core/core.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
from stac_fastapi.core.base_settings import ApiBaseSettings
2525
from stac_fastapi.core.datetime_utils import format_datetime_range
2626
from stac_fastapi.core.models.links import PagingLinks
27-
from stac_fastapi.core.redis_utils import redis_pagination_links
2827
from stac_fastapi.core.serializers import CollectionSerializer, ItemSerializer
2928
from stac_fastapi.core.session import Session
3029
from stac_fastapi.core.utilities import filter_fields, get_bool_env
@@ -426,6 +425,8 @@ async def all_collections(
426425
]
427426

428427
if redis_enable:
428+
from stac_fastapi.core.redis_utils import redis_pagination_links
429+
429430
await redis_pagination_links(
430431
current_url=str(request.url),
431432
token=token,
@@ -758,7 +759,7 @@ async def post_search(
758759

759760
body_limit = None
760761
try:
761-
if request.method == "POST" and request.body():
762+
if request.method == "POST" and await request.body():
762763
body_data = await request.json()
763764
body_limit = body_data.get("limit")
764765
except Exception:
@@ -904,6 +905,8 @@ async def post_search(
904905
links.extend(collection_links)
905906

906907
if redis_enable:
908+
from stac_fastapi.core.redis_utils import redis_pagination_links
909+
907910
await redis_pagination_links(
908911
current_url=str(request.url),
909912
token=token_param,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "6.7.5"
2+
__version__ = "6.7.6"

stac_fastapi/elasticsearch/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ keywords = [
2828
]
2929
dynamic = ["version"]
3030
dependencies = [
31-
"stac-fastapi-core==6.7.5",
32-
"sfeos-helpers==6.7.5",
31+
"stac-fastapi-core==6.7.6",
32+
"sfeos-helpers==6.7.6",
3333
"elasticsearch[async]~=8.19.1",
3434
"uvicorn~=0.23.0",
3535
"starlette>=0.35.0,<0.36.0",
@@ -48,7 +48,7 @@ dev = [
4848
"httpx>=0.24.0,<0.28.0",
4949
"redis~=6.4.0",
5050
"retry~=0.9.2",
51-
"stac-fastapi-core[redis]==6.7.5",
51+
"stac-fastapi-core[redis]==6.7.6",
5252
]
5353
docs = [
5454
"mkdocs~=1.4.0",
@@ -58,7 +58,7 @@ docs = [
5858
"retry~=0.9.2",
5959
]
6060
redis = [
61-
"stac-fastapi-core[redis]==6.7.5",
61+
"stac-fastapi-core[redis]==6.7.6",
6262
]
6363
server = [
6464
"uvicorn[standard]~=0.23.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "6.7.5"
2+
__version__ = "6.7.6"

stac_fastapi/opensearch/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ keywords = [
2828
]
2929
dynamic = ["version"]
3030
dependencies = [
31-
"stac-fastapi-core==6.7.5",
32-
"sfeos-helpers==6.7.5",
31+
"stac-fastapi-core==6.7.6",
32+
"sfeos-helpers==6.7.6",
3333
"opensearch-py~=2.8.0",
3434
"opensearch-py[async]~=2.8.0",
3535
"uvicorn~=0.23.0",
@@ -49,15 +49,15 @@ dev = [
4949
"httpx>=0.24.0,<0.28.0",
5050
"redis~=6.4.0",
5151
"retry~=0.9.2",
52-
"stac-fastapi-core[redis]==6.7.5",
52+
"stac-fastapi-core[redis]==6.7.6",
5353
]
5454
docs = [
5555
"mkdocs~=1.4.0",
5656
"mkdocs-material~=9.0.0",
5757
"pdocs~=1.2.0",
5858
]
5959
redis = [
60-
"stac-fastapi-core[redis]==6.7.5",
60+
"stac-fastapi-core[redis]==6.7.6",
6161
]
6262
server = [
6363
"uvicorn[standard]~=0.23.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "6.7.5"
2+
__version__ = "6.7.6"

stac_fastapi/sfeos_helpers/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ keywords = [
2929
]
3030
dynamic = ["version"]
3131
dependencies = [
32-
"stac-fastapi.core==6.7.5",
32+
"stac-fastapi.core==6.7.6",
3333
]
3434

3535
[project.urls]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
"""library version."""
2-
__version__ = "6.7.5"
2+
__version__ = "6.7.6"

0 commit comments

Comments
 (0)