• v0.0.7 7d6474e2e1

    v0.0.7
    All checks were successful
    Release / test (push) Successful in 21s
    Release / build (push) Successful in 1m38s
    Stable

    patillacode released this 2026-05-23 15:55:28 +02:00 | 35 commits to main since this release

    v0.0.7

    Bug fix: expired pages were still being served

    Pages with a TTL were remaining accessible past their expiry time.

    • Root cause: SQLAlchemy converts timezone aware datetimes to the container's local time (TZ=Europe/Madrid = UTC+2) before writing to SQLite
    • The expiry check then treated the stored value as UTC, effectively granting every page an invisible 2-hour extension.
    • This affected any deployment with a non UTC TZ setting.

    Fix: datetimes are now stored as naive UTC (timezone stripped before write) so the system clock offset is irrelevant.

    New: admin cleanup visibility

    Three new endpoints under /admin/cleanup/:

    • GET /admin/cleanup/status: last run timestamp, pages deleted, next scheduled run
    • GET /admin/cleanup/history: last 50 cleanup runs with trigger source
    • POST /admin/cleanup/trigger: run cleanup immediately from the admin panel
    Downloads