Releases: getsentry/sentry-python
Releases · getsentry/sentry-python
2.52.0a6
This is an alpha release for internal testing.
2.53.0
Bug Fixes 🐛
Openai Agents
- Patch
execute_final_output()functions following library refactor by @alexander-alderman-webb in #5453 - Patch
execute_handoffs()functions following library refactor by @alexander-alderman-webb in #5452 - Patch
run_single_turn_streamed()functions following library refactor by @alexander-alderman-webb in #5451 - Patch
run_single_turn()functions following library refactor by @alexander-alderman-webb in #5450 - Patch models functions following library refactor by @alexander-alderman-webb in #5449
- Patch tool functions following library refactor by @alexander-alderman-webb in #5445
Other
- Close the connection we're reading driver_type from by @sentrivana in #5427
Documentation 📚
- Document
openai-agentscontrol-flow by @alexander-alderman-webb in #5447
Internal Changes 🔧
Openai Agents
- New tool field and library error log by @alexander-alderman-webb in #5454
- Avoid calling SDK-internal functions by @alexander-alderman-webb in #5437
Other
- Improve Craft config with title stripping and artifact filtering by @BYK in #5444
- Use fixed clickhouse action, remove aws-sam-cli dependency by @sentrivana in #5457
- Remove references to unsupported attribute types by @alexander-alderman-webb in #5425
- Pin setuptools for linting and chalice tests by @alexander-alderman-webb in #5438
2.52.0a5
Documentation 📚
- Document
openai-agentscontrol-flow by @alexander-alderman-webb in #5447
Internal Changes 🔧
- (ci) Improve Craft config with title stripping and artifact filtering by @BYK in #5444
- (openai-agents) Avoid calling SDK-internal functions by @alexander-alderman-webb in #5437
- Remove references to unsupported attribute types by @alexander-alderman-webb in #5425
Other
- [do not merge] feat: Span streaming & new span API by @sentrivana in #5317
2.52.0a4
- [do not merge] feat: Span streaming & new span API by @sentrivana in #5317
2.52.0a3
New Features ✨
- feat(integration): add
gen_ai.conversation.idif available by @constantinius in #5307
Bug Fixes 🐛
Mcp
- fix(mcp): Nest MCP spans under HTTP transactions by @alexander-alderman-webb in #5292
- fix(mcp): Handle all awaitable return types by @alexander-alderman-webb in #5415
Span Streaming
- fix(span-streaming): Always preserialize attributes by @sentrivana in #5407
- fix(span-streaming): Warn about thread usage if any batcher is active by @sentrivana in #5408
Other
- fix(anthropic): Token reporting by @alexander-alderman-webb in #5403
- fix(celery): Close the connection we're reading driver_type from by @sentrivana in #5427
- fix(google-genai): Token reporting by @alexander-alderman-webb in #5404
- fix(openai): Token reporting by @alexander-alderman-webb in #5406
- fix(openai-agents): Inject propagation headers for
HostedMCPToolwhen streaming by @alexander-alderman-webb in #5405 - fix: Fix list attribute type by @sentrivana in #5417
- fix: Adapt to new packaging in toxgen by @sentrivana in #5382
Internal Changes 🔧
Fastmcp
- test(fastmcp): Wrap prompt in
Messageby @alexander-alderman-webb in #5411 - test(fastmcp): Remove
test_fastmcp_without_request_context()by @alexander-alderman-webb in #5412 - test(fastmcp): Use
AsyncClientfor SSE by @alexander-alderman-webb in #5400 - test(fastmcp): Use
TestClientfor Streamable HTTP by @alexander-alderman-webb in #5384 - test(fastmcp): Simulate stdio transport with memory streams by @alexander-alderman-webb in #5333
Mcp
- test(mcp): Use
AsyncClientfor SSE by @alexander-alderman-webb in #5396 - test(mcp): Use
TestClientfor Streamable HTTP by @alexander-alderman-webb in #5383 - test(mcp): Remove unused stdio helpers by @alexander-alderman-webb in #5409
Other
- ci: Pin setuptools for linting and chalice tests by @alexander-alderman-webb in #5438
- ci: Fix lint step by @sentrivana in #5418
- ci: 🤖 Update test matrix with new releases (02/02) by @github-actions in #5413
- ci: Update tox and pin packaging version for tox by @alexander-alderman-webb in #5381
Other
- [do not merge] feat: Span streaming & new span API by @sentrivana in #5317
- Update CHANGELOG.md by @alexander-alderman-webb in bcec5780
- release: 2.52.0 by @alexander-alderman-webb in 3d2154ce
- Revert "feat(ai): Add original input length meta attribute (#5375)" by @alexander-alderman-webb in #5419
2.52.0
New Features ✨
Other
- feat(integration): add
gen_ai.conversation.idif available by @constantinius in #5307
Bug Fixes 🐛
Google Genai
- fix(google-genai): Token reporting by @alexander-alderman-webb in #5404
- fix(google-genai): deactivate google genai when langchain is used by @shellmayr in #5389
Mcp
- fix(mcp): Nest MCP spans under HTTP transactions by @alexander-alderman-webb in #5292
- fix(mcp): Handle all awaitable return types by @alexander-alderman-webb in #5415
Other
- fix(anthropic): Token reporting by @alexander-alderman-webb in #5403
- fix(arq): handle settings_cls passed as keyword argument by @nc9 in #5393
- fix(dramatiq): cleanup isolated scope and transaction when message is skipped by @frankie567 in #5346
- fix(openai): Token reporting by @alexander-alderman-webb in #5406
- fix(openai-agents): Inject propagation headers for
HostedMCPToolwhen streaming by @alexander-alderman-webb in #5405 - fix: Fix list attribute type by @sentrivana in #5417
- fix: Adapt to new packaging in toxgen by @sentrivana in #5382
Internal Changes 🔧
Fastmcp
- test(fastmcp): Wrap prompt in
Messageby @alexander-alderman-webb in #5411 - test(fastmcp): Remove
test_fastmcp_without_request_context()by @alexander-alderman-webb in #5412 - test(fastmcp): Use
AsyncClientfor SSE by @alexander-alderman-webb in #5400 - test(fastmcp): Use
TestClientfor Streamable HTTP by @alexander-alderman-webb in #5384 - test(fastmcp): Simulate stdio transport with memory streams by @alexander-alderman-webb in #5333
Mcp
- test(mcp): Use
AsyncClientfor SSE by @alexander-alderman-webb in #5396 - test(mcp): Use
TestClientfor Streamable HTTP by @alexander-alderman-webb in #5383 - test(mcp): Remove unused stdio helpers by @alexander-alderman-webb in #5409
- test(mcp): Simulate stdio transport with memory streams by @alexander-alderman-webb in #5329
Other
- ci: Fix lint step by @sentrivana in #5418
- ci: 🤖 Update test matrix with new releases (02/02) by @github-actions in #5413
- ci: Update tox and pin packaging version for tox by @alexander-alderman-webb in #5381
- ci: migration to the new codecov action by @MathurAditya724 in #5392
Other
- Revert "feat(ai): Add original input length meta attribute (#5375)" by @alexander-alderman-webb in #5419
2.52.0a2
New Features ✨
Span Streaming
- feat(span-streaming): Add spans to telemetry pipeline, add span name and attributes (3) by @sentrivana in #5399
- feat(span-streaming): Add span batcher (2) by @sentrivana in #5398
Internal Changes 🔧
- test(mcp): Simulate stdio transport with memory streams by @alexander-alderman-webb in #5329
Other
- [do not merge] feat: Span streaming & new span API by @sentrivana in #5317
2.52.0a1
New Features ✨
Openai
- feat(openai): Set system instruction attribute for Responses API by @alexander-alderman-webb in #5376
- feat(openai): Set system instruction attribute for Completions API by @alexander-alderman-webb in #5358
Other
- feat(ai): Add original input length meta attribute by @alexander-alderman-webb in #5375
- feat(openai-agents): Set system instruction attribute on
gen_ai.chatspans by @alexander-alderman-webb in #5370 - feat(span-streaming): Add experimental
trace_lifecycleswitch (1) by @sentrivana in #5397 - feat(transport): Report 413 responses for oversized envelopes by @alexander-alderman-webb in #5380
Bug Fixes 🐛
- fix(ai): Keep single content input message by @alexander-alderman-webb in #5345
- fix(arq): handle settings_cls passed as keyword argument by @nc9 in #5393
- fix(dramatiq): cleanup isolated scope and transaction when message is skipped by @frankie567 in #5346
- fix(google-genai): deactivate google genai when langchain is used by @shellmayr in #5389
Internal Changes 🔧
- ci: migration to the new codecov action by @MathurAditya724 in #5392
- ref: Replace
set_data_normalized()withSpan.set_data()for system instructions by @alexander-alderman-webb in #5374
Other
- [do not merge] feat: Span streaming & new span API by @sentrivana in #5317
- Update CHANGELOG.md by @alexander-alderman-webb in 8517eb0a
- release: 2.51.0 by @alexander-alderman-webb in 93e89e4c
2.51.0
New Features ✨
Openai
- feat(openai): Set system instruction attribute for Responses API by @alexander-alderman-webb in #5376
- feat(openai): Set system instruction attribute for Completions API by @alexander-alderman-webb in #5358
- feat(integrations): OpenAI/OpenAI Agents detect and report the time to first token metric (TTFT) as
gen_ai.response.time_to_first_tokenby @constantinius in #5348
Openai Agents
- feat(openai-agents): Set system instruction attribute on
gen_ai.chatspans by @alexander-alderman-webb in #5370 - feat(openai-agents): Set system instruction attribute by @alexander-alderman-webb in #5355
- feat(integrations): openai-agents streaming support by @constantinius in #5291
Other
- feat(ai): Add original input length meta attribute by @alexander-alderman-webb in #5375
- feat(anthropic): Set system instruction attribute by @alexander-alderman-webb in #5353
- feat(asyncio): Allow to turn task spans off by @sentrivana in #5367
- feat(gen_ai): add function
set_conversation_idand managing functions on the Scope and apply it on the Span on.finish()by @constantinius in #5362 - feat(google-genai): Set system instruction attribute by @alexander-alderman-webb in #5354
- feat(langchain): Set system instruction attribute by @alexander-alderman-webb in #5357
- feat(pydantic-ai): Set system instruction attribute by @alexander-alderman-webb in #5356
- feat(transport): Report 413 responses for oversized envelopes by @alexander-alderman-webb in #5380
Bug Fixes 🐛
- fix(ai): Keep single content input message by @alexander-alderman-webb in #5345
Internal Changes 🔧
- ci(release): Fix changelog-preview permissions by @BYK in #5368
- ref: Replace
set_data_normalized()withSpan.set_data()for system instructions by @alexander-alderman-webb in #5374 - ci: Fix path in AI integration tests by @alexander-alderman-webb in #5347
2.51.0a1
New Features ✨
Integrations
- feat(integrations): OpenAI/OpenAI Agents detect and report the time to first token metric (TTFT) as
gen_ai.response.time_to_first_tokenby @constantinius in #5348 - feat(integrations): openai-agents streaming support by @constantinius in #5291
Other
- feat(anthropic): Set system instruction attribute by @alexander-alderman-webb in #5353
- feat(asyncio): Allow to turn task spans off by @sentrivana in #5367
- feat(gen_ai): add function
set_conversation_idand managing functions on the Scope and apply it on the Span on.finish()by @constantinius in #5362 - feat(google-genai): Set system instruction attribute by @alexander-alderman-webb in #5354
- feat(langchain): Set system instruction attribute by @alexander-alderman-webb in #5357
- feat(openai-agents): Set system instruction attribute by @alexander-alderman-webb in #5355
- feat(pydantic-ai): Set system instruction attribute by @alexander-alderman-webb in #5356
Internal Changes 🔧
- ci(release): Fix changelog-preview permissions by @BYK in #5368
- ci: Fix path in AI integration tests by @alexander-alderman-webb in #5347
Other
- [do not merge] feat: Span streaming & new span API by @sentrivana in #5317