getsentry/sentry-python (sentry-sdk)
### [`v1.32.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1320)
[Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.31.0...1.32.0)
##### Various fixes & improvements
- **New:** Error monitoring for some of the most popular Python GraphQL libraries:
- Add [GQL GraphQL integration](https://docs.sentry.io/platforms/python/integrations/gql/) ([#2368](https://togithub.com/getsentry/sentry-python/issues/2368)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex)
Usage:
```python
import sentry_sdk
from sentry_sdk.integrations.gql import GQLIntegration
sentry_sdk.init(
dsn='___PUBLIC_DSN___',
integrations=[
GQLIntegration(),
],
)
```
- Add [Graphene GraphQL error integration](https://docs.sentry.io/platforms/python/integrations/graphene/) ([#2389](https://togithub.com/getsentry/sentry-python/issues/2389)) by [@sentrivana](https://togithub.com/sentrivana)
Usage:
```python
import sentry_sdk
from sentry_sdk.integrations.graphene import GrapheneIntegration
sentry_sdk.init(
dsn='___PUBLIC_DSN___',
integrations=[
GrapheneIntegration(),
],
)
```
- Add [Strawberry GraphQL error & tracing integration](https://docs.sentry.io/platforms/python/integrations/strawberry/) ([#2393](https://togithub.com/getsentry/sentry-python/issues/2393)) by [@sentrivana](https://togithub.com/sentrivana)
Usage:
```python
import sentry_sdk
from sentry_sdk.integrations.gql import StrawberryIntegration
sentry_sdk.init(
dsn='___PUBLIC_DSN___',
integrations=[
```
### make sure to set async_execution to False if you're executing
### GraphQL queries synchronously
StrawberryIntegration(async_execution=True),
],
traces_sample_rate=1.0,
)
```
- Add [Ariadne GraphQL error integration](https://docs.sentry.io/platforms/python/integrations/ariadne/) ([#2387](https://togithub.com/getsentry/sentry-python/issues/2387)) by [@sentrivana](https://togithub.com/sentrivana)
Usage:
```python
import sentry_sdk
from sentry_sdk.integrations.ariadne import AriadneIntegration
sentry_sdk.init(
dsn='___PUBLIC_DSN___',
integrations=[
AriadneIntegration(),
],
)
```
- Capture multiple named groups again ([#2432](https://togithub.com/getsentry/sentry-python/issues/2432)) by [@sentrivana](https://togithub.com/sentrivana)
- Don't fail when upstream scheme is unusual ([#2371](https://togithub.com/getsentry/sentry-python/issues/2371)) by [@vanschelven](https://togithub.com/vanschelven)
- Support new RQ version ([#2405](https://togithub.com/getsentry/sentry-python/issues/2405)) by [@antonpirker](https://togithub.com/antonpirker)
- Remove `utcnow`, `utcfromtimestamp` deprecated in Python 3.12 ([#2415](https://togithub.com/getsentry/sentry-python/issues/2415)) by [@rmad17](https://togithub.com/rmad17)
- Add `trace` to `__all__` in top-level `__init__.py` ([#2401](https://togithub.com/getsentry/sentry-python/issues/2401)) by [@lobsterkatie](https://togithub.com/lobsterkatie)
- Move minimetrics code to the SDK ([#2385](https://togithub.com/getsentry/sentry-python/issues/2385)) by [@mitsuhiko](https://togithub.com/mitsuhiko)
- Add configurable compression levels ([#2382](https://togithub.com/getsentry/sentry-python/issues/2382)) by [@mitsuhiko](https://togithub.com/mitsuhiko)
- Shift flushing by up to a rollup window ([#2396](https://togithub.com/getsentry/sentry-python/issues/2396)) by [@mitsuhiko](https://togithub.com/mitsuhiko)
- Make a consistent noop flush behavior ([#2428](https://togithub.com/getsentry/sentry-python/issues/2428)) by [@mitsuhiko](https://togithub.com/mitsuhiko)
- Stronger recursion protection ([#2426](https://togithub.com/getsentry/sentry-python/issues/2426)) by [@mitsuhiko](https://togithub.com/mitsuhiko)
- Remove OpenTelemetryIntegration from **init**.py ([#2379](https://togithub.com/getsentry/sentry-python/issues/2379)) by [@sentrivana](https://togithub.com/sentrivana)
- Update API docs ([#2397](https://togithub.com/getsentry/sentry-python/issues/2397)) by [@antonpirker](https://togithub.com/antonpirker)
- Pin some test requirements because new majors break our tests ([#2404](https://togithub.com/getsentry/sentry-python/issues/2404)) by [@antonpirker](https://togithub.com/antonpirker)
- Run more `requests`, `celery`, `falcon` tests ([#2414](https://togithub.com/getsentry/sentry-python/issues/2414)) by [@sentrivana](https://togithub.com/sentrivana)
- Move `importorskip`s in tests to `__init__.py` files ([#2412](https://togithub.com/getsentry/sentry-python/issues/2412)) by [@sentrivana](https://togithub.com/sentrivana)
- Fix mypy errors ([#2433](https://togithub.com/getsentry/sentry-python/issues/2433)) by [@sentrivana](https://togithub.com/sentrivana)
- Fix pre-commit issues ([#2424](https://togithub.com/getsentry/sentry-python/issues/2424)) by [@bukzor-sentryio](https://togithub.com/bukzor-sentryio)
- Update CONTRIBUTING.md ([#2411](https://togithub.com/getsentry/sentry-python/issues/2411)) by [@sentrivana](https://togithub.com/sentrivana)
- Bump sphinx from 7.2.5 to 7.2.6 ([#2378](https://togithub.com/getsentry/sentry-python/issues/2378)) by [@dependabot](https://togithub.com/dependabot)
- \[Experimental] Add explain plan to db spans ([#2315](https://togithub.com/getsentry/sentry-python/issues/2315)) by [@antonpirker](https://togithub.com/antonpirker)
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
1.31.0
->1.32.0
Release Notes
getsentry/sentry-python (sentry-sdk)
### [`v1.32.0`](https://togithub.com/getsentry/sentry-python/blob/HEAD/CHANGELOG.md#1320) [Compare Source](https://togithub.com/getsentry/sentry-python/compare/1.31.0...1.32.0) ##### Various fixes & improvements - **New:** Error monitoring for some of the most popular Python GraphQL libraries: - Add [GQL GraphQL integration](https://docs.sentry.io/platforms/python/integrations/gql/) ([#2368](https://togithub.com/getsentry/sentry-python/issues/2368)) by [@szokeasaurusrex](https://togithub.com/szokeasaurusrex) Usage: ```python import sentry_sdk from sentry_sdk.integrations.gql import GQLIntegration sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ GQLIntegration(), ], ) ``` - Add [Graphene GraphQL error integration](https://docs.sentry.io/platforms/python/integrations/graphene/) ([#2389](https://togithub.com/getsentry/sentry-python/issues/2389)) by [@sentrivana](https://togithub.com/sentrivana) Usage: ```python import sentry_sdk from sentry_sdk.integrations.graphene import GrapheneIntegration sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ GrapheneIntegration(), ], ) ``` - Add [Strawberry GraphQL error & tracing integration](https://docs.sentry.io/platforms/python/integrations/strawberry/) ([#2393](https://togithub.com/getsentry/sentry-python/issues/2393)) by [@sentrivana](https://togithub.com/sentrivana) Usage: ```python import sentry_sdk from sentry_sdk.integrations.gql import StrawberryIntegration sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ ``` ### make sure to set async_execution to False if you're executing ### GraphQL queries synchronously StrawberryIntegration(async_execution=True), ], traces_sample_rate=1.0, ) ``` - Add [Ariadne GraphQL error integration](https://docs.sentry.io/platforms/python/integrations/ariadne/) ([#2387](https://togithub.com/getsentry/sentry-python/issues/2387)) by [@sentrivana](https://togithub.com/sentrivana) Usage: ```python import sentry_sdk from sentry_sdk.integrations.ariadne import AriadneIntegration sentry_sdk.init( dsn='___PUBLIC_DSN___', integrations=[ AriadneIntegration(), ], ) ``` - Capture multiple named groups again ([#2432](https://togithub.com/getsentry/sentry-python/issues/2432)) by [@sentrivana](https://togithub.com/sentrivana) - Don't fail when upstream scheme is unusual ([#2371](https://togithub.com/getsentry/sentry-python/issues/2371)) by [@vanschelven](https://togithub.com/vanschelven) - Support new RQ version ([#2405](https://togithub.com/getsentry/sentry-python/issues/2405)) by [@antonpirker](https://togithub.com/antonpirker) - Remove `utcnow`, `utcfromtimestamp` deprecated in Python 3.12 ([#2415](https://togithub.com/getsentry/sentry-python/issues/2415)) by [@rmad17](https://togithub.com/rmad17) - Add `trace` to `__all__` in top-level `__init__.py` ([#2401](https://togithub.com/getsentry/sentry-python/issues/2401)) by [@lobsterkatie](https://togithub.com/lobsterkatie) - Move minimetrics code to the SDK ([#2385](https://togithub.com/getsentry/sentry-python/issues/2385)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Add configurable compression levels ([#2382](https://togithub.com/getsentry/sentry-python/issues/2382)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Shift flushing by up to a rollup window ([#2396](https://togithub.com/getsentry/sentry-python/issues/2396)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Make a consistent noop flush behavior ([#2428](https://togithub.com/getsentry/sentry-python/issues/2428)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Stronger recursion protection ([#2426](https://togithub.com/getsentry/sentry-python/issues/2426)) by [@mitsuhiko](https://togithub.com/mitsuhiko) - Remove OpenTelemetryIntegration from **init**.py ([#2379](https://togithub.com/getsentry/sentry-python/issues/2379)) by [@sentrivana](https://togithub.com/sentrivana) - Update API docs ([#2397](https://togithub.com/getsentry/sentry-python/issues/2397)) by [@antonpirker](https://togithub.com/antonpirker) - Pin some test requirements because new majors break our tests ([#2404](https://togithub.com/getsentry/sentry-python/issues/2404)) by [@antonpirker](https://togithub.com/antonpirker) - Run more `requests`, `celery`, `falcon` tests ([#2414](https://togithub.com/getsentry/sentry-python/issues/2414)) by [@sentrivana](https://togithub.com/sentrivana) - Move `importorskip`s in tests to `__init__.py` files ([#2412](https://togithub.com/getsentry/sentry-python/issues/2412)) by [@sentrivana](https://togithub.com/sentrivana) - Fix mypy errors ([#2433](https://togithub.com/getsentry/sentry-python/issues/2433)) by [@sentrivana](https://togithub.com/sentrivana) - Fix pre-commit issues ([#2424](https://togithub.com/getsentry/sentry-python/issues/2424)) by [@bukzor-sentryio](https://togithub.com/bukzor-sentryio) - Update CONTRIBUTING.md ([#2411](https://togithub.com/getsentry/sentry-python/issues/2411)) by [@sentrivana](https://togithub.com/sentrivana) - Bump sphinx from 7.2.5 to 7.2.6 ([#2378](https://togithub.com/getsentry/sentry-python/issues/2378)) by [@dependabot](https://togithub.com/dependabot) - \[Experimental] Add explain plan to db spans ([#2315](https://togithub.com/getsentry/sentry-python/issues/2315)) by [@antonpirker](https://togithub.com/antonpirker)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.