Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

## [Unreleased]

## [6.2.1] - 2026-01-23

### Fixed

- Set default values for deprecated `postgres_*` settings to `None` ([#343](https://github.com/stac-utils/stac-fastapi-pgstac/pull/343))
Expand Down Expand Up @@ -559,7 +561,8 @@ As a part of this release, this repository was extracted from the main

- First PyPi release!

[Unreleased]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/6.2.0..main>
[Unreleased]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/6.2.1..main>
[6.2.1]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/6.2.0..6.2.1>
[6.2.0]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/6.1.5..6.2.0>
[6.1.5]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/6.1.4..6.1.5>
[6.1.4]: <https://github.com/stac-utils/stac-fastapi-pgstac/compare/6.1.3..6.1.4>
Expand Down
2 changes: 1 addition & 1 deletion RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This is a checklist for releasing a new version of **stac-fastapi**.

Note: You can use [`bump-my-version`](https://github.com/callowayproject/bump-my-version) CLI
```
bump-my-version bump --new-version 3.1.0
uv run --with bump-my-version bump-my-version bump --new-version 3.1.0
```

4. Update [CHANGES.md](./CHANGES.md) for the new version.
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
6.2.0
6.2.1
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ dev = [
"httpx",
"psycopg[pool,binary]==3.2.*",
"pre-commit",
"bump-my-version",
]
docs = [
"black>=23.10.1",
Expand Down Expand Up @@ -141,7 +140,7 @@ ignore = [
]

[tool.bumpversion]
current_version = "6.2.0"
current_version = "6.2.1"
parse = """(?x)
(?P<major>\\d+)\\.
(?P<minor>\\d+)\\.
Expand Down
2 changes: 1 addition & 1 deletion stac_fastapi/pgstac/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
"""library version."""

__version__ = "6.2.0"
__version__ = "6.2.1"
9 changes: 8 additions & 1 deletion tests/api/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ async def test_app_query_extension_gte(load_test_data, app_client, load_test_col
async def test_app_collection_fields_extension(
load_test_data, app_client, load_test_collection, app
):
res = await app_client.get("/_mgmt/health")
pgstac_version = res.json()["pgstac"]["pgstac_version"]

fields = ["title"]
resp = await app_client.get("/collections", params={"fields": ",".join(fields)})

Expand All @@ -284,7 +287,11 @@ async def test_app_collection_fields_extension(

assert len(resp_collections) > 0
# NOTE: It's a bug that 'collection' is always included; see #327
constant_fields = ["id", "links", "collection"]
if tuple(map(int, pgstac_version.split("."))) < (0, 9, 9):
constant_fields = ["id", "links", "collection"]
else:
constant_fields = ["id", "links"]

for collection in resp_collections:
assert set(collection.keys()) == set(fields + constant_fields)

Expand Down
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def database(postgresql_proc):
@pytest.fixture(
params=[
"0.8.6",
"0.9.8",
"0.9.9",
],
)
def pgstac(request, database):
Expand Down
252 changes: 93 additions & 159 deletions uv.lock

Large diffs are not rendered by default.

Loading