Pydantic Logfire 5.6.0 release notes
Pydantic Logfire 5.6.0 was released on November 11, 2026. The latest version is 6.0.1.
The release notes for this version mention breaking changes.
Release notes
- Breaking Change:
logfire.agent_sandboxes()returns a plainpydantic_monty.AsyncMontyRemoteinstead of theAgentSandboxPoolwrapper, so it can be passed to code typed against Monty such asCodeMode(monty_sandbox=logfire.agent_sandboxes)by @dmontagu in #2747 and #2756 logfire[agent-sandboxes]requirespydantic-monty-client>=1.6.0, which sends the first request without waiting for theConfigurereply and raises typed connection and configuration errors- Log structlog critical events at the fatal level by @Fahmid-Arman in #2719
- Make the enum JSON schema type independent of the member set order by @Yasser-Ameur in #2759
- Reset the current OpenAI Agents trace and span when a generator is closed by @devjoinedthechat in #2698
- Record NumPy scalar attributes as numbers, not their repr by @Sonica-B in #2757
- Preserve integer precision in logged DataFrames by @Jinyong-Li in #2753
- Return success from the shim shutdown by @shayanxcyber in #2740
- Defer span scrubbing for batch exporters by @alexmojaki in #2761
- Keep disk retries with the process that queued them by @ska2704 in #2762
- Hash SpanLevel by name and warn that hashing it is discouraged by @chrikrah in #2768
- Format non-string DataFrame indices in the console exporter by @anubhavlal07 in #2765
- Map stdlib logging levels above CRITICAL to fatal by @anubhavlal07 in #2766
- Skip Azure content filter chunks in OpenAI streams by @anubhavlal07 in #2763
- Report LogfireLoggingHandler failures through handleError instead of raising by @JayPokale in #2703
- fix: preserve exceptions in instrumented async context managers by @peterolkhov in #2767
- Speed up scrubbing with fast path for simple types by @alexmojaki in #2773
- Scrub decoded JSON containers without a regex prefilter by @alexmojaki in #2774
- Skip f-string inspection for spans and logs that logfire opens itself by @ska2704 in #2775
- Return the connection from the logfire-api shim's instrument_sqlite3 and instrument_mysql by @anubhavlal07 in #2777
Source: GitHub release v5.6.0