Skip to content

Releases: leolionart/CLIProxyAPI-Dashboard

v2.2.1 — Fix charts blank on mobile

Choose a tag to compare

@leolionart leolionart released this 04 Mar 15:17

Fixes

  • Mobile charts: Thêm debounce={50} vào tất cả ResponsiveContainer để tránh resize loop
  • CSS: Thêm overflow: hiddenmin-width: 0 cho .chart-split-main.chart-full — đảm bảo Recharts tính đúng width trong flex container trên mobile

v2.2.0 — Number formatting & UX improvements

Choose a tag to compare

@leolionart leolionart released this 04 Mar 15:08

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

Choose a tag to compare

@leolionart leolionart released this 04 Mar 14:47

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_tokens and cached_tokens per 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-split CSS 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

Choose a tag to compare

@github-actions github-actions released this 04 Mar 13:50

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

Choose a tag to compare

@github-actions github-actions released this 04 Mar 13:37

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

Choose a tag to compare

@github-actions github-actions released this 04 Mar 13:24

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

Choose a tag to compare

@github-actions github-actions released this 04 Mar 13:15

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)

Choose a tag to compare

@leolionart leolionart released this 04 Mar 13:15

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: PostgreSQLClient wrapping 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 fresh docker compose up with new docker-compose.yml.

git pull
# Edit .env — replace SUPABASE_URL/KEY with DB_PASSWORD
docker compose down
docker compose up -d

Docker 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

Choose a tag to compare

@github-actions github-actions released this 04 Mar 13:15

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

Choose a tag to compare

@github-actions github-actions released this 03 Mar 06:34

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