Skip to content

Commit 7bef828

Browse files
authored
Release v3.22.1 (#1233)
1 parent 9a00e0b commit 7bef828

File tree

5 files changed

+17
-4
lines changed

5 files changed

+17
-4
lines changed

CHANGELOG.md

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

3+
## [v3.22.1] (2025-07-07)
4+
5+
* Fix OpenAI streaming reasoning by @alexmojaki in [#1232](https://github.com/pydantic/logfire/pull/1232)
6+
* Handle bytes in google genai messages by @alexmojaki in [#1231](https://github.com/pydantic/logfire/pull/1231)
7+
38
## [v3.22.0] (2025-07-02)
49

510
* Add `instrument_google_genai` by @alexmojaki in [#1217](https://github.com/pydantic/logfire/pull/1217)
@@ -765,3 +770,4 @@ First release from new repo!
765770
[v3.21.1]: https://github.com/pydantic/logfire/compare/v3.21.0...v3.21.1
766771
[v3.21.2]: https://github.com/pydantic/logfire/compare/v3.21.1...v3.21.2
767772
[v3.22.0]: https://github.com/pydantic/logfire/compare/v3.21.2...v3.22.0
773+
[v3.22.1]: https://github.com/pydantic/logfire/compare/v3.22.0...v3.22.1

logfire-api/logfire_api/_internal/integrations/google_genai.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,18 @@ import logfire
22
from logfire._internal.utils import handle_internal_errors as handle_internal_errors
33
from opentelemetry._events import Event, EventLogger, EventLoggerProvider
44
from typing import Any
5+
from typing_extensions import TypeAlias
6+
7+
Part: TypeAlias
8+
9+
def default_json(x: Any) -> str: ...
510

611
class SpanEventLogger(EventLogger):
712
@handle_internal_errors
813
def emit(self, event: Event) -> None: ...
914

15+
def transform_part(part: Part) -> Part: ...
16+
1017
class SpanEventLoggerProvider(EventLoggerProvider):
1118
def get_event_logger(self, *args: Any, **kwargs: Any) -> SpanEventLogger: ...
1219

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.22.0"
7+
version = "3.22.1"
88
description = "Shim for the Logfire SDK which does nothing unless Logfire is installed"
99
authors = [
1010
{ name = "Pydantic Team", email = "engineering@pydantic.dev" },

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.22.0"
7+
version = "3.22.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)