Skip to content

Conversation

chargome
Copy link
Member

This PR flips the default value for useRunAfterProductionCompileHook when using next build --turbopack from false to true.

Technically this is behaviourally breaking but since we'll release this together with #17721, which promotes the flag from experimental state we can ship this without a new major.

@chargome chargome self-assigned this Sep 20, 2025
Copy link
Contributor

github-actions bot commented Sep 20, 2025

size-limit report 📦

Path Size % Change Change
@sentry/browser 24.23 kB - -
@sentry/browser - with treeshaking flags 22.74 kB - -
@sentry/browser (incl. Tracing) 40.34 kB - -
@sentry/browser (incl. Tracing, Replay) 78.72 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 68.38 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 83.39 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 95.59 kB - -
@sentry/browser (incl. Feedback) 40.95 kB - -
@sentry/browser (incl. sendFeedback) 28.88 kB - -
@sentry/browser (incl. FeedbackAsync) 33.8 kB - -
@sentry/react 25.94 kB - -
@sentry/react (incl. Tracing) 42.32 kB - -
@sentry/vue 28.72 kB - -
@sentry/vue (incl. Tracing) 42.14 kB - -
@sentry/svelte 24.25 kB - -
CDN Bundle 25.74 kB - -
CDN Bundle (incl. Tracing) 40.16 kB - -
CDN Bundle (incl. Tracing, Replay) 76.38 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 81.88 kB - -
CDN Bundle - uncompressed 75.23 kB - -
CDN Bundle (incl. Tracing) - uncompressed 118.89 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 234.01 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 246.78 kB - -
@sentry/nextjs (client) 44.34 kB - -
@sentry/sveltekit (client) 40.76 kB - -
@sentry/node-core 49.98 kB - -
@sentry/node 152.19 kB - -
@sentry/node - without tracing 91.88 kB - -
@sentry/aws-serverless 105.33 kB - -

View base workflow run

Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the default only changes for turbopack, I'd argue this isn't even behaviourally breaking, given we didn't support turbopack officially beforehand 🤔

@chargome chargome changed the title feta(nextjs)!: Flip default value for useRunAfterProductionCompileHook turbopack builds feat(nextjs)!: Flip default value for useRunAfterProductionCompileHook turbopack builds Sep 22, 2025
@chargome chargome changed the title feat(nextjs)!: Flip default value for useRunAfterProductionCompileHook turbopack builds feat(nextjs): Flip default value for useRunAfterProductionCompileHook turbopack builds Sep 22, 2025
Base automatically changed from cg-turbo-default-after-prod-compile to develop September 22, 2025 10:25
@chargome chargome merged commit 61b3f97 into develop Sep 22, 2025
57 checks passed
@chargome chargome deleted the cg-next-turbopack-default-flip branch September 22, 2025 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants