Skip to content

Releases: stac-utils/stac-fastapi

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

2.2.0

19 Oct 17:00
8222b40
Compare
Choose a tag to compare

Added

  • Add ability to override ItemCollectionUri and SearchGetRequest models (#271)
  • Added collections attribute to list of default fields to include, so that we satisfy the STAC API spec, which requires a collections attribute to be output when an item is part of a collection (#276)

Changed

  • Update get_item in sqlalchemy backend to allow for querying for items with same ids but in different collections. (#275)

2.1.1

23 Sep 17:41
27e1345
Compare
Choose a tag to compare

Added

  • Add middlewares option in stac_fastapi.api.StacApi to allow custom middleware configuration (#267)
  • Support non-interval datetime queries on sqlalchemy backend (#262)
  • Restrict limit parameter in sqlalchemy backend to between 1 and 10,000. (#251)
  • Fix OAS conformance URL (#263)
  • Links to children collections from the landing pagge always have a title (#260)
  • Fix collection links in the all_collections method in pgstac (#269)

Fixed

  • Pin FastAPI to 0.67 to avoid issues with rendering OpenAPI documentation (#246)
  • Add stac_version to default search attributes (#268)
  • pgstac backend specifies collection_id when fetching a single item (#279)

2.1.0

27 Aug 02:32
b29d171
Compare
Choose a tag to compare

Added

  • Added filter extension. (#165)
  • Add Support for CQL JSON to PGStac Backend (#209)
  • Added item_serializer and item_table to BulkTransactionsClient in sqlalchemy backend (#210)
  • Enable conformance class configuration (#214)
  • Add/fix landing page links (#229)
  • Correct response codes for bad/unusable bboxes (#235)
  • Add a "method" field for search links (#236)
  • Add extension schemas to landing (#237)

Removed

  • Remove shapely from stac_fastapi.pgstac requirements (#225)

Changed

  • Update to STAC API 1.0.0-beta.3 (#239)

Fixed

  • Make collection title is optional in landing page links (#198)
  • Preserve relative paths on link generation (#199)
  • Fix collection endpoint return value to match spec (fixes regression) (#232)
  • Return empty item collection instead of error when searching (#233)
  • Correct response codes for bad/unusable bboxes (#235)
  • Update pgstac to return 400 on invalid date parameter (#240)

2.0.0

26 Jul 21:38
bd6f661
Compare
Choose a tag to compare
  • Refactor stac-fastapi into submodules (#106)
  • Add pgstac backend (#126)
  • Upgrade to stac-pydantic 2.0.0 and stac-spec 1.0.0 (#181)

1.1.0

29 Jan 05:04
d561b31
Compare
Choose a tag to compare
  • Improve how the library declares API extensions (#54)
  • Add postgres bulk transactions client (#59)
  • Update TiTiler version (#61)
  • Use attrs instead of dataclasses (#73)
  • Remove postgres database connection from API layer (#74)
  • Fix precommit config (#75)

1.0.0

28 Sep 16:01
fb47ded
Compare
Choose a tag to compare
release-1.0.0 (#51)

* add setup.py

* major version

* add changelog

* resolve mismatches

* update readme

* update readme

* update readme

* update setup.py

0.1.0

23 Jun 19:45
933e939
Compare
Choose a tag to compare
first pr (#1)

first-pr