Releases: pydantic/logfire
v0.41.0
What's Changed
- Fix backfill command by @alexmojaki in #243
- Update Anthropic to use tools that are no longer in beta by @willbakst in #249
- NOTE: Anthropic instrumentation now requires
anthropic>=0.27.0
- NOTE: Anthropic instrumentation now requires
Full Changelog: v0.40.0...v0.41.0
v0.40.0
What's Changed
- BREAKING CHANGE: The
processors
parameter oflogfire.configure()
has been replaced byadditional_span_processors
. Passingprocessors
will raise an error. Unlikeprocessors
, settingadditional_span_processors
to an empty sequence will not disable the default span processor which exports to Logfire. To do that, passsend_to_logfire=False
. Similarlymetric_readers
has been replaced byadditional_metric_reader
. By @alexmojaki in #233 - Improve error raised when opentelemetry.instrumentation.django is not installed by @deepakdinesh1123 in #231
- Handle internal errors by @alexmojaki in #232
New Contributors
- @deepakdinesh1123 made their first contribution in #231
Full Changelog: v0.39.0...v0.40.0
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