Skip to content

Releases: pydantic/logfire

v2.1.0

30 Oct 15:18
70d93fe
Compare
Choose a tag to compare
  • Add ASGI & WSGI instrument methods by @Kludex in #324
  • Add logfire.work_dir resource attribute by @Kludex in #532
  • Add logfire.configure(environment=...) by @Kludex in #557
  • Show message from API backend when checking token fails by @alexmojaki in #559

v2.0.0

30 Oct 09:45
c1a70d3
Compare
Choose a tag to compare
  • BREAKING CHANGES caused by @logfire.instrument() no longer needing source code by @alexmojaki in #543:
    • Decorated async generator functions won't support the .asend method properly - the generator will only receive None. But instrument shouldn'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_trace anywhere on functions you want to exclude, especially the instrumented function.

v1.3.2

29 Oct 10:00
af707e2
Compare
Choose a tag to compare

v1.3.1

28 Oct 12:31
88e4e7c
Compare
Choose a tag to compare
  • Handle null fastapi route.name and route.operation_id by @alexmojaki in #547

v1.3.0

24 Oct 19:18
5e9f105
Compare
Choose a tag to compare
  • 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 as None instead of null in messages by @alexmojaki in #525
  • Use PYTEST_VERSION instead of PYTEST_CURRENT_TEST to detect logfire.configure() being called within a pytest run but outside any test by @Kludex in #531

v1.2.0

17 Oct 16:50
3be2165
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.1.0...v1.2.0

v1.1.0

14 Oct 10:37
0dd9844
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

v1.0.1

02 Oct 11:10
55261dd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v1.0.0...v1.0.1

v1.0.0

30 Sep 14:05
ce558e9
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.55.0...v1.0.0

v0.55.0

27 Sep 14:29
ae8b151
Compare
Choose a tag to compare

What's Changed

  • Replace pydantic_plugin in logfire.configure() with logfire.instrument_pydantic() by @alexmojaki in #453
  • Keep METRICS_PREFERRED_TEMPORALITY private by @alexmojaki in #456
  • Use SeededRandomIdGenerator by default to prevent interference from random.seed by @alexmojaki in #457

Full Changelog: v0.54.0...v0.55.0