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
feat(aws-serverless)!: Remove unused startTrace option and tryPatchHandler (#23219)
Removes two deprecated, unused parts of the `@sentry/aws-serverless`
public API:
- The `startTrace` option on `wrapHandler` — it had no effect (to
disable tracing, set `tracesSampleRate` to `0`).
- The `tryPatchHandler` function.
Both are already documented in `docs/migration/v11-end-state.md`.
Fixes#22252
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
'The `startTrace` option is deprecated and will be removed in a future major version. If you want to disable tracing, set `SENTRY_TRACES_SAMPLE_RATE` to `0.0`.',
177
-
);
178
-
});
179
-
}
180
-
181
154
constoptions: WrapperOptions={
182
155
flushTimeout: 2000,
183
156
callbackWaitsForEmptyEventLoop: false,
184
157
captureTimeoutWarning: true,
185
158
timeoutWarningLimit: 500,
186
159
captureAllSettledReasons: false,
187
-
// oxlint-disable-next-line typescript/no-deprecated -- set only to satisfy the type; see the TODO below
188
-
startTrace: true,// TODO(v11): Remove this option. Set to true here to satisfy the type, but has no effect.
0 commit comments