May 0.30.0
Two new features, one fix, and some groundwork under the bonnet.
Features
- Restore a May backup into an existing account. Settings → Integrations →
Import Data has a new "Restore May Backup" option that accepts either file the
export page produces: the JSON export (.json) or the full backup (.zip).
A full backup also brings across documents, attachments and vehicle images; a
JSON export carries the records only. The restore always merges into the
account you are signed in as — nothing is deleted or overwritten, and records
already present are skipped rather than duplicated, so re-running the same
backup is harmless. A preview of exactly what will be added is shown before
anything is written. (#265) - A photo gallery for vehicles. The vehicle page has a new "Photos" section
that takes as many photos per vehicle as you like, several at a time. Any of
them can be made the main photo — the one on the dashboard and vehicle list —
and the header image steps through the rest with left and right arrows. Photos
are stored as attachments against the vehicle, so the full backup export
already covers them. Deleting a vehicle removes its photos; deleting the main
one falls back to another photo, or clears the image if none are left.
(#147)
Fixes
- Hybrid fill-ups are recorded against the fuel actually burnt. Hybrid is how
a vehicle is driven, not what goes in the tank, so a "hybrid" series no longer
appears alongside petrol and diesel in the fuel station price charts. Fill-ups
default to petrol, and the fuel type selector on the fuel form is now offered
for hybrids and plug-in hybrids so diesel hybrid owners can pick diesel.
Changing a saved log's fuel type now moves its price history row to match.
Existing price history is left as it stands, rather than being rewritten and
risking mislabelling a diesel hybrid's history.
(#268)
Other
- Saved stations remember their forecourt. A station linked to a live price
feed now records the provider's own id for that forecourt instead of
re-deriving it from postcode and address on every refresh. A station therefore
keeps reporting the same forecourt after its postcode is edited, and a
forecourt that drops out of the feed reads as unmatched rather than quietly
resolving to a different one. This is groundwork for the Tankerkönig
integration (#155); live German
prices are not available yet and that issue stays open. - README: the restore and the photo gallery are documented, and there is now a
short "Import & Restore" section covering the Restore, Hammond and Fuelly
options in one place.
Upgrading
No action needed. The new price_source / external_id columns and their unique
index on saved fuel stations are added automatically on first start.