mitodl / micromasters

Portal for learners and course teams to access MITx Micromasters® programs
https://mm.mit.edu
BSD 3-Clause "New" or "Revised" License
28 stars 16 forks source link

chore(deps): update dependency sentry-sdk to v1.14.0 [security] #5355

Open renovate[bot] opened 8 months ago

renovate[bot] commented 8 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sentry-sdk (changelog) ==1.1.0 -> ==1.14.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2023-28117

Impact

When using the Django integration of the Sentry SDK in a specific configuration it is possible to leak sensitive cookies values, including the session cookie to Sentry. These sensitive cookies could then be used by someone with access to your Sentry issues to impersonate or escalate their privileges within your application.

The below must be true in order for these sensitive values to be leaked:

  1. Your Sentry SDK configuration has sendDefaultPII set to True
  2. You are using a custom name for either of the cookies below in your Django settings.
  3. You are not configured in your organization or project settings to use our data scrubbing features to account for the custom cookie names

Patches

As of version 1.14.0, the Django integration of the sentry-sdk will detect the custom cookie names based on your Django settings and will remove the values from the payload before sending the data to Sentry.

Workarounds

If you can not update your sentry-sdk to a patched version than you can use the SDKs filtering mechanism to remove the cookies from the payload that is sent to Sentry. For error events this can be done with the before_send callback method and for performance related events (transactions) you can use the before_send_transaction callback method.

If you'd like to handle filtering of these values on the server-side, you can also use our advanced data scrubbing feature to account for the custom cookie names. Look for the $http.cookies, $http.headers, $request.cookies, or $request.headers fields to target with your scrubbing rule.

References

Credits


Release Notes

getsentry/sentry-python (sentry-sdk) ### [`v1.14.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1140) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.13.0...1.14.0) ##### Various fixes & improvements - Add `before_send_transaction` ([#​1840](https://togithub.com/getsentry/sentry-python/issues/1840)) by [@​antonpirker](https://togithub.com/antonpirker) Adds a hook (similar to `before_send`) that is called for all transaction events (performance releated data). Usage: ```python import sentry_sdk def strip_sensitive_data(event, hint): ``` ### modify event here (or return `None` if you want to drop the event entirely) return event sentry_sdk.init( ### ... before_send_transaction=strip_sensitive_data, ) ``` See also: https://docs.sentry.io/platforms/python/configuration/filtering/#using-platformidentifier-namebefore-send-transaction- - Django: Always remove values of Django session related cookies. (#​1842) by @​antonpirker - Profiling: Enable profiling for ASGI frameworks (#​1824) by @​Zylphrex - Profiling: Better gevent support (#​1822) by @​Zylphrex - Profiling: Add profile context to transaction (#​1860) by @​Zylphrex - Profiling: Use co_qualname in python 3.11 (#​1831) by @​Zylphrex - OpenTelemetry: fix Use dict for sentry-trace context instead of tuple (#​1847) by @​AbhiPrasad - OpenTelemetry: fix extra dependency (#​1825) by @​bernardotorres - OpenTelemetry: fix NoOpSpan updates scope (#​1834) by @​Zylphrex - OpenTelemetry: Make sure to noop when there is no DSN (#​1852) by @​antonpirker - FastAPI: Fix middleware being patched multiple times (#​1841) by @​JohnnyDeuss - Starlette: Avoid import of pkg_resource with Starlette integration (#​1836) by @​mgu - Removed code coverage target (#​1862) by @​antonpirker ``` ### [`v1.13.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1130) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.12.1...1.13.0) ##### Various fixes & improvements - Add Starlite integration ([#​1748](https://togithub.com/getsentry/sentry-python/issues/1748)) by [@​gazorby](https://togithub.com/gazorby) Adding support for the [Starlite](https://starlite-api.github.io/starlite/1.48/) framework. Unhandled errors are captured. Performance spans for Starlite middleware are also captured. Thanks [@​gazorby](https://togithub.com/gazorby) for the great work! Usage: ```python from starlite import Starlite, get import sentry_sdk from sentry_sdk.integrations.starlite import StarliteIntegration sentry_sdk.init( dsn="...", traces_sample_rate=1.0, integrations=[ StarliteIntegration(), ], ) @​get("/") def hello_world() -> dict[str, str]: """Keeping the tradition alive with hello world.""" bla = 1/0 # causing an error return {"hello": "world"} app = Starlite(route_handlers=[hello_world]) ``` - Profiling: Remove sample buffer from profiler ([#​1791](https://togithub.com/getsentry/sentry-python/issues/1791)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Profiling: Performance tweaks to profile sampler ([#​1789](https://togithub.com/getsentry/sentry-python/issues/1789)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Add span for Django SimpleTemplateResponse rendering ([#​1818](https://togithub.com/getsentry/sentry-python/issues/1818)) by [@​chdsbd](https://togithub.com/chdsbd) - Use [@​wraps](https://togithub.com/wraps) for Django Signal receivers ([#​1815](https://togithub.com/getsentry/sentry-python/issues/1815)) by [@​meanmail](https://togithub.com/meanmail) - Add enqueued_at and started_at to rq job extra ([#​1024](https://togithub.com/getsentry/sentry-python/issues/1024)) by [@​kruvasyan](https://togithub.com/kruvasyan) - Remove sanic v22 pin ([#​1819](https://togithub.com/getsentry/sentry-python/issues/1819)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - Add support for `byterray` and `memoryview` built-in types ([#​1833](https://togithub.com/getsentry/sentry-python/issues/1833)) by [@​Tarty](https://togithub.com/Tarty) - Handle `"rc"` in SQLAlchemy version. ([#​1812](https://togithub.com/getsentry/sentry-python/issues/1812)) by [@​peterschutt](https://togithub.com/peterschutt) - Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md ([#​1790](https://togithub.com/getsentry/sentry-python/issues/1790)) by [@​tonyo](https://togithub.com/tonyo) - Auto publish to internal pypi on release ([#​1823](https://togithub.com/getsentry/sentry-python/issues/1823)) by [@​asottile-sentry](https://togithub.com/asottile-sentry) - Added Python 3.11 to test suite ([#​1795](https://togithub.com/getsentry/sentry-python/issues/1795)) by [@​antonpirker](https://togithub.com/antonpirker) - Update test/linting dependencies ([#​1801](https://togithub.com/getsentry/sentry-python/issues/1801)) by [@​antonpirker](https://togithub.com/antonpirker) - Deps: bump sphinx from 5.2.3 to 5.3.0 ([#​1686](https://togithub.com/getsentry/sentry-python/issues/1686)) by [@​dependabot](https://togithub.com/dependabot) ### [`v1.12.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1121) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.12.0...1.12.1) ##### Various fixes & improvements - Link errors to OTel spans ([#​1787](https://togithub.com/getsentry/sentry-python/issues/1787)) by [@​antonpirker](https://togithub.com/antonpirker) ### [`v1.12.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1120) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.11.1...1.12.0) ##### Basic OTel support This adds support to automatically integrate OpenTelemetry performance tracing with Sentry. See the documentation on how to set it up: https://docs.sentry.io/platforms/python/performance/instrumentation/opentelemetry/ Give it a try and let us know if you have any feedback or problems with using it. By: [@​antonpirker](https://togithub.com/antonpirker) ([#​1772](https://togithub.com/getsentry/sentry-python/issues/1772), [#​1766](https://togithub.com/getsentry/sentry-python/issues/1766), [#​1765](https://togithub.com/getsentry/sentry-python/issues/1765)) ##### Various fixes & improvements - Tox Cleanup ([#​1749](https://togithub.com/getsentry/sentry-python/issues/1749)) by [@​antonpirker](https://togithub.com/antonpirker) - CI: Fix Github action checks ([#​1780](https://togithub.com/getsentry/sentry-python/issues/1780)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Profiling: Introduce active thread id on scope ([#​1764](https://togithub.com/getsentry/sentry-python/issues/1764)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Profiling: Eagerly hash stack for profiles ([#​1755](https://togithub.com/getsentry/sentry-python/issues/1755)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Profiling: Resolve inherited method class names ([#​1756](https://togithub.com/getsentry/sentry-python/issues/1756)) by [@​Zylphrex](https://togithub.com/Zylphrex) ### [`v1.11.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1111) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.11.0...1.11.1) ##### Various fixes & improvements - Move set_transaction_name out of event processor in fastapi/starlette ([#​1751](https://togithub.com/getsentry/sentry-python/issues/1751)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - Expose proxy_headers as top level config and use in ProxyManager: https://docs.sentry.io/platforms/python/configuration/options/#proxy-headers ([#​1746](https://togithub.com/getsentry/sentry-python/issues/1746)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) ### [`v1.11.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1110) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.10.1...1.11.0) ##### Various fixes & improvements - Fix signals problem on sentry.io ([#​1732](https://togithub.com/getsentry/sentry-python/issues/1732)) by [@​antonpirker](https://togithub.com/antonpirker) - Fix reading FastAPI request body twice. ([#​1724](https://togithub.com/getsentry/sentry-python/issues/1724)) by [@​antonpirker](https://togithub.com/antonpirker) - ref(profiling): Do not error if already setup ([#​1731](https://togithub.com/getsentry/sentry-python/issues/1731)) by [@​Zylphrex](https://togithub.com/Zylphrex) - ref(profiling): Use sleep scheduler by default ([#​1729](https://togithub.com/getsentry/sentry-python/issues/1729)) by [@​Zylphrex](https://togithub.com/Zylphrex) - feat(profiling): Extract more frame info ([#​1702](https://togithub.com/getsentry/sentry-python/issues/1702)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Update actions/upload-artifact to v3.1.1 ([#​1718](https://togithub.com/getsentry/sentry-python/issues/1718)) by [@​mattgauntseo-sentry](https://togithub.com/mattgauntseo-sentry) - Performance optimizations ([#​1725](https://togithub.com/getsentry/sentry-python/issues/1725)) by [@​antonpirker](https://togithub.com/antonpirker) - feat(pymongo): add PyMongo integration ([#​1590](https://togithub.com/getsentry/sentry-python/issues/1590)) by [@​Agalin](https://togithub.com/Agalin) - Move relay to port 5333 to avoid collisions ([#​1716](https://togithub.com/getsentry/sentry-python/issues/1716)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - fix(utils): strip_string() checks text length counting bytes not chars ([#​1711](https://togithub.com/getsentry/sentry-python/issues/1711)) by [@​mgaligniana](https://togithub.com/mgaligniana) - chore: remove jira workflow ([#​1707](https://togithub.com/getsentry/sentry-python/issues/1707)) by [@​vladanpaunovic](https://togithub.com/vladanpaunovic) - build(deps): bump checkouts/data-schemas from `a214fbc` to `20ff3b9` ([#​1703](https://togithub.com/getsentry/sentry-python/issues/1703)) by [@​dependabot](https://togithub.com/dependabot) - perf(profiling): Tune the sample profile generation code for performance ([#​1694](https://togithub.com/getsentry/sentry-python/issues/1694)) by [@​Zylphrex](https://togithub.com/Zylphrex) ### [`v1.10.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1101) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.10.0...1.10.1) ##### Various fixes & improvements - Bug fixes for FastAPI and Sentry SDK 1.10.0 ([#​1699](https://togithub.com/getsentry/sentry-python/issues/1699)) by [@​antonpirker](https://togithub.com/antonpirker) - The wrapped receive() did not return anything. ([#​1698](https://togithub.com/getsentry/sentry-python/issues/1698)) by [@​antonpirker](https://togithub.com/antonpirker) ### [`v1.10.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1100) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.10...1.10.0) ##### Various fixes & improvements - Unified naming for span ops ([#​1661](https://togithub.com/getsentry/sentry-python/issues/1661)) by [@​antonpirker](https://togithub.com/antonpirker) We have unified the strings of our span operations. See https://develop.sentry.dev/sdk/performance/span-operations/ **WARNING**: If you have Sentry Dashboards or Sentry Discover queries that use `transaction.op` in their fields, conditions, aggregates or columns this change could potentially break your Dashboards/Discover setup. Here is a list of the changes we made to the `op`s. Please adjust your dashboards and Discover queries accordingly: | Old operation (`op`) | New Operation (`op`) | | ------------------------ | ---------------------- | | `asgi.server` | `http.server` | | `aws.request` | `http.client` | | `aws.request.stream` | `http.client.stream` | | `celery.submit` | `queue.submit.celery` | | `celery.task` | `queue.task.celery` | | `django.middleware` | `middleware.django` | | `django.signals` | `event.django` | | `django.template.render` | `template.render` | | `django.view` | `view.render` | | `http` | `http.client` | | `redis` | `db.redis` | | `rq.task` | `queue.task.rq` | | `serverless.function` | `function.aws` | | `serverless.function` | `function.gcp` | | `starlette.middleware` | `middleware.starlette` | - Include framework in SDK name ([#​1662](https://togithub.com/getsentry/sentry-python/issues/1662)) by [@​antonpirker](https://togithub.com/antonpirker) - Asyncio integration ([#​1671](https://togithub.com/getsentry/sentry-python/issues/1671)) by [@​antonpirker](https://togithub.com/antonpirker) - Add exception handling to Asyncio Integration ([#​1695](https://togithub.com/getsentry/sentry-python/issues/1695)) by [@​antonpirker](https://togithub.com/antonpirker) - Fix asyncio task factory ([#​1689](https://togithub.com/getsentry/sentry-python/issues/1689)) by [@​antonpirker](https://togithub.com/antonpirker) - Have instrumentation for ASGI middleware receive/send callbacks. ([#​1673](https://togithub.com/getsentry/sentry-python/issues/1673)) by [@​antonpirker](https://togithub.com/antonpirker) - Use Django internal ASGI handling from Channels version 4.0.0. ([#​1688](https://togithub.com/getsentry/sentry-python/issues/1688)) by [@​antonpirker](https://togithub.com/antonpirker) - fix(integrations): Fix http putrequest when url is None ([#​1693](https://togithub.com/getsentry/sentry-python/issues/1693)) by [@​MattFlower](https://togithub.com/MattFlower) - build(deps): bump checkouts/data-schemas from `f0a57f2` to `a214fbc` ([#​1627](https://togithub.com/getsentry/sentry-python/issues/1627)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump flake8-bugbear from 22.9.11 to 22.9.23 ([#​1637](https://togithub.com/getsentry/sentry-python/issues/1637)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump sphinx from 5.1.1 to 5.2.3 ([#​1653](https://togithub.com/getsentry/sentry-python/issues/1653)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump actions/stale from 5 to 6 ([#​1638](https://togithub.com/getsentry/sentry-python/issues/1638)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump black from 22.8.0 to 22.10.0 ([#​1670](https://togithub.com/getsentry/sentry-python/issues/1670)) by [@​dependabot](https://togithub.com/dependabot) - Remove unused node setup from ci. ([#​1681](https://togithub.com/getsentry/sentry-python/issues/1681)) by [@​antonpirker](https://togithub.com/antonpirker) - Check for Decimal is in_valid_sample_rate ([#​1672](https://togithub.com/getsentry/sentry-python/issues/1672)) by [@​Arvind2222](https://togithub.com/Arvind2222) - Add session for aiohttp integration ([#​1605](https://togithub.com/getsentry/sentry-python/issues/1605)) by [@​denys-pidlisnyi](https://togithub.com/denys-pidlisnyi) - feat(profiling): Extract qualified name for each frame ([#​1669](https://togithub.com/getsentry/sentry-python/issues/1669)) by [@​Zylphrex](https://togithub.com/Zylphrex) - feat(profiling): Attach thread metadata to profiles ([#​1660](https://togithub.com/getsentry/sentry-python/issues/1660)) by [@​Zylphrex](https://togithub.com/Zylphrex) - ref(profiling): Rename profiling frame keys ([#​1680](https://togithub.com/getsentry/sentry-python/issues/1680)) by [@​Zylphrex](https://togithub.com/Zylphrex) - fix(profiling): get_frame_name only look at arguments ([#​1684](https://togithub.com/getsentry/sentry-python/issues/1684)) by [@​Zylphrex](https://togithub.com/Zylphrex) - fix(profiling): Need to sample profile correctly ([#​1679](https://togithub.com/getsentry/sentry-python/issues/1679)) by [@​Zylphrex](https://togithub.com/Zylphrex) - fix(profiling): Race condition spawning multiple profiling threads ([#​1676](https://togithub.com/getsentry/sentry-python/issues/1676)) by [@​Zylphrex](https://togithub.com/Zylphrex) - tests(profiling): Add basic profiling tests ([#​1677](https://togithub.com/getsentry/sentry-python/issues/1677)) by [@​Zylphrex](https://togithub.com/Zylphrex) - tests(profiling): Add tests for thread schedulers ([#​1683](https://togithub.com/getsentry/sentry-python/issues/1683)) by [@​Zylphrex](https://togithub.com/Zylphrex) ### [`v1.9.10`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1910) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.9...1.9.10) ##### Various fixes & improvements - Use content-length header in ASGI instead of reading request body ([#​1646](https://togithub.com/getsentry/sentry-python/issues/1646), [#​1631](https://togithub.com/getsentry/sentry-python/issues/1631), [#​1595](https://togithub.com/getsentry/sentry-python/issues/1595), [#​1573](https://togithub.com/getsentry/sentry-python/issues/1573)) ([#​1649](https://togithub.com/getsentry/sentry-python/issues/1649)) by [@​antonpirker](https://togithub.com/antonpirker) - Added newer Celery versions to test suite ([#​1655](https://togithub.com/getsentry/sentry-python/issues/1655)) by [@​antonpirker](https://togithub.com/antonpirker) - Django 4.x support ([#​1632](https://togithub.com/getsentry/sentry-python/issues/1632)) by [@​antonpirker](https://togithub.com/antonpirker) - Cancel old CI runs when new one is started. ([#​1651](https://togithub.com/getsentry/sentry-python/issues/1651)) by [@​antonpirker](https://togithub.com/antonpirker) - Increase max string size for desc ([#​1647](https://togithub.com/getsentry/sentry-python/issues/1647)) by [@​k-fish](https://togithub.com/k-fish) - Pin Sanic version for CI ([#​1650](https://togithub.com/getsentry/sentry-python/issues/1650)) by [@​antonpirker](https://togithub.com/antonpirker) - Fix for partial signals in old Django and old Python versions. ([#​1641](https://togithub.com/getsentry/sentry-python/issues/1641)) by [@​antonpirker](https://togithub.com/antonpirker) - Convert profile output to the sample format ([#​1611](https://togithub.com/getsentry/sentry-python/issues/1611)) by [@​phacops](https://togithub.com/phacops) - Dynamically adjust profiler sleep time ([#​1634](https://togithub.com/getsentry/sentry-python/issues/1634)) by [@​Zylphrex](https://togithub.com/Zylphrex) ### [`v1.9.9`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#199) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.8...1.9.9) ##### Django update (ongoing) - Instrument Django Signals so they show up in "Performance" view ([#​1526](https://togithub.com/getsentry/sentry-python/issues/1526)) by [@​BeryJu](https://togithub.com/BeryJu) - include other Django enhancements brought up by the community ##### Various fixes & improvements - fix(profiling): Profiler mode type hints ([#​1633](https://togithub.com/getsentry/sentry-python/issues/1633)) by [@​Zylphrex](https://togithub.com/Zylphrex) - New ASGIMiddleware tests ([#​1600](https://togithub.com/getsentry/sentry-python/issues/1600)) by [@​antonpirker](https://togithub.com/antonpirker) - build(deps): bump mypy from 0.961 to 0.971 ([#​1517](https://togithub.com/getsentry/sentry-python/issues/1517)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump black from 22.3.0 to 22.8.0 ([#​1596](https://togithub.com/getsentry/sentry-python/issues/1596)) by [@​dependabot](https://togithub.com/dependabot) - build(deps): bump sphinx from 5.0.2 to 5.1.1 ([#​1524](https://togithub.com/getsentry/sentry-python/issues/1524)) by [@​dependabot](https://togithub.com/dependabot) - ref: upgrade linters to flake8 5.x ([#​1610](https://togithub.com/getsentry/sentry-python/issues/1610)) by [@​asottile-sentry](https://togithub.com/asottile-sentry) - feat(profiling): Introduce different profiler schedulers ([#​1616](https://togithub.com/getsentry/sentry-python/issues/1616)) by [@​Zylphrex](https://togithub.com/Zylphrex) - fix(profiling): Check transaction sampled status before profiling ([#​1624](https://togithub.com/getsentry/sentry-python/issues/1624)) by [@​Zylphrex](https://togithub.com/Zylphrex) - Wrap Baggage ser/deser in capture_internal_exceptions ([#​1630](https://togithub.com/getsentry/sentry-python/issues/1630)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - Faster Tests (DjangoCon) ([#​1602](https://togithub.com/getsentry/sentry-python/issues/1602)) by [@​antonpirker](https://togithub.com/antonpirker) - feat(profiling): Add support for profiles_sample_rate ([#​1613](https://togithub.com/getsentry/sentry-python/issues/1613)) by [@​Zylphrex](https://togithub.com/Zylphrex) - feat(profiling): Support for multithreaded profiles ([#​1570](https://togithub.com/getsentry/sentry-python/issues/1570)) by [@​Zylphrex](https://togithub.com/Zylphrex) ### [`v1.9.8`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#198) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.7...1.9.8) ##### Various fixes & improvements - Baggage creation for head of trace ([#​1589](https://togithub.com/getsentry/sentry-python/issues/1589)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - The SDK now also generates new baggage entries for dynamic sampling when it is the first (head) SDK in the pipeline. ### [`v1.9.7`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#197) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.6...1.9.7) ##### Various fixes & improvements - Let SentryAsgiMiddleware work with Starlette and FastAPI integrations ([#​1594](https://togithub.com/getsentry/sentry-python/issues/1594)) by [@​antonpirker](https://togithub.com/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. ### [`v1.9.6`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#196) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.5...1.9.6) ##### Various fixes & improvements - Auto-enable Starlette and FastAPI ([#​1533](https://togithub.com/getsentry/sentry-python/issues/1533)) by [@​antonpirker](https://togithub.com/antonpirker) - Add more version constraints ([#​1574](https://togithub.com/getsentry/sentry-python/issues/1574)) by [@​isra17](https://togithub.com/isra17) - Fix typo in starlette attribute check ([#​1566](https://togithub.com/getsentry/sentry-python/issues/1566)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) ### [`v1.9.5`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#195) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.4...1.9.5) ##### Various fixes & improvements - fix(redis): import redis pipeline using full path ([#​1565](https://togithub.com/getsentry/sentry-python/issues/1565)) by [@​olksdr](https://togithub.com/olksdr) - Fix side effects for parallel tests ([#​1554](https://togithub.com/getsentry/sentry-python/issues/1554)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) ### [`v1.9.4`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#194) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.3...1.9.4) ##### Various fixes & improvements - Remove TRANSACTION_SOURCE_UNKNOWN and default to CUSTOM ([#​1558](https://togithub.com/getsentry/sentry-python/issues/1558)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - feat(redis): Add instrumentation for redis pipeline ([#​1543](https://togithub.com/getsentry/sentry-python/issues/1543)) by [@​jjbayer](https://togithub.com/jjbayer) - Handle no release when uploading profiles ([#​1548](https://togithub.com/getsentry/sentry-python/issues/1548)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) ### [`v1.9.3`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#193) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.2...1.9.3) ##### Various fixes & improvements - Wrap StarletteRequestExtractor in capture_internal_exceptions ([#​1551](https://togithub.com/getsentry/sentry-python/issues/1551)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) ### [`v1.9.2`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#192) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.1...1.9.2) ##### Various fixes & improvements - chore: remove quotes ([#​1545](https://togithub.com/getsentry/sentry-python/issues/1545)) by [@​vladanpaunovic](https://togithub.com/vladanpaunovic) ### [`v1.9.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1910) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.9.0...1.9.1) ##### Various fixes & improvements - Use content-length header in ASGI instead of reading request body ([#​1646](https://togithub.com/getsentry/sentry-python/issues/1646), [#​1631](https://togithub.com/getsentry/sentry-python/issues/1631), [#​1595](https://togithub.com/getsentry/sentry-python/issues/1595), [#​1573](https://togithub.com/getsentry/sentry-python/issues/1573)) ([#​1649](https://togithub.com/getsentry/sentry-python/issues/1649)) by [@​antonpirker](https://togithub.com/antonpirker) - Added newer Celery versions to test suite ([#​1655](https://togithub.com/getsentry/sentry-python/issues/1655)) by [@​antonpirker](https://togithub.com/antonpirker) - Django 4.x support ([#​1632](https://togithub.com/getsentry/sentry-python/issues/1632)) by [@​antonpirker](https://togithub.com/antonpirker) - Cancel old CI runs when new one is started. ([#​1651](https://togithub.com/getsentry/sentry-python/issues/1651)) by [@​antonpirker](https://togithub.com/antonpirker) - Increase max string size for desc ([#​1647](https://togithub.com/getsentry/sentry-python/issues/1647)) by [@​k-fish](https://togithub.com/k-fish) - Pin Sanic version for CI ([#​1650](https://togithub.com/getsentry/sentry-python/issues/1650)) by [@​antonpirker](https://togithub.com/antonpirker) - Fix for partial signals in old Django and old Python versions. ([#​1641](https://togithub.com/getsentry/sentry-python/issues/1641)) by [@​antonpirker](https://togithub.com/antonpirker) - Convert profile output to the sample format ([#​1611](https://togithub.com/getsentry/sentry-python/issues/1611)) by [@​phacops](https://togithub.com/phacops) - Dynamically adjust profiler sleep time ([#​1634](https://togithub.com/getsentry/sentry-python/issues/1634)) by [@​Zylphrex](https://togithub.com/Zylphrex) ### [`v1.9.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#190) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.8.0...1.9.0) ##### Various fixes & improvements - feat(profiler): Add experimental profiler under experiments.enable_profiling ([#​1481](https://togithub.com/getsentry/sentry-python/issues/1481)) by [@​szokeasaurusrex](https://togithub.com/szokeasaurusrex) - Fixed problem with broken response and python-multipart ([#​1516](https://togithub.com/getsentry/sentry-python/issues/1516)) by [@​antonpirker](https://togithub.com/antonpirker) ### [`v1.8.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#180) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.7.2...1.8.0) ##### Various fixes & improvements - feat(starlette): add Starlette integration ([#​1441](https://togithub.com/getsentry/sentry-python/issues/1441)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) **Important:** Remove manual usage of `SentryAsgiMiddleware`! This is now done by the Starlette integration. Usage: ```python 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](https://togithub.com/getsentry/sentry-python/issues/829)) by [@​antonpirker](https://togithub.com/antonpirker) **Important:** Remove manual usage of `SentryAsgiMiddleware`! This is now done by the FastAPI integration. Usage: ```python 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](https://togithub.com/getsentry/sentry-python/issues/1507)) by [@​intgr](https://togithub.com/intgr) - fix: properly freeze Baggage object ([#​1508](https://togithub.com/getsentry/sentry-python/issues/1508)) by [@​intgr](https://togithub.com/intgr) - docs: fix simple typo, collecter | collector ([#​1505](https://togithub.com/getsentry/sentry-python/issues/1505)) by [@​timgates42](https://togithub.com/timgates42) ### [`v1.7.2`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#172) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.7.1...1.7.2) ##### Various fixes & improvements - feat(transactions): Transaction Source ([#​1490](https://togithub.com/getsentry/sentry-python/issues/1490)) by [@​antonpirker](https://togithub.com/antonpirker) - Removed (unused) sentry_timestamp header ([#​1494](https://togithub.com/getsentry/sentry-python/issues/1494)) by [@​antonpirker](https://togithub.com/antonpirker) ### [`v1.7.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#171) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.7.0...1.7.1) ##### Various fixes & improvements - Skip malformed baggage items ([#​1491](https://togithub.com/getsentry/sentry-python/issues/1491)) by [@​robyoung](https://togithub.com/robyoung) ### [`v1.7.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#170) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.6.0...1.7.0) ##### Various fixes & improvements - feat(tracing): Dynamic Sampling Context / Baggage continuation ([#​1485](https://togithub.com/getsentry/sentry-python/issues/1485)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) The SDK now propagates the [W3C Baggage Header](https://www.w3.org/TR/baggage/) from incoming transactions to outgoing requests. It also extracts Sentry specific [sampling information](https://develop.sentry.dev/sdk/performance/dynamic-sampling-context/) and adds it to the transaction headers to enable Dynamic Sampling in the product. ### [`v1.6.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#160) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.12...1.6.0) ##### Various fixes & improvements - Fix Deployment ([#​1474](https://togithub.com/getsentry/sentry-python/issues/1474)) by [@​antonpirker](https://togithub.com/antonpirker) - Serverless V2 ([#​1450](https://togithub.com/getsentry/sentry-python/issues/1450)) by [@​antonpirker](https://togithub.com/antonpirker) - Use logging levelno instead of levelname. Levelnames can be overridden ([#​1449](https://togithub.com/getsentry/sentry-python/issues/1449)) by [@​rrauenza](https://togithub.com/rrauenza) ### [`v1.5.12`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1512) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.11...1.5.12) ##### Various fixes & improvements - feat(measurements): Add experimental set_measurement api on transaction ([#​1359](https://togithub.com/getsentry/sentry-python/issues/1359)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - fix: Remove incorrect usage from flask helper example ([#​1434](https://togithub.com/getsentry/sentry-python/issues/1434)) by [@​BYK](https://togithub.com/BYK) ### [`v1.5.11`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1511) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.10...1.5.11) ##### Various fixes & improvements - chore: Bump mypy and fix abstract ContextManager typing ([#​1421](https://togithub.com/getsentry/sentry-python/issues/1421)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - chore(issues): add link to Sentry support ([#​1420](https://togithub.com/getsentry/sentry-python/issues/1420)) by [@​vladanpaunovic](https://togithub.com/vladanpaunovic) - fix: replace git.io links with redirect targets ([#​1412](https://togithub.com/getsentry/sentry-python/issues/1412)) by [@​asottile-sentry](https://togithub.com/asottile-sentry) - ref: Update error verbose for sentry init ([#​1361](https://togithub.com/getsentry/sentry-python/issues/1361)) by [@​targhs](https://togithub.com/targhs) - fix(sessions): Update session also for non sampled events and change filter order ([#​1394](https://togithub.com/getsentry/sentry-python/issues/1394)) by [@​adinauer](https://togithub.com/adinauer) ### [`v1.5.10`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1510) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.9...1.5.10) ##### Various fixes & improvements - Remove Flask version contraint ([#​1395](https://togithub.com/getsentry/sentry-python/issues/1395)) by [@​antonpirker](https://togithub.com/antonpirker) - Change ordering of event drop mechanisms ([#​1390](https://togithub.com/getsentry/sentry-python/issues/1390)) by [@​adinauer](https://togithub.com/adinauer) ### [`v1.5.9`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#159) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.8...1.5.9) ##### Various fixes & improvements - fix(sqlalchemy): Use context instead of connection in sqlalchemy integration ([#​1388](https://togithub.com/getsentry/sentry-python/issues/1388)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - Update correct test command in contributing docs ([#​1377](https://togithub.com/getsentry/sentry-python/issues/1377)) by [@​targhs](https://togithub.com/targhs) - Update black ([#​1379](https://togithub.com/getsentry/sentry-python/issues/1379)) by [@​antonpirker](https://togithub.com/antonpirker) - build(deps): bump sphinx from 4.1.1 to 4.5.0 ([#​1376](https://togithub.com/getsentry/sentry-python/issues/1376)) by [@​dependabot](https://togithub.com/dependabot) - fix: Auto-enabling Redis and Pyramid integration ([#​737](https://togithub.com/getsentry/sentry-python/issues/737)) by [@​untitaker](https://togithub.com/untitaker) - feat(testing): Add pytest-watch ([#​853](https://togithub.com/getsentry/sentry-python/issues/853)) by [@​lobsterkatie](https://togithub.com/lobsterkatie) - Treat x-api-key header as sensitive ([#​1236](https://togithub.com/getsentry/sentry-python/issues/1236)) by [@​simonschmidt](https://togithub.com/simonschmidt) - fix: Remove obsolete MAX_FORMAT_PARAM_LENGTH ([#​1375](https://togithub.com/getsentry/sentry-python/issues/1375)) by [@​blueyed](https://togithub.com/blueyed) ### [`v1.5.8`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#158) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.7...1.5.8) ##### Various fixes & improvements - feat(asgi): Add support for setting transaction name to path in FastAPI ([#​1349](https://togithub.com/getsentry/sentry-python/issues/1349)) by [@​tiangolo](https://togithub.com/tiangolo) - fix(sqlalchemy): Change context manager type to avoid race in threads ([#​1368](https://togithub.com/getsentry/sentry-python/issues/1368)) by [@​Fofanko](https://togithub.com/Fofanko) - fix(perf): Fix transaction setter on scope to use containing_transaction to match with getter ([#​1366](https://togithub.com/getsentry/sentry-python/issues/1366)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - chore(ci): Change stale GitHub workflow to run once a day ([#​1367](https://togithub.com/getsentry/sentry-python/issues/1367)) by [@​kamilogorek](https://togithub.com/kamilogorek) - feat(django): Make django middleware expose more wrapped attributes ([#​1202](https://togithub.com/getsentry/sentry-python/issues/1202)) by [@​MattFisher](https://togithub.com/MattFisher) ### [`v1.5.7`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#157) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.6...1.5.7) ##### Various fixes & improvements - fix(serializer): Make sentry_repr dunder method to avoid mock problems ([#​1364](https://togithub.com/getsentry/sentry-python/issues/1364)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) ### [`v1.5.6`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#156) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.5...1.5.6) ##### Various fixes & improvements - Create feature.yml ([#​1350](https://togithub.com/getsentry/sentry-python/issues/1350)) by [@​vladanpaunovic](https://togithub.com/vladanpaunovic) - Update contribution guide ([#​1346](https://togithub.com/getsentry/sentry-python/issues/1346)) by [@​antonpirker](https://togithub.com/antonpirker) - chore: add bug issue template ([#​1345](https://togithub.com/getsentry/sentry-python/issues/1345)) by [@​vladanpaunovic](https://togithub.com/vladanpaunovic) - Added default value for auto_session_tracking ([#​1337](https://togithub.com/getsentry/sentry-python/issues/1337)) by [@​antonpirker](https://togithub.com/antonpirker) - docs(readme): reordered content ([#​1343](https://togithub.com/getsentry/sentry-python/issues/1343)) by [@​antonpirker](https://togithub.com/antonpirker) - fix(tests): Removed unsupported Django 1.6 from tests to avoid confusion ([#​1338](https://togithub.com/getsentry/sentry-python/issues/1338)) by [@​antonpirker](https://togithub.com/antonpirker) - Group captured warnings under separate issues ([#​1324](https://togithub.com/getsentry/sentry-python/issues/1324)) by [@​mnito](https://togithub.com/mnito) - build(changelogs): Use automated changelogs from Craft ([#​1340](https://togithub.com/getsentry/sentry-python/issues/1340)) by [@​BYK](https://togithub.com/BYK) - fix(aiohttp): AioHttpIntegration sentry_app_handle() now ignores ConnectionResetError ([#​1331](https://togithub.com/getsentry/sentry-python/issues/1331)) by [@​cmalek](https://togithub.com/cmalek) - meta: Remove black GH action ([#​1339](https://togithub.com/getsentry/sentry-python/issues/1339)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - feat(flask): Add `sentry_trace()` template helper ([#​1336](https://togithub.com/getsentry/sentry-python/issues/1336)) by [@​BYK](https://togithub.com/BYK) ### [`v1.5.5`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#155) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.4...1.5.5) - Add session tracking to ASGI integration ([#​1329](https://togithub.com/getsentry/sentry-python/issues/1329)) - Pinning test requirements versions ([#​1330](https://togithub.com/getsentry/sentry-python/issues/1330)) - Allow classes to short circuit serializer with `sentry_repr` ([#​1322](https://togithub.com/getsentry/sentry-python/issues/1322)) - Set default on json.dumps in compute_tracestate_value to ensure string conversion ([#​1318](https://togithub.com/getsentry/sentry-python/issues/1318)) Work in this release contributed by [@​tomchuk](https://togithub.com/tomchuk). Thank you for your contribution! ### [`v1.5.4`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#154) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.3...1.5.4) - Add Python 3.10 to test suite ([#​1309](https://togithub.com/getsentry/sentry-python/issues/1309)) - Capture only 5xx HTTP errors in Falcon Integration ([#​1314](https://togithub.com/getsentry/sentry-python/issues/1314)) - Attempt custom urlconf resolve in `got_request_exception` as well ([#​1317](https://togithub.com/getsentry/sentry-python/issues/1317)) ### [`v1.5.3`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#153) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.2...1.5.3) - Pick up custom urlconf set by Django middlewares from request if any ([#​1308](https://togithub.com/getsentry/sentry-python/issues/1308)) ### [`v1.5.2`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#152) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.1...1.5.2) - Record event_processor client reports [#​1281](https://togithub.com/getsentry/sentry-python/issues/1281) - Add a Quart integration [#​1248](https://togithub.com/getsentry/sentry-python/issues/1248) - Sanic v21.12 support [#​1292](https://togithub.com/getsentry/sentry-python/issues/1292) - Support Celery abstract tasks [#​1287](https://togithub.com/getsentry/sentry-python/issues/1287) Work in this release contributed by [@​johnzeringue](https://togithub.com/johnzeringue), [@​pgjones](https://togithub.com/pgjones) and [@​ahopkins](https://togithub.com/ahopkins). Thank you for your contribution! ### [`v1.5.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1512) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.5.0...1.5.1) ##### Various fixes & improvements - feat(measurements): Add experimental set_measurement api on transaction ([#​1359](https://togithub.com/getsentry/sentry-python/issues/1359)) by [@​sl0thentr0py](https://togithub.com/sl0thentr0py) - fix: Remove incorrect usage from flask helper example ([#​1434](https://togithub.com/getsentry/sentry-python/issues/1434)) by [@​BYK](https://togithub.com/BYK) ### [`v1.5.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#150) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.4.3...1.5.0) - Also record client outcomes for before send [#​1211](https://togithub.com/getsentry/sentry-python/issues/1211) - Add support for implicitly sized envelope items [#​1229](https://togithub.com/getsentry/sentry-python/issues/1229) - Fix integration with Apache Beam 2.32, 2.33 [#​1233](https://togithub.com/getsentry/sentry-python/issues/1233) - Remove Python 2.7 support for AWS Lambda layers in craft config [#​1241](https://togithub.com/getsentry/sentry-python/issues/1241) - Refactor Sanic integration for v21.9 support [#​1212](https://togithub.com/getsentry/sentry-python/issues/1212) - AWS Lambda Python 3.9 runtime support [#​1239](https://togithub.com/getsentry/sentry-python/issues/1239) - Fix "shutdown_timeout" typing [#​1256](https://togithub.com/getsentry/sentry-python/issues/1256) Work in this release contributed by [@​galuszkak](https://togithub.com/galuszkak), [@​kianmeng](https://togithub.com/kianmeng), [@​ahopkins](https://togithub.com/ahopkins), [@​razumeiko](https://togithub.com/razumeiko), [@​tomscytale](https://togithub.com/tomscytale), and [@​seedofjoy](https://togithub.com/seedofjoy). Thank you for your contribution! ### [`v1.4.3`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#143) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.4.2...1.4.3) - Turned client reports on by default. ### [`v1.4.2`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#142) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.4.1...1.4.2) - Made envelope modifications in the HTTP transport non observable [#​1206](https://togithub.com/getsentry/sentry-python/issues/1206) ### [`v1.4.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#141) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.4.0...1.4.1) - Fix race condition between `finish` and `start_child` in tracing [#​1203](https://togithub.com/getsentry/sentry-python/issues/1203) ### [`v1.4.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#140) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.3.1...1.4.0) - No longer set the last event id for transactions [#​1186](https://togithub.com/getsentry/sentry-python/issues/1186) - Added support for client reports (disabled by default for now) [#​1181](https://togithub.com/getsentry/sentry-python/issues/1181) - Added `tracestate` header handling [#​1179](https://togithub.com/getsentry/sentry-python/issues/1179) - Added real ip detection to asgi integration [#​1199](https://togithub.com/getsentry/sentry-python/issues/1199) ### [`v1.3.1`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#131) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.3.0...1.3.1) - Fix detection of contextvars compatibility with Gevent versions >=20.9.0 [#​1157](https://togithub.com/getsentry/sentry-python/issues/1157) ### [`v1.3.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#130) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.2.0...1.3.0) - Add support for Sanic versions 20 and 21 [#​1146](https://togithub.com/getsentry/sentry-python/issues/1146) ### [`v1.2.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#120) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.1.0...1.2.0) - Fix for `AWSLambda` Integration to handle other path formats for function initial handler [#​1139](https://togithub.com/getsentry/sentry-python/issues/1139) - Fix for worker to set daemon attribute instead of deprecated setDaemon method [#​1093](https://togithub.com/getsentry/sentry-python/issues/1093) - Fix for `bottle` Integration that discards `-dev` for version extraction [#​1085](https://togithub.com/getsentry/sentry-python/issues/1085) - Fix for transport that adds a unified hook for capturing metrics about dropped events [#​1100](https://togithub.com/getsentry/sentry-python/issues/1100) - Add `Httpx` Integration [#​1119](https://togithub.com/getsentry/sentry-python/issues/1119) - Add support for china domains in `AWSLambda` Integration [#​1051](https://togithub.com/getsentry/sentry-python/issues/1051)

Configuration

📅 Schedule: Branch creation - "" in timezone US/Eastern, Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR has been generated by Mend Renovate. View repository job log here.