Skip to content

v2.3.0 — Auto schema migration runner

Choose a tag to compare

@leolionart leolionart released this 04 Mar 21:51
· 92 commits to main since this release

Features

  • Auto schema migration runner: Collector tự apply pending SQL migrations khi startup — không cần SSH tay khi deploy. Migrations được track trong table schema_migrations, mỗi file chỉ chạy đúng một lần.
  • Thêm collector/migrations/ với file 0001_add_reasoning_cached_tokens.sql

Fixes

  • Fix lỗi unsupported operand type: Decimal + float khi collector đọc giá trị cost/count từ PostgreSQL (psycopg2 trả decimal.Decimal, code dùng trực tiếp với float)

Style

  • Tăng chiều rộng sidebar credential detail lên 35% để khớp với legend các chart card khác

Docs

  • Ghi rõ quy tắc schema migration trong CLAUDE.md