Packages

@sentry/gatsby

11.10.0 · 28 Oct 2026MIT17.5k / weekRepositoryHomepagenpmAtom feed

Your version

9.39.0

15 Jul 2025Where it was published

9.47.2 is the newest release of 9.x.

In short

10 new5 fixed

Release note

Important Changes

  • browser: Add afterStartPageloadSpan hook to improve spanId assignment on web vital spans

This PR adds a new afterStartPageloadSpan lifecycle hook to more robustly assign the correct pageload span ID to web vital spans, replacing the previous unreliable "wait for a tick" approach with a direct callback that fires when the pageload span becomes available.

  • nextjs: Client-side parameterized routes

This PR implements client-side parameterized routes for Next.js by leveraging an injected manifest within the existing app-router instrumentation to automatically parameterize all client-side transactions (e.g. users/123 and users/456 now become become users/:id).

  • node: Drop 401-404 and 3xx status code spans by default

This PR changes the default behavior in the Node SDK to drop HTTP spans with 401-404 and 3xx status codes by default to reduce noise in tracing data.

Other Changes

  • core: Prepend vercel ai attributes with vercel.ai.X

  • nextjs: Add disableSentryWebpackConfig flag

  • nextjs: Build app manifest

  • nextjs: Inject manifest into client for turbopack builds

  • nextjs: Inject manifest into client for webpack builds

  • node-native: Add option to disable event loop blocked detection

  • react-router: Ensure http.server route handling is consistent

  • core: Avoid prolonging idle span when starting standalone span

  • core: Remove side-effect from tracing/errors.ts

  • core: Wrap beforeSendLog in consoleSandbox

  • node-core: Apply correct SDK metadata

  • react-router: Ensure that all browser spans have source=route

Work in this release was contributed by @janpapenbrock. Thank you for your contribution!

Bundle size

PathSize
@sentry/browser23.32 KB
@sentry/browser - with treeshaking flags21.83 KB
@sentry/browser (incl. Tracing)38.82 KB
@sentry/browser (incl. Tracing, Replay)76.05 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags66.03 KB
@sentry/browser (incl. Tracing, Replay with Canvas)80.65 KB
@sentry/browser (incl. Tracing, Replay, Feedback)92.46 KB
@sentry/browser (incl. Feedback)39.63 KB
@sentry/browser (incl. sendFeedback)27.89 KB
@sentry/browser (incl. FeedbackAsync)32.67 KB
@sentry/react25.01 KB
@sentry/react (incl. Tracing)40.74 KB
@sentry/vue27.65 KB
@sentry/vue (incl. Tracing)40.56 KB
@sentry/svelte23.34 KB
CDN Bundle24.59 KB
CDN Bundle (incl. Tracing)38.51 KB
CDN Bundle (incl. Tracing, Replay)73.67 KB
CDN Bundle (incl. Tracing, Replay, Feedback)79.01 KB
CDN Bundle - uncompressed71.82 KB
CDN Bundle (incl. Tracing) - uncompressed114.25 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed225.76 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed238.27 KB
@sentry/nextjs (client)42.72 KB
@sentry/sveltekit (client)39.25 KB
@sentry/node163.76 KB
@sentry/node - without tracing97.98 KB
@sentry/aws-serverless125.47 KB