Skip to content

Commit 6e9a653

Browse files
authored
Merge branch 'main' into add-catalog-route
2 parents 641823e + d318e59 commit 6e9a653

File tree

9 files changed

+28
-17
lines changed

9 files changed

+28
-17
lines changed

CHANGELOG.md

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

1616
### Fixed
1717

18+
### Removed
19+
20+
### Updated
21+
22+
## [v6.7.6] - 2025-12-04
23+
24+
### Fixed
25+
1826
- 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)
1927
- 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)
2028
- Normalize datetime in POST /search requests to match GET /search behavior. [#543](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/543)
21-
22-
### Removed
29+
- Fix optional Redis support in core.py. [#549](https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/pull/549)
2330

2431
## [v6.7.5] - 2025-11-25
2532

@@ -661,7 +668,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
661668
- Use genexp in execute_search and get_all_collections to return results.
662669
- Added db_to_stac serializer to item_collection method in core.py.
663670

664-
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.5...main
671+
[Unreleased]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.6...main
672+
[v6.7.6]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.5...v6.7.6
665673
[v6.7.5]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.4...v6.7.5
666674
[v6.7.4]: https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/compare/v6.7.3...v6.7.4
667675
[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: 4 additions & 1 deletion
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 (
2928
CatalogSerializer,
3029
CollectionSerializer,
@@ -453,6 +452,8 @@ async def all_collections(
453452
]
454453

455454
if redis_enable:
455+
from stac_fastapi.core.redis_utils import redis_pagination_links
456+
456457
await redis_pagination_links(
457458
current_url=str(request.url),
458459
token=token,
@@ -931,6 +932,8 @@ async def post_search(
931932
links.extend(collection_links)
932933

933934
if redis_enable:
935+
from stac_fastapi.core.redis_utils import redis_pagination_links
936+
934937
await redis_pagination_links(
935938
current_url=str(request.url),
936939
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)