Skip to content

Releases: getsentry/sentry-python

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

1.5.11

03 May 14:18
Compare
Choose a tag to compare

Various fixes & improvements

1.5.10

15 Apr 06:34
Compare
Choose a tag to compare

Various fixes & improvements

1.5.9

11 Apr 14:07
Compare
Choose a tag to compare

Various fixes & improvements

1.5.8

18 Mar 12:43
Compare
Choose a tag to compare

Various fixes & improvements

  • feat(asgi): Add support for setting transaction name to path in FastAPI (#1349) by @tiangolo
  • fix(sqlalchemy): Change context manager type to avoid race in threads (#1368) by @Fofanko
  • fix(perf): Fix transaction setter on scope to use containing_transaction to match with getter (#1366) by @sl0thentr0py
  • chore(ci): Change stale GitHub workflow to run once a day (#1367) by @kamilogorek
  • feat(django): Make django middleware expose more wrapped attributes (#1202) by @MattFisher