Commit d5079ff
fix(core): Fix stale deprecation references (#5881)
* fix(core): Fix stale deprecation references
- Update `initialScope` deprecation to point to `getGlobalScope()`/
`getIsolationScope()` instead of removed `configureScope()` API
- Update stale "Remove in v7" comment to "Remove in v9" since the
`_experiments` replay options compat shim was not removed in v8
Ref: https://develop.sentry.dev/sdk/
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
* fix(core): Show setter pattern in initialScope deprecation message
The deprecation should show how to mutate the scope, not just how to
get it.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 9662540 commit d5079ff
2 files changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
152 | 152 | | |
153 | 153 | | |
154 | 154 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
125 | 125 | | |
126 | 126 | | |
127 | 127 | | |
128 | | - | |
| 128 | + | |
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
| |||
0 commit comments