Releases: pydantic/logfire
Releases · pydantic/logfire
v2.1.1
- Use
functools.wrapsin@logfire.instrumentby @alexmojaki in #562 - Set
logfire.code.work_dirresource attribute whenever other code source attributes are present by @alexmojaki in #563 - Don't scrub
logfire.logger_nameby @alexmojaki in #564
v2.1.0
v2.0.0
- BREAKING CHANGES caused by
@logfire.instrument()no longer needing source code by @alexmojaki in #543:- Decorated async generator functions won't support the
.asendmethod properly - the generator will only receiveNone. Butinstrumentshouldn't be used on generators anyway unless the generator is being used as a context manager, so new warnings about this have been added. See https://logfire.pydantic.dev/docs/guides/advanced/generators/#using-logfireinstrument - Functions decorated with
@logfire.instrument()and functions nested within them can now be auto-traced unlike before. Use@logfire.no_auto_traceanywhere on functions you want to exclude, especially the instrumented function.
- Decorated async generator functions won't support the
v1.3.2
- Handle NonRecordingSpans for fastapi arguments by @alexmojaki in #551
- Preserve docstrings in auto-tracing by @alexmojaki in #550
v1.3.1
- Handle null fastapi route.name and route.operation_id by @alexmojaki in #547
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_instrumentationkwarg by @alexmojaki in #509 - Allow setting tags on logfire spans by @AdolfoVillalobos in #497
- Add logger name to
LogfireLoggingHandlerspans by @samuelcolvin in #534 - Format
NoneasNoneinstead ofnullin messages by @alexmojaki in #525 - Use
PYTEST_VERSIONinstead ofPYTEST_CURRENT_TESTto detectlogfire.configure()being called within a pytest run but outside any test by @Kludex in #531
v1.2.0
What's Changed
- Add
localparameter 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.Gzipby @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
DeprecationWarnings toUserWarnings by @alexmojaki in #458 - Update query client APIs by @dmontagu in #454
Full Changelog: v0.55.0...v1.0.0