From 1fef6fc207bf11bbcd60cb95f9b937c2feafb2e0 Mon Sep 17 00:00:00 2001 From: vincentsarago Date: Mon, 30 Oct 2023 21:30:29 +0100 Subject: [PATCH] update changelog --- CHANGES.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/CHANGES.md b/CHANGES.md index bd8dfcbf..f5a4c08d 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -14,12 +14,39 @@ Note: Minor version `0.X.0` update might break the API, It's recommended to pin ### fixed -- hide map element in HTML pages when collections/items do not have spatial component +- hide map element in HTML pages when collections/items do not have spatial component (https://github.com/developmentseed/tipg/issues/132) + +- exclude/include tables and functions (https://github.com/developmentseed/tipg/issues/130) ### changed - split endpoints registration for more customization + ```python + # before + class OGCFeaturesFactory(EndpointsFactory): + + def register_routes(self): + @self.router.get("/collections", ...) + @self.router.get("/collections/{collectionId}", ...) + ... + + # now + class OGCFeaturesFactory(EndpointsFactory): + + def register_routes(self): + self._collections_route() + self._collection_route() + self._queryables_route() + self._items_route() + self._item_route() + + def _collections_route(self): + @self.router.get("/collections", ...) + + ... + ``` + ## [0.4.4] - 2023-10-03 ### fixed