|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +## 2.57.0 |
| 4 | + |
| 5 | +### New Features ✨ |
| 6 | + |
| 7 | +#### Langchain |
| 8 | + |
| 9 | +- Set `gen_ai.operation.name` and `gen_ai.pipeline.name` on LLM spans by @ericapisani in [#5849](https://github.com/getsentry/sentry-python/pull/5849) |
| 10 | +- Broaden AI provider detection beyond OpenAI and Anthropic by @ericapisani in [#5707](https://github.com/getsentry/sentry-python/pull/5707) |
| 11 | +- Update LLM span operation to `gen_ai.generate_text` by @ericapisani in [#5796](https://github.com/getsentry/sentry-python/pull/5796) |
| 12 | + |
| 13 | +#### Other |
| 14 | + |
| 15 | +- Add experimental async transport by @BYK in [#5646](https://github.com/getsentry/sentry-python/pull/5646) |
| 16 | + |
| 17 | + See https://github.com/getsentry/sentry-python/discussions/5919 for details. |
| 18 | + |
| 19 | +### Bug Fixes 🐛 |
| 20 | + |
| 21 | +#### Openai |
| 22 | + |
| 23 | +- Only wrap types with `_iterator` for streamed responses by @alexander-alderman-webb in [#5917](https://github.com/getsentry/sentry-python/pull/5917) |
| 24 | +- Always set `gen_ai.response.streaming` for Responses by @alexander-alderman-webb in [#5697](https://github.com/getsentry/sentry-python/pull/5697) |
| 25 | +- Simplify Responses input handling by @alexander-alderman-webb in [#5695](https://github.com/getsentry/sentry-python/pull/5695) |
| 26 | +- Use `max_output_tokens` for Responses API by @alexander-alderman-webb in [#5693](https://github.com/getsentry/sentry-python/pull/5693) |
| 27 | +- Always set `gen_ai.response.streaming` for Completions by @alexander-alderman-webb in [#5692](https://github.com/getsentry/sentry-python/pull/5692) |
| 28 | +- Simplify Completions input handling by @alexander-alderman-webb in [#5690](https://github.com/getsentry/sentry-python/pull/5690) |
| 29 | +- Simplify embeddings input handling by @alexander-alderman-webb in [#5688](https://github.com/getsentry/sentry-python/pull/5688) |
| 30 | + |
| 31 | +#### Other |
| 32 | + |
| 33 | +- (google-genai) Guard response extraction by @alexander-alderman-webb in [#5869](https://github.com/getsentry/sentry-python/pull/5869) |
| 34 | +- Add cycle detection to exceptions_from_error by @ericapisani in [#5880](https://github.com/getsentry/sentry-python/pull/5880) |
| 35 | + |
| 36 | +### Internal Changes 🔧 |
| 37 | + |
| 38 | +#### Ai |
| 39 | + |
| 40 | +- Remove unused GEN_AI_PIPELINE operation constant by @ericapisani in [#5886](https://github.com/getsentry/sentry-python/pull/5886) |
| 41 | +- Rename generate_text to text_completion by @ericapisani in [#5885](https://github.com/getsentry/sentry-python/pull/5885) |
| 42 | + |
| 43 | +#### Langchain |
| 44 | + |
| 45 | +- Add text completion test by @alexander-alderman-webb in [#5740](https://github.com/getsentry/sentry-python/pull/5740) |
| 46 | +- Add tool execution test by @alexander-alderman-webb in [#5739](https://github.com/getsentry/sentry-python/pull/5739) |
| 47 | +- Add basic agent test with Responses call by @alexander-alderman-webb in [#5726](https://github.com/getsentry/sentry-python/pull/5726) |
| 48 | +- Replace mocks with `httpx` types by @alexander-alderman-webb in [#5724](https://github.com/getsentry/sentry-python/pull/5724) |
| 49 | +- Consolidate span origin assertion by @alexander-alderman-webb in [#5723](https://github.com/getsentry/sentry-python/pull/5723) |
| 50 | +- Consolidate available tools assertion by @alexander-alderman-webb in [#5721](https://github.com/getsentry/sentry-python/pull/5721) |
| 51 | + |
| 52 | +#### Openai |
| 53 | + |
| 54 | +- Replace mocks with httpx types for streaming Responses by @alexander-alderman-webb in [#5882](https://github.com/getsentry/sentry-python/pull/5882) |
| 55 | +- Replace mocks with httpx types for streaming Completions by @alexander-alderman-webb in [#5879](https://github.com/getsentry/sentry-python/pull/5879) |
| 56 | +- Move input handling code into API-specific functions by @alexander-alderman-webb in [#5687](https://github.com/getsentry/sentry-python/pull/5687) |
| 57 | + |
| 58 | +#### Other |
| 59 | + |
| 60 | +- (asyncpg) Normalize query whitespace in integration by @ericapisani in [#5855](https://github.com/getsentry/sentry-python/pull/5855) |
| 61 | +- Exclude compromised litellm versions by @alexander-alderman-webb in [#5876](https://github.com/getsentry/sentry-python/pull/5876) |
| 62 | + |
| 63 | + |
3 | 64 | ## 2.56.0 |
4 | 65 |
|
5 | 66 | ### New Features ✨ |
|
0 commit comments