releases.shpreview
Sentry/Sentry Python

Sentry Python

$npx -y @buildinternet/releases show sentry-python
Mon
Wed
Fri
AprMayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases18Avg6/moVersionsv2.50.0 → v2.57.0
Sep 26, 2022

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

  • fix(profiling): Profiler mode type hints (#1633) by @Zylphrex
  • New ASGIMiddleware tests (#1600) by @antonpirker
  • build(deps): bump mypy from 0.961 to 0.971 (#1517) by @dependabot
  • build(deps): bump black from 22.3.0 to 22.8.0 (#1596) by @dependabot
  • build(deps): bump sphinx from 5.0.2 to 5.1.1 (#1524) by @dependabot
  • ref: upgrade linters to flake8 5.x (#1610) by @asottile-sentry
  • feat(profiling): Introduce different profiler schedulers (#1616) by @Zylphrex
  • fix(profiling): Check transaction sampled status before profiling (#1624) by @Zylphrex
  • Wrap Baggage ser/deser in capture_internal_exceptions (#1630) by @sl0thentr0py
  • Faster Tests (DjangoCon) (#1602) by @antonpirker
  • feat(profiling): Add support for profiles_sample_rate (#1613) by @Zylphrex
  • feat(profiling): Support for multithreaded profiles (#1570) by @Zylphrex
Sep 5, 2022

Various fixes & improvements

  • Baggage creation for head of trace (#1589) by @sl0thentr0py
    • The SDK now also generates new baggage entries for dynamic sampling when it is the first (head) SDK in the pipeline.
Sep 1, 2022

Various fixes & improvements

  • Let SentryAsgiMiddleware work with Starlette and FastAPI integrations (#1594) by @antonpirker

Note: The last version 1.9.6 introduced a breaking change where projects that used Starlette or FastAPI and had manually setup SentryAsgiMiddleware could not start. This versions fixes this behaviour. With this version if you have a manual SentryAsgiMiddleware setup and are using Starlette or FastAPI everything just works out of the box.

Sorry for any inconveniences the last version might have brought to you.

We can do better and in the future we will do our best to not break your code again.

Aug 31, 2022

Various fixes & improvements

  • Auto-enable Starlette and FastAPI (#1533) by @antonpirker
  • Add more version constraints (#1574) by @isra17
  • Fix typo in starlette attribute check (#1566) by @sl0thentr0py
Aug 16, 2022

Various fixes & improvements

  • fix(redis): import redis pipeline using full path (#1565) by @olksdr
  • Fix side effects for parallel tests (#1554) by @sl0thentr0py
Aug 11, 2022

Various fixes & improvements

  • Remove TRANSACTION_SOURCE_UNKNOWN and default to CUSTOM (#1558) by @sl0thentr0py
  • feat(redis): Add instrumentation for redis pipeline (#1543) by @jjbayer
  • Handle no release when uploading profiles (#1548) by @szokeasaurusrex
Aug 9, 2022

Various fixes & improvements

  • Wrap StarletteRequestExtractor in capture_internal_exceptions (#1551) by @sl0thentr0py
Aug 5, 2022

Various fixes & improvements

  • chore: remove quotes (#1545) by @vladanpaunovic

Various fixes & improvements

  • Fix FastAPI issues (#1532) ( #1514) (#1532) by @antonpirker
  • Add deprecation warning for 3.4, 3.5 (#1541) by @sl0thentr0py
  • Fast tests (#1504) by @antonpirker
  • Replace Travis CI badge with GitHub Actions badge (#1538) by @153957
  • chore(deps): update urllib3 minimum version with environment markers (#1312) by @miketheman
  • Update Flask and Quart integrations (#1520) by @pgjones
  • chore: Remove ancient examples from tracing prototype (#1528) by @sl0thentr0py
  • fix(django): Send correct "url" transaction source if Django resolver fails to resolve (#1525) by @sl0thentr0py
Jul 28, 2022

Various fixes & improvements

  • Add experimental profiler under experiments.enable_profiling (#1481) by @szokeasaurusrex
  • Fixed problem with broken response and python-multipart (#1516) by @antonpirker
Jul 21, 2022

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

Jul 15, 2022

Various fixes & improvements

  • feat(transactions): Transaction Source (#1490) by @antonpirker
  • Removed (unused) sentry_timestamp header (#1494) by @antonpirker
Jul 13, 2022

Various fixes & improvements

  • Skip malformed baggage items (#1491) by @robyoung
Jul 11, 2022

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.

Jun 22, 2022

Various fixes & improvements

  • Fix Deployment (#1474) by @antonpirker
  • Serverless V2 (#1450) by @antonpirker
  • Use logging levelno instead of levelname. Levelnames can be overridden (#1449) by @rrauenza
May 10, 2022

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
May 3, 2022

Various fixes & improvements

  • chore: Bump mypy and fix abstract ContextManager typing (#1421) by @sl0thentr0py
  • chore(issues): add link to Sentry support (#1420) by @vladanpaunovic
  • fix: replace git.io links with redirect targets (#1412) by @asottile-sentry
  • ref: Update error verbose for sentry init (#1361) by @targhs
  • fix(sessions): Update session also for non sampled events and change filter order (#1394) by @adinauer
Apr 15, 2022

Various fixes & improvements

  • Remove Flask version contraint (#1395) by @antonpirker
  • Change ordering of event drop mechanisms (#1390) by @adinauer
Mar 18, 2022

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
Mar 8, 2022

Various fixes & improvements

  • fix(serializer): Make sentry_repr dunder method to avoid mock problems (#1364) by @sl0thentr0py
Latest
2.58.0
Tracking Since
Jul 6, 2021
Last checked Apr 20, 2026