Skip to content

Commit bbbb165

Browse files
Apply batched suggestions from code review
Co-authored-by: Ivana Kellyer <ivana.kellyer@sentry.io>
1 parent 81d899e commit bbbb165

1 file changed

Lines changed: 2 additions & 12 deletions

File tree

‎MIGRATION_GUIDE.md‎

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -192,16 +192,8 @@ Looking to upgrade from Sentry SDK 2.x to 3.x? Here's a comprehensive list of wh
192192
- Direct assignment to `Scope.user` was removed. Use `sentry_sdk.set_user` instead.
193193
- `Scope.iter_headers` was removed.
194194
- The SDK won't set any tags on its own anymore.
195-
- The `update_current_span` API was removed.
196-
- `SanicIntegration` no longer accepts `unsampled_statuses`.
197-
- The `trace_ignore_status_codes` option was removed.
198-
- `add_attachment` no longer accepts an `add_to_transactions` argument.
199-
- The `stream_gen_ai_spans` option was removed. All spans are streamed now.
200-
- The `data_collection` option is no longer accessible under `_experiments`. Use it as a top-level option instead.
201-
- The experimental `record_sql_params` option was removed. Use the `database_query_data` setting of `data_collection` instead.
202-
- The `record_params` option of `AsyncPGIntegration` and `AioMySQLIntegration` was removed. Use the `database_query_data` setting of `data_collection` instead.
203-
- The `include_local_variables` option was removed. Use `data_collection`'s `stack_frame_variables` as a drop-in replacement.
204-
- The `include_source_context` option was removed. Use `data_collection`'s `frame_context_lines` for more granular control over the source context reported by specifying the number of lines to include around the failing line, or set `frame_context_lines=0` to disable source context entirely.
195+
196+
## Migration
205197

206198
### Migrating from `send_default_pii` to `data_collection`
207199

@@ -242,8 +234,6 @@ sentry_sdk.init(
242234
)
243235
```
244236

245-
## Deprecated
246-
247237
---------------------------------------------------------------------------------
248238

249239
# Sentry SDK 2.0 Migration Guide

0 commit comments

Comments
 (0)