Skip to content

Releases: getsentry/sentry-python

1.14.0

23 Jan 10:14
8c4a19a
Compare
Choose a tag to compare

Various fixes & improvements

1.13.0

12 Jan 15:38
Compare
Choose a tag to compare

Various fixes & improvements

  • Add Starlite integration (#1748) by @gazorby

    Adding support for the Starlite framework. Unhandled errors are captured. Performance spans for Starlite middleware are also captured. Thanks @gazorby for the great work!

    Usage:

    from starlite import Starlite, get
    
    import sentry_sdk
    from sentry_sdk.integrations.starlite import StarliteIntegration
    
    sentry_sdk.init(
        dsn="...",
        traces_sample_rate=1.0,
        integrations=[
            StarliteIntegration(),
        ],
    )
    
    @get("/")
    def hello_world() -> dict[str, str]:
        """Keeping the tradition alive with hello world."""
        bla = 1/0  # causing an error
        return {"hello": "world"}
    
    app = Starlite(route_handlers=[hello_world])
  • Profiling: Remove sample buffer from profiler (#1791) by @Zylphrex

  • Profiling: Performance tweaks to profile sampler (#1789) by @Zylphrex

  • Add span for Django SimpleTemplateResponse rendering (#1818) by @chdsbd

  • Use @wraps for Django Signal receivers (#1815) by @meanmail

  • Add enqueued_at and started_at to rq job extra (#1024) by @kruvasyan

  • Remove sanic v22 pin (#1819) by @sl0thentr0py

  • Add support for byterray and memoryview built-in types (#1833) by @Tarty

  • Handle "rc" in SQLAlchemy version. (#1812) by @peterschutt

  • Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790) by @tonyo

  • Auto publish to internal pypi on release (#1823) by @asottile-sentry

  • Added Python 3.11 to test suite (#1795) by @antonpirker

  • Update test/linting dependencies (#1801) by @antonpirker

  • Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686) by @dependabot

1.12.1

19 Dec 09:42
Compare
Choose a tag to compare

Various fixes & improvements

1.12.0

15 Dec 15:50
Compare
Choose a tag to compare

Basic OTel support

This adds support to automatically integrate OpenTelemetry performance tracing with Sentry.

See the documentation on how to set it up:
https://docs.sentry.io/platforms/python/performance/instrumentation/opentelemetry/

Give it a try and let us know if you have any feedback or problems with using it.

By: @antonpirker (#1772, #1766, #1765)

Various fixes & improvements

1.11.1

22 Nov 12:40
Compare
Choose a tag to compare

Various fixes & improvements

1.11.0

14 Nov 12:39
Compare
Choose a tag to compare

Various fixes & improvements

1.10.1

21 Oct 14:39
Compare
Choose a tag to compare

Various fixes & improvements

1.10.0

20 Oct 14:09
Compare
Choose a tag to compare

Various fixes & improvements

  • Unified naming for span ops (#1661) by @antonpirker

    We have unified the strings of our span operations. See https://develop.sentry.dev/sdk/performance/span-operations/

    WARNING: If you have Sentry Dashboards or Sentry Discover queries that use transaction.op in their fields, conditions, aggregates or columns this change could potentially break your Dashboards/Discover setup.
    Here is a list of the changes we made to the ops. Please adjust your dashboards and Discover queries accordingly:

    Old operation (op) New Operation (op)
    asgi.server http.server
    aws.request http.client
    aws.request.stream http.client.stream
    celery.submit queue.submit.celery
    celery.task queue.task.celery
    django.middleware middleware.django
    django.signals event.django
    django.template.render template.render
    django.view view.render
    http http.client
    redis db.redis
    rq.task queue.task.rq
    serverless.function function.aws
    serverless.function function.gcp
    starlette.middleware middleware.starlette
  • Include framework in SDK name (#1662) by @antonpirker

  • Asyncio integration (#1671) by @antonpirker

  • Add exception handling to Asyncio Integration (#1695) by @antonpirker

  • Fix asyncio task factory (#1689) by @antonpirker

  • Have instrumentation for ASGI middleware receive/send callbacks. (#1673) by @antonpirker

  • Use Django internal ASGI handling from Channels version 4.0.0. (#1688) by @antonpirker

  • fix(integrations): Fix http putrequest when url is None (#1693) by @MattFlower

  • build(deps): bump checkouts/data-schemas from f0a57f2 to a214fbc (#1627) by @dependabot

  • build(deps): bump flake8-bugbear from 22.9.11 to 22.9.23 (#1637) by @dependabot

  • build(deps): bump sphinx from 5.1.1 to 5.2.3 (#1653) by @dependabot

  • build(deps): bump actions/stale from 5 to 6 (#1638) by @dependabot

  • build(deps): bump black from 22.8.0 to 22.10.0 (#1670) by @dependabot

  • Remove unused node setup from ci. (#1681) by @antonpirker

  • Check for Decimal is in_valid_sample_rate (#1672) by @Arvind2222

  • Add session for aiohttp integration (#1605) by @denys-pidlisnyi

  • feat(profiling): Extract qualified name for each frame (#1669) by @Zylphrex

  • feat(profiling): Attach thread metadata to profiles (#1660) by @Zylphrex

  • ref(profiling): Rename profiling frame keys (#1680) by @Zylphrex

  • fix(profiling): get_frame_name only look at arguments (#1684) by @Zylphrex

  • fix(profiling): Need to sample profile correctly (#1679) by @Zylphrex

  • fix(profiling): Race condition spawning multiple profiling threads (#1676) by @Zylphrex

  • tests(profiling): Add basic profiling tests (#1677) by @Zylphrex

  • tests(profiling): Add tests for thread schedulers (#1683) by @Zylphrex

1.9.10

03 Oct 15:36
Compare
Choose a tag to compare

Various fixes & improvements

1.9.9

26 Sep 13:14
Compare
Choose a tag to compare

Django update (ongoing)

  • Instrument Django Signals so they show up in "Performance" view (#1526) by @BeryJu
  • include other Django enhancements brought up by the community

Various fixes & improvements