Self HostingVersioning

Versioning

Versioning is key to ensure compatibility between Langfuse Server, SDKs, and custom integrations via the Public API. Thus, we take semantic versioning seriously.

The feature availability matrix below shows what each self-hosted server version supports. For Langfuse Cloud and an overview of current and legacy versions, see Versions & Compatibility.

Scope of semantic versioning

The following changes result in a major version bump as they are considered breaking:

  • Infrastructure changes
  • Removal of existing Public APIs or removal/changes of existing parameters from Public APIs

The following changes do not result in a major version bump as they are considered internal implementation details:

  • Database schemas
  • Frontend APIs

Compatibility between Langfuse Server and SDKs

Langfuse Server and SDKs are versioned independently to allow for more flexibility in upgrading components. The compatibility rule: each server major version aims to support the current and the previous SDK major version of each language, and each SDK major requires a minimum server version. We try extremely hard to uphold this rule, but the v4 transition is an exception: it ends support for older SDK majors on a published schedule (see the feature availability matrix).

  • Server: Can be upgraded independently of SDK versions within the supported range. Major server upgrades can drop support for old SDK majors; check the feature availability matrix and the upgrade guide before upgrading.
  • SDKs: Older SDK majors keep working on newer servers until they are deprecated and removed. New SDK majors require the minimum server versions listed in the feature availability matrix.

We recommend keeping the Langfuse Server up to date to ensure access to all features and security updates.

How Langfuse Cloud is versioned

Langfuse Cloud deploys continuously and always runs the latest Langfuse version. New capabilities are battle-tested on Langfuse Cloud before they ship in a self-hosted release, so Cloud can run ahead of the latest self-hosted version, and some features may be enabled on Cloud before they are available self-hosted.

Consequences:

  • On Cloud, server versions are managed for you; only SDK versions and API endpoints matter.
  • Breaking removals on Cloud are announced with a migration window and happen on published dates; on self-hosted they only happen in major releases. Cloud removals are tracked in the Langfuse Cloud matrix, self-hosted support in the matrix below.

Feature availability matrix

The matrix below shows what each self-hosted server major version supports: SDK majors with their minimum server versions, ingestion paths, read APIs, exports, and evaluators. Click a row for details and replacement endpoints.

On Langfuse Cloud, server versions are managed for you; use the Langfuse Cloud matrix instead.

ClientOSS v2 (End of life)OSS v3 (Deprecated)OSS v4 (GA)Status
Python · Upgrade guide
Python SDK v4Unsupported≥ 3.125.0FullGA
Python SDK v3Unsupported≥ 3.125.0DeprecatedDeprecated
Python SDK v2FullFullDeprecatedDeprecated
Python SDK v1FullUnsupportedUnsupportedEnd of life
JS/TS · Upgrade guide
JS/TS SDK v5Unsupported≥ 3.95.0FullGA
JS/TS SDK v4Unsupported≥ 3.95.0DeprecatedDeprecated
JS/TS SDK v3 / v2FullFullDeprecatedDeprecated
JS/TS SDK v1FullUnsupportedUnsupportedEnd of life
Third-party instrumentation · OpenTelemetry docs
OpenTelemetry
/api/public/otel/v1/traces
Unsupported≥ 3.22.0FullGA
Scores ingestion
/api/public/scores
FullFullFullGA
Legacy ingestion API
/api/public/ingestion
FullFullDeprecatedDeprecated
Read APIs · Public API docs
Observations API v2 & Metrics API v2
/api/public/v2/...
UnsupportedUnsupportedFullGA
Scores API v3
/api/public/v3/scores
UnsupportedFullFullGA
v1 read APIs
/api/public/...
FullFullDeprecatedDeprecated
Integrations & exports · Export docs
Blob storage exportUnsupportedTraces & observationsEnriched observationsGA
PostHog integrationUnsupportedTraces & observationsEnriched observationsGA
Mixpanel integrationUnsupportedTraces & observationsEnriched observationsGA
Legacy export source (traces and observations)UnsupportedFullDeprecatedDeprecated
Evaluations · LLM-as-a-judge docs
Observation-level evaluatorsUnsupported≥ 3.153.0FullGA
Trace-level evaluatorsFullFullDeprecatedDeprecated

Release Notes

Release notes are published on GitHub:

You can watch the GitHub releases to get notified about new releases:

Langfuse
releases

Also, you can subscribe to our mailing list to get notified about new releases and new major versions:

If you experience any issues when self-hosting Langfuse, please:

  1. Check out Troubleshooting & FAQ page.
  2. Use Ask AI to get instant answers to your questions.
  3. Ask the maintainers on GitHub Discussions.
  4. Create a bug report or feature request on GitHub.

Enterprise-grade support is available when self-hosting Langfuse. Learn more on our pricing page.


Was this page helpful?

Last edited