Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
b3305b6
ci(docs): Add agentic workflows for codebase documentation (#5649)
dingsdax Mar 12, 2026
68313e1
ci(docs): Switch agentic workflows from Copilot to Claude engine (#5654)
dingsdax Mar 12, 2026
6ed3404
ci: Remove custom warden action (#5653)
sentrivana Mar 13, 2026
58361ce
fix: Enable unused import ruff check and fix unused imports (#5652)
sentrivana Mar 13, 2026
b1ddc5d
ci(docs): Remove agentic codebase documentation workflows (#5655)
dingsdax Mar 13, 2026
a3ee8aa
feat(anthropic): Add `gen_ai.system` attribute to spans (#5661)
ericapisani Mar 13, 2026
2faa4b1
feat(anthropic): Set gen_ai.response.id span attribute (#5662)
ericapisani Mar 13, 2026
ddbbd0c
test(anthropic): Stop mocking response iterator (#5573)
alexander-alderman-webb Mar 13, 2026
6df01e9
test(anthropic): Stream valid JSON (#5641)
alexander-alderman-webb Mar 13, 2026
34b595d
ref(anthropic): Factor out streamed result handling (#5563)
alexander-alderman-webb Mar 13, 2026
58531ca
ref(anthropic): Skip accumulation logic for unexpected types in strea…
alexander-alderman-webb Mar 13, 2026
c84b6d8
fix(anthropic): Close span on `GeneratorExit` (#5643)
alexander-alderman-webb Mar 13, 2026
c3e3acc
feat(anthropic): Emit AI Client Spans for synchronous `messages.strea…
alexander-alderman-webb Mar 13, 2026
31ee64a
feat(anthropic): Emit `gen_ai.chat` spans for asynchronous `messages.…
alexander-alderman-webb Mar 13, 2026
ca37ab4
test(anthropic): Check system and response ID attributes on spans cre…
alexander-alderman-webb Mar 13, 2026
0c4a75d
ref: Support outgoing trace propagation in span first (18) (#5638)
sentrivana Mar 16, 2026
2ce933d
fix(profiler): Prevent buffer race condition during rapid start/stop …
ericapisani Mar 16, 2026
0b5f4f8
ci: 🤖 Update test matrix with new releases (03/16) (#5671)
github-actions[bot] Mar 16, 2026
ada153b
ref: Add cont profiling support to span first (#5672)
sentrivana Mar 16, 2026
39cf94d
build(deps): bump getsentry/craft from 2.23.1 to 2.24.1 (#5668)
dependabot[bot] Mar 16, 2026
0b94624
build(deps): bump getsentry/testing-ai-sdk-integrations from 285c012e…
dependabot[bot] Mar 16, 2026
01346a9
build(deps): bump actions/create-github-app-token from 2.2.1 to 3.0.0…
dependabot[bot] Mar 16, 2026
6345af9
fix(ai): Truncate list-based message content in AI monitoring (#5631)
ericapisani Mar 16, 2026
6ea663f
fix(langchain): Wrap finish_reason in array for gen_ai span attribute…
ericapisani Mar 16, 2026
b905cd3
feat(anthropic): Record finish reasons in AI monitoring spans (#5678)
ericapisani Mar 17, 2026
b29c4bb
fix(logging): Fix deadlock in log batcher (#5684)
sentrivana Mar 17, 2026
038a429
release: 2.55.0
sentrivana Mar 17, 2026
dd16cc2
Merge branch 'release/2.55.0'
Mar 17, 2026
0374688
Update CHANGELOG.md (#5685)
sentrivana Mar 17, 2026
c4df76b
tests: Add client report tests for span streaming (#5677)
sentrivana Mar 18, 2026
170eb81
test(celery): Add tests for breadcrumb preservation in failed tasks
BillionClaw Mar 18, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ai-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Run Python SDK Tests
uses: getsentry/testing-ai-sdk-integrations@285c012e522f241581534dfc89bd99ec3b1da4f6
uses: getsentry/testing-ai-sdk-integrations@6b1f51ec8af03e19087df452b426aa7e46d2b20a
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
steps:
- name: Get auth token
id: token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2
uses: actions/create-github-app-token@f8d387b68d61c58ab83c6c016672934102569859 # v2
with:
app-id: ${{ vars.SENTRY_RELEASE_BOT_CLIENT_ID }}
private-key: ${{ secrets.SENTRY_RELEASE_BOT_PRIVATE_KEY }}
Expand All @@ -31,7 +31,7 @@ jobs:
token: ${{ steps.token.outputs.token }}
fetch-depth: 0
- name: Prepare release
uses: getsentry/craft@d4cfac9d25d1fc72c9241e5d22aff559a114e4e9 # v2
uses: getsentry/craft@013a7b2113c2cac0ff32d5180cfeaefc7c9ce5b6 # v2
env:
GITHUB_TOKEN: ${{ steps.token.outputs.token }}
with:
Expand Down
24 changes: 0 additions & 24 deletions .github/workflows/warden.yml

This file was deleted.

77 changes: 77 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,82 @@
# Changelog

## 2.55.0

### New Features ✨

#### Anthropic

- Record finish reasons in AI monitoring spans by @ericapisani in [#5678](https://github.com/getsentry/sentry-python/pull/5678)
- Emit `gen_ai.chat` spans for asynchronous `messages.stream()` by @alexander-alderman-webb in [#5572](https://github.com/getsentry/sentry-python/pull/5572)
- Emit AI Client Spans for synchronous `messages.stream()` by @alexander-alderman-webb in [#5565](https://github.com/getsentry/sentry-python/pull/5565)
- Set gen_ai.response.id span attribute by @ericapisani in [#5662](https://github.com/getsentry/sentry-python/pull/5662)
- Add `gen_ai.system` attribute to spans by @ericapisani in [#5661](https://github.com/getsentry/sentry-python/pull/5661)

#### Pydantic Ai

- Support ImageUrl content type in span instrumentation by @ericapisani in [#5629](https://github.com/getsentry/sentry-python/pull/5629)
- Add tool description to execute_tool spans by @ericapisani in [#5596](https://github.com/getsentry/sentry-python/pull/5596)

#### Other

- (crons) Add owner field to MonitorConfig by @julwhitney13 in [#5610](https://github.com/getsentry/sentry-python/pull/5610)
- (otlp) Add collector_url option to OTLPIntegration by @sl0thentr0py in [#5603](https://github.com/getsentry/sentry-python/pull/5603)

### Bug Fixes 🐛

- (ai) Truncate list-based message content in AI monitoring by @ericapisani in [#5631](https://github.com/getsentry/sentry-python/pull/5631)
- (anthropic) Close span on `GeneratorExit` by @alexander-alderman-webb in [#5643](https://github.com/getsentry/sentry-python/pull/5643)
- (celery) Propagate user-set headers by @sentrivana in [#5581](https://github.com/getsentry/sentry-python/pull/5581)
- (langchain) Wrap finish_reason in array for gen_ai span attribute by @ericapisani in [#5666](https://github.com/getsentry/sentry-python/pull/5666)
- (logging) Fix deadlock in log batcher by @sentrivana in [#5684](https://github.com/getsentry/sentry-python/pull/5684)
- (profiler) Prevent buffer race condition during rapid start/stop cycles by @ericapisani in [#5622](https://github.com/getsentry/sentry-python/pull/5622)
- (utils) Avoid double serialization of strings in safe_serialize by @ericapisani in [#5587](https://github.com/getsentry/sentry-python/pull/5587)
- Enable unused import ruff check and fix unused imports by @sentrivana in [#5652](https://github.com/getsentry/sentry-python/pull/5652)

### Documentation 📚

- (openai-agents) Remove inapplicable comment by @alexander-alderman-webb in [#5495](https://github.com/getsentry/sentry-python/pull/5495)
- Add AGENTS.md by @sentrivana in [#5579](https://github.com/getsentry/sentry-python/pull/5579)
- Add `set_attribute` example to changelog by @sentrivana in [#5578](https://github.com/getsentry/sentry-python/pull/5578)

### Internal Changes 🔧

#### Anthropic

- Check system and response ID attributes on spans created by `stream()` by @alexander-alderman-webb in [#5665](https://github.com/getsentry/sentry-python/pull/5665)
- Skip accumulation logic for unexpected types in streamed response by @alexander-alderman-webb in [#5564](https://github.com/getsentry/sentry-python/pull/5564)
- Factor out streamed result handling by @alexander-alderman-webb in [#5563](https://github.com/getsentry/sentry-python/pull/5563)
- Stream valid JSON by @alexander-alderman-webb in [#5641](https://github.com/getsentry/sentry-python/pull/5641)
- Stop mocking response iterator by @alexander-alderman-webb in [#5573](https://github.com/getsentry/sentry-python/pull/5573)

#### Openai Agents

- Do not fail on new tool fields by @alexander-alderman-webb in [#5625](https://github.com/getsentry/sentry-python/pull/5625)
- Stop expecting a specific function name by @alexander-alderman-webb in [#5623](https://github.com/getsentry/sentry-python/pull/5623)
- Set streaming header when library uses `with_streaming_response()` by @alexander-alderman-webb in [#5583](https://github.com/getsentry/sentry-python/pull/5583)
- Replace mocks with `httpx` for streamed responses by @alexander-alderman-webb in [#5580](https://github.com/getsentry/sentry-python/pull/5580)
- Replace mocks with `httpx` in non-MCP tool tests by @alexander-alderman-webb in [#5602](https://github.com/getsentry/sentry-python/pull/5602)
- Replace mocks with `httpx` in MCP tool tests by @alexander-alderman-webb in [#5605](https://github.com/getsentry/sentry-python/pull/5605)
- Replace mocks with `httpx` in handoff tests by @alexander-alderman-webb in [#5604](https://github.com/getsentry/sentry-python/pull/5604)
- Replace mocks with `httpx` in API error test by @alexander-alderman-webb in [#5601](https://github.com/getsentry/sentry-python/pull/5601)
- Replace mocks with `httpx` in non-error single-response tests by @alexander-alderman-webb in [#5600](https://github.com/getsentry/sentry-python/pull/5600)
- Remove test for unreachable state by @alexander-alderman-webb in [#5584](https://github.com/getsentry/sentry-python/pull/5584)
- Expect `namespace` tool field for new `openai` versions by @alexander-alderman-webb in [#5599](https://github.com/getsentry/sentry-python/pull/5599)

#### Other

- (graphene) Simplify span creation by @sentrivana in [#5648](https://github.com/getsentry/sentry-python/pull/5648)
- (httpx) Resolve type checking failures by @alexander-alderman-webb in [#5626](https://github.com/getsentry/sentry-python/pull/5626)
- (pyramid) Support alpha suffixes in version parsing by @alexander-alderman-webb in [#5618](https://github.com/getsentry/sentry-python/pull/5618)
- (rust) Don't implement separate scope management by @sentrivana in [#5639](https://github.com/getsentry/sentry-python/pull/5639)
- (strawberry) Simplify span creation by @sentrivana in [#5647](https://github.com/getsentry/sentry-python/pull/5647)
- 🤖 Update test matrix with new releases (03/16) by @github-actions in [#5671](https://github.com/getsentry/sentry-python/pull/5671)
- Remove custom warden action by @sentrivana in [#5653](https://github.com/getsentry/sentry-python/pull/5653)
- Add `httpx` to linting requirements by @alexander-alderman-webb in [#5644](https://github.com/getsentry/sentry-python/pull/5644)
- Remove CodeQL action by @sentrivana in [#5616](https://github.com/getsentry/sentry-python/pull/5616)
- Normalize dots in package names in `populate_tox.py` by @alexander-alderman-webb in [#5574](https://github.com/getsentry/sentry-python/pull/5574)
- Do not run actions on `potel-base` by @sentrivana in [#5614](https://github.com/getsentry/sentry-python/pull/5614)

## 2.54.0

### New Features ✨
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
author = "Sentry Team and Contributors"

release = "2.54.0"
release = "2.55.0"
version = ".".join(release.split(".")[:2]) # The short X.Y version.


Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,6 @@ ignore = [
"N804", # First argument of classmethod should be named cls

# Additional ignores for codebase compatibility
"F401", # Unused imports - many in TYPE_CHECKING blocks used for type comments
"E721", # Use isinstance instead of type() == - existing pattern in this codebase
]

Expand Down
1 change: 1 addition & 0 deletions requirements-testing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ tomli;python_version<"3.11" # Only needed for pytest on Python < 3.11
pytest-cov
pytest-forked
pytest-localserver
pytest-timeout
pytest-watch
jsonschema
executing
Expand Down
Loading
Loading