yarn @sentry/browser 7.54.0

latest releases: 8.39.0-beta.0, 7.120.0, 8.39.0-dev.0...
17 months ago

Important Changes

  • feat(core): Add default entries to ignoreTransactions for Healthchecks #8191

    All SDKs now filter out health check transactions by default.
    These are transactions where the transaction name matches typical API health check calls, such as /^.*healthy.*$/ or /^. *heartbeat.*$/. Take a look at this list to learn which regexes we currently use to match transaction names.
    We believe that these transactions do not provide value in most cases and we want to save you some of your quota by filtering them out by default.
    These filters are implemented as default values for the top level ignoreTransactions option.

    You can disable this filtering by manually specifiying the InboundFilters integration and setting the disableTransactionDefaults option:

    Sentry.init({
      //...
      integrations: [new InboundFilters({ disableTransactionDefaults: true })],
    })
  • feat(replay): Add mutationBreadcrumbLimit and mutationLimit to Replay Options (#8228)

    The previously experimental options mutationBreadcumbLimit and mutationLimit have been promoted to regular Replay integration options.

    A high number of DOM mutations (in a single event loop) can cause performance regressions in end-users' browsers.
    Use mutationBreadcrumbLimit to send a breadcrumb along with your recording if the mutation limit was reached.
    Use mutationLimit to stop recording if the mutation limit was reached.

  • feat(sveltekit): Add source maps support for Vercel (lambda) (#8256)

    • feat(sveltekit): Auto-detect SvelteKit adapters (#8193)

    The SvelteKit SDK can now be used if you deploy your SvelteKit app to Vercel.
    By default, the SDK's Vite plugin will detect the used adapter and adjust the source map uploading config as necessary.
    If you want to override the default adapter detection, you can specify the adapter option in the sentrySvelteKit options:

    // vite.config.js
    export default defineConfig({
      plugins: [
        sentrySvelteKit({
          adapter: 'vercel',
        }),
        sveltekit(),
      ],
    });

    Currently, the Vite plugin will configure itself correctly for @sveltejs/adapter-auto, @sveltejs/adapter-vercel and @sveltejs/adapter-node.

    Important: The SvelteKit SDK is not yet compatible with Vercel's edge runtime.
    It will only work for lambda functions.

Other Changes

  • feat(replay): Throttle breadcrumbs to max 300/5s (#8086)
  • feat(sveltekit): Add option to control handling of unknown server routes (#8201)
  • fix(node): Strip query and fragment from request URLs without route parameters (#8213)
  • fix(remix): Don't log missing parameters warning on server-side. (#8269)
  • fix(remix): Pass loadContext through wrapped document request function (#8268)
  • fix(replay): Guard against missing key (#8246)
  • fix(sveltekit): Avoid capturing redirects and 4xx Http errors in request Handlers (#8215)
  • fix(sveltekit): Bump magicast to support satisfied keyword (#8254)
  • fix(wasm): Avoid throwing an error when WASM modules are loaded from blobs (#8263)

Bundle size 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 21.12 KB
@sentry/browser - ES5 CDN Bundle (minified) 65.86 KB
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 19.65 KB
@sentry/browser - ES6 CDN Bundle (minified) 58.34 KB
@sentry/browser - Webpack (gzipped + minified) 21.28 KB
@sentry/browser - Webpack (minified) 69.26 KB
@sentry/react - Webpack (gzipped + minified) 21.31 KB
@sentry/nextjs Client - Webpack (gzipped + minified) 49.23 KB
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 28.74 KB
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 26.98 KB
@sentry/replay ES6 CDN Bundle (gzipped + minified) 48.58 KB
@sentry/replay - Webpack (gzipped + minified) 42.28 KB
@sentry/browser + @sentry/tracing + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 67.63 KB
@sentry/browser + @sentry/replay - ES6 CDN Bundle (gzipped + minified) 60.55 KB

Don't miss a new browser release

NewReleases is sending notifications on new releases.