---
type: "post"
id: "python-sdk-v5-and-js-ts-sdk-v6-b93c5c"
slug: "python-sdk-v5-and-js-ts-sdk-v6-b93c5c"
title: "Python SDK v5 and JS/TS SDK v6"
description: "Langfuse released Python SDK v5 and JavaScript/TypeScript SDK v6 on October 14, 2026."
retrieval_nugget: "Langfuse released Python SDK v5 and JavaScript/TypeScript SDK v6 on October 14, 2026."
published_at: "2026-10-23"
updated_at: "2026-10-23"
record_date: "2026-10-23"
date_kind: "published_at"
topics: ["coding-agents","evals"]
entities: ["Langfuse","Langfuse Python SDK","Langfuse JS/TS SDK","Langfuse v4"]
related_patterns: ["verification-bandwidth-is-the-scarce-resource"]
novelty_label: "new_fact"
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."
prior_refs: ["memory:49d59a3a-afd5-81bb-a50d-fd4d1af428ca"]
source_url: "https://langfuse.com/changelog/2026-10-14-python-sdk-v5-js-sdk-v6"
source_urls: ["https://langfuse.com/changelog/2026-10-14-python-sdk-v5-js-sdk-v6"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "post:python-sdk-v5-and-js-ts-sdk-v6-b93c5c"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/posts/python-sdk-v5-and-js-ts-sdk-v6-b93c5c/","markdown":"https://newruntime.com/posts/python-sdk-v5-and-js-ts-sdk-v6-b93c5c.md","json":"https://newruntime.com/posts/python-sdk-v5-and-js-ts-sdk-v6-b93c5c.json"}
---

# Python SDK v5 and JS/TS SDK v6

## Retrieval answer

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

Langfuse released Python SDK v5 and JavaScript/TypeScript SDK v6 on October 14, 2026. 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.

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Coding Agents](https://newruntime.com/topics/coding-agents.md): Explore the coding-agents topic hub.
- topic hub: [Evals](https://newruntime.com/topics/evals.md): Explore the evals topic hub.
- collection: [Field Notes](https://newruntime.com/posts.json): Open the latest editorial analysis.
- collection: [Source Ledger](https://newruntime.com/source-ledger.json): Inspect the public source evidence graph.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
