Field noteOct 23, 20261 min read1 source

Python SDK v5 and JS/TS SDK v6

In one minute

Langfuse released Python SDK v5 and JavaScript/TypeScript SDK v6 on October 14, 2026.

What changed: Langfuse’s SDK major-version release adds experiment links, nested metadata filters, compressed span export, and batch score APIs; the September update is related but does not document this release.

Both major versions are built for Langfuse v4 and remove APIs that had already been deprecated.

The releases add experimentUrl and experiment_url links to experiment comparison views, dotted-path filtering of nested metadata such as a.b, gzip-compressed span batches, and batch score operations. Scores can now be created with api.scores.create and read with api.scores.get_many or api.scores.getMany, replacing api.scores_v3 and api.scoresV3. The leaner API client removes endpoints including api.legacy.* and api.ingestion.

Installation targets are langfuse>=5 for Python and version 6 of @langfuse/client, @langfuse/tracing, and @langfuse/otel for JS/TS. The SDKs require Langfuse Cloud or self-hosted Langfuse v4.59.0 or later, plus Python 3.11+ or Node.js 22+. Self-hosted v3 users must upgrade Langfuse before adopting them.

The source says most users should face a small version upgrade and provides migration guides. It does not establish the migration effort for any particular application, nor does it add numeric or boolean comparisons for metadata values, which remain stored as strings.

Evidence / sources

  1. 1langfuse.com/changelog/2026-10-14-python-sdk-v5-js-sdk-v6
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicCoding AgentsExplore the coding-agents topic hub.
  2. 02topicEvalsExplore the evals topic hub.
  3. 03archiveField NotesOpen the latest editorial analysis.
  4. 04source ledgerSource LedgerInspect the public source evidence graph.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract