Skip to content

Releases: pydantic/logfire

v0.52.0

05 Sep 14:21
d43d91d
Compare
Choose a tag to compare

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 from configure by @alexmojaki in #400
  • Remove custom_scope_suffix parameter of Logfire.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

22 Aug 12:11
108ae4b
Compare
Choose a tag to compare

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

Full Changelog: v0.50.1...v0.51.0

v0.50.1

06 Aug 16:14
bb9a0cd
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.50.0...v0.50.1

v0.50.0

06 Aug 13:50
b10f6e9
Compare
Choose a tag to compare

What's Changed

  • BREAKING CHANGES: Separate sending to Logfire from using standard OTEL environment variables by @alexmojaki in #351. See https://docs.pydantic.dev/logfire/guides/advanced/alternative_backends/ for details. Highlights:
    • OTEL_EXPORTER_OTLP_ENDPOINT is no longer just an alternative to LOGFIRE_BASE_URL. Setting OTEL_EXPORTER_OTLP_ENDPOINT, OTEL_EXPORTER_OTLP_TRACES_ENDPOINT, and/or OTEL_EXPORTER_OTLP_METRICS_ENDPOINT will set up appropriate exporters in addition to sending to Logfire, which must be turned off separately if desired. These are basic exporters relying on OTEL defaults. In particular they don't use our custom retrying logic.
    • LOGFIRE_BASE_URL / logfire.configure(base_url=...) is now only intended for actual alternative Logfire backends, which are currently only available to Logfire developers, and unlike OTEL_EXPORTER_OTLP_ENDPOINT requires authenticating with Logfire.
    • Pending spans are only sent to logfire-specific exporters.
  • Add capture_statement to Redis instrumentation by @Kludex in #355

Full Changelog: v0.49.1...v0.50.0

v0.49.1

05 Aug 20:27
a3b146d
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.49.0...v0.49.1

v0.49.0

05 Aug 11:15
c753af5
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v0.48.1...v0.49.0

v0.48.1

29 Jul 16:59
2134737
Compare
Choose a tag to compare

What's Changed

  • Handle newer opentelemetry versions by @alexmojaki in #337
  • More lenient handling of loguru message mismatch and better warnings by @alexmojaki in #338
  • Add better type hints for HTTPX and AsyncPG by @Kludex in #342
  • Handle setuptools changing sys.path for importing packaging.version by @alexmojaki in #344

Full Changelog: v0.48.0...v0.48.1

v0.48.0

24 Jul 17:28
f3c50a2
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.47.0...v0.48.0

v0.47.0

20 Jul 16:53
0758b24
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.46.1...v0.47.0

v0.46.1

05 Jul 16:54
7116963
Compare
Choose a tag to compare

This release is meant to retry the publish process to logfire-api to PyPI.