@sentry/gatsby
11.10.0 · 28 Oct 2026MIT17.5k / weekRepositoryHomepagenpmAtom feed
8.55.2 is the newest release of 8.x.
In short
8 new10 fixed1 internal
Release note
Important Changes
react: Add React 19 to peer deps
This release adds support for React 19 in the @sentry/react SDK package.
node: Add
@sentry/node/preloadhook
This release adds a new way to initialize @sentry/node, which allows you to use the SDK with performance
instrumentation even if you cannot call Sentry.init() at the very start of your app.
First, run the SDK like this:
node --require @sentry/node/preload ./app.js
Now, you can initialize and import the rest of the SDK later or asynchronously:
const express = require('express');
const Sentry = require('@sentry/node');
const dsn = await getSentryDsn();
Sentry.init({ dsn });For more details, head over to the
PR Description of the new feature. Our docs will be updated
soon with a new guide.
Other Changes
browser: Do not include metrics in base CDN bundle
core: Add
startNewTraceAPIcore: Allow to pass custom scope to
captureFeedback()core: Only allow
SerializedSessionin session envelope itemsnextjs: Use Vercel's
waitUntilto defer freezing of Vercel Lambdasnode: Ensure manual OTEL setup works
aws-serverless: Avoid minifying
Module._resolveFilenamein Lambda layer bundleaws-serverless: Ensure lambda layer uses default export from
ImportInTheMiddlebrowser: Improve browser extension error message check
browser: Remove optional chaining in INP code
nextjs: Don't report React postpone errors
nextjs: Use global scope for generic event filters
node: Add origin to redis span
node: Change import of
@prisma/instrumentationto use default importnode: Only import
inspectorasynchronouslyreplay: Update matcher for hydration error detection to new React docs
Bundle size
| Path | Size |
|---|---|
| @sentry/browser | 21.78 KB |
| @sentry/browser (incl. Tracing) | 32.79 KB |
| @sentry/browser (incl. Tracing, Replay) | 68.26 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 61.68 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 72.31 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 84.37 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback, metrics) | 85.84 KB |
| @sentry/browser (incl. metrics) | 23.17 KB |
| @sentry/browser (incl. Feedback) | 37.8 KB |
| @sentry/browser (incl. sendFeedback) | 26.36 KB |
| @sentry/browser (incl. FeedbackAsync) | 30.79 KB |
| @sentry/react | 24.47 KB |
| @sentry/react (incl. Tracing) | 35.79 KB |
| @sentry/vue | 25.73 KB |
| @sentry/vue (incl. Tracing) | 34.59 KB |
| @sentry/svelte | 21.92 KB |
| CDN Bundle | 23.01 KB |
| CDN Bundle (incl. Tracing) | 34.27 KB |
| CDN Bundle (incl. Tracing, Replay) | 68.08 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 73.09 KB |
| CDN Bundle - uncompressed | 67.88 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 101.68 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 211.58 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 223.96 KB |
| @sentry/nextjs (client) | 35.14 KB |
| @sentry/sveltekit (client) | 33.39 KB |
| @sentry/node | 114.65 KB |
| @sentry/aws-serverless | 103.32 KB |