|
| 1 | +# Release Notes |
| 2 | + |
| 3 | +## 0.8.0a3 (2023-03-14) |
| 4 | + |
| 5 | +* fix factories `url_for` type (for starlette >=0.26) |
| 6 | + |
| 7 | +## 0.8.0a2 (2022-12-14) |
| 8 | + |
| 9 | +* replace `VectorTilerFactory.tms_dependency` attribute by `TilerFactory.supported_tms`. This attribute gets a `morecantile.defaults.TileMatrixSets` store and will create the tms dependencies dynamically |
| 10 | +* replace `TMSFactory.tms_dependency` attribute by `TMSFactory.supported_tms`. This attribute gets a `morecantile.defaults.TileMatrixSets` store and will create the tms dependencies dynamically |
| 11 | +* add `default_tms` in `VectorTilerFactory` to set the default TMS identifier supported by the tiler (e.g `WebMercatorQuad`) |
| 12 | + |
| 13 | +## 0.8.0a1 (2022-11-21) |
| 14 | + |
| 15 | +* update hatch config |
| 16 | + |
| 17 | +## 0.8.0a0 (2022-11-16) |
| 18 | + |
| 19 | +* remove `.pbf` extension in tiles endpoints |
| 20 | +* add `orjson` as an optional dependency (for faster JSON encoding/decoding within the database communication) |
| 21 | +* enable `geom` query parameter to select the `geometry column` (defaults to the first one) |
| 22 | +* add FastAPI application `exception handler` in default app |
| 23 | +* add `CacheControlMiddleware` middleware |
| 24 | +* enable more options to be forwarded to the `asyncpg` pool creation |
| 25 | +* add `PG_SCHEMAS` and `PG_TABLES` environment variable to specify Postgres schemas and tables |
| 26 | +* add `TIMVT_FUNCTIONS_DIRECTORY` environment variable to look for function SQL files |
| 27 | +* switch viewer to Maplibre |
| 28 | +* add `Point` and `LineString` feature support in viewer |
| 29 | +* Update dockerfiles to python3.10 and postgres14-postgis3.3 |
| 30 | +* update FastAPI requirement to >0.87 |
| 31 | +* remove endpoint Tags |
| 32 | +* make orjson a default requirement |
| 33 | + |
| 34 | +**breaking changes** |
| 35 | + |
| 36 | +* renamed `app.state.function_catalog` to `app.state.timvt_function_catalog` |
| 37 | +* changed `timvt.layer.Table` format |
| 38 | +* `table_catalog` is now of `Dict[str, Dict[str, Any]]` type (instead of `List[Dict[str, Any]]`) |
| 39 | +* renamed `timvt.db.table_index` to `timvt.dbmodel.get_table_index` |
| 40 | +* default to only view tables within the `public` schema |
| 41 | +* renamed *base exception class* to `TiMVTError` |
| 42 | +* remove python 3.7 support |
| 43 | + |
| 44 | +## 0.7.0 (2022-06-09) |
| 45 | + |
| 46 | +* update database settings input |
| 47 | +* add `default_tms` in Layer definition to specify the Min/Max zoom TileMatrixSet |
| 48 | +* update `starlette-cramjam` requirement |
| 49 | + |
| 50 | +**breaking changes** |
| 51 | + |
| 52 | +* deprecating the use of `.pbf` in tile's path |
| 53 | + |
| 54 | +## 0.6.0 (2022-04-14) |
| 55 | + |
| 56 | +* update `morecantile` requirement to `>3.1,=<4.0` |
| 57 | + |
| 58 | +## 0.5.0 (2022-04-13) |
| 59 | + |
| 60 | +* switch to `pyproject.toml` and repo cleanup |
| 61 | + |
| 62 | +## 0.4.1 (2022-02-10) |
| 63 | + |
| 64 | +* update viewer |
| 65 | + |
| 66 | +## 0.4.0 (2022-02-10) |
| 67 | + |
| 68 | +* Refactor Function Registry to be hosted in the application state (`app.state.function_catalog) as the Table catalog. |
| 69 | +* move `timvt.function.Registry` to `timvt.layer.FunctionRegistry` |
| 70 | + |
| 71 | +## 0.3.0 (2022-02-09) |
| 72 | + |
| 73 | +* update settings management from starlette to pydantic and use `TIMVT_` prefix |
| 74 | + |
| 75 | +## 0.2.1 (2022-01-25) |
| 76 | + |
| 77 | +* update FastAPI version requirement to allow `>=0.73` |
| 78 | + |
| 79 | +## 0.2.0 (2022-01-05) |
| 80 | + |
| 81 | +* Faster and cleaner SQL code |
| 82 | +* Compare Tile and Table geometries in Table CRS (speedup) |
| 83 | +* Allow non-epsg based TileMatrixSet |
| 84 | +* update morecantile requirement to `>=3.0.2` |
| 85 | +* add `geometry_srid` in Table metadata |
| 86 | +* refactor `Function` layers. |
| 87 | + |
| 88 | +**breaking changes** |
| 89 | + |
| 90 | +* Function layer signature change |
| 91 | +```sql |
| 92 | +-- before |
| 93 | +CREATE FUNCTION name( |
| 94 | + -- bounding box |
| 95 | + xmin float, |
| 96 | + ymin float, |
| 97 | + xmax float, |
| 98 | + ymax float, |
| 99 | + -- EPSG (SRID) of the bounding box coordinates |
| 100 | + epsg integer, |
| 101 | + -- additional parameters |
| 102 | + value0 int, |
| 103 | + value1 int |
| 104 | +) |
| 105 | +RETURNS bytea |
| 106 | + |
| 107 | +-- now |
| 108 | +CREATE FUNCTION name( |
| 109 | + -- bounding box |
| 110 | + xmin float, |
| 111 | + ymin float, |
| 112 | + xmax float, |
| 113 | + ymax float, |
| 114 | + -- EPSG (SRID) of the bounding box coordinates |
| 115 | + epsg integer, |
| 116 | + -- additional parameters |
| 117 | + query_params json |
| 118 | +) |
| 119 | +RETURNS bytea |
| 120 | +``` |
| 121 | + |
| 122 | +## 0.1.0 (2021-10-12) |
| 123 | + |
| 124 | +Initial release |
0 commit comments