Langfuse upgrades

Planning major self-hosted Langfuse upgrades, which change infrastructure and data models, and staying within supported SDK and security patch windows.

Langfuse v3 to v4 upgrade

Planning the self-hosted Langfuse v4 upgrade: infrastructure minimums, finishing v3 background migrations, choosing the legacy or dual write mode, migrating SDKs and evaluators, backfilling history and cutting over.

Langfuse v2 to v3 upgrade

Moving a Postgres-only Langfuse v2 deployment to the v3 architecture with ClickHouse, Redis and blob storage: the zero-downtime parallel approach, the version window that works, and background data migrations.

Langfuse Helm chart v1 to v2 upgrade

Upgrading the Langfuse Helm chart to v2 before moving to Langfuse v4: the switch to the ClickHouse Kubernetes Operator for bundled ClickHouse, data preservation, values changes and rollback planning.

Upgrading Langfuse SDKs: Python v5 and JS/TS v6

Coordinating SDK upgrades with the server: which server version the new SDKs need, OpenTelemetry-based SDK requirements for code evaluators, rollout across services and keeping old SDKs working during the switch.

Routine Langfuse minor version upgrades

Keeping a self-hosted Langfuse current between major versions: automatic database migrations at startup, release cadence, handling a failed ClickHouse migration, and upgrade windows for Docker Compose and Helm installs.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.