sentry-python v2.54.0 Release Notes
Release Date: 2026-03-02 // 15 days ago-
๐ New Features โจ
- ๐ Add
set_attribute,remove_attributeto global API by @sentrivana in #5555
๐ Bug Fixes ๐
Openai
- Attach response model with streamed Completions API by @alexander-alderman-webb in #5557
- Attach response model with streamed Responses API by @alexander-alderman-webb in #5554
- Avoid consuming iterables passed to the Completions API by @alexander-alderman-webb in #5489
- Avoid consuming iterables passed to the Embeddings API by @alexander-alderman-webb in #5491
Other
- (anthropic) Fix token accounting by @shellmayr in #5490
- ๐ (google-genai) Remove agent spans for simple requests by @alexander-alderman-webb in #5443
- (grpc) Read method from handler_call_details for grpcio >= 1.76 compat by @yeung108 in #5521
- (httpx) Correctly append baggage in async client by @sentrivana in #5530
- (pydantic-ai) Adapt to missing
ToolManager._call_toolby @sentrivana in #5522 - ๐ (utils) Use HEROKU_BUILD_COMMIT env var for default release by @ericapisani in #5499
- (wsgi) Do not wrap file responses when uWSGI offload-threads is enabled by @ericapisani in #5556
๐ Documentation ๐
- โ Add troubleshooting note for editable installs with uWSGI by @ericapisani in #5552
- โ Add debugging advice by @alexander-alderman-webb in #5517
- ๐ New integration guide by @alexander-alderman-webb in #5476
Internal Changes ๐ง
Agents
- โ Add security-review skill to agent configuration by @ericapisani in #5498
- โ Add sentry skills to be used by warden in CI reviews by @ericapisani in #5485
Openai
- Only handle streamed results when applicable by @alexander-alderman-webb in #5553
- Extract input in API-specific functions by @alexander-alderman-webb in #5546
- Separate output handling by @alexander-alderman-webb in #5543
Openai Agents
- Remove
set_data_normalizedfor primitive attributes by @alexander-alderman-webb in #5509 - Expect new tool fields by @alexander-alderman-webb in #5471
Other
- ๐ง (ai) Add configuration for dotagents by @ericapisani in #5480
- (anthropic) Remove
set_data_normalizedfor primitive attributes by @alexander-alderman-webb in #5504 - ๐ง (github) Add warden configuration by @ericapisani in #5484
- (pydantic-ai) Remove
set_data_normalizedfor thegen_ai.response.modelattribute by @alexander-alderman-webb in #5512 - (repo) Add .serena to .gitignore by @ericapisani in #5464
- โก๏ธ Updated codecov.yml by @MathurAditya724 in #5571
- ๐ ๐ค Update test matrix with new releases (02/24) by @github-actions in #5524
- ๐ ๐ค Update test matrix with new releases (02/23) by @github-actions in #5503
- ๐ ๐ค Update test matrix with new releases (02/19) by @github-actions in #5483
- ๐ ๐ค Update test matrix with new releases (02/18) by @github-actions in #5475
- ๐ Add
Previous changes from v2.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
- Patch