Skip to content

Commit 6d2e663

Browse files
author
getsentry-bot
committed
Merge branch 'release/2.45.0'
2 parents c68c3d6 + 8adce74 commit 6d2e663

File tree

4 files changed

+48
-3
lines changed

4 files changed

+48
-3
lines changed

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,50 @@
11
# Changelog
22

3+
## 2.45.0
4+
5+
### Various fixes & improvements
6+
7+
- OTLPIntegration (#4877) by @sl0thentr0py
8+
9+
Enable the new OTLP integration with the code snippet below, and your OpenTelemetry instrumentation will be automatically sent to Sentry's OTLP ingestion endpoint.
10+
11+
```python
12+
import sentry_sdk
13+
from sentry_sdk.integrations.otlp import OTLPIntegration
14+
15+
sentry_sdk.init(
16+
dsn="<your-dsn>",
17+
# Add data like inputs and responses;
18+
# see https://docs.sentry.io/platforms/python/data-management/data-collected/ for more info
19+
send_default_pii=True,
20+
integrations=[
21+
OTLPIntegration(),
22+
],
23+
)
24+
```
25+
26+
Under the hood, this will setup:
27+
- A `SpanExporter` that will automatically set up the OTLP ingestion endpoint from your DSN
28+
- A `Propagator` that ensures Distributed Tracing works
29+
- Trace/Span linking for all other Sentry events such as Errors, Logs, Crons and Metrics
30+
31+
If you were using the `SentrySpanProcessor` before, we recommend migrating over to `OTLPIntegration` since it's a much simpler setup.
32+
33+
- feat(integrations): implement context management for invoke_agent spans (#5089) by @constantinius
34+
- feat(loguru): Capture extra (#5096) by @sentrivana
35+
- feat: Attach `server.address` to metrics (#5113) by @alexander-alderman-webb
36+
- fix: Cast message and detail attributes before appending exception notes (#5114) by @alexander-alderman-webb
37+
- fix(integrations): ensure that GEN_AI_AGENT_NAME is properly set for GEN_AI spans under an invoke_agent span (#5030) by @constantinius
38+
- fix(logs): Update `sentry.origin` (#5112) by @sentrivana
39+
- chore: Deprecate description truncation option for Redis spans (#5073) by @alexander-alderman-webb
40+
- chore: Deprecate `max_spans` LangChain parameter (#5074) by @alexander-alderman-webb
41+
- chore(toxgen): Check availability of pip and add detail to exceptions (#5076) by @alexander-alderman-webb
42+
- chore: add MCP SDK Pydantic AI and OpenAI Agents to the list of auto enabled integrations (#5111) by @constantinius
43+
- test: add tests for either FastMCP implementation (#5075) by @constantinius
44+
- fix(ci): Re-enable skipped tests (#5104) by @sentrivana
45+
- ci: 🤖 Update test matrix with new releases (11/17) (#5110) by @github-actions
46+
- ci: Force coverage core ctrace for 3.14 (#5108) by @sl0thentr0py
47+
348
## 2.44.0
449

550
### Various fixes & improvements

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
3232
author = "Sentry Team and Contributors"
3333

34-
release = "2.44.0"
34+
release = "2.45.0"
3535
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3636

3737

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1442,4 +1442,4 @@ def _get_default_options():
14421442
del _get_default_options
14431443

14441444

1445-
VERSION = "2.44.0"
1445+
VERSION = "2.45.0"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_file_text(file_name):
2121

2222
setup(
2323
name="sentry-sdk",
24-
version="2.44.0",
24+
version="2.45.0",
2525
author="Sentry Team and Contributors",
2626
author_email="[email protected]",
2727
url="https://github.com/getsentry/sentry-python",

0 commit comments

Comments
 (0)