-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Comparing changes
Open a pull request
base repository: getsentry/sentry-javascript
base: 9.25.1
head repository: getsentry/sentry-javascript
compare: 9.26.0
- 9 commits
- 57 files changed
- 8 contributors
Commits on Jun 3, 2025
-
getsentry-bot committed
Jun 3, 2025 Configuration menu - View commit details
-
Copy full SHA for f43737f - Browse repository at this point
Copy the full SHA f43737fView commit details -
Merge pull request #16468 from getsentry/master
[Gitflow] Merge master into develop
Configuration menu - View commit details
-
Copy full SHA for dcdf074 - Browse repository at this point
Copy the full SHA dcdf074View commit details
Commits on Jun 4, 2025
-
fix(nextjs): Skip re instrumentating on generate phase of experimenta…
…l build mode (#16410) Next.js v15.3.0-canary.1 introduced a new approach to the two-phase experimental build (--experimental-build-mode=compile then =generate) that applies env inlining during generate build mode. Why it breaks? Our `withSentryConfig` still assumes a single “full” build and reruns its Webpack instrumentation in both phases. During the generate step it collides with Next.js’s new inliner (e.g. for assetPrefix), producing malformed JS and build failures. Root cause: Double application of build-time transforms—Sentry inlines/reprocesses a bundle that Next.js’s generate mode is simultaneously trying to finalize—leads to conflicting replacements and syntax errors. This PR is a quick workaround that patches our build script so that: 1. Compile phase (--experimental-build-mode=compile): Sentry’s instrumentation runs as usual. 2. Generate phase (--experimental-build-mode=generate): We skip Sentry’s build-time hooks entirely, letting Next.js handle inlining and prerendering without collision. This immediately prevents the build failures and defers full “generate” work to Next.js’s own pipeline. I confirmed that source maps and error / tracing still function as expected, BUT things might still occur as it's still an experimental undocumented feature. --------- Co-authored-by: Charly Gomez <charly.gomez@sentry.io>
Configuration menu - View commit details
-
Copy full SHA for 4806b8a - Browse repository at this point
Copy the full SHA 4806b8aView commit details -
feat(react-router): Re-export functions from
@sentry/react
(#16465)Re-exports functionality from the `@sentry/react`. However, not everything is exported as the react router exports would be confusing. closes #16459
Configuration menu - View commit details
-
Copy full SHA for ac22be2 - Browse repository at this point
Copy the full SHA ac22be2View commit details -
fix(node): Ensure adding sentry-trace and baggage headers via SentryH…
…ttpInstrumentation doesn't crash (#16473) On Node > 22.10.0, when spans are off, the `SentryHttpInstrumentation` attempts adding `sentry-trace` and `baggage` headers to requests. Due to race-conditions, this can error in cases where the request was already sent/finished prior to setting the headers. This fix prevents this by wrapping the logic in a try/catch. Fixes: #16438
Configuration menu - View commit details
-
Copy full SHA for a08cae2 - Browse repository at this point
Copy the full SHA a08cae2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 57268c1 - Browse repository at this point
Copy the full SHA 57268c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2e28a3 - Browse repository at this point
Copy the full SHA f2e28a3View commit details -
Merge pull request #16480 from getsentry/prepare-release/9.26.0
meta(changelog): Update changelog for 9.26.0
Configuration menu - View commit details
-
Copy full SHA for 89b00f6 - Browse repository at this point
Copy the full SHA 89b00f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94398da - Browse repository at this point
Copy the full SHA 94398daView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff 9.25.1...9.26.0