Releases: leolionart/CLIProxyAPI-Dashboard
Releases · leolionart/CLIProxyAPI-Dashboard
Release list
v2.2.1 — Fix charts blank on mobile
Fixes
- Mobile charts: Thêm
debounce={50}vào tất cảResponsiveContainerđể tránh resize loop - CSS: Thêm
overflow: hiddenvàmin-width: 0cho.chart-split-mainvà.chart-full— đảm bảo Recharts tính đúng width trong flex container trên mobile
v2.2.0 — Number formatting & UX improvements
Fixes
- Number formatting: Thêm dấu phẩy phân tách nghìn cho tất cả số lớn (toLocaleString)
- Cost formatting: ≥$1 làm tròn số nguyên, <$1 hiển thị 2 chữ số thập phân
- Model legend: Chuyển sang fixed-width columns (1fr 46px 46px 52px) để căn cột đúng, dùng K/M cho Req/Tokens
- Tooltip overflow: Thêm
allowEscapeViewBoxđể tooltip không bị cắt khi nhiều models - Token Types drilldown: Click vào model trên legend panel mở drilldown per-API-key (giống Models view)
- Stat cards: Bỏ hover effect vì cards là display-only, tránh mislead user
v2.1.0 — Token type trends, model stats table, UI polish
Features
- Token Type Time-Series Chart: Clustered stacked column chart (X = hour/day, 4 bar groups per tick: Input/Output/Cached/Reasoning, stacked by model). Color = token type, opacity = model.
- Multi-column model stats table: Legend panel now shows Req / Tokens / Cost in one view — no more tab switching
- Reasoning & cached tokens: Collector now extracts and stores
reasoning_tokensandcached_tokensper model per snapshot
Fixes & Improvements
- Auto hour/day granularity: Today/Yesterday auto-uses hourly view; Hour/Day tab only shown for multi-day ranges
- Token type legend panel: Fixed-width columns (46px), abbreviated headers (In/Out/Ca/Re), distinct colors (indigo/violet/amber/emerald)
- Unified chart/legend layout: All cards use
.chart-splitCSS class — consistent 65/35 ratio, responsive stacking on mobile ≤768px - Scrollbar: Transparent by default, subtle on hover — no more bright orange scrollbar
- Remove Requests/Tokens metric tabs: Redundant since legend panel already shows all metrics
- CI: Removed auto GitHub Release step to prevent overwriting manual release notes
Release v2.0.4
Docker Images
docker pull ghcr.io/leolionart/cliproxy-collector:2.0.4
docker pull ghcr.io/leolionart/cliproxy-dashboard:2.0.4
Full Changelog: v2.0.3...v2.0.4
Release v2.0.3
Docker Images
docker pull ghcr.io/leolionart/cliproxy-collector:2.0.3
docker pull ghcr.io/leolionart/cliproxy-dashboard:2.0.3
Full Changelog: v2.0.2...v2.0.3
Release v2.0.2
Docker Images
docker pull ghcr.io/leolionart/cliproxy-collector:2.0.2
docker pull ghcr.io/leolionart/cliproxy-dashboard:2.0.2
Full Changelog: v2.0.0...v2.0.2
Release v2.0.1
Docker Images
docker pull ghcr.io/leolionart/cliproxy-collector:2.0.1
docker pull ghcr.io/leolionart/cliproxy-dashboard:2.0.1
Full Changelog: v1.2.0...v2.0.1
v2.0.0 — Self-hosted PostgreSQL (breaking change)
Breaking Change: Supabase → Self-hosted PostgreSQL
This release removes the dependency on Supabase and replaces it with a fully self-hosted stack using PostgreSQL + PostgREST.
What's New
Infrastructure
- PostgreSQL 16 replaces Supabase — schema auto-initialized from
init-db/schema.sql - PostgREST v12 — REST API layer for frontend reads (anonymous, SELECT-only)
init-db/seed.sql— historical data bundled for instant data on new deployments
Collector
- New
collector/db.py:PostgreSQLClientwrapping psycopg2 with supabase-js-compatible interface - Removed Supabase SDK dependency, replaced with direct psycopg2 connection pool
Migration
migrate_from_supabase.py— helper script to migrate data from old Supabase project
Upgrading from v1.x
⚠️ Not backward compatible. Requires freshdocker compose upwith newdocker-compose.yml.
git pull
# Edit .env — replace SUPABASE_URL/KEY with DB_PASSWORD
docker compose down
docker compose up -dDocker Images
docker pull ghcr.io/leolionart/cliproxy-collector:2.0.0
docker pull ghcr.io/leolionart/cliproxy-dashboard:2.0.0
Release v1.2.2
Docker Images
docker pull ghcr.io/leolionart/cliproxy-collector:1.2.2
docker pull ghcr.io/leolionart/cliproxy-dashboard:1.2.2
Full Changelog: v1.2.0...v1.2.2
Release v1.2.1
Docker Images
docker pull ghcr.io/leolionart/cliproxy-collector:1.2.1
docker pull ghcr.io/leolionart/cliproxy-dashboard:1.2.1
Full Changelog: v1.1.0...v1.2.1