Skip to content

1.11.8

⚙️ Patch 1.11.8 — Invoice SQLModel naive datetime flush

🚀 Summary

Invoice service flushes failed after SQLModel started requiring timezone-aware datetimes. Pin remaining invoice table timestamp columns to naive storage so existing datetime.now() / utcnow() writers keep working.

✨ Details

Table / field Failure
proxies.last_used Invoice download proxy rotation
gmail_settings.created_at / updated_at Create Gmail setting (Rossmann, etc.)
sheet_settings.* / nas_credentials.* / webshare_credentials.* Same class of flush

Fix: sa_type=NAIVE_DATETIME (DateTime(timezone=False)) on those columns.

📌 Notes

  • Redeploy service-invoice.

📁 Files

  • backend/service_invoice/app/schemas/proxy.py
  • backend/service_invoice/app/schemas/gmail.py
  • backend/service_invoice/app/schemas/sheets.py
  • backend/service_invoice/app/schemas/nas.py
  • backend/service_multi-repricer/app/schemas/proxy.py
  • docs/docs/patchnotes/1.11/1.11.8.md — this file