NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #840 most downloaded on PyPI
Langfuse Python SDK - LLM observability/tracing, datasets, experiments, LLM-as-a-judge evaluation, and prompt management
Last release 3 days ago
16 Sep 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
551 releases · first in 2023
One column per quarter.
feat(prompts): allow passing kwargs to precompile langchain prompt by @hassiebp in https://github.com/langfuse/langfuse-python/pull/934
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.50.1...v2.50.2
fix(langchain): link prompts to nested generations as well by @hassiebp in https://github.com/langfuse/langfuse-python/pull/933
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.50.0...v2.50.1
chore: upgrade dependencies by @hassiebp in https://github.com/langfuse/langfuse-python/pull/926
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.49.0...v2.50.0
feat(langchain): link langfuse prompts to langchain executions by @hassiebp in https://github.com/langfuse/langfuse-python/pull/928
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.48.1...v2.49.0
fix(openai): multiple streamed tool calls by @hassiebp in https://github.com/langfuse/langfuse-python/pull/922
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.48.0...v2.48.1
feat(decorator): Enhance observe decorator to support usage without parentheses by @hassiebp in https://github.com/langfuse/langfuse-python/pull/918
observe decorator to support usage without parentheses by @hassiebp in https://github.com/langfuse/langfuse-python/pull/918Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.47.1...v2.48.0
feat: improve error messages by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/913
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.47.0...v2.47.1
feat(prompts): optionally disable prompt caching when cache ttl is 0 by @marcklingen in https://github.com/langfuse/langfuse-python/pull/914
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.46.3...v2.47.0
fix: prevent exceptions while parsing HTTP response error bodies by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/911
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.46.2...v2.46.3
Nothing published for this version
fix: make packaging version flexible by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/910
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.46.1...v2.46.2
chore: downgrade packaging by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/909
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.46.0...v2.46.1
chore: Updated deprecated logging warning in langfuse_decorator.py by @demux79 in https://github.com/langfuse/langfuse-python/pull/903
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.45.2...v2.46.0
Nothing published for this version
fix(openai): add close method to wrapped stream by @hassiebp in https://github.com/langfuse/langfuse-python/pull/899
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.45.1...v2.45.2
chore(deps): bump the langchain group across 1 directory with 2 updates by @dependabot in https://github.com/langfuse/langfuse-python/pull/888
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.44.1...v2.45.1
feat: support for Watsonx ai model for langchain extension (#874) by @barvhaim https://github.com/langfuse/langfuse-python/pull/886
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.44.1...v2.45.0
fix(llama-index): span name parsing on streamed tool call by @hassiebp in https://github.com/langfuse/langfuse-python/pull/876
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.44.0...v2.44.1
feat(llama-index): experimental instrumentation module integration by @jonathanhliu21, @nerdai and @hassiebp in https://github.com/langfuse/langfuse-p
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.43.3...v2.44.0
feat: add custom prompt timeout by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/854
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.43.1...v2.43.3
Nothing published for this version
Nothing published for this version
fix(openai): do not throw on using beta api for structured output by @hassiebp in https://github.com/langfuse/langfuse-python/pull/849
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.43.0...v2.43.1
feat(openai): add response_format to metadata by @hassiebp in https://github.com/langfuse/langfuse-python/pull/846
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.42.1...v2.43.0
fix: parse sample rate by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/841
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.42.0...v2.42.1
feat(llama-index): parse tool_name by @glema-xmartlabs in https://github.com/langfuse/langfuse-python/pull/842
feat(llama-index): parse tool_name by @glema-xmartlabs in https://github.com/langfuse/langfuse-python/pull/842
feat(langchain): parse XInference model_uid by @hassiebp in https://github.com/langfuse/langfuse-python/pull/838
fix(langfuse_decorator): fix mypy decorator to original type by @EdwardLi-coder in https://github.com/langfuse/langfuse-python/pull/839
fix(llama-index): handle non-dict case when parsing ChatCompletion usage by @lafidalgo in https://github.com/langfuse/langfuse-python/pull/840
chore(deps-dev): bump google-cloud-aiplatform from 1.56.0 to 1.60.0 by @dependabot in https://github.com/langfuse/langfuse-python/pull/819
chore: add sampling test case by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/833
chore: improve docs by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/834
chore(deps-dev): bump pytest-httpserver from 1.0.10 to 1.0.12 by @dependabot in https://github.com/langfuse/langfuse-python/pull/835
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.41.0...v2.42.0
feat: add trace sampling by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/831
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.40.0...v2.41.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
feat(decorator): update trace io via update_current_trace by @hassiebp in https://github.com/langfuse/langfuse-python/pull/823
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.39.3...v2.40.0
fix: openai.langfuse_auth_check by @hassiebp in https://github.com/langfuse/langfuse-python/pull/814
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.39.2...v2.39.3
fix: add VLLM support by @hassiebp in https://github.com/langfuse/langfuse-python/pull/808
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.39.1...v2.39.2
feat(prompts): add max_retries option by @hassiebp in https://github.com/langfuse/langfuse-python/pull/798
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.39.0...v2.39.1
feat(scores): add non numeric scores via SDK by @marliessophie in https://github.com/langfuse/langfuse-python/pull/789
fetch_* methods by @marcklingen in https://github.com/langfuse/langfuse-python/pull/793fetch_sessions() by @marcklingen in https://github.com/langfuse/langfuse-python/pull/794Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.38.1...v2.39.0
fix(langchain): parse token counts from bedrock calls by @hassiebp in https://github.com/langfuse/langfuse-python/pull/786
fix(langchain): parse token counts from bedrock calls by @hassiebp in https://github.com/langfuse/langfuse-python/pull/786
chore(deps): bump certifi from 2024.2.2 to 2024.7.4 in /examples/django_example by @dependabot in https://github.com/langfuse/langfuse-python/pull/784
chore(deps): bump certifi from 2024.2.2 to 2024.7.4 in /examples/fastapi_example by @dependabot in https://github.com/langfuse/langfuse-python/pull/785
chore(deps): bump certifi from 2024.2.2 to 2024.7.4 by @dependabot in https://github.com/langfuse/langfuse-python/pull/783
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.38.0...v2.38.1
feat: add fetch_* for trace objects, deprecate get_* by @marcklingen in https://github.com/langfuse/langfuse-python/pull/780
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.37.0...v2.38.0
feat(datasets): upgrade to v2 api by @marcklingen in https://github.com/langfuse/langfuse-python/pull/768
get_dataset() fetches items in pages to allow for large datasets to be fetched from APIget_dataset_runs()get_traces() by @marcklingen in https://github.com/langfuse/langfuse-python/pull/754Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.36.2...v2.37.0
fix: streamed function/tool calls for langfuse.openai by @hassiebp
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.36.1...v2.36.2
feat: join task manager threads concurrently instead of serially (#734) by @mjahr in https://github.com/langfuse/langfuse-python/pull/736
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.36.0...v2.36.1
feat: adds filter by score IDs to list scores endpoint by @hassiebp in https://github.com/langfuse/langfuse-python/pull/733
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.35.2...v2.36.0
feat: parse models from LLM response also by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/699
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.35.0...v2.35.2
feat: add observe context manager to dataset item runs by @hassiebp in https://github.com/langfuse/langfuse-python/pull/728
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.34.2...v2.35.0
fix: remove duplicate langfuse handlers by @hassiebp in https://github.com/langfuse/langfuse-python/pull/726
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.34.1...v2.34.2
fix: dataset items and llama by @hassiebp in https://github.com/langfuse/langfuse-python/pull/725
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.34.0...v2.34.1
feat(prompts): add tags to prompts by @marcklingen in https://github.com/langfuse/langfuse-python/pull/722
feat(prompts): add tags to prompts by @marcklingen in https://github.com/langfuse/langfuse-python/pull/722
feat(traces): add session_id to trace filters by @RichardKruemmel in https://github.com/langfuse/langfuse-python/pull/723
feat: add observe llama index dataset item client by @hassiebp in https://github.com/langfuse/langfuse-python/pull/724
fix: long test runtimes due to misconfigured test by @hassiebp in https://github.com/langfuse/langfuse-python/pull/716
ci(datasets): add test to cover item.dataset_name by @marcklingen in https://github.com/langfuse/langfuse-python/pull/708
chore(deps-dev): bump pymongo from 4.7.1 to 4.7.2 by @dependabot in https://github.com/langfuse/langfuse-python/pull/717
chore(deps-dev): bump ruff from 0.4.4 to 0.4.6 by @dependabot in https://github.com/langfuse/langfuse-python/pull/718
chore(deps): bump pydantic from 2.7.1 to 2.7.2 by @dependabot in https://github.com/langfuse/langfuse-python/pull/719
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.33.1...v2.34.0
fix(openai): allow for contextmanager in wrapped generators by @hassiebp in https://github.com/langfuse/langfuse-python/pull/714
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.33.0...v2.33.1
Nothing published for this version
chore(deps-dev): bump langchain-anthropic from 0.1.11 to 0.1.12 by @dependabot in https://github.com/langfuse/langfuse-python/pull/688
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.32.0...v2.33.0
chore(deps): bump openai from 1.25.2 to 1.30.1 by @dependabot in https://github.com/langfuse/langfuse-python/pull/685
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.31.0...v2.32.0
feat(datasets): add status as kwarg to create_dataset_item by @marcklingen in https://github.com/langfuse/langfuse-python/pull/684
status as kwarg to create_dataset_item by @marcklingen in https://github.com/langfuse/langfuse-python/pull/684Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.30.0...v2.31.0
chore(deps): bump langchain from 0.1.17 to 0.1.19 by @dependabot in https://github.com/langfuse/langfuse-python/pull/673
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.29.3...v2.30.0
fix: add model support for langchain_aws by @bell-steven in https://github.com/langfuse/langfuse-python/pull/670
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.29.2...v2.29.3
Nothing published for this version
chore: adjust ci pipeline by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/664
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.29.1...v2.29.2
fix: correctly extract model names by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/661
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.29.0...v2.29.1
feat(decorator): allow setting trace / observation name as observe kwarg by @hassiebp in https://github.com/langfuse/langfuse-python/pull/641
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.28.2...v2.29.0
fix(decorators): handle generators as decorated function inputs by @hassiebp in https://github.com/langfuse/langfuse-python/pull/640
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.28.1...v2.28.2
deps: downgrade backoff requirement by @maxdeichmann in https://github.com/langfuse/langfuse-python/pull/639
Full Changelog: https://github.com/langfuse/langfuse-python/compare/v2.28.0...v2.28.1
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →