feat(aws-serverless)!: Remove unused startTrace option and tryPatchHandler - #23219
Merged
Merged
Conversation
…ndler Remove the deprecated `startTrace` wrapper option and the `tryPatchHandler` function from `@sentry/aws-serverless`. Both were no longer used and only kept for back-compat. Fixes #22252 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
nicohrubec
marked this pull request as ready for review
August 10, 2026 10:37
nicohrubec
requested review from
JPeer264,
andreiborza,
msonnb and
mydea
and removed request for
a team and
mydea
August 10, 2026 10:37
Contributor
size-limit report 📦
|
andreiborza
approved these changes
Aug 10, 2026
nicohrubec
enabled auto-merge (squash)
August 10, 2026 10:43
JPeer264
pushed a commit
that referenced
this pull request
Aug 12, 2026
…hHandler` (#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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes two deprecated, unused parts of the
@sentry/aws-serverlesspublic API:startTraceoption onwrapHandler— it had no effect (to disable tracing, settracesSampleRateto0).tryPatchHandlerfunction.Both are already documented in
docs/migration/v11-end-state.md.Fixes #22252