You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Looking to upgrade from Sentry SDK 1.x to 2.x? Here's a comprehensive list of wh
21
21
Your existing implementation:
22
22
```python
23
23
transaction = sentry_sdk.transaction(...)
24
-
24
+
25
25
# later in the code execution:
26
26
27
27
with sentry_sdk.configure_scope() as scope:
@@ -31,7 +31,7 @@ Looking to upgrade from Sentry SDK 1.x to 2.x? Here's a comprehensive list of wh
31
31
needs to be changed to this:
32
32
```python
33
33
transaction = sentry_sdk.transaction(...)
34
-
34
+
35
35
# later in the code execution:
36
36
37
37
scope = sentry_sdk.Scope.get_current_scope()
@@ -56,6 +56,7 @@ Looking to upgrade from Sentry SDK 1.x to 2.x? Here's a comprehensive list of wh
56
56
- Removed support for Celery 3.\*.
57
57
- Removed support for Django 1.8, 1.9, 1.10.
58
58
- Removed support for Flask 0.\*.
59
+
- Removed support for gRPC <1.39.
59
60
- Removed `last_event_id()` top level API. The last event IDis still returned by `capture_event()`, `capture_exception()`and`capture_message()` but the top level API`sentry_sdk.last_event_id()` has been removed.
60
61
- Removed support for sending events to the `/store` endpoint. Everything is now sent to the `/envelope` endpoint. If you're on SaaS you don't have to worry about this, but if you're running Sentry yourself you'll need version `20.6.0`or higher of self-hosted Sentry.
61
62
- The deprecated `with_locals` configuration option was removed. Use `include_local_variables` instead. See https://docs.sentry.io/platforms/python/configuration/options/#include-local-variables.
0 commit comments