Release Notes
March 14, 2023 ยท View on GitHub
0.8.0a3 (2023-03-14)
- fix factories
url_fortype (for starlette >=0.26)
0.8.0a2 (2022-12-14)
- replace
VectorTilerFactory.tms_dependencyattribute byTilerFactory.supported_tms. This attribute gets amorecantile.defaults.TileMatrixSetsstore and will create the tms dependencies dynamically - replace
TMSFactory.tms_dependencyattribute byTMSFactory.supported_tms. This attribute gets amorecantile.defaults.TileMatrixSetsstore and will create the tms dependencies dynamically - add
default_tmsinVectorTilerFactoryto set the default TMS identifier supported by the tiler (e.gWebMercatorQuad)
0.8.0a1 (2022-11-21)
- update hatch config
0.8.0a0 (2022-11-16)
- remove
.pbfextension in tiles endpoints - add
orjsonas an optional dependency (for faster JSON encoding/decoding within the database communication) - enable
geomquery parameter to select thegeometry column(defaults to the first one) - add FastAPI application
exception handlerin default app - add
CacheControlMiddlewaremiddleware - enable more options to be forwarded to the
asyncpgpool creation - add
PG_SCHEMASandPG_TABLESenvironment variable to specify Postgres schemas and tables - add
TIMVT_FUNCTIONS_DIRECTORYenvironment variable to look for function SQL files - switch viewer to Maplibre
- add
PointandLineStringfeature 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_catalogtoapp.state.timvt_function_catalog - changed
timvt.layer.Tableformat table_catalogis now ofDict[str, Dict[str, Any]]type (instead ofList[Dict[str, Any]])- renamed
timvt.db.table_indextotimvt.dbmodel.get_table_index - default to only view tables within the
publicschema - renamed base exception class to
TiMVTError - remove python 3.7 support
0.7.0 (2022-06-09)
- update database settings input
- add
default_tmsin Layer definition to specify the Min/Max zoom TileMatrixSet - update
starlette-cramjamrequirement
breaking changes
- deprecating the use of
.pbfin tile's path
0.6.0 (2022-04-14)
- update
morecantilerequirement to>3.1,=<4.0
0.5.0 (2022-04-13)
- switch to
pyproject.tomland repo cleanup
0.4.1 (2022-02-10)
- update viewer
0.4.0 (2022-02-10)
- Refactor Function Registry to be hosted in the application state (`app.state.function_catalog) as the Table catalog.
- move
timvt.function.Registrytotimvt.layer.FunctionRegistry
0.3.0 (2022-02-09)
- update settings management from starlette to pydantic and use
TIMVT_prefix
0.2.1 (2022-01-25)
- update FastAPI version requirement to allow
>=0.73
0.2.0 (2022-01-05)
- Faster and cleaner SQL code
- Compare Tile and Table geometries in Table CRS (speedup)
- Allow non-epsg based TileMatrixSet
- update morecantile requirement to
>=3.0.2 - add
geometry_sridin Table metadata - refactor
Functionlayers.
breaking changes
- Function layer signature change
-- before
CREATE FUNCTION name(
-- bounding box
xmin float,
ymin float,
xmax float,
ymax float,
-- EPSG (SRID) of the bounding box coordinates
epsg integer,
-- additional parameters
value0 int,
value1 int
)
RETURNS bytea
-- now
CREATE FUNCTION name(
-- bounding box
xmin float,
ymin float,
xmax float,
ymax float,
-- EPSG (SRID) of the bounding box coordinates
epsg integer,
-- additional parameters
query_params json
)
RETURNS bytea
0.1.0 (2021-10-12)
Initial release