All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
Note: Minor version 0.X.0
update might break the API, It's recommended to pin tipg
to minor version: tipg>=0.1,<0.2
0.4.1 - 2023-08-04
- set
custom_sql_directory
inCustomSQLSettings
toNone
to ensure it can be properly optional
0.4.0 - 2023-08-01
-
update requirement to switch to pydantic~=2.0
- morecantile>=5.0,<6.0
- pydantic~=2.0
- pydantic-settings~=2.0
- geojson-pydantic>=1.0,<2.0
- fastapi>=0.100
-
move
ResponseType
,QueryablesResponseType
,ItemsResponseType
,ItemResponseType
,VectorResponseType
,VectorType
andFilterLang
fromtipg.enums
totipg.dependencies
and useLiteral
instead ofEnum
-
add
func
attribute toCatalogUpdateMiddleware
to allow custom Catalog Update function# Before app.add_middleware( CatalogUpdateMiddleware, ttl=300, ) # Now app.add_middleware( CatalogUpdateMiddleware, func=register_collection_catalog, ttl=300, )
-
add global variables for conformance classes
- remove usage of pydantic models in
/items
and/items/{itemId}
endpoints to increase performance
0.3.1 - 2023-07-28
- fixed wrong media type option for
/queryables
endpoint (json
instead of `schemajson``)
- more endpoints in performance benchmarks
0.3.0 - 2023-07-27
- added
python-dotenv
dependency viapydantic[dotenv]
type
query parameter to filter collections based on their type (Function
orTable
)- fixed a small bug in the
tipg_properties
SQL function where the bounds property was not properly transformed to 4326 (author @RemcoMeeuwissen, developmentseed#87) - handling functions that are interpreted as collections but lack parameters (author @jackharrhy, developmentseed#96)
- fixed a bug where Numeric/Decimal postgres datatype could not get serialized by orjson. They will now be encoded as string (author @RemcoMeeuwissen, developmentseed#89)
- added popups to leaflet maps on
items
anditem
page. (author @krishnaglodha & @jackharrhy, developmentseed#91, developmentseed#94) catalog_dependency
to retrieve the list of collections (defaults totipg.dependencies.CatalogParams
)
- pin
geojson-pydantic
to>=0.4.3,<1.0
to avoid geojson-pydantic breaking changes - pin
pydantic
to~=1.0
0.2.0 - 2023-06-22
-
rename
tipg.db
->tipg.database
-
rename
tipg.dbmodel
->tipg.collections
-
rename
tipg.dbmodel.Database
->tipg.collections.Catalog
-
move
register_collection_catalog
fromtipg.dbmodel
totipg.collections
# before from tipg.db import close_db_connection, connect_to_db from tipg.db import register_collection_catalog from tipg.dbmodel import Database, Collection # now from tipg.collections import Catalog, Collection from tipg.collections import register_collection_catalog from tipg.database import close_db_connection, connect_to_db
- remove useless
app.state.db_settings
0.1.0 - 2023-06-15
- Initial release