Repository navigation
Releases
Releases · moshiur-hridoy/OdoDash
v0.53.0
What's Changed
This release contains security fixes. Please update.
Everyone is signed out once after updating and signs in again as usual. API and Home Assistant keys keep working.
Security
- Vehicle access checks. CSV import now accepts only a vehicle you have access to; before, a signed-in user who sent another vehicle's ID could see its name and add records to it. The New Trip page no longer includes the odometer reading of a vehicle you have no access to.
- API key roles. An account's role now applies to every API and Home Assistant request according to the account the key belongs to. Some combinations of headers let a viewer or contributor key change data on vehicles shared with it.
- Backup restore and uploaded files. Restoring writes only the kinds of file the upload forms accept, and only when a record refers to them. A file name already used by another account is stored under a new name, and deleting a record no longer removes a file that something else still uses. Files other than pictures and PDFs are now sent as downloads.
- Sign-in cookies. A cookie left over from a deleted account can no longer open a newer account.
New Features
- Tax Token, Fitness Certificate and Route Permit as reminder types and document types, for the papers a Bangladesh vehicle owner has to renew. Every shipped language has the three names.
- Driving Licence as a reminder type and a document type.
Improvements
- The Station field on the fuel log form is a select menu of your saved stations, with a text box beside it for any other name.
Bug Fixes
- Renaming a fuel station or changing its brand now updates the station text on its fuel logs. Contributed by @draarivpatel-ui in #49.
- The Home Assistant endpoints now report the same current odometer as the app. Contributed by @ajain-93 in #51.
- Picking a type on a new reminder fills the empty title again.
- In Docker, picture and document uploads no longer fail when the data folder already belonged to the
PUID/PGIDuser before the first start (#56). Reported by @ubuntuaddicted.
Upgrade notes
- One database migration (sign-in session token) runs automatically on start. Back up your data folder first.
- If other people could restore backups on your instance, look through your
uploadsfolder for.html,.jsor.svgfiles you do not recognise (an SVG logo you set yourself is expected). This update does not delete files that are already there.
Full details are in CHANGELOG.md.
v0.52.0
What's Changed
Security
- Example
SECRET_KEYvalues are no longer used to sign sessions. The supplieddocker-compose.ymlused to passchange-me-in-productionwhen no key was set, and anyone who knows that string can forge a login cookie. Compose now passes an empty value, and OdoDash ignores the known example strings with a warning in the logs, generating and saving its own key instead. If you were running on one of them you are signed out once after updating. Set your own key withopenssl rand -hex 32to manage it yourself.
New Features
- Optional starting odometer on a vehicle. If tracking began before the first logged reading, enter the meter reading at the start and distance and running costs count from there. Leave it blank to keep the existing calculation. Supported in the vehicle form, the API and backup/restore. Contributed by @emerrick in #16.
- Optional net cost per distance on the vehicle page and the dashboard, switched on in Settings > Units & Values. It deducts recorded mileage reimbursements from spending before dividing by tracked distance. Off by default. Contributed by @emerrick in #17.
- Coloured consumption gauge. It turns green, yellow or red by how your last three fill-ups or charges compare with your average, with a line saying by how much.
Improvements
- A month's total in the lists and the timeline now sits in a tinted band and reads "Total" before the amount, so it cannot be mistaken for the cost of the entry below it.
- The Telegram bot is documented in Integrations. The landing page has a FAQ, structured data and a sitemap.
- OdoDash has a security policy, bug-report and feature-request issue forms, and a test run on every pull request into
devandododash-release.
Bug Fixes
- The Monthly Spending chart on a vehicle page no longer leaves empty space when the Upcoming Maintenance and Reminders lists beside it grow.
- The km/L consumption gauge had no scale, so its arc never drew. It now does.
Upgrade notes
- Two database migrations (starting odometer, net cost preference) run automatically on start. Back up your data folder first.
Full details are in CHANGELOG.md.
v0.51.0
What's Changed
New Features
- Telegram reminders. Link your chat under Settings > Services, then choose Telegram in Settings > Notifications. Due reminders and the test notification arrive in that chat.
- Separate Home Assistant key (
odoha_) that only works on the Home Assistant API, and a three-step Home Assistant setup in Settings (key, HACS integration, server address).GET /api/ha/overviewreturns every vehicle with its stats, costs and alerts in one request. - Loan Payment expense category and a biweekly option for recurring expenses, contributed by @emerrick in #15.
- Your name in Settings > Account, used by the greeting, sidebar and phone menu.
- Average monthly cost on the vehicle page and the dashboard.
Bug Fixes
- Saving a recurring expense with the Start Date blank no longer ends in an Internal Server Error; the field is required and the server asks for a date.
- The Copy buttons in Settings work when OdoDash is opened over plain HTTP (for example on a home network).
- Home Assistant now sees shared and instance-shared vehicles, every alert carries its
vehicle_id, and consumption units follow each vehicle. - The empty Needs attention card centres its message, the phone consumption gauge is centred, and the Add Fuel form follows your thousands-separator setting.
Upgrade notes
- Two database migrations (
ha_token,display_name) run automatically on start. Back up your data folder first.
Full details are in CHANGELOG.md.
v0.50.0
Changed
- Charging is always green in the Expenses by Category chart, every category label is shown, and the app version sits beside the app name in the sidebar.
- A new look across the whole app. Every page now uses one design system:
a calm light theme with a sidebar, a dark theme that follows your device,
Inter type, odometer-style readings and an accent colour taken from
Settings > Branding. Nothing about your data or how you log it changes. - The dashboard leads with what you spent this month or this year and how
that compares with the same point last month, then Needs attention, driven
distance, cheapest fuel, your vehicles and recent activity. - The vehicle page opens on a cockpit panel (last odometer, average
consumption gauge, cost per km), followed by upcoming maintenance, trends
and one activity log you can filter. - Fuel, charging, expenses, trips, reminders, recurring expenses,
maintenance, documents, notes, tyres, parts, stations, price history,
mileage allowance and trip templates are lists grouped by month, with
monthly totals and filters. On a phone each row stacks into two lines, so
no page scrolls sideways. - Every add and edit form shares one layout: the vehicle picker first,
required fields marked, the primary action fixed in a footer. Fuel and
charging forms read the odometer from the selected vehicle. - Settings is rebuilt as a list of sections (Units, Menu, Notifications,
Account, API, Import/Export, Integrations, Branding, Users, About). On a
phone it shows the list first and each section on its own screen, with
Back returning to the list. Users now sits inside Settings. - Sign-in, registration, password change, CSV import, backup restore,
timeline, search, trip report, document view, quick fuel, toasts, the
offline page and the API docs follow the same design. The trip report
shows bars instead of a doughnut. - Maintenance Mark Complete opens a dialog, the stations list stars a
favourite in place, and the notes list is paginated with a vehicle filter.
Fixed
- Total distance, and the cost per km built on it, counts odometer readings
from fuel logs, charging sessions, trips and expenses, not fuel logs alone.
An electric car logged only through charging sessions showed no distance
and no cost per km (#384, #412). Vehicles logged mostly through fuel see
the same figure or a slightly longer span. - The dashboard's change against last month compares the same number of
days, so early in a month it no longer shows a large fall. Needs attention
lists reminders due within 30 days. Cheapest Fuel reads only your own
stations' prices (it used to rank every user's together) and appears only
when your stations' recent prices differ, so it stays away where fuel
prices are set by the state. - The Telegram bot and its settings panel are translated into every
language. In 0.48.0 they appeared in English everywhere, because their
strings never reached the translation template. A test now fails when a
string marked for translation is missing from the template.
v0.48.0
Added
- Log fill-ups by messaging a Telegram bot. An admin pastes a @Botfather token
into Settings > Integrations > Telegram, and each user links their own
private chat with a one-time code. A message such as40L 4800tk 45230km
is saved as a fuel log./undoremoves the last bot entry within 30
minutes and/unlinkdisconnects the chat. It works offline, needs no
public URL, follows the usual role rules (viewers cannot log) and is
refused in demo mode. - Password fields show the requirements as you type, with a tick beside each
rule met and a check that the two entries match. The password error
messages are now translated. - A project landing page, published to GitHub Pages, and a ready-made
Portainer stack for running a public demo (docs/demo.md).
Security
- Login cookies are
HttpOnlyandSameSite=Lax. SetCOOKIE_SECURE=true
to also mark themSecurewhen OdoDash is only served over HTTPS. - Sign-in is throttled: after 5 failed attempts for one username from one
address within 15 minutes, that pair is refused until the window passes.
Another address can still sign in, so a guesser cannot lock the owner out.
Each failure is logged asFailed login for '<username>' from <address>
for tools such as fail2ban. The public demo login is exempt.
Fixed
- A PostgreSQL
DATABASE_URLwritten aspostgresql://...no longer fails at
startup with "No module named 'psycopg'". SQLAlchemy 2.1 maps that scheme to
psycopg 3, which the image does not ship; it is now pinned to the installed
psycopg2 driver. URLs that name a driver are left as they are. - Generating an API key works on PostgreSQL. New keys are 64 characters to
fit their column (they were 68, which PostgreSQL refused); existing keys
keep working, and new ones start withodo_. - The Fuel Logs page shows 50 fill-ups per page with Newer and Older links,
instead of every log at once. With ~500 logs it went from 1,571 database
queries, 430 ms and 1.4 MB to 157 queries, 60 ms and 290 KB. The yearly
sales-tax totals still cover every log. - Log messages from the app after startup are no longer lost. Running the
database migrations at startup disabled every existing logger, so scheduler
output and errors written through the app's logger never appeared. - Recurring expenses are no longer generated twice. Each Gunicorn worker ran
its own hourly scheduler, so two workers could create the same due period;
now one process runs the scheduler, and each period is claimed before it is
generated so a second worker or container skips it. The same change stops
reminders being sent twice (#403). - A fuel log that fails validation comes back with everything you typed, the
message under the field that failed and that field focused, instead of a
blank form. - Distances and odometer readings follow the thousand-separator preference
everywhere, as money amounts already did. Users on the default "none"
setting see no change. - In dark mode, rows are no longer permanently highlighted and the settings
toggles are visible again. - Text on accent-coloured buttons stays legible whatever colour is chosen in
branding. The coloured side stripes on reminders and dashboard notes are
gone.
Changed
- The users table gains three nullable columns for the Telegram link, added by
a new migration that runs automatically at startup.
v0.47.0
What's Changed
New Features
- Demo mode:
DEMO_MODE=1seeds a year of sample history under a shareddemo/demologin on an empty database, shows the credentials on the login page, caps uploads at 5MB, and refuses account, admin and outbound-integration changes - Phone dashboard redesign: two-column stat cards, compact vehicle rows, tighter panels
- Bottom tab bar on phones and tablets replaces the hamburger menu, with a centre + quick-add sheet (fuel, expense, trip, charging, reminder, note) and a More sheet
- Quick Fuel Entry opens in a bottom sheet on phones (dialog on desktop) instead of a new page
- App icons use the OdoDash logo
Bug Fixes
- Admin Settings no longer returns a server error on a mismatched or weak new password, or an email already in use (dannymcc/may#414)
- Editing a fuel log accepts a discount per unit above 1000, matching new logs (dannymcc/may#393, dannymcc/may#396)
- Dashboard stat figures aligned on phones
Security
- Pillow raised to >=13.0.0 and certifi to >=2026.10.23; the Docker image upgrades base OS packages at build time (dannymcc/may#419)
Other Changes
- Roadmap for upcoming fixes and the mobile design pass in
docs/roadmap.md
v0.46.1
What's Changed
New Features
- Flash messages now appear as dismissible toast notifications (top-right, icon, countdown bar) instead of a banner
- "Owned for" on the vehicle page shows years, months and days (e.g. 1 year, 3 months, 20 days)
Bug Fixes
- Compose files and install guide now pull the OdoDash image (
ghcr.io/moshiur-hridoy/ododash) instead of upstream May - Service worker cache renamed so installed clients pick up the current interface
Other Changes
- Leftover "May" wording in code comments and docstrings now says OdoDash
- Docs describe
ododash-releaseas the production branch
v0.46.0
What's Changed
New Features
- Premium petrol (Octane) fuel type, priced separately from petrol. Consumption still counts both as one fuel, so mixed fill-ups keep one average
- App version in the sidebar, with an update notice for admins (what's new link and the update command). Set
CHECK_FOR_UPDATES=falseto turn the check off - Suggested Tailwind colour palette for the accent colour
- Reminders and Notes tabs on the dashboard; Expenses by Category is always shown, beside Cheapest Fuel
Design
- New visual layer: hairline-bordered cards in light mode, refined dark mode, typography and motion
- Shared Chart.js theme with gradient fills and rounded bars
- Rebuilt vehicle page header, quick actions, stat cards and details grid
Bug Fixes
- Readable text on light accent colours
- One consistent file chooser button style with correct padding and dark-mode hover
v0.45.2
What's Changed
New Features
- Bangladeshi taka (BDT, ৳) currency
- Clickable URLs in notes
- Tabular figures for easier-to-read numbers
Bug Fixes
- Fuel total cost and sales tax accept values above 100,000 (#2)
- Fuel form limits enforced before saving
- Charging SOC decimals rejected with a visible message
- Dark mode card borders and upload input background
v0.45.1
What's Changed
New Features
- Dark/light theme toggle in the sidebar footer
Changes
- Darker, more modern dark-mode palette
Bug Fixes
- Stray background on the Settings sub-menu in dark mode
- Flicker when switching themes
- Stale tests that failed CI for v0.45.0