Skip to content

Releases: getsentry/sentry-python

1.9.3

09 Aug 12:06
Compare
Choose a tag to compare

Various fixes & improvements

1.9.2

05 Aug 18:57
Compare
Choose a tag to compare

Various fixes & improvements

1.9.1

05 Aug 13:50
Compare
Choose a tag to compare

Various fixes & improvements

1.9.0

28 Jul 11:28
Compare
Choose a tag to compare

Various fixes & improvements

1.8.0

21 Jul 12:45
6aecffd
Compare
Choose a tag to compare

Various fixes & improvements

  • feat(starlette): add Starlette integration (#1441) by @sl0thentr0py

    Important: Remove manual usage of SentryAsgiMiddleware! This is now done by the Starlette integration.

    Usage:

    from starlette.applications import Starlette
    
    from sentry_sdk.integrations.starlette import StarletteIntegration
    
    sentry_sdk.init(
        dsn="...", 
        integrations=[StarletteIntegration()],
    )
    
    app = Starlette(debug=True, routes=[...])
  • feat(fastapi): add FastAPI integration (#829) by @antonpirker

    Important: Remove manual usage of SentryAsgiMiddleware! This is now done by the FastAPI integration.

    Usage:

    from fastapi import FastAPI
    
    from sentry_sdk.integrations.starlette import StarletteIntegration
    from sentry_sdk.integrations.fastapi import FastApiIntegration
    
    sentry_sdk.init(
        dsn="...", 
        integrations=[StarletteIntegration(), FastApiIntegration()],
    )
    
    app = FastAPI()

    Yes, you have to add both, the StarletteIntegration AND the FastApiIntegration!

  • fix: avoid sending empty Baggage header (#1507) by @intgr

  • fix: properly freeze Baggage object (#1508) by @intgr

  • docs: fix simple typo, collecter -> collector (#1505) by @timgates42

1.7.2

15 Jul 12:20
Compare
Choose a tag to compare

Various fixes & improvements

1.7.1

13 Jul 12:58
Compare
Choose a tag to compare

Various fixes & improvements

1.7.0

11 Jul 09:35
Compare
Choose a tag to compare

Various fixes & improvements

  • feat(tracing): Dynamic Sampling Context / Baggage continuation (#1485) by @sl0thentr0py

    The SDK now propagates the W3C Baggage Header from incoming transactions to outgoing requests.
    It also extracts Sentry specific sampling information and adds it to the transaction headers to enable Dynamic Sampling in the product.

1.6.0

22 Jun 08:27
Compare
Choose a tag to compare

Various fixes & improvements

1.5.12

10 May 15:03
Compare
Choose a tag to compare

Various fixes & improvements

  • feat(measurements): Add experimental set_measurement api on transaction (#1359) by @sl0thentr0py
  • fix: Remove incorrect usage from flask helper example (#1434) by @BYK