Skip to content

Releases: getsentry/sentry-python

3.0.0a4

31 Jul 15:02
Compare
Choose a tag to compare
3.0.0a4 Pre-release
Pre-release

Various fixes & improvements

Plus 16 more

2.34.1

30 Jul 11:13
9276f2a
Compare
Choose a tag to compare

Various fixes & improvements

2.34.0

29 Jul 12:47
72766a7
Compare
Choose a tag to compare

Various fixes & improvements

  • Considerably raise DEFAULT_MAX_VALUE_LENGTH (#4632) by @sentrivana

    We have increased the string trimming limit considerably, allowing you to see more data
    without it being truncated. Note that this might, in rare cases, result in issue regrouping,
    for example if you're capturing message events with very long messages (longer than the
    default 1024 characters/bytes).

    If you want to adjust the limit, you can set a
    max_value_length
    in your sentry_sdk.init().

  • OpenAI integration update (#4612) by @antonpirker

    The OpenAIIntegration now supports OpenAI Responses API.

    The data captured will also show up in the new AI Agents Dashboard.

    This works out of the box, nothing to do on your side.

  • Expose set_transaction_name (#4634) by @sl0thentr0py

  • Fix(Celery): Latency should be in milliseconds, not seconds (#4637) by @sentrivana

  • Fix(Django): Treat django.template.context.BasicContext as sequence in serializer (#4621) by @sl0thentr0py

  • Fix(Huggingface): Fix huggingface_hub CI tests. (#4619) by @antonpirker

  • Fix: Ignore deliberate thread exception warnings (#4611) by @sl0thentr0py

  • Fix: Socket tests to not use example.com (#4627) by @sl0thentr0py

  • Fix: Threading run patch (#4610) by @sl0thentr0py

  • Tests: Simplify celery double patching test (#4626) by @sl0thentr0py

  • Tests: Remove remote example.com calls (#4622) by @sl0thentr0py

  • Tests: tox.ini update (#4635) by @sentrivana

  • Tests: Update tox (#4609) by @sentrivana

3.0.0a3

22 Jul 08:52
Compare
Choose a tag to compare
3.0.0a3 Pre-release
Pre-release

We're excited to announce that version 3.0 of the Sentry Python SDK is now
available. This release is the result of a long-term effort to use OpenTelemetry
under the hood for tracing. This switch opens the door for us to leverage the
full power of OpenTelemetry, so stay tuned for more integrations and features
in future releases.

Looking to upgrade from Sentry SDK 2.x to 3.x? See the
full list of changes for a comprehensive overview
of what's changed. Looking for a more digestible summary? See the
migration guide in the docs
with the most common migration patterns.

⚠️ This is a pre-release. If you feel like taking it for a spin, we'd be grateful
for your feedback. How was the migration? Is everything working as expected? Is
nothing working as expected? Something in between? Please let us know
on GitHub or
on Discord.

2.33.2

22 Jul 10:41
Compare
Choose a tag to compare

Various fixes & improvements

  • ref(spotlight): Do not import sentry_sdk.spotlight unless enabled (#4607) by @sentrivana
  • ref(gnu-integration): update clickhouse stacktrace parsing (#4598) by @MeredithAnya

2.33.1

21 Jul 12:52
5cd43be
Compare
Choose a tag to compare

Various fixes & improvements

2.33.0

15 Jul 12:07
98b107f
Compare
Choose a tag to compare

Various fixes & improvements

2.32.0

27 Jun 08:10
4b022dc
Compare
Choose a tag to compare

Various fixes & improvements

  • feat(sessions): Add top-level start- and end session methods (#4474) by @szokeasaurusrex
  • feat(openai-agents): Set tool span to failed if an error is raised in the tool (#4527) by @antonpirker
  • fix(integrations/ray): Correctly pass keyword arguments to ray.remote function (#4430) by @svartalf
  • fix(langchain): Make span_map an instance variable (#4476) by @szokeasaurusrex
  • fix(langchain): Ensure no duplicate SentryLangchainCallback (#4485) by @szokeasaurusrex
  • fix(Litestar): Apply failed_request_status_codes to exceptions raised in middleware (#4074) by @vrslev

2.31.0

24 Jun 16:36
9792e4f
Compare
Choose a tag to compare

Various fixes & improvements

  • New Integration (BETA): Add support for openai-agents (#4437) by @antonpirker

    We can now instrument AI agents that are created with the OpenAI Agents SDK out of the box.

import sentry_sdk
from sentry_sdk.integrations.openai_agents import OpenAIAgentsIntegration

# Add the OpenAIAgentsIntegration to your sentry_sdk.init call:
sentry_sdk.init(
    dsn="...",
    integrations=[
        OpenAIAgentsIntegration(),
    ]
)

For more information see the OpenAI Agents integrations documentation.

3.0.0a2

12 Jun 11:15
94376a1
Compare
Choose a tag to compare
3.0.0a2 Pre-release
Pre-release

We're excited to announce that version 3.0 of the Sentry Python SDK is now
available. This release is the result of a long-term effort to use OpenTelemetry
under the hood for tracing. This switch opens the door for us to leverage the
full power of OpenTelemetry, so stay tuned for more integrations and features
in future releases.

Looking to upgrade from Sentry SDK 2.x to 3.x? See the
full list of changes for a comprehensive overview
of what's changed. Looking for a more digestible summary? See the
migration guide in the docs
with the most common migration patterns.

⚠️ This is a pre-release. If you feel like taking it for a spin, we'd be grateful
for your feedback. How was the migration? Is everything working as expected? Is
nothing working as expected? Something in between? Please let us know
on GitHub or
on Discord.