Releases: pydantic/logfire
v0.39.0
v0.38.0
What's Changed
BREAKING CHANGE: Calling logfire.info
, logfire.error
, logfire.span
etc. will no longer automatically configure logfire if it hasn't been configured already. Instead it will emit a warning and not log anything.
Users must call logfire.configure()
before they want logging to actually start, even if they don't pass any arguments to configure
and all configuration is done by environment variables.
Using integrations like logfire.instrument_fastapi()
before calling configure
will also emit a warning but it will still set up the instrumentation, although it will not log anything until configure
is called.
Full Changelog: v0.37.0...v0.38.0
v0.37.0
What's Changed
- Add
logfire.suppress_instrumentation
context manager, silenceurllib3
debug logs from exporting by @jlondonobo in #197
New Contributors
- @jlondonobo made their first contribution in #197
Full Changelog: v0.36.1...v0.37.0
v0.36.1
What's Changed
- Fix structlog import by @alexmojaki in #217
v0.36.0
What's Changed
- Allow passing OTEL kwargs through instrument_fastapi by @alexmojaki in #205
- Retry connection errors by @alexmojaki in #214
New Contributors
- @elisalimli made their first contribution in #208
- @marcuslimdw made their first contribution in #212
Full Changelog: v0.35.0...v0.36.0
v0.35.0
What's Changed
- Add
logfire.instrument_requests()
by @tlpinney in #196 - Add
logfire.instrument_httpx()
by @tlpinney in #198 - Add
logfire.instrument_django()
by @inspirsmith in #200
New Contributors
- @tlpinney made their first contribution in #196
- @inspirsmith made their first contribution in #200
Full Changelog: v0.34.0...v0.35.0
v0.34.0
What's Changed
- Allow instrumenting OpenAI/Anthropic client classes or modules by @alexmojaki in #191
Full Changelog: v0.33.0...v0.34.0
v0.33.0
What's Changed
- Fix logging integrations with non-string messages by @alexmojaki in #179
- Anthropic instrumentation by @willbakst in #181
Full Changelog: v0.32.1...v0.33.0
v0.32.1
What's Changed
- Add 'executing' version to 'logfire info' output by @alexmojaki in #180
- Don't use
include_url
with Pydantic's V1ValidationError
by @Kludex in #184
Full Changelog: v0.32.0...v0.32.1
v0.32.0
What's Changed
- Don't scrub spans from OpenAI integration by @alexmojaki in #173
- Convert FastAPI arguments log to span, don't set to debug by default by @alexmojaki in #164
- Raise an exception when Pydantic plugin is enabled on Pydantic <2.5.0 by @bossenti in #160
- Do not require project name on
logfire projects use
command by @Kludex in #177
New Contributors
Full Changelog: v0.31.0...v0.32.0