|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 2.69.0 |
| 4 | + |
| 5 | +### New Features ✨ |
| 6 | + |
| 7 | +#### Data Collection |
| 8 | + |
| 9 | +- Support outgoing_response in http_bodies for GraphQL by @ericapisani in [#7296](https://github.com/getsentry/sentry-python/pull/7296) |
| 10 | +- Support KeyValueCollectionBehaviour for stack_frame_variables by @ericapisani in [#7265](https://github.com/getsentry/sentry-python/pull/7265) |
| 11 | + |
| 12 | +#### Utils |
| 13 | + |
| 14 | +- Filter stack frame variables via data_collection option by @ericapisani in [#7274](https://github.com/getsentry/sentry-python/pull/7274) |
| 15 | +- Respect data_collection.frame_context_lines option by @ericapisani in [#7264](https://github.com/getsentry/sentry-python/pull/7264) |
| 16 | + |
| 17 | +#### Other |
| 18 | + |
| 19 | +- (aiohttp) Add `http.route` attribute by @alexander-alderman-webb in [#7341](https://github.com/getsentry/sentry-python/pull/7341) |
| 20 | +- (boto3) Support data_collection filtering for URL query params by @ericapisani in [#7290](https://github.com/getsentry/sentry-python/pull/7290) |
| 21 | +- (bottle) Add `http.route` attribute by @alexander-alderman-webb in [#7343](https://github.com/getsentry/sentry-python/pull/7343) |
| 22 | +- (clickhouse_driver) Set breadcrumbs in the streaming trace lifecycle by @alexander-alderman-webb in [#7325](https://github.com/getsentry/sentry-python/pull/7325) |
| 23 | +- (cohere) Support data_collection filtering for inputs and outputs by @ericapisani in [#7289](https://github.com/getsentry/sentry-python/pull/7289) |
| 24 | +- (docs) Add Plausible analytics to Sphinx docs by @ericapisani in [#7319](https://github.com/getsentry/sentry-python/pull/7319) |
| 25 | +- (falcon) Add `http.route` attribute by @alexander-alderman-webb in [#7340](https://github.com/getsentry/sentry-python/pull/7340) |
| 26 | +- (fastapi) Add `http.route` attribute by @alexander-alderman-webb in [#7322](https://github.com/getsentry/sentry-python/pull/7322) |
| 27 | +- (flask) Add `http.route` attribute by @alexander-alderman-webb in [#7344](https://github.com/getsentry/sentry-python/pull/7344) |
| 28 | +- (httpx) Support data_collection filtering for URL query params by @ericapisani in [#7286](https://github.com/getsentry/sentry-python/pull/7286) |
| 29 | +- (httpx2) Support data_collection filtering for URL query params by @ericapisani in [#7287](https://github.com/getsentry/sentry-python/pull/7287) |
| 30 | +- (pyramid) Add `http.route` attribute by @alexander-alderman-webb in [#7347](https://github.com/getsentry/sentry-python/pull/7347) |
| 31 | +- (pyreqwest) Support data_collection filtering for URL query params by @ericapisani in [#7288](https://github.com/getsentry/sentry-python/pull/7288) |
| 32 | +- (quart) Add `http.route` attribute by @alexander-alderman-webb in [#7348](https://github.com/getsentry/sentry-python/pull/7348) |
| 33 | +- (sqlalchemy) Add more db system names for span data by @ericapisani in [#7329](https://github.com/getsentry/sentry-python/pull/7329) |
| 34 | +- (starlette) Add `http.route` attribute by @alexander-alderman-webb in [#7338](https://github.com/getsentry/sentry-python/pull/7338) |
| 35 | +- (stdlib) Support data_collection filtering for URL query params by @ericapisani in [#7291](https://github.com/getsentry/sentry-python/pull/7291) |
| 36 | +- (tracing) Gate create_span gen_ai attributes via data_collection by @ericapisani in [#7295](https://github.com/getsentry/sentry-python/pull/7295) |
| 37 | +- (types) Export SpanJSON type by @ericapisani in [#7331](https://github.com/getsentry/sentry-python/pull/7331) |
| 38 | +- Add Python 3.15 to test matrix by @sentrivana in [#7326](https://github.com/getsentry/sentry-python/pull/7326) |
| 39 | + |
| 40 | +### Bug Fixes 🐛 |
| 41 | + |
| 42 | +#### Aiohttp |
| 43 | + |
| 44 | +- Gate server request query_string via data_collection option by @ericapisani in [#7300](https://github.com/getsentry/sentry-python/pull/7300) |
| 45 | +- Gate request body collection on data_collection experiment by @ericapisani in [#7249](https://github.com/getsentry/sentry-python/pull/7249) |
| 46 | + |
| 47 | +#### Mcp |
| 48 | + |
| 49 | +- Handle `None` arguments in tool and prompt handlers by @alexander-alderman-webb in [#7387](https://github.com/getsentry/sentry-python/pull/7387) |
| 50 | +- Don't report stateless StreamableHTTP servers as stdio by @Snaylaker in [#7224](https://github.com/getsentry/sentry-python/pull/7224) |
| 51 | + |
| 52 | +#### Openai |
| 53 | + |
| 54 | +- Read `input_text` parts for the Responses API by @alexander-alderman-webb in [#7333](https://github.com/getsentry/sentry-python/pull/7333) |
| 55 | +- Check `Response.output` is a `list` before iterating by @alexander-alderman-webb in [#7238](https://github.com/getsentry/sentry-python/pull/7238) |
| 56 | + |
| 57 | +#### Starlette |
| 58 | + |
| 59 | +- Use `url` transaction source for host routing by @mjq in [#7266](https://github.com/getsentry/sentry-python/pull/7266) |
| 60 | +- Gate request body collection on data_collection experiment by @ericapisani in [#7253](https://github.com/getsentry/sentry-python/pull/7253) |
| 61 | +- Set transaction name on current scope in sync handler by @mjq in [#7201](https://github.com/getsentry/sentry-python/pull/7201) |
| 62 | + |
| 63 | +#### Other |
| 64 | + |
| 65 | +- (aws_lambda) Gate request body collection on data_collection experiment by @ericapisani in [#7258](https://github.com/getsentry/sentry-python/pull/7258) |
| 66 | +- (batcher) Do not let a failed flush kill the flusher thread (#7138) by @zkasuran in [#7186](https://github.com/getsentry/sentry-python/pull/7186) |
| 67 | +- (boto3) Fix botocore SigV4 failures caused by post-sign trace propagation by @pabloDeputter in [#7050](https://github.com/getsentry/sentry-python/pull/7050) |
| 68 | +- (dramatiq) Gate request body collection on data_collection experiment by @ericapisani in [#7250](https://github.com/getsentry/sentry-python/pull/7250) |
| 69 | +- (fastapi) Gate request body collection on data_collection experiment by @ericapisani in [#7252](https://github.com/getsentry/sentry-python/pull/7252) |
| 70 | +- (gcp) Gate request body collection on data_collection experiment by @ericapisani in [#7254](https://github.com/getsentry/sentry-python/pull/7254) |
| 71 | +- (httpx,httpx2) Always capture breadcrumb by @sentrivana in [#7351](https://github.com/getsentry/sentry-python/pull/7351) |
| 72 | +- (integrations) Gate REMOTE_ADDR on data_collection.user_info by @ericapisani in [#7298](https://github.com/getsentry/sentry-python/pull/7298) |
| 73 | +- (litestar) Gate request body collection on data_collection experiment by @ericapisani in [#7259](https://github.com/getsentry/sentry-python/pull/7259) |
| 74 | +- (mcp,langchain) Add mechanism to captured exceptions by @gmassello in [#7226](https://github.com/getsentry/sentry-python/pull/7226) |
| 75 | +- (openai-agents) Use `isinstance` to determine tool type by @alexander-alderman-webb in [#7412](https://github.com/getsentry/sentry-python/pull/7412) |
| 76 | +- (quart) Skip quart-flask-patch and adjust error test for quart>=0.23 by @ericapisani in [#7320](https://github.com/getsentry/sentry-python/pull/7320) |
| 77 | +- (starlite) Gate request body collection on data_collection experiment by @ericapisani in [#7260](https://github.com/getsentry/sentry-python/pull/7260) |
| 78 | +- Allow to correctly compare parsed versions by @sentrivana in [#7184](https://github.com/getsentry/sentry-python/pull/7184) |
| 79 | + |
| 80 | +### Internal Changes 🔧 |
| 81 | + |
| 82 | +#### Deps |
| 83 | + |
| 84 | +- Update anthropics/claude-code-action action to v1.0.207 by @renovate in [#7267](https://github.com/getsentry/sentry-python/pull/7267) |
| 85 | +- Update anthropics/claude-code-action action to v1.0.206 by @renovate in [#7245](https://github.com/getsentry/sentry-python/pull/7245) |
| 86 | +- Lock file maintenance by @renovate in [#7220](https://github.com/getsentry/sentry-python/pull/7220) |
| 87 | +- Update dependency actions/setup-java to v6 by @renovate in [#7242](https://github.com/getsentry/sentry-python/pull/7242) |
| 88 | +- Update github workflows by @renovate in [#7203](https://github.com/getsentry/sentry-python/pull/7203) |
| 89 | + |
| 90 | +#### Openai Agents |
| 91 | + |
| 92 | +- Capture spans instead of reading from span recorder by @alexander-alderman-webb in [#7404](https://github.com/getsentry/sentry-python/pull/7404) |
| 93 | +- Pin `openai` version when incompatible by @alexander-alderman-webb in [#7236](https://github.com/getsentry/sentry-python/pull/7236) |
| 94 | + |
| 95 | +#### Pydantic Ai |
| 96 | + |
| 97 | +- Replace individual hooks with `hooks.on.model_request` by @alexander-alderman-webb in [#7327](https://github.com/getsentry/sentry-python/pull/7327) |
| 98 | +- Fix instructions test for pydantic-ai >=2.36.0 by @ericapisani in [#7321](https://github.com/getsentry/sentry-python/pull/7321) |
| 99 | + |
| 100 | +#### Other |
| 101 | + |
| 102 | +- (aiohttp) Remove dead segment name code by @mjq in [#7284](https://github.com/getsentry/sentry-python/pull/7284) |
| 103 | +- (anthropic) Include `StreamedSpan` in type annotations by @alexander-alderman-webb in [#7373](https://github.com/getsentry/sentry-python/pull/7373) |
| 104 | +- (mcp) Inline `_extract_handler_data_from_args()` by @alexander-alderman-webb in [#7386](https://github.com/getsentry/sentry-python/pull/7386) |
| 105 | +- (quart) Fix flake caused by flushing spans on segment end by @alexander-alderman-webb in [#7240](https://github.com/getsentry/sentry-python/pull/7240) |
| 106 | +- (stdlib) Remove urllib3 workaround by @pabloDeputter in [#7283](https://github.com/getsentry/sentry-python/pull/7283) |
| 107 | +- Add `openai-agents` to uv typing group by @alexander-alderman-webb in [#7415](https://github.com/getsentry/sentry-python/pull/7415) |
| 108 | +- Add `aiohttp` to uv typing group by @alexander-alderman-webb in [#7395](https://github.com/getsentry/sentry-python/pull/7395) |
| 109 | +- Isolate `httpx` test suite from `httpx2` by @ZaafirRizwan in [#7398](https://github.com/getsentry/sentry-python/pull/7398) |
| 110 | +- Remove `test_langchain_embeddings_error_handling()` by @alexander-alderman-webb in [#7389](https://github.com/getsentry/sentry-python/pull/7389) |
| 111 | +- Add `tiktoken` to uv typing group by @alexander-alderman-webb in [#7394](https://github.com/getsentry/sentry-python/pull/7394) |
| 112 | +- Reference renamed coverage action by @MathurAditya724 in [#7371](https://github.com/getsentry/sentry-python/pull/7371) |
| 113 | +- Remove flaky detector by @sl0thentr0py in [#7363](https://github.com/getsentry/sentry-python/pull/7363) |
| 114 | +- Add `openai` to uv typing group by @alexander-alderman-webb in [#7334](https://github.com/getsentry/sentry-python/pull/7334) |
| 115 | +- 🤖 Update test matrix with new releases (08/31) by @github-actions in [#7303](https://github.com/getsentry/sentry-python/pull/7303) |
| 116 | +- Add `anthropic` to uv typing group by @alexander-alderman-webb in [#7324](https://github.com/getsentry/sentry-python/pull/7324) |
| 117 | +- Add `google-genai` to uv typing group by @alexander-alderman-webb in [#7323](https://github.com/getsentry/sentry-python/pull/7323) |
| 118 | +- Use tagged versions for `getsentry/codecov-action` by @alexander-alderman-webb in [#7241](https://github.com/getsentry/sentry-python/pull/7241) |
| 119 | +- Update test matrix with new releases (08/24) by @alexander-alderman-webb in [#7228](https://github.com/getsentry/sentry-python/pull/7228) |
| 120 | +- Add `httpx` dependency to tests relying on `get_model_response()` by @alexander-alderman-webb in [#7235](https://github.com/getsentry/sentry-python/pull/7235) |
| 121 | +- Access the 'type' in an event using `.get` by @ericapisani in [#7239](https://github.com/getsentry/sentry-python/pull/7239) |
| 122 | + |
3 | 123 | ## 2.68.1 |
4 | 124 |
|
5 | 125 | ### `enable_logs` |
|
0 commit comments