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
Drop:
- setting `Scope.transaction` directly
- old way of setting `failed_request_status_codes`
- setting the `span` argument of `Scope.trace_propagation_meta`
- setting `Scope.user` directly
Copy file name to clipboardExpand all lines: MIGRATION_GUIDE.md
+4
Original file line number
Diff line number
Diff line change
@@ -157,6 +157,10 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
157
157
-`profiles_sample_rate` and `profiler_mode` were removed from options available via `_experiments`. Use the top-level `profiles_sample_rate` and `profiler_mode` options instead.
158
158
-`Transport.capture_event` has been removed. Use `Transport.capture_envelope` instead.
159
159
- Function transports are no longer supported. Subclass the `Transport` instead.
160
+
- Setting `Scope.transaction` directly is no longer supported. Use `Scope.set_transaction_name()` instead.
161
+
- Passing a list or `None` for `failed_request_status_codes` in the Starlette integration is no longer supported. Pass a set of integers instead.
162
+
- The `span` argument of `Scope.trace_propagation_meta` is no longer supported.
163
+
- Setting `Scope.user` directly is no longer supported. Use `Scope.set_user()` instead.
160
164
-`start_transaction` (`start_span`) no longer takes a `baggage` argument. Use the `continue_trace()` context manager instead to propagate baggage.
0 commit comments