Skip to content

Releases: stac-utils/stac-fastapi

v2.4.8

08 Jun 19:50
2.4.8
5d94f78
Compare
Choose a tag to compare

We now advertise STAC API v1.0.0 🎉!

What's Changed

Full Changelog: 2.4.7...2.4.8

v2.4.7

17 May 15:30
2.4.7
b82aab4
Compare
Choose a tag to compare

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

10 May 15:57
2.4.6
f1f234b
Compare
Choose a tag to compare

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

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

Full Changelog: 2.4.5...2.4.6

v2.4.5

05 Apr 14:04
2.4.5
4a5d72f
Compare
Choose a tag to compare

What's Changed

New Contributors

  • @keul made their first contribution in #547

Full Changelog: 2.4.4...2.4.5

2.4.4

14 Mar 12:49
2.4.4
66a0492
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.4.3...2.4.4

2.4.3

25 Nov 18:53
d53e792
Compare
Choose a tag to compare

Added

  • Add the ENABLED_EXTENSIONS environment variable determining which extensions are enabled in the pgstac application, all extensions are enabled by default (#495)

Changed

Removed

Fixed

2.4.2

25 Nov 18:34
b94704f
Compare
Choose a tag to compare

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 and datetime query parameters to /collections/{collection_id}/items. (#476, #380)
  • Update pgstac requirement to 0.6.10
  • Add servers and description to OpenAPI (#459)

Changed

Removed

  • Removed stac_fastapi.api.routes.create_sync_endpoint function to reduce code duplication (#471)

Fixed

  • Quote password in pgsql strings to accomodate special characters. (#455)
  • Fix pgstac backend for /queryables endpoint to return 404 for non-existent collections (#482)
  • /collection/{collection_id}/items endpoints now return geojson media type (#488)

2.4.1

05 Aug 17:35
5e1ea82
Compare
Choose a tag to compare

Added

Changed

Removed

Fixed

  • ciso8601 fails to build in some environments, instead use pyiso8601 to parse datetimes.

2.4.0

04 Aug 12:21
364fceb
Compare
Choose a tag to compare

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 or X-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 complete properties-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 type application/schema+json instead of application/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

18 Jan 19:50
5dc8e0e
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 2.2.0...2.3.0