releases.shpreview

10.8.0

$npx -y @buildinternet/releases show rel_oivG2A95KKW_G3A8f7ubB

Important Changes

  • feat(sveltekit): Add Compatibility for builtin SvelteKit Tracing (#17423)

    This release makes the @sentry/sveltekit SDK compatible with SvelteKit's native observability support introduced in SvelteKit version 2.31.0. If you enable both, instrumentation and tracing, the SDK will now initialize early enough to set up additional instrumentation like database queries and it will pick up spans emitted from SvelteKit.

    We will follow up with docs how to set up the SDK soon. For now, If you're on SvelteKit version 2.31.0 or newer, you can easily opt into the new feature:

    1. Enable experimental tracing and instrumentation support in svelte.config.js:

    2. Move your Sentry.init() call from src/hooks.server.(js|ts) to the new instrumentation.server.(js|ts) file:

      // instrumentation.server.ts
      import * as Sentry from '@sentry/sveltekit';
      
      Sentry.init({
        dsn: '...',
        // rest of your config
      });

      The rest of your Sentry config in hooks.server.ts (sentryHandle and handleErrorWithSentry) should stay the same.

    If you prefer to stay on the hooks-file based config for now, the SDK will continue to work as previously.

    Thanks to the Svelte team and @elliott-with-the-longest-name-on-github for implementing observability support and for reviewing our PR!

Other Changes

  • fix(react): Avoid multiple name updates on navigation spans (#17438)
<details> <summary> <strong>Internal Changes</strong> </summary>
  • test(profiling): Add tests for current state of profiling (#17470)
</details>

Bundle size 📦

PathSize
@sentry/browser23.59 KB
@sentry/browser - with treeshaking flags22.2 KB
@sentry/browser (incl. Tracing)38.94 KB
@sentry/browser (incl. Tracing, Replay)76.4 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags66.43 KB
@sentry/browser (incl. Tracing, Replay with Canvas)80.97 KB
@sentry/browser (incl. Tracing, Replay, Feedback)92.8 KB
@sentry/browser (incl. Feedback)39.88 KB
@sentry/browser (incl. sendFeedback)28.13 KB
@sentry/browser (incl. FeedbackAsync)32.92 KB
@sentry/react25.27 KB
@sentry/react (incl. Tracing)40.91 KB
@sentry/vue27.97 KB
@sentry/vue (incl. Tracing)40.72 KB
@sentry/svelte23.62 KB
CDN Bundle25.06 KB
CDN Bundle (incl. Tracing)38.82 KB
CDN Bundle (incl. Tracing, Replay)74.24 KB
CDN Bundle (incl. Tracing, Replay, Feedback)79.55 KB
CDN Bundle - uncompressed73.2 KB
CDN Bundle (incl. Tracing) - uncompressed114.83 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed227.23 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed239.53 KB
@sentry/nextjs (client)42.86 KB
@sentry/sveltekit (client)39.38 KB
@sentry/node-core46.87 KB
@sentry/node145.75 KB
@sentry/node - without tracing90.08 KB
@sentry/aws-serverless102.45 KB

Fetched March 31, 2026