feat(nextjs)!: Remove deprecated build-time config options - #23221
Merged
chargome merged 2 commits intoAug 10, 2026
Merged
Conversation
Remove the long-deprecated top-level `withSentryConfig` options marked with `TODO(v11)`. All have replacements, mostly under `webpack.*`. Also remove top-level `excludeServerRoutes`, which was deprecated in the same PR as the others (#18343) but never got a `TODO(v11)` marker. With it gone the entire `deprecatedWebpackOptions.ts` migration layer can be deleted. Fixes #22245 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Member
Author
|
bugbot run |
Contributor
size-limit report 📦
|
…e2e config The supabase-nextjs e2e app still set `reactComponentAnnotation` at the top level. Being a .js config it was not typechecked, so the removal silently disabled component annotation for that app instead of failing the build. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Member
Author
|
bugbot run |
There was a problem hiding this comment.
✅ Bugbot reviewed your changes and found no new issues!
Comment @cursor review or bugbot run to trigger another review on this PR
Reviewed by Cursor Bugbot for commit 865a814. Configure here.
chargome
marked this pull request as ready for review
August 10, 2026 12:36
chargome
requested review from
logaretm,
mydea,
nicohrubec and
s1gr1d
and removed request for
a team and
mydea
August 10, 2026 12:36
s1gr1d
approved these changes
Aug 10, 2026
chargome
deleted the
charlygomez/js-3026-remove-deprecated-nextjs-sdk-config-options
branch
August 10, 2026 12:43
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 the deprecated top-level
withSentryConfigoptions marked withTODO(v11). All have replacements documented as an old→new table indocs/migration/v11-end-state.md.Also removes top-level
excludeServerRoutes, which was deprecated in the same PR as the others (#18343) but never got aTODO(v11)marker.closes #22245