|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 2.43.0 |
| 4 | + |
| 5 | +### Various fixes & improvements |
| 6 | + |
| 7 | +- Pydantic AI integration (#4906) by @constantinius |
| 8 | + |
| 9 | + Enable the new Pydantic AI integration with the code snippet below, and you can use the Sentry AI dashboards to observe your AI calls: |
| 10 | + |
| 11 | + ```python |
| 12 | + import sentry_sdk |
| 13 | + from sentry_sdk.integrations.pydantic_ai import PydanticAIIntegration |
| 14 | + sentry_sdk.init( |
| 15 | + dsn="<your-dsn>", |
| 16 | + # Set traces_sample_rate to 1.0 to capture 100% |
| 17 | + # of transactions for tracing. |
| 18 | + traces_sample_rate=1.0, |
| 19 | + # Add data like inputs and responses; |
| 20 | + # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info |
| 21 | + send_default_pii=True, |
| 22 | + integrations=[ |
| 23 | + PydanticAIIntegration(), |
| 24 | + ], |
| 25 | + ) |
| 26 | + ``` |
| 27 | +- MCP Python SDK (#4964) by @constantinius |
| 28 | + |
| 29 | + Enable the new Python MCP integration with the code snippet below: |
| 30 | + |
| 31 | + ```python |
| 32 | + import sentry_sdk |
| 33 | + from sentry_sdk.integrations.mcp import MCPIntegration |
| 34 | + sentry_sdk.init( |
| 35 | + dsn="<your-dsn>", |
| 36 | + # Set traces_sample_rate to 1.0 to capture 100% |
| 37 | + # of transactions for tracing. |
| 38 | + traces_sample_rate=1.0, |
| 39 | + # Add data like inputs and responses; |
| 40 | + # see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info |
| 41 | + send_default_pii=True, |
| 42 | + integrations=[ |
| 43 | + MCPIntegration(), |
| 44 | + ], |
| 45 | + ) |
| 46 | + ``` |
| 47 | +- fix(google-genai): Set agent name (#5038) by @constantinius |
| 48 | +- fix(integrations): hooking into error tracing function to find out if an execute tool span should be set to error (#4986) by @constantinius |
| 49 | +- fix(django): Improve logic for classifying cache hits and misses (#5029) by @alexander-alderman-webb |
| 50 | +- chore(metrics): Rename \_metrics to metrics (#5035) by @alexander-alderman-webb |
| 51 | +- fix(tracemetrics): Bump metric buffer size to 1k (#5031) by @k-fish |
| 52 | +- fix startlette deprecation warning (#5034) by @DeoLeung |
| 53 | +- fix(strawberry): Remove autodetection, always use sync extension (#4984) by @sentrivana |
| 54 | +- build(deps): bump actions/upload-artifact from 4 to 5 (#5032) by @dependabot |
| 55 | +- fix(ai): truncate messages for google genai (#4992) by @shellmayr |
| 56 | +- fix(ai): add message truncation to litellm (#4973) by @shellmayr |
| 57 | +- feat(langchain): Support v1 (#4874) by @sentrivana |
| 58 | +- ci: Run `common` test suite on Python 3.14t (#4969) by @alexander-alderman-webb |
| 59 | +- feat: Officially support 3.14 & run integration tests on 3.14 (#4974) by @sentrivana |
| 60 | +- Make logger template format safer to missing kwargs (#4981) by @sl0thentr0py |
| 61 | +- tests(huggingface): Support 1.0.0rc7 (#4979) by @alexander-alderman-webb |
| 62 | +- feat: Enable HTTP request code origin by default (#4967) by @alexander-alderman-webb |
| 63 | +- ci: Run `common` test suite on Python 3.14 (#4896) by @sentrivana |
| 64 | + |
3 | 65 | ## 2.42.1 |
4 | 66 |
|
5 | 67 | ### Various fixes & improvements |
|
0 commit comments