diff --git a/CHANGES.md b/CHANGES.md index 11618781..cc964384 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -10,6 +10,7 @@ Note: Minor version `0.X.0` update might break the API, It's recommended to pin - add `tags` to all routes - fix `collections` and `items` HTML templates to keep query-parameters when changing the `page size` +- update FastAPI version upper limit to `<0.107.0` to avoid starlette breaking change (0.28) ## [0.5.6] - 2023-12-19 diff --git a/pyproject.toml b/pyproject.toml index 68731fdf..f7b024f6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -24,7 +24,7 @@ dependencies = [ "orjson", "asyncpg>=0.23.0", "buildpg>=0.3", - "fastapi>=0.100.0", + "fastapi>=0.100.0,<0.107.0", "jinja2>=2.11.2,<4.0.0", "morecantile>=5.0,<6.0", "pydantic>=2.4,<3.0",