Skip to content

Releases: getsentry/sentry-python

1.39.2

10 Jan 10:48
b244efc
Compare
Choose a tag to compare

Various fixes & improvements

1.39.1

14 Dec 09:44
2b46ec3
Compare
Choose a tag to compare

Various fixes & improvements

1.39.0

12 Dec 15:53
c6cd636
Compare
Choose a tag to compare

Various fixes & improvements

1.38.0

29 Nov 12:28
2904574
Compare
Choose a tag to compare

Various fixes & improvements

1.37.1

24 Nov 15:28
Compare
Choose a tag to compare

Various fixes & improvements

1.37.0

24 Nov 10:28
a059f34
Compare
Choose a tag to compare

Various fixes & improvements

  • Move installed modules code to utils (#2429) by @sentrivana

    Note: We moved the internal function _get_installed_modules from sentry_sdk.integrations.modules to sentry_sdk.utils.
    So if you use this function you have to update your imports

  • Add code locations for metrics (#2526) by @jan-auer

  • Add query source to DB spans (#2521) by @antonpirker

  • Send events to Spotlight sidecar (#2524) by @HazAT

  • Run integration tests with newest pytest (#2518) by @sentrivana

  • Bring tests up to date (#2512) by @sentrivana

  • Fix: Prevent global var from being discarded at shutdown (#2530) by @antonpirker

  • Fix: Scope transaction source not being updated in scope.span setter (#2519) by @sl0thentr0py

1.36.0

21 Nov 10:53
89ba92a
Compare
Choose a tag to compare

1.35.0

13 Nov 11:06
1e72ef8
Compare
Choose a tag to compare

Various fixes & improvements

  • Updated gRPC integration: Asyncio interceptors and easier setup (#2369) by @fdellekart

    Our gRPC integration now instruments incoming unary-unary grpc requests and outgoing unary-unary, unary-stream grpc requests using grpcio channels. Everything works now for sync and async code.

    Before this release you had to add Sentry interceptors by hand to your gRPC code, now the only thing you need to do is adding the GRPCIntegration to you sentry_sdk_init() call. (See documentation for more information):

    import sentry_sdk
    from sentry_sdk.integrations.grpc import GRPCIntegration
    
    sentry_sdk.init(
        dsn="___PUBLIC_DSN___",
        enable_tracing=True,
        integrations=[
            GRPCIntegration(),
        ],
    )

    The old way still works, but we strongly encourage you to update your code to the way described above.

  • Python 3.12: Replace deprecated datetime functions (#2502) by @sentrivana

  • Metrics: Unify datetime format (#2409) by @mitsuhiko

  • Celery: Set correct data in check_ins (#2500) by @antonpirker

  • Celery: Read timezone for Crons monitors from celery_schedule if existing (#2497) by @antonpirker

  • Django: Removing redundant code in Django tests (#2491) by @vagi8

  • Django: Make reading the request body work in Django ASGI apps. (#2495) by @antonpirker

  • FastAPI: Use wraps on fastapi request call wrapper (#2476) by @nkaras

  • Fix: Probe for psycopg2 and psycopg3 parameters function. (#2492) by @antonpirker

  • Fix: Remove unnecessary TYPE_CHECKING alias (#2467) by @rafrafek

1.34.0

02 Nov 14:57
bcb9c87
Compare
Choose a tag to compare

Various fixes & improvements

1.33.1

31 Oct 16:00
Compare
Choose a tag to compare

Various fixes & improvements