Releases: pydantic/logfire
Releases · pydantic/logfire
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
v4.26.0
- feat: add browser proxy helpers:
forward_export_requestandlogfire_proxyby @AlanPonnachan in #1697 - Handle pickling errors in
dataclasses.asdictby @alexmojaki in #1756 - Use additionalProperties for homogeneous dict schemas by @adriangb in #1738
v4.25.0
- Add experimental datasets package by @dmontagu in #1711
- Extract langsmith provider name by @alexmojaki in #1720