Skip to content
CCHPCCHPRelease Notes
v1.0.7StableBreakingUpgrade Action Required

CCHP v1.0.7

Re-architects request log storage with local encrypted journaling, enforces PostgreSQL Row-Level Security across all tenant data, and unifies cross-protocol billing tiers.

4 features2 improvements5 fixes1 security update8 upgrade notes
In this release
  • Append-only partitioned request logs with local encrypted usage-journal/ keep requests serving during brief database outages.
  • PostgreSQL Row-Level Security (RLS) isolates all tenant data by organization and user.
  • Unified billing adds Fast mode tiers, data residency multipliers, advisor billing, and free token-counting endpoints.

Breaking Upgrade Notice

  • Back up the database before upgrading; this migration cannot be rolled back (Install with Docker Compose).
  • The migration database role must have SUPERUSER or BYPASSRLS; on CloudNativePG (CNPG) deployments, configure bypassrls: true for the migration role under managed roles.
  • Maintenance downtime is required: stop the old release, run the migration to completion, then start the new release. Large datasets require longer migration times; the Kubernetes migration Job deadline is now 336 minutes (Install on k3s / k8s).
  • Provide APP_ENV and CCH_MASTER_KEY environment variables to the migration job.
  • Default database connection pool sizes are reduced (gateway: 4, control: 3, worker: 4, cron: 2), with PgDog defaults adjusted to match.
  • The gateway data volume now creates a usage-journal/ directory; allocate at least 24 GiB for Docker Compose data volumes.
  • Five TimescaleDB continuous aggregates have been replaced with *_rollup_hourly row-store tables; update any dashboards querying the legacy view names.
  • See docs/row-level-security.md for complete migration instructions (Internal metrics ports and PostgreSQL RLS).
  • Rebuilt request log storage with append-only time-partitioned tables, substantially reducing PostgreSQL memory and WAL overhead; the gateway now writes to a local encrypted journal (usage-journal/) before persisting to PostgreSQL so traffic continues uninterrupted during brief database outages (Request archive and usage journaling).
  • Unified usage billing across protocols, introducing Fast mode pricing tiers, data residency multipliers, advisor billing, and uncached input token accounting, while making token-counting endpoints free (Provider groups and your final price).
  • Added a Claude Code compatibility toggle for thinking-signature ordering and restricted upstream request rewrites strictly to parameters that upstreams reject.
  • Added request-level gateway metrics, self-healing action logs, and observability metrics with alert rules covering upstream connections, object storage, and large Dragonfly keys.
  • Prevented long-running reasoning requests on OpenAI Responses and Anthropic from switching fallback candidates due to time-to-first-content timeouts.
  • Unified /app and /admin under a shared console shell, adapted homepage navigation to authentication state, and updated multiplier displays to show effective rates with duplicate-configuration warnings (Provider cost multipliers vs. user billing multipliers).
  • Fixed the session-reuse toggle not taking effect and ensured model-fallback candidates pass the same eligibility checks as primary routing plans.
  • Fixed Codex CLI web search interruptions.
  • Fixed cross-protocol video tasks returning raw upstream task IDs instead of gateway task IDs.
  • Fixed price catalog uploads failing during the setup wizard.
  • Fixed database migrations overloading PostgreSQL when a large number of TimescaleDB chunks exist.