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
- The classes listed in the table below are now abstract base classes. Therefore, they can no longer be instantiated. Subclasses can only be instantiated if they implement all of the abstract methods.
@@ -55,17 +67,18 @@ Looking to upgrade from Sentry SDK 1.x to 2.x? Here's a comprehensive list of wh
55
67
- Removed `sentry_sdk.utils.Auth.store_api_url`.
56
68
-`sentry_sdk.utils.Auth.get_api_url`'s now accepts a `sentry_sdk.consts.EndpointType` enum instead of a string as its only parameter. We recommend omitting this argument when calling the function, since the parameter's default value is the only possible `sentry_sdk.consts.EndpointType` value. The parameter exists for future compatibility.
57
69
- Removed `tracing_utils_py2.py`. The `start_child_span_decorator`is now in`sentry_sdk.tracing_utils`.
70
+
- Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method.
58
71
59
72
## Deprecated
60
73
61
74
-`profiler_mode`and`profiles_sample_rate` have been deprecated as`_experiments` options. Use them as top level options instead:
62
-
```python
63
-
sentry_sdk.init(
64
-
...,
65
-
profiler_mode="thread",
66
-
profiles_sample_rate=1.0,
67
-
)
68
-
```
75
+
```python
76
+
sentry_sdk.init(
77
+
...,
78
+
profiler_mode="thread",
79
+
profiles_sample_rate=1.0,
80
+
)
81
+
```
69
82
- Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead.
70
83
- Passing a function to `sentry_sdk.init`'s `transport` keyword argument has been deprecated. If you wish to provide a custom transport, please pass a `sentry_sdk.transport.Transport` instance or a subclass.
71
84
- The parameter `propagate_hub`in`ThreadingIntegration()` was deprecated and renamed to `propagate_scope`.
0 commit comments