github dannymcc/may v0.22.6

5 hours ago

What's Changed

A community-driven bug-fix release. Huge thanks to everyone who reported, diagnosed and patched.

Bug Fixes

  • ntfy: notifications were getting blocked with HTTP 403 when the ntfy server sat behind Cloudflare Bot Fight Mode. The default Python-urllib agent was the trigger. Now sends the same May-Vehicle-Manager/1.0 UA the webhook sender uses. Reported and patched by @GrueseGehenRaus (#202).
  • Home Assistant API: /api/ha/vehicles*, /api/ha/alerts and /api/ha/fuel/add had been silently broken since a model refactor — they referenced Vehicle.unit_distance / unit_volume / currency (which live on User now) and called MaintenanceSchedule.is_due() / Reminder.is_due() with the wrong signatures. The add_fuel route also failed to set user_id, so inserts hit a NOT NULL violation. Four previously-xfailed tests now pass. Reported and patched by @vKnmnn (#199, #200).
  • Cheapest Fuel table: rows left behind from deleted test fuel logs (or pre-cleanup-logic versions) had no way to be removed from the UI. Added a delete button on each entry on a station's price history page — only visible to the owner of the row. Reported by @stevemaunsell (#201).

Dependency Updates

  • pillow >= 12.2.0 (#193)
  • weasyprint >= 68.1 (#190)
  • requests >= 2.34.2 (#191)
  • pytest-cov >= 7.1.0 (#192)
  • coverage >= 7.14.0 (#189)

Full changelog: v0.22.5...v0.22.6

Don't miss a new may release

NewReleases is sending notifications on new releases.