Releases: pydantic/logfire
Releases · pydantic/logfire
v1.3.0
- Add Code Source links by @Kludex in #451 and #505
- Add fastapi arguments attributes directly on the root OTEL span, remove
use_opentelemetry_instrumentation
kwarg by @alexmojaki in #509 - Allow setting tags on logfire spans by @AdolfoVillalobos in #497
- Add logger name to
LogfireLoggingHandler
spans by @samuelcolvin in #534 - Format
None
asNone
instead ofnull
in messages by @alexmojaki in #525 - Use
PYTEST_VERSION
instead ofPYTEST_CURRENT_TEST
to detectlogfire.configure()
being called within a pytest run but outside any test by @Kludex in #531
v1.2.0
What's Changed
- Add
local
parameter tologfire.configure()
by @alexmojaki in #508
Full Changelog: v1.1.0...v1.2.0
v1.1.0
What's Changed
- Fix error in checking for generators in auto-tracing by @alexmojaki in #498
- Support
'if-token-present'
for env var'LOGFIRE_SEND_TO_LOGFIRE'
by @sydney-runkle in #488 - Use
Compression.Gzip
by @Kludex in #491
New Contributors
- @yeger00 made their first contribution in #479
- @bllchmbrs made their first contribution in #494
Full Changelog: v1.0.1...v1.1.0
v1.0.1
What's Changed
- Fix warning about unregistered MetricReaders by @alexmojaki in #465
Full Changelog: v1.0.0...v1.0.1
v1.0.0
What's Changed
- Upgrade
DeprecationWarning
s toUserWarning
s by @alexmojaki in #458 - Update query client APIs by @dmontagu in #454
Full Changelog: v0.55.0...v1.0.0
v0.55.0
What's Changed
- Replace
pydantic_plugin
inlogfire.configure()
withlogfire.instrument_pydantic()
by @alexmojaki in #453 - Keep
METRICS_PREFERRED_TEMPORALITY
private by @alexmojaki in #456 - Use
SeededRandomIdGenerator
by default to prevent interference fromrandom.seed
by @alexmojaki in #457
Full Changelog: v0.54.0...v0.55.0
v0.54.0
What's Changed
- Major changes in
logfire.configure()
:- Remove
show_summary
andfast_shutdown
by @alexmojaki in #431 - Move
base_url
,id_generator
, andns_timestamp_generator
parameters intoadvanced: AdvancedOptions
by @alexmojaki in #432 - Add
metrics
parameter by @alexmojaki in #444
- Remove
- Remove default
min_duration
forinstall_auto_tracing
by @alexmojaki in #446
Full Changelog: v0.53.0...v0.54.0
v0.53.0
What's Changed
- Tail sampling by @alexmojaki in #407
- Use OTEL scopes better, especially instead of tags by @alexmojaki in #420
- Deprecate
project_name
inlogfire.configure()
, remove old kwargs from signature by @alexmojaki in #428 - Fix websocket span messages by @alexmojaki in #426
- Remove warning about attribute/variable name conflicts in f-string magic by @alexmojaki in #418
- Add uv installation instructions to docs by @montasaurus in #424
New Contributors
- @montasaurus made their first contribution in #424
Full Changelog: v0.52.0...v0.53.0
v0.52.0
What's Changed
- Handle FastAPI update with SolvedDependencies by @alexmojaki in #415
- Add experimental client for the Logfire Query API by @dmontagu in #405
- Remove
default_span_processor
parameter fromconfigure
by @alexmojaki in #400 - Remove
custom_scope_suffix
parameter ofLogfire.log
by @alexmojaki in #399 - Add missing
service_version
field to_LogfireConfigData
so that it gets copied into subprocesses by @alexmojaki in #401
Full Changelog: v0.51.0...v0.52.0
v0.51.0
What's Changed
BREAKING CHANGES
- System metrics are no longer collected by default when the correct dependency is installed. Use
logfire.instrument_system_metrics()
to enable system metrics collection. If you are simply using the old 'Basic System Metrics' dashboard, then no further code changes are required, but that dashboard will no longer work properly and you should create a new dashboard from the template named 'Basic System Metrics (Logfire)'. If you were using other collected metrics, see the documentation for how to collect those. By @alexmojaki in #373 - Stop collecting package versions by @alexmojaki in #387
- Don't auto-trace generators by @alexmojaki in #386
- Disable ASGI send/receive spans by default by @alexmojaki in #371
Other fixes
- Add py.typed file to logfire-api by @jackmpcollins in #379
- Check
LambdaRuntimeClient
before logging tracebacks in_ensure_flush_after_aws_lambda
by @alexmojaki in #388
New Contributors
- @jackmpcollins made their first contribution in #379
Full Changelog: v0.50.1...v0.51.0