NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI, #655 most downloaded on PyPI
Langfuse Python SDK - LLM observability/tracing, datasets, experiments, LLM-as-a-judge evaluation, and prompt management
Latest stable
5.2.0
Last release 10 days ago
05 Nov 2026
Ships on a steady schedule
a new release about every 2 weeks
Nearly every release is documented
notes for 60 of the last 60 stable releases
3 versions withdrawn
withdrawn after publishing
3 years old
562 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
feat(api): update API spec from langfuse/langfuse 966662e by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1508
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.13.0...v3.14.0
feat(batch-evaluation): allow passing fields param for efficient trace fetching by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1502
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.12.1...v3.13.0
Your coding agent can read these notes before it upgrades. Set up the MCP server →
chore(deps-dev): bump virtualenv from 20.35.3 to 20.36.1 by @dependabot[bot] in https://github.com/langfuse/langfuse-python/pull/1499
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.12.0...v3.12.1
feat(api): update API spec from langfuse/langfuse d59b6a3 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1489
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.11.2...v3.12.0
fix(client): reuse httpx client in get_client by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1482
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.11.1...v3.11.2
feat(api): update API spec from langfuse/langfuse 3dbec46 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1479
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.11.0...v3.11.1
fix(langchain): update docstring for trace_context by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1476
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.7...v3.11.0
fix(client): flush on shutdown by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1474
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.6...v3.10.7
feat(api): update API spec from langfuse/langfuse fc04a50 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1467
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.5...v3.10.6
feat(client): Add optional timestamp parameter to score creation by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1464
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.4...v3.10.5
chore(deps-dev): bump werkzeug from 3.1.3 to 3.1.4 by @dependabot[bot] in https://github.com/langfuse/langfuse-python/pull/1462
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.3...v3.10.4
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.4...v3.10.4a1
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.4...v3.10.4a1
fix(gemini): gemini input token calculation when implicit cache is hit using langchain by @aablsk in https://github.com/langfuse/langfuse-python/pull/
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.2...v3.10.3
docs(experiments): evaluation value cannot be None by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1446
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.1...v3.10.2
feat(api): update API spec from langfuse/langfuse e1f390d by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1439
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.10.0...v3.10.1
feat(evals): add run_batched_evaluation by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1436
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.9.3...v3.10.0
Nothing published for this version
feat(api): update API spec from langfuse/langfuse db01ff9 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1435
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.9.2...v3.9.3
Nothing published for this version
Nothing published for this version
fix(client): handle update_current_trace on non recorded spans gracefully by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1432
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.9.1...v3.9.2
feat(api): update API spec from langfuse/langfuse efe3532 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1425
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.9.0...v3.9.1
feat(api): update API spec from langfuse/langfuse 258cc51 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1420
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.8.1...v3.9.0
feat(api): update API spec from langfuse/langfuse f5e96a9 by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1408
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.8.0...v3.8.1
chore: drops support for Python 3.9 (end of life)
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.7.0...v3.8.0
feat(api): update API spec from langfuse/langfuse fa2979b by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1403
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.6.2...v3.7.0
feat(api): update API spec from langfuse/langfuse dee644d by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1398
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.6.1...v3.6.2
fix(experiments): pass full evaluation to score creation by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1391
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.6.0...v3.6.1
feat(api): update API spec from langfuse/langfuse 9b8868a by @langfuse-bot in https://github.com/langfuse/langfuse-python/pull/1384
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.5.2...v3.6.0
fix(observe): handle generator context propagation by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1383
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.5.1...v3.5.2
fix(langchain): maintain async context in tool executions by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1380
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.5.0...v3.5.1
chore(deps): bump pydantic from 2.11.7 to 2.11.9 by @dependabot[bot] in https://github.com/langfuse/langfuse-python/pull/1343
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.4.0...v3.5.0
feat(experiments): add experiment runner by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1334
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.5...v3.4.0
fix(langchain): set cost to zero on errors by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1328
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.4...v3.3.5
add prompt cache invalidation functionality by @cemasma in https://github.com/langfuse/langfuse-python/pull/1278
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.3...v3.3.4
chore(deps-dev): bump ruff from 0.12.10 to 0.12.11 by @dependabot[bot] in https://github.com/langfuse/langfuse-python/pull/1315
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.2...v3.3.3
feat(langchain): set callback spans to active in OTEL context by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1310
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.1...v3.3.2
feat(traces): add more observation types by @nimarb in https://github.com/langfuse/langfuse-python/pull/1290
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.1...v3.3.1
FLUSH_AT and FLUSH_INTERVAL by @qnnn in https://github.com/langfuse/langfuse-python/pull/1306Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.3.0...v3.3.1
feat(langchain): add update_trace argument by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1302
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.8...v3.3.0
fix(openai): handle async response api input and outputs by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1301
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.7...v3.2.8
fix(langchain): take only int values in parsed usage by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1299
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.6...v3.2.7
fix(client): skip string serialization in attribute values by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1297
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.5...v3.2.6
chore: specify otlp http exporter dep by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1295
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.4...v3.2.5
chore(deps-dev): bump starlette from 0.40.0 to 0.47.2 by @dependabot[bot] in https://github.com/langfuse/langfuse-python/pull/1274
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.3...v3.2.4
perf(langchain): send trace updates on root span by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1284
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.2...v3.2.3
feat(decorator): require langfuse_public_key only in top most decorated func by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1281
tool_call is a empty list, it raise an `list in… by @badbye in https://github.com/langfuse/langfuse-python/pull/1263Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.1...v3.2.2
chore: bump urllib3 by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1256
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.2.0...v3.2.1
feat: add serialization of numpy ndarray by @marcklingen in https://github.com/langfuse/langfuse-python/pull/1246
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.1.3...v3.2.0
fix(media): do not mutate vertex media dict by @philipshurpik in https://github.com/langfuse/langfuse-python/pull/1243
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.1.2...v3.1.3
fix(langchain): do not stringify metadata unnecessarily by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1237
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.1.1...v3.1.2
fix(client): do not escape url param with httpx > 0.28 by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1236
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.1.0...v3.1.1
feat(prompts): chat message placeholders by @nimarb in https://github.com/langfuse/langfuse-python/pull/1222
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.9...v3.1.0
Nothing published for this version
feat(langchain): add last trace id property to CallbackHandler by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1230
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.7...v3.0.8
fix(client): auth check on missing credentials by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1224
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.6...v3.0.7
fix(prompts): escape json in get_langchain_prompt by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1226
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.5...v3.0.6
feat(client): allow filtering spans by instrumentation scope name by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1223
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.4...v3.0.5
fix(client): use tracing_enabled in get_client by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1220
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.3...v3.0.4
fix(client): correctly scope client in multiproject setups by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1218
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.2...v3.0.3
fix: set timeout to 5 seconds by @hassiebp in https://github.com/langfuse/langfuse-python/pull/1211
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v3.0.1...v3.0.2
One column per quarter.