Releases: pydantic/logfire
Releases · pydantic/logfire
v4.33.0
CLI:
- feat: gateway cli command by @ddanielcruzz in #1915
- CLI: Use remote MCP server by @jirikuncar in #1884
- refactor: reuse AI tool MCP setup in prompt CLI by @ddanielcruzz in #1921
- Avoid raising error on
promptcommand without--projectby @Kludex in #1912
Integrations:
- Support new TaskSpanData and TurnSpanData from openai-agents 0.14 by @alexmojaki in #1888
- Update surrealdb integration for 2.x by @alexmojaki in #1899
- feat: support capture parameters for asyncpg by @thisisarko in #1896
- perf: avoid full response
model_dumpin usage cost path by @imp-joshi in #1886
Other:
- Support OTel 1.41.0 by @alexmojaki in #1874
- Drop support for Python < 3.9.2 by @alexmojaki in #1920
- Add
logfire.versionto resource attributes by @alexmojaki in #1911 - Optionally emit configuration log after
logfire.configure()by @Kludex in #1904 - Add
levelparam to@logfire.instrument()by @imp-joshi in #1871 - Clean up DiskRetryer temp dirs on shutdown by @alexmojaki in #1866
- Datasets SDK: upload dataset-level + report-level evaluators by @dmontagu in #1879
- End open spans earlier in process shutdown to prevent dangling pending spans by @alexmojaki in #1890
- adding .agents for library-skills by @adtyavrdhn in #1894
- feat: surface X-Logfire-Warning header by @adriangb in #1906
- Add user agent to query client by @Viicos in #1875
v4.32.1
- Support OpenTelemetry SDK 1.40.0 by @alexmojaki in #1861
- Do row→column transformation client-side in query client by @adriangb in #1862
- Mark various genai attributes as safe from scrubbing by @alexmojaki in #1863
v4.32.0
v4.31.2
- fix: Show token badges for OpenAI streaming logs by @alexmojaki in #1857
- fix: OTel warning during tail sampling buffer replay by @cyberksh in #1632
v4.31.1
- Capture token usage and cost attributes in OpenAI streaming logs by @alexmojaki in #1846
- Capture token usage and cost attributes in Anthropic streaming logs by @alexmojaki in #1850
- Capture
operation.costfor OpenAI embeddings by @alexmojaki in #1843 - Capture
gen_ai.usage.rawfor Anthropic by @alexmojaki in #1847 - fix: strip
cf-connecting-ipheader inforward_export_requestby @BreytMN in #1824 - Handle patching of
sys.stdoutbetter by @alexmojaki in #1840
v4.31.0
- Add
logfire.instrument_claude_agent_sdk()by @alexmojaki in #1799 - feat: add
logfire.url_from_eval(report)method by @Kludex in #1694 - fix: include cached tokens in
gen_ai.usage.input_tokensfor Anthropic by @alexmojaki in #1812 - fix: handle bare MCP request types for fastmcp 3.x compatibility by @alexmojaki in #1813
v4.30.0
- Add
logfire auth logoutcommand by @ai-man-codes in #1781 - Remove Rich link styling from project URL output by @ameenalkhaldi in #1784
- Fix push_config() to push labels and versions by @dmontagu in #1785
- Merge
export_datasetintoget_datasetwithinclude_casesparameter by @Kludex in #1792
v4.29.0
- Add
gen_ai.usage.rawattribute to OpenAI Responses spans by @alexmojaki in #1777
v4.28.0
- Handle anthropic beta messages and refactor by @alexmojaki in #1774
- Delete redundant
logfire.experimental.datasetspackage by @alexmojaki in #1763 - Change
logfire_pytestfixture scope to session by @jirikuncar in #1758
v4.27.0
- Add
gen_ai.systemattribute to anthropic spans, enabling token/cost badges by @alexmojaki in #1760 - Set
operation.costattribute on anthropic spans whengenai-pricesis installed by @alexmojaki in #1761