Skip to content

Commit 1fef6fc

Browse files
committed
update changelog
1 parent 8a54e31 commit 1fef6fc

File tree

1 file changed

+28
-1
lines changed

1 file changed

+28
-1
lines changed

CHANGES.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,39 @@ Note: Minor version `0.X.0` update might break the API, It's recommended to pin
1414

1515
### fixed
1616

17-
- hide map element in HTML pages when collections/items do not have spatial component
17+
- hide map element in HTML pages when collections/items do not have spatial component (https://github.com/developmentseed/tipg/issues/132)
18+
19+
- exclude/include tables and functions (https://github.com/developmentseed/tipg/issues/130)
1820

1921
### changed
2022

2123
- split endpoints registration for more customization
2224

25+
```python
26+
# before
27+
class OGCFeaturesFactory(EndpointsFactory):
28+
29+
def register_routes(self):
30+
@self.router.get("/collections", ...)
31+
@self.router.get("/collections/{collectionId}", ...)
32+
...
33+
34+
# now
35+
class OGCFeaturesFactory(EndpointsFactory):
36+
37+
def register_routes(self):
38+
self._collections_route()
39+
self._collection_route()
40+
self._queryables_route()
41+
self._items_route()
42+
self._item_route()
43+
44+
def _collections_route(self):
45+
@self.router.get("/collections", ...)
46+
47+
...
48+
```
49+
2350
## [0.4.4] - 2023-10-03
2451

2552
### fixed

0 commit comments

Comments
 (0)