Repository navigation
v5.2.5 — Install-crash fix (fastapi 0.116 floor) + dashboard redirect
·
8989 commits
to main
since this release
OpenConstructionERP v5.2.5 — Recommended upgrade for everyone on 4.x
Fixes the 4.5.0 install crash
FastAPI 0.115.0–0.115.7 had a regression that broke @router.delete(status_code=204) routes with -> None annotation — the 4.5.0 wheel on PyPI refused to boot on any system that picked up that fastapi range (AssertionError: Status code 204 must not have a response body, costs/router.py at module import). v5.2.5 floors the dependency at fastapi>=0.116.0,<1. Users on the broken 4.5.0 wheel can now pip install --upgrade openconstructionerp and the new install works out of the box.
See #157.
Also bundled
- Authenticated
/redirects to/dashboard(was redirecting to/projectsper the post-#215 fix — restored canonical dashboard landing). - Daily Diary:
deleteDiaryhelper added in the API client (W22 audit gap closure). - Finance:
Payment.amountwidened tostring | number+ newcurrency_codefield (W25 audit — backend has been serialising Decimal as string since v3.2.0). - README "What's New" updated to v5.2.5 with Epic B / C / H / I summary.
Upgrade
pip install --upgrade openconstructionerp
alembic upgrade head
systemctl restart openconstructionerp # or whatever your service manager is