Releases: stac-utils/stac-fastapi
Releases · stac-utils/stac-fastapi
v2.4.8
v2.4.7
What's Changed
- Update request body types for Transaction Extension spec and client by @mmcfarland in #574
- Use ruff for pre-commit checks; replaces isort and flake8 by @jpolchlo in #549
- Release v2.4.7 by @gadomski in #575
New Contributors
Full Changelog: 2.4.6...2.4.7
v2.4.6
This is the first release after the backend breakout. stac-fastapi-pgstac and stac-fastapi-sqlalchemy now live as stand-alone repositories. This should be a zero-impact change for project that depend on these pacakges, as there have been no changes to functional code or the packaging layout.
In the coming days and weeks, we will be moving any backend-specific issues from this repo to their respective backend repos. One PR (#559) was closed, and its author was asked to re-open that PR on the backend repo.
What's Changed
- Remove backend repos by @gadomski in #555
- Update iso8601 requirement from ~=1.0.2 to >=1.0.2,<1.2.0 in /stac_fastapi/types by @dependabot in #570
- Bump actions/setup-python from 3 to 4 by @dependabot in #569
- Fix Github Pages deploy by @gadomski in #571
- Release v2.4.6 by @gadomski in #572
Changes that have been ported to stac-fastapi-pgstac
Backport PR: stac-utils/stac-fastapi-pgstac#22
- Improve logging of pgSTAC tests by @alukach in #564
- Add tooling to make customization of DB Connection possible by @alukach in #538
New Contributors
- @dependabot made their first contribution in #570
Full Changelog: 2.4.5...2.4.6
v2.4.5
2.4.4
What's Changed
- Allow url encoded queries by @gadomski in #504
- Correct path in register_update_item docstring by @bmcandr in #507
- Fixup changelog by @gadomski in #509
- Update pgstac to v0.6.12 by @gadomski in #511
- Use stac-api-validator in ci by @gadomski in #508
- Add 3.11 to test matrix by @geospatial-jeff in #500
- Update changelog for #508 by @gadomski in #512
- Bump pre-commit dep versions by @gadomski in #518
- [pgstac] Delete items using collection id by @gadomski in #520
- Rework update_openapi function. by @eseglem in #523
- Support intersects for GET requests by @gadomski in #521
- Replace values above limit with limit value. by @eseglem in #526
- Increase wait timeout when loading the demo dataset by @pjhartzell in #529
- [sqlalchemy] Return 404 for missing collection on /items by @gadomski in #528
- Add backend-specific dockerfiles, publish images by @gadomski in #525
- Fix for tags for ghcr images in README by @gadomski in #531
- Add nginx service as second docker-compose stack by @geospatial-jeff in #503
- Remove tox by @gadomski in #536
- Update filter conformance uris by @gadomski in #540
- Update pgstac to v0.7.1 by @gadomski in #535
- Remove incorrect needs by @gadomski in #542
- Release v2.4.4 by @gadomski in #543
New Contributors
- @bmcandr made their first contribution in #507
- @eseglem made their first contribution in #523
- @pjhartzell made their first contribution in #529
Full Changelog: 2.4.3...2.4.4
2.4.3
2.4.2
Added
- Add support in pgstac backend for /queryables and /collections/{collection_id}/queryables endpoints with functions exposed in pgstac 0.6.8 (#474)
- Add
bbox
anddatetime
query parameters to/collections/{collection_id}/items
. (#476, #380) - Update pgstac requirement to 0.6.10
- Add
servers
anddescription
to OpenAPI (#459)
Changed
Removed
- Removed
stac_fastapi.api.routes.create_sync_endpoint
function to reduce code duplication (#471)
Fixed
2.4.1
Added
Changed
Removed
Fixed
ciso8601
fails to build in some environments, instead usepyiso8601
to parse datetimes.
2.4.0
Added
- Add hook to allow adding dependencies to routes. (#295)
- Ability to POST an ItemCollection to the collections/{collectionId}/items route. (#367)
- Add STAC API - Collections conformance class. (383)
- Bulk item inserts for pgstac implementation. (411)
- Add APIRouter prefix support for pgstac implementation. (429)
- Respect
Forwarded
orX-Forwarded-*
request headers when building links to better accommodate load balancers and proxies.
Changed
- Update FastAPI requirement to allow version >=0.73 (#337)
- Bump version of PGStac to 0.4.5 (#346)
- Add support for PGStac Backend to use PyGeofilter to convert Get Request with cql2-text into cql2-json to send to PGStac backend (#346)
- Updated all conformance classes to 1.0.0-rc.1. (383)
- Bulk Transactions object Items iterator now returns the Item objects rather than the string IDs of the Item objects
(#355) - docker-compose now runs uvicorn with hot-reloading enabled
- Bump version of PGStac to 0.6.2 that includes support for hydrating results in the API backed (#397)
- Make item geometry and bbox nullable in sqlalchemy backend. (#398)
- Transactions Extension update Item endpoint Item is now
/collections/{collection_id}/items/{item_id}
instead of
/collections/{collection_id}/items
to align with STAC API
spec (#425)
Removed
- Remove the unused
router_middleware
function (#439)
Fixed
- Bumped uvicorn version to 0.17 (from >=0.12, <=0.14) to resolve security vulnerability related to websockets dependency version (#343)
AttributeError
and/or missing properties when requesting the completeproperties
-field in searches. Added test. (#339)- Fixes issues (and adds tests) for issues caused by regression in pgstac (#345
- Update error response payloads to match the API spec. (#361)
- Fixed stray
/
before the#
in several extension conformance class strings (383) - SQLAlchemy backend bulk item insert now works (#356)
- PGStac Backend has stricter implementation of Fields Extension syntax (#397)
/queryables
endpoint now has typeapplication/schema+json
instead ofapplication/json
(#421)- Transactions Extension update Item endpoint validates that the
{collection_id}
path parameter matches the Item"collection"
property
from the request body, if present, and falls back to using the path parameter if no"collection"
property is found in the body
(#425) - PGStac Backend Transactions endpoints return added Item/Collection instead of Item/Collection from request (#424)
- Application no longer breaks on startup when pagination extension is not included (#444)
2.3.0
What's Changed
- Return existing links in pgstac by @lossyrob in #282
- Add 'filter' to the list of extensions by @drnextgis in #280
- Ensure limit 0 searches return 400 by @moradology in #296
- Fix content-type of /api response by @moradology in #287
- Set content-type to geojson for search results by @moradology in #288
- Use pythonic variable names where possible by @moradology in #304
- refactoring to create dynamic request model by @rsmith013 in #213
- Use correct version of QueryExtension by @moradology in #306
- Enable context extension by default by @jaysnm in #211
- Update item transactions in SQLAlchemy by @jonhealy1 in #303
- Remove
tiles
extension demo by @moradology in #309 - Pgstac v0.4.0b by @bitner in #308
- Use provided GET search basemodel by @moradology in #310
- Change geometry type in the items table by @yellowcap in #299
- Apply necessary environment variables for example docker-compose by @moradology in #313
- Upgrade to pgstac 0.4.2 by @mmcfarland in #321
- Change of datetime type in BaseSearchGetRequest + test improvement by @zstatmanweil in #318
- Change type of example collection to 'Collection' by @robintw in #314
- Throw 400s for invalid datetime formats by @moradology in #323
- Fixing import statement to address issue #324 by @rsmith013 in #325
- upgrade to use pgstac/pypgstac 0.4.3 by @bitner in #326
- Update to 1.0.0-beta.4 by @moradology in #298
- Update docker compose for sqlalchemy by @jonhealy1 in #330
- Update to version 2.3.0 by @moradology in #332
New Contributors
- @drnextgis made their first contribution in #280
- @yellowcap made their first contribution in #299
- @mmcfarland made their first contribution in #321
Full Changelog: 2.2.0...2.3.0