Skip to content

Releases: getsentry/sentry-python

1.9.5

Choose a tag to compare

@getsentry-bot getsentry-bot released this 16 Aug 11:15

Various fixes & improvements

1.9.4

Choose a tag to compare

@getsentry-bot getsentry-bot released this 11 Aug 14:43

Various fixes & improvements

1.9.3

Choose a tag to compare

@getsentry-bot getsentry-bot released this 09 Aug 12:06

Various fixes & improvements

1.9.2

Choose a tag to compare

@getsentry-bot getsentry-bot released this 05 Aug 18:57

Various fixes & improvements

1.9.1

Choose a tag to compare

@getsentry-bot getsentry-bot released this 05 Aug 13:50

Various fixes & improvements

1.9.0

Choose a tag to compare

@getsentry-bot getsentry-bot released this 28 Jul 11:28

Various fixes & improvements

1.8.0

Choose a tag to compare

@getsentry-bot getsentry-bot released this 21 Jul 12:45
6aecffd

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

Choose a tag to compare

@getsentry-bot getsentry-bot released this 15 Jul 12:20

Various fixes & improvements

1.7.1

Choose a tag to compare

@getsentry-bot getsentry-bot released this 13 Jul 12:58

Various fixes & improvements

1.7.0

Choose a tag to compare

@getsentry-bot getsentry-bot released this 11 Jul 09:35

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.