|
4 | 4 |
|
5 | 5 | ### Various fixes & improvements
|
6 | 6 |
|
7 |
| -- feat(tests): Do not include type checking code in coverage report (#3327) by @antonpirker |
8 |
| -- feat(integrations): Add `disabled_integrations` (#3328) by @sentrivana |
9 |
| -- Add tests for @ai_track decorator (#3325) by @colin-sentry |
10 |
| -- ref(logging): Lower logger level for some messages (#3305) by @sentrivana |
11 |
| -- feat(hub): Emit deprecation warnings from `Hub` API (#3280) by @szokeasaurusrex |
12 |
| -- meta: Allow blank GitHub issues (#3311) by @szokeasaurusrex |
13 |
| -- test: Only assert warnings we are interested in (#3314) by @szokeasaurusrex |
14 |
| -- Make Django db spans have origin auto.db.django (#3319) by @antonpirker |
15 |
| -- docs: Clarify that `instrumenter` is internal-only (#3299) by @szokeasaurusrex |
16 |
| -- Sort breadcrumbs before sending (#3307) by @antonpirker |
17 |
| -- test: fix test_installed_modules (#3309) by @szokeasaurusrex |
18 |
| -- fix(integrations): KeyError('sentry-monitor-start-timestamp-s') (#3278) by @Mohsen-Khodabakhshi |
| 7 | +- Add `disabled_integrations` (#3328) by @sentrivana |
| 8 | + |
| 9 | + Disabling specific auto-enabled integrations is now much easier. |
| 10 | + Instead of disabling all auto-enabled integrations and specifying the ones |
| 11 | + you want to keep, you can now use the new |
| 12 | + [`disabled_integrations`](https://docs.sentry.io/platforms/python/configuration/options/#auto-enabling-integrations) |
| 13 | + config option to provide a list of integrations to disable: |
| 14 | + |
| 15 | + ```python |
| 16 | + import sentry_sdk |
| 17 | + from sentry_sdk.integrations.flask import FlaskIntegration |
| 18 | + |
| 19 | + sentry_sdk.init( |
| 20 | + # Do not use the Flask integration even if Flask is installed. |
| 21 | + disabled_integrations=[ |
| 22 | + FlaskIntegration(), |
| 23 | + ], |
| 24 | + ) |
| 25 | + ``` |
| 26 | + |
| 27 | +- Use operation name as transaction name in Strawberry (#3294) by @sentrivana |
| 28 | +- WSGI integrations respect `SCRIPT_NAME` env variable (#2622) by @sarvaSanjay |
| 29 | +- Make Django DB spans have origin `auto.db.django` (#3319) by @antonpirker |
| 30 | +- Sort breadcrumbs by time before sending (#3307) by @antonpirker |
| 31 | +- Fix `KeyError('sentry-monitor-start-timestamp-s')` (#3278) by @Mohsen-Khodabakhshi |
| 32 | +- Set MongoDB tags directly on span data (#3290) by @0Calories |
| 33 | +- Lower logger level for some messages (#3305) by @sentrivana and @antonpirker |
| 34 | +- Emit deprecation warnings from `Hub` API (#3280) by @szokeasaurusrex |
| 35 | +- Clarify that `instrumenter` is internal-only (#3299) by @szokeasaurusrex |
| 36 | +- Support Django 5.1 (#3207) by @sentrivana |
| 37 | +- Remove apparently unnecessary `if` (#3298) by @szokeasaurusrex |
| 38 | +- Preliminary support for Python 3.13 (#3200) by @sentrivana |
| 39 | +- Move `sentry_sdk.init` out of `hub.py` (#3276) by @szokeasaurusrex |
| 40 | +- Unhardcode integration list (#3240) by @rominf |
| 41 | +- Allow passing of PostgreSQL port in tests (#3281) by @rominf |
| 42 | +- Add tests for `@ai_track` decorator (#3325) by @colin-sentry |
| 43 | +- Do not include type checking code in coverage report (#3327) by @antonpirker |
| 44 | +- Fix test_installed_modules (#3309) by @szokeasaurusrex |
| 45 | +- Fix typos and grammar in a comment (#3293) by @szokeasaurusrex |
19 | 46 | - Fixed failed tests setup (#3303) by @antonpirker
|
20 |
| -- feat(pymongo): Set MongoDB tags directly on span data (#3290) by @0Calories |
21 |
| -- feat(integrations): Support Django 5.1 (#3207) by @sentrivana |
22 |
| -- ref(scope): Remove apparently unnecessary `if` (#3298) by @szokeasaurusrex |
23 |
| -- test: Allow passing of PostgreSQL port (#3281) by @rominf |
24 |
| -- feat: Preliminary support for Python 3.13 (#3200) by @sentrivana |
25 |
| -- feat(strawberry): Use operation name as transaction name (#3294) by @sentrivana |
26 |
| -- docs: Fix typos and grammar in a comment (#3293) by @szokeasaurusrex |
27 |
| -- ref(tests): Unhardcode integration list (#3240) by @rominf |
28 |
| -- ref(init): Move `sentry_sdk.init` out of `hub.py` (#3276) by @szokeasaurusrex |
29 |
| -- fix(wsgi): WSGI integrations respect SCRIPT_NAME env variable (#2622) by @sarvaSanjay |
| 47 | +- Only assert warnings we are interested in (#3314) by @szokeasaurusrex |
30 | 48 |
|
31 | 49 | ## 2.10.0
|
32 | 50 |
|
|
0 commit comments