Skip to content

8.42.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 02 Dec 14:46

Important Changes

Deprecations

  • feat: Warn about source-map generation (#14533)

    In the next major version of the SDK we will change how source maps are generated when the SDK is added to an application.
    Currently, the implementation varies a lot between different SDKs and can be difficult to understand.
    Moving forward, our goal is to turn on source maps for every framework, unless we detect that they are explicitly turned off.
    Additionally, if we end up enabling source maps, we will emit a log message that we did so.

    With this particular release, we are emitting warnings that source map generation will change in the future and we print instructions on how to prepare for the next major.

  • feat(nuxt): Deprecate tracingOptions in favor of vueIntegration (#14530)

    Currently it is possible to configure tracing options in two places in the Sentry Nuxt SDK:

    • In Sentry.init()
    • Inside tracingOptions in Sentry.init()

    For tree-shaking purposes and alignment with the Vue SDK, it is now recommended to instead use the newly exported vueIntegration() and its tracingOptions option to configure tracing options in the Nuxt SDK:

    // sentry.client.config.ts
    import * as Sentry from '@sentry/nuxt';
    
    Sentry.init({
      // ...
      integrations: [
        Sentry.vueIntegration({
          tracingOptions: {
            trackComponents: true,
          },
        }),
      ],
    });

Other Changes

  • feat(browser-utils): Update web-vitals to v4.2.4 (#14439)
  • feat(nuxt): Expose vueIntegration (#14526)
  • fix(feedback): Handle css correctly in screenshot mode (#14535)

Bundle size πŸ“¦

Path Size
@sentry/browser 23.1 KB
@sentry/browser - with treeshaking flags 21.84 KB
@sentry/browser (incl. Tracing) 35.61 KB
@sentry/browser (incl. Tracing, Replay) 72.47 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.96 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.79 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.28 KB
@sentry/browser (incl. Feedback) 39.86 KB
@sentry/browser (incl. sendFeedback) 27.72 KB
@sentry/browser (incl. FeedbackAsync) 32.53 KB
@sentry/react 25.8 KB
@sentry/react (incl. Tracing) 38.49 KB
@sentry/vue 27.25 KB
@sentry/vue (incl. Tracing) 37.38 KB
@sentry/svelte 23.25 KB
CDN Bundle 24.32 KB
CDN Bundle (incl. Tracing) 37.29 KB
CDN Bundle (incl. Tracing, Replay) 72.15 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.49 KB
CDN Bundle - uncompressed 71.45 KB
CDN Bundle (incl. Tracing) - uncompressed 110.76 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 223.83 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 237.05 KB
@sentry/nextjs (client) 38.78 KB
@sentry/sveltekit (client) 36.14 KB
@sentry/node 135.08 KB
@sentry/node - without tracing 97.13 KB
@sentry/aws-serverless 109.43 KB