Skip to content

Commit 464203c

Browse files
authored
Release v3.24.1 (#1246)
1 parent cbe3b1d commit 464203c

File tree

7 files changed

+19
-7
lines changed

7 files changed

+19
-7
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release Notes
22

3+
## [v3.24.1] (2025-07-14)
4+
5+
* Support OpenTelemetry 1.35.0 by @alexmojaki in [#1242](https://github.com/pydantic/logfire/pull/1242)
6+
37
## [v3.24.0] (2025-07-10)
48

59
* Add experimental `logfire.instrument_litellm()` by @alexmojaki in [#1237](https://github.com/pydantic/logfire/pull/1237)
@@ -782,3 +786,4 @@ First release from new repo!
782786
[v3.22.1]: https://github.com/pydantic/logfire/compare/v3.22.0...v3.22.1
783787
[v3.23.0]: https://github.com/pydantic/logfire/compare/v3.22.1...v3.23.0
784788
[v3.24.0]: https://github.com/pydantic/logfire/compare/v3.23.0...v3.24.0
789+
[v3.24.1]: https://github.com/pydantic/logfire/compare/v3.24.0...v3.24.1

logfire-api/logfire_api/_internal/exporters/logs.pyi

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ class CheckSuppressInstrumentationLogProcessorWrapper(WrapperLogProcessor):
99
1010
Placed at the root of the tree of processors.
1111
"""
12-
def emit(self, log_data: LogData): ...
12+
def on_emit(self, log_data: LogData): ...
13+
emit = on_emit
1314

1415
@dataclass
1516
class MainLogProcessorWrapper(WrapperLogProcessor):
1617
scrubber: BaseScrubber
17-
def emit(self, log_data: LogData): ...
18+
def on_emit(self, log_data: LogData): ...
19+
emit = on_emit

logfire-api/logfire_api/_internal/exporters/otlp.pyi

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ from typing import Any
1616

1717
class BodySizeCheckingOTLPSpanExporter(OTLPSpanExporter):
1818
max_body_size: Incomplete
19+
def __init__(self, *args: Any, **kwargs: Any) -> None: ...
20+
def export(self, spans: Sequence[ReadableSpan]): ...
1921

2022
class OTLPExporterHttpSession(Session):
2123
"""A requests.Session subclass that defers failed requests to a DiskRetryer."""

logfire-api/logfire_api/_internal/exporters/wrapper.pyi

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ class WrapperLogExporter(LogExporter):
4646
class WrapperLogProcessor(LogRecordProcessor):
4747
"""A base class for SpanProcessors that wrap another processor."""
4848
processor: LogRecordProcessor
49-
def emit(self, log_data: LogData): ...
49+
def on_emit(self, log_data: LogData) -> None: ...
50+
emit = on_emit
51+
def emit(self, log_data: LogData) -> None: ...
52+
on_emit = emit
5053
def shutdown(self): ...
5154
def force_flush(self, timeout_millis: int = 30000): ...

logfire-api/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "logfire-api"
7-
version = "3.24.0"
7+
version = "3.24.1"
88
description = "Shim for the Logfire SDK which does nothing unless Logfire is installed"
99
authors = [
1010
{ name = "Pydantic Team", email = "[email protected]" },

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "logfire"
7-
version = "3.24.0"
7+
version = "3.24.1"
88
description = "The best Python observability tool! 🪵🔥"
99
requires-python = ">=3.9"
1010
authors = [

uv.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)