Releases: pydantic/logfire
Releases · pydantic/logfire
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
v4.24.0
v4.23.0
- feat: Add
logfire.db_api— PEP 249 DB API 2.0 interface by @dmontagu in #1692 - Add semantic convention message attributes to LLM integrations by @dmontagu in #1705
- Fix some attributes in langsmith and openai_agents spans @alexmojaki in #1696
- feat: support for pytest-xdist traceparent propagation by @jirikuncar in #1701
- fix: re-attach OTel span context in pytest async test functions by @jirikuncar in #1693
v4.22.0
- feat: Add multi-token support for project migration by @adriangb in #1672
- Fix google_genai integration crash when Gemini returns parts=None by @alexmojaki in #1678