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
This has been deprecated for 4 years, so I suppose we can remove it now in 2.0.
Removing the __new__ method also fixes our API docs for the Span and Transaction constructors.
Partially addresses getsentry/sentry-docs#5082
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+1
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ Looking to upgrade from Sentry SDK 1.x to 2.x? Here's a comprehensive list of wh
71
71
- Removed support for the `install` method for custom integrations. Please use `setup_once` instead.
72
72
- Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead.
73
73
- Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead.
74
+
- Removed support for creating transactions via `sentry_sdk.tracing.Span(transaction=...)`. To create a transaction, please use `sentry_sdk.tracing.Transaction(name=...)`.
74
75
- Removed `sentry_sdk.utils.Auth.store_api_url`.
75
76
-`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.
76
77
- Removed `tracing_utils_py2.py`. The `start_child_span_decorator`is now in`sentry_sdk.tracing_utils`.
0 commit comments