Timvt

Latest version: v0.7.0

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

Scan your dependencies

Page 1 of 3

0.8.0a3

* fix factories `url_for` type (for starlette >=0.26)

0.8.0a2

* replace `VectorTilerFactory.tms_dependency` attribute by `TilerFactory.supported_tms`. This attribute gets a `morecantile.defaults.TileMatrixSets` store and will create the tms dependencies dynamically
* replace `TMSFactory.tms_dependency` attribute by `TMSFactory.supported_tms`. This attribute gets a `morecantile.defaults.TileMatrixSets` store and will create the tms dependencies dynamically
* add `default_tms` in `VectorTilerFactory` to set the default TMS identifier supported by the tiler (e.g `WebMercatorQuad`)

0.8.0a1

* update hatch config

0.8.0a0

* remove `.pbf` extension in tiles endpoints
* add `orjson` as an optional dependency (for faster JSON encoding/decoding within the database communication)
* enable `geom` query parameter to select the `geometry column` (defaults to the first one)
* add FastAPI application `exception handler` in default app
* add `CacheControlMiddleware` middleware
* enable more options to be forwarded to the `asyncpg` pool creation
* add `PG_SCHEMAS` and `PG_TABLES` environment variable to specify Postgres schemas and tables
* add `TIMVT_FUNCTIONS_DIRECTORY` environment variable to look for function SQL files
* switch viewer to Maplibre
* add `Point` and `LineString` feature support in viewer
* Update dockerfiles to python3.10 and postgres14-postgis3.3
* update FastAPI requirement to >0.87
* remove endpoint Tags
* make orjson a default requirement

**breaking changes**

* renamed `app.state.function_catalog` to `app.state.timvt_function_catalog`
* changed `timvt.layer.Table` format
* `table_catalog` is now of `Dict[str, Dict[str, Any]]` type (instead of `List[Dict[str, Any]]`)
* renamed `timvt.db.table_index` to `timvt.dbmodel.get_table_index`
* default to only view tables within the `public` schema
* renamed *base exception class* to `TiMVTError`
* remove python 3.7 support

0.7.0

* update database settings input
* add `default_tms` in Layer definition to specify the Min/Max zoom TileMatrixSet
* update `starlette-cramjam` requirement

**breaking changes**

* deprecating the use of `.pbf` in tile's path

0.6.0

* update `morecantile` requirement to `>3.1,=<4.0`

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.