v0.28.0
Five features this time, most of them from issues raised by users, plus a fix
for .env files being ignored.
Features
- Receipts in PDF reports — the vehicle page now has a "PDF + Receipts"
button next to the existing "PDF" one. It produces the same report with the
receipt images from your fuel logs and expenses appended, which is the
version to hand to an accountant or employer. Anything that can't be inlined
— a PDF scan, a missing file, or one that would push the report past the
20 MB image budget — is listed at the end rather than dropped silently. (#219) - More than one receipt per expense — select several files when adding or
editing an expense, and expand any row in the expense list to get a link to
each one. Files rejected for an unsupported extension are now reported
instead of being discarded quietly. (#234) - API endpoints for trips and charging sessions — list, create, read,
update and delete under/api/v1/vehicles/{id}/trips,/api/v1/trips/{id},
/api/v1/vehicles/{id}/chargingand/api/v1/charging/{id}, alongside
/api/v1/trip-purposesand/api/v1/charger-types. All documented at
/api/docs. (#295) - Currency on the dashboard charts — the expenses-by-category and monthly
spending charts label their value axis with your currency, and tooltips carry
it too. (#289) - Initial Hungarian translation, thanks to
@burgatshow. The files are in the tree but
Hungarian is not yet offered in the language picker while the remaining
strings are filled in. (#290)
Fixes
.envsettings were being ignored.config.pyread the environment at
import time but never loaded.env, so anything copied from.env.example
had no effect. It now loads the.envsitting next to it before reading any
variable. Real environment variables still win, so Docker deployments are
unchanged. (#297)- Deleting an entry from the fuel log sent you off to the vehicle page; it now
leaves you where you were. (#298)
Other
- Documentation: the README's
DATABASE_URLandUPLOAD_FOLDERdefaults were
wrong, thesqlite:///versussqlite:////distinction is now spelled out,
and there is a note that under Docker Compose those two keys come from
docker-compose.ymlrather than.env. The supported-languages table has
also been corrected — it was missing Arabic, Czech, Russian and Turkish,
which were already available in the app. - The expense list loads attachments in a single query rather than one per row.
CHANGELOG.mdadded, starting at this release.- Dependencies:
psycopg2-binary>= 2.9.12 (#280),coverage>= 7.15.4
(#288), andactions/setup-pythonbumped from 6 to 7 in CI (#263) — thanks
to Dependabot.