Titiler-pgstac

Latest version: v1.7.1

Safety actively analyzes 722491 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 9

1.7.1

* remove `PostgresSettings` initialization from `main.py`

1.7.0

* update titiler requirement to `>=0.21,<0.22`
* use `URN` style CRS notation in WMTS document
* Unify Docker images (deprecate `uvicorn-*` tags)


Uvicorn
before
docker run \
--platform=linux/amd64 \
-p 8000:8000 \
--env PORT=8000 \
--env DATABASE_URL=postgresql://username:password0.0.0.0:5439/postgis \
--rm -it ghcr.io/stac-utils/titiler-pgstac:uvicorn-latest

now
docker run \
--platform=linux/amd64 \
-p 8000:8000 \
--env DATABASE_URL=postgresql://username:password0.0.0.0:5439/postgis \
--rm -it ghcr.io/stac-utils/titiler-pgstac:latest \
uvicorn titiler.pgstac.main:app --host 0.0.0.0 --port 8000 --workers 1

Gunicorn
before
docker run \
--platform=linux/amd64 \
-p 8000:8000 \
--env PORT=8000 \
--env DATABASE_URL=postgresql://username:password0.0.0.0:5439/postgis \
--rm -it ghcr.io/stac-utils/titiler-pgstac:latest

now
docker run \
--platform=linux/amd64 \
-p 8000:8000 \
--env DATABASE_URL=postgresql://username:password0.0.0.0:5439/postgis \
--rm -it ghcr.io/stac-utils/titiler-pgstac:latest \
gunicorn -k uvicorn.workers.UvicornWorker titiler.pgstac.main:app --bind 0.0.0.0:8000 --workers 1

1.6.0

* remove `rescale_dependency` and `color_formula_dependency` attributes in TilerFactory class **breaking change**

* add `render_func: Callable[..., Tuple[bytes, str]] = render_image` attribute in TilerFactory class

* update `/healthz` endpoint to return dependencies versions (titiler, rasterio, gdal, ...)

* migrate `templates/index.html` to bootstrap5, remove unused css, reuse bs classes

* Updated WMTS endpoint to return layer bounds in coordinate ordering matching CRS order if WGS84 is not used

* Update package build backend from `pdm-pep517` to `pdm-backend` (https://backend.pdm-project.org/#migrate-from-pdm-pep517)

* Update namespace package from using `.` to `-` as separator to comply with PEP-625 (https://peps.python.org/pep-0625/)

* Remove `python3.8` support

* Add `python3.13` support

1.5.0

* update titiler requirement to `>=0.19.0,<0.20`

* Use `attrs.define` instead of dataclass for factories **breaking change**

* Remove default `WebMercatorQuad` tile matrix set in `/tiles`, `/tilesjson.json`, `/map` and `/WMTSCapabilities.xml` endpoints **breaking change**


Before
/tiles/{z}/{x}/{y}
/tilejson.json
/map
/WMTSCapabilities.xml

Now
/tiles/WebMercatorQuad/{z}/{x}/{y}
/WebMercatorQuad/tilejson.json
/WebMercatorQuad/map
/WebMercatorQuad/WMTSCapabilities.xml


* Use `.as_dict()` method when passing option to rio-tiler Reader's methods to avoid parameter conflicts when using custom Readers.

* add OGC Tiles `/tiles` and `/tiles/{tileMatrixSet}` endpoints

* add `/point` prefix to `/{lon},{lat}/assets` endpoint **breaking change**

* rename `reader` attribute to `backend` in `MosaicTilerFactory` **breaking change**

* rename `titiler/pgstac/mosaic.py → titiler/pgstac/backend.py` **breaking change**

* rename `titiler.pgstac.mosaic.CustomSTACReader → titiler.pgstac.reader.SimpleSTACReader` **breaking change**

* rename factory's method to match the one from `titiler.core/titiler.mosaic` **breaking change**

* split `_assets_routes` into `assets_tile` and `assets_point` **breaking change**

1.4.0

* add `/collections/{collection_id}/items/{item_id}/assets/{asset_id}` optional endpoints (`TITILER_PGSTAC_API_ENABLE_ASSETS_ENDPOINTS=TRUE|FALSE`)
* add `/external` optional endpoints (`TITILER_PGSTAC_API_ENABLE_EXTERNAL_DATASET_ENDPOINTS=TRUE|FALSE`)
* add `cachecontrol_exclude_paths` attribute in `ApiSettings` to let users decide if some path should not have cache-control headers (defaults is to exclude `/list`)
* add `PgstacSettings` such that the user can provide their own default settings for PgSTAC search
* add check for pgstac `read-only` mode and raise `ReadOnlyPgSTACError` error when trying to write to the pgstac instance
* add `/pgstac` endpoint in the application (when `TITILER_PGSTAC_API_DEBUG=TRUE`)
* add `ids`, `bbox` and `datetime` options to the `/collections/{collection_id}` endpoints

1.3.1

* update models to avoid pydantic deprecation
* update `searches` model for pgstac>=9.1
* update psycopg error catching when `search` doesn't exist

Page 1 of 9

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.