Releases: pydantic/logfire
Releases · pydantic/logfire
v4.13.1
v4.13.0
- Store OpenAI Responses streaming response in events format understood by UI by @alexmojaki in #1479
- Add
outputoption tologfire.ConsoleOptions, e.g. to log to stderr instead of stdout by @stevenh in #1477 - Update
logfire.instrument_pydantic_ai()parameters by @alexmojaki in #1480
v4.12.0
- Record response when streaming OpenAI Responses API by @stevenh in #1457
- Record
operation.costspan attribute on OpenAI spans by @alexmojaki in #1468
v4.11.0
- Add experimental
exception_callbackconfiguration by @alexmojaki in #1355 - Support Instrumenting Async SqlAlchemy Engines by @dhruv-ahuja in #1425
- Always collect
operation.costmetric in spans by @alexmojaki in #1435 - Update
pyproject.tomlto be PEP639 compliant by @Kludex in #1429 - Improve
canonicalize_exception_tracebackforRecursionErrorby @alexmojaki in #1455
v4.10.0
v4.9.0
v4.8.0
- Allow capturing headers and response body with
logfire.instrument_aiohttp_client()by @adtyavrdhn in #1405 and #1409
v4.7.0
- Update to OpenTelemetry SDK 1.37.0, drop support for <1.35.0 by @alexmojaki in #1398
v4.6.0
- Fix: check
LOGFIRE_IGNORE_NO_CONFIGfrom environment when needed by @Lftobs in #1379 - Expand scrubbing whitelist, especially for
gen_aimessages by @alexmojaki in #1392 - Print project link eagerly from credentials file if possible by @alexmojaki in #1393
- Fix: Only list orgs in CLI where projects can be created by @alexmojaki in #1391
v4.5.0
- Export
attach_contextandget_contextdirectly fromlogfiremodule, not justlogfire.propagateby @dhruv-ahuja in #1385 - Only list writeable projects from CLI by @alexmojaki in #1386
- Add
ensure_ascii=Falsetojson.dumpscalls by @qiangxinglin in #1381 - Remove unused
stack_offsetfromwith_settings()by @LucasSantos27 in #1380