Skip to content

v0.6.0

Choose a tag to compare

@alrcatraz alrcatraz released this 14 Aug 15:12
· 7 commits to main since this release
v0.6.0
27ff3cc

What's new

Dual-currency billing (USD/CNY)

  • Cost accrue per provider's real billing currency; analytics summary now carries totalCostUsd / totalCostCny / costCurrency / fxRateUsdCny
  • USD/CNY toggle across cost dashboards (persisted to localStorage)

camofox gateway integration

  • Reverse-proxy duplex fix: streaming POST /api/svc/ no longer errors
  • camofox service hardened: bearer auth + required_scope=svc:camofox

Reliability

  • PG-safe key-permission transactions: scopes update now uses db.transaction() instead of SQLite-only BEGIN IMMEDIATE (fixes 'Failed to update permissions' under DB_DRIVER=postgres)
  • PostgresDialect translates BEGIN IMMEDIATE/EXCLUSIVE/DEFERRED → PG BEGIN

Full commits

  • 27ff3cc chore: release 0.6.0 — dual-currency billing + camofox gateway
  • 1cb96f2 fix(svc,db): camofox duplex proxy + PG-safe transactions for key permissions
  • 6203df7 test(usage): unit test coverage for dual-currency billing and cost-currency toggle
  • 89d0a0f feat(ui): USD/CNY cost toggle across cost dashboards
  • 34e4e5d feat(usage): dual-currency billing (USD/CNY) for cross-provider cost summary