Skip to content

Commit 1feab53

Browse files
committed
ref: Drop hub
1 parent 55852b9 commit 1feab53

8 files changed

Lines changed: 7 additions & 914 deletions

File tree

MIGRATION_GUIDE.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
1313

1414
## Removed
1515

16+
- Removed the deprecated Hub class and all uses of hub throughout the SDK in arguments, options, etc. Use a scope instead.
17+
- Removed the `auto_session_tracing` decorator. Use `track_session` instead.
18+
1619
## Deprecated
1720

1821

sentry_sdk/__init__.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from sentry_sdk.api import * # noqa # isort: skip
99

1010
__all__ = [ # noqa
11-
"Hub",
1211
"Scope",
1312
"Client",
1413
"Transport",
@@ -66,6 +65,3 @@
6665

6766
init_debug_support()
6867
del init_debug_support
69-
70-
# circular imports
71-
from sentry_sdk.hub import Hub

0 commit comments

Comments
 (0)