Skip to content

8.22.0

Compare
Choose a tag to compare
@getsentry-bot getsentry-bot released this 01 Aug 08:38

Important Changes

  • feat(cloudflare): Add plugin for cloudflare pages (#13123)

This release adds support for Cloudflare Pages to @sentry/cloudflare, our SDK for the
Cloudflare Workers JavaScript Runtime! For details on how to use it,
please see the README. Any feedback/bug reports are greatly appreciated, please
reach out on GitHub.

// functions/_middleware.js
import * as Sentry from '@sentry/cloudflare';

export const onRequest = Sentry.sentryPagesPlugin({
  dsn: __PUBLIC_DSN__,
  // Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
  tracesSampleRate: 1.0,
});

Other Changes

  • feat(meta-sdks): Remove runtime tags (#13105)
  • feat(nestjs): Automatic instrumentation of nestjs guards (#13129)
  • feat(nestjs): Filter all HttpExceptions (#13120)
  • feat(replay): Capture exception when internal_sdk_error client report happens (#13072)
  • fix: Use globalThis for code injection (#13132)

Bundle size 📦

Path Size
@sentry/browser 22.45 KB
@sentry/browser (incl. Tracing) 34.22 KB
@sentry/browser (incl. Tracing, Replay) 70.28 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 63.62 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 74.68 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 87.26 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 89.11 KB
@sentry/browser (incl. metrics) 26.75 KB
@sentry/browser (incl. Feedback) 39.37 KB
@sentry/browser (incl. sendFeedback) 27.06 KB
@sentry/browser (incl. FeedbackAsync) 31.7 KB
@sentry/react 25.22 KB
@sentry/react (incl. Tracing) 37.22 KB
@sentry/vue 26.6 KB
@sentry/vue (incl. Tracing) 36.06 KB
@sentry/svelte 22.58 KB
CDN Bundle 23.64 KB
CDN Bundle (incl. Tracing) 35.88 KB
CDN Bundle (incl. Tracing, Replay) 70.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 75.57 KB
CDN Bundle - uncompressed 69.37 KB
CDN Bundle (incl. Tracing) - uncompressed 106.31 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 218.16 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 230.99 KB
@sentry/nextjs (client) 37.07 KB
@sentry/sveltekit (client) 34.79 KB
@sentry/node 114.65 KB
@sentry/node - without tracing 89.33 KB
@sentry/aws-serverless 98.5 KB