Skip to content

Releases: getsentry/sentry-javascript

8.39.0

19 Nov 15:45
Compare
Choose a tag to compare

Important Changes

  • feat(nestjs): Instrument event handlers (#14307)

The @sentry/nestjs SDK will now capture performance data for NestJS Events (@nestjs/event-emitter)

Other Changes

  • feat(nestjs): Add alias @SentryExceptionCaptured for @WithSentry (#14322)
  • feat(nestjs): Duplicate SentryService behaviour into @sentry/nestjs SDK init() (#14321)
  • feat(nestjs): Handle GraphQL contexts in SentryGlobalFilter (#14320)
  • feat(node): Add alias childProcessIntegration for processThreadBreadcrumbIntegration and deprecate it (#14334)
  • feat(node): Ensure request bodies are reliably captured for http requests (#13746)
  • feat(replay): Upgrade rrweb packages to 2.29.0 (#14160)
  • fix(cdn): Ensure _sentryModuleMetadata is not mangled (#14344)
  • fix(core): Set sentry.source attribute to custom when calling span.updateName on SentrySpan (#14251)
  • fix(mongo): rewrite Buffer as ? during serialization (#14071)
  • fix(replay): Remove replay id from DSC on expired sessions (#14342)
  • ref(profiling) Fix electron crash (#14216)
  • ref(types): Deprecate Request type in favor of RequestEventData (#14317)
  • ref(utils): Stop setting transaction in requestDataIntegration (#14306)
  • ref(vue): Reduce bundle size for starting application render span (#14275)

Bundle size 📦

Path Size
@sentry/browser 22.77 KB
@sentry/browser - with treeshaking flags 21.53 KB
@sentry/browser (incl. Tracing) 35.27 KB
@sentry/browser (incl. Tracing, Replay) 72 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.38 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.31 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.17 KB
@sentry/browser (incl. Feedback) 39.93 KB
@sentry/browser (incl. sendFeedback) 27.42 KB
@sentry/browser (incl. FeedbackAsync) 32.23 KB
@sentry/react 25.52 KB
@sentry/react (incl. Tracing) 38.23 KB
@sentry/vue 26.92 KB
@sentry/vue (incl. Tracing) 37.1 KB
@sentry/svelte 22.91 KB
CDN Bundle 24.13 KB
CDN Bundle (incl. Tracing) 37.05 KB
CDN Bundle (incl. Tracing, Replay) 71.72 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.07 KB
CDN Bundle - uncompressed 70.73 KB
CDN Bundle (incl. Tracing) - uncompressed 109.94 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.46 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.68 KB
@sentry/nextjs (client) 38.35 KB
@sentry/sveltekit (client) 35.85 KB
@sentry/node 134.33 KB
@sentry/node - without tracing 96.2 KB
@sentry/aws-serverless 106.48 KB

8.39.0-beta.0

14 Nov 22:50
Compare
Choose a tag to compare
8.39.0-beta.0 Pre-release
Pre-release
  • feat(browser): Add LaunchDarkly integration for beta testing
  • feat(replay): Clear event buffer when full and in buffer mode

Bundle size 📦

Path Size
@sentry/browser 22.82 KB
@sentry/browser - with treeshaking flags 21.58 KB
@sentry/browser (incl. Tracing) 35.32 KB
@sentry/browser (incl. Tracing, Replay) 72.12 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.5 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.43 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.28 KB
@sentry/browser (incl. Feedback) 39.97 KB
@sentry/browser (incl. sendFeedback) 27.46 KB
@sentry/browser (incl. FeedbackAsync) 32.28 KB
@sentry/react 25.57 KB
@sentry/react (incl. Tracing) 38.29 KB
@sentry/vue 26.97 KB
@sentry/vue (incl. Tracing) 37.16 KB
@sentry/svelte 22.96 KB
CDN Bundle 24.18 KB
CDN Bundle (incl. Tracing) 37.1 KB
CDN Bundle (incl. Tracing, Replay) 71.85 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.2 KB
CDN Bundle - uncompressed 70.88 KB
CDN Bundle (incl. Tracing) - uncompressed 110.08 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.87 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 236.09 KB
@sentry/nextjs (client) 38.4 KB
@sentry/sveltekit (client) 35.91 KB
@sentry/node 134.35 KB
@sentry/node - without tracing 96.52 KB
@sentry/aws-serverless 106.78 KB

7.120.0

13 Nov 15:23
Compare
Choose a tag to compare
  • feat(v7/browser): Add moduleMetadataIntegration lazy loading support (#13822)

Work in this release contributed by @gilisho. Thank you for your contribution!

8.38.0

12 Nov 14:41
Compare
Choose a tag to compare
  • docs: Improve docstrings for node otel integrations (#14217)
  • feat(browser): Add moduleMetadataIntegration lazy loading support (#13817)
  • feat(core): Add trpc path to context in trpcMiddleware (#14218)
  • feat(deps): Bump @opentelemetry/instrumentation-amqplib from 0.42.0 to 0.43.0 (#14230)
  • feat(deps): Bump @sentry/cli from 2.37.0 to 2.38.2 (#14232)
  • feat(node): Add knex integration (#13526)
  • feat(node): Add tedious integration (#13486)
  • feat(utils): Single implementation to fetch debug ids (#14199)
  • fix(browser): Avoid recording long animation frame spans starting before their parent span (#14186)
  • fix(node): Include debug_meta with ANR events (#14203)
  • fix(nuxt): Fix dynamic import rollup plugin to work with latest nitro (#14243)
  • fix(react): Support wildcard routes on React Router 6 (#14205)
  • fix(spotlight): Export spotlightBrowserIntegration from the main browser package (#14208)
  • ref(browser): Ensure start time of interaction root and child span is aligned (#14188)
  • ref(nextjs): Make build-time value injection turbopack compatible (#14081)

Work in this release was contributed by @grahamhency, @Zen-cronic, @gilisho and @phuctm97. Thank you for your contributions!

Bundle size 📦

Path Size
@sentry/browser 22.77 KB
@sentry/browser - with treeshaking flags 21.53 KB
@sentry/browser (incl. Tracing) 35.26 KB
@sentry/browser (incl. Tracing, Replay) 71.98 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.35 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.31 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.14 KB
@sentry/browser (incl. Feedback) 39.93 KB
@sentry/browser (incl. sendFeedback) 27.42 KB
@sentry/browser (incl. FeedbackAsync) 32.23 KB
@sentry/react 25.52 KB
@sentry/react (incl. Tracing) 38.22 KB
@sentry/vue 26.91 KB
@sentry/vue (incl. Tracing) 37.1 KB
@sentry/svelte 22.91 KB
CDN Bundle 24.13 KB
CDN Bundle (incl. Tracing) 37.04 KB
CDN Bundle (incl. Tracing, Replay) 71.7 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.05 KB
CDN Bundle - uncompressed 70.73 KB
CDN Bundle (incl. Tracing) - uncompressed 109.9 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.42 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.64 KB
@sentry/nextjs (client) 38.33 KB
@sentry/sveltekit (client) 35.84 KB
@sentry/node 133.37 KB
@sentry/node - without tracing 95.67 KB
@sentry/aws-serverless 105.93 KB

8.37.1

05 Nov 16:52
Compare
Choose a tag to compare
  • feat(deps): Bump @opentelemetry/instrumentation from 0.53.0 to 0.54.0 for @sentry/opentelemetry (#14187)

Bundle size 📦

Path Size
@sentry/browser 22.76 KB
@sentry/browser - with treeshaking flags 21.54 KB
@sentry/browser (incl. Tracing) 35.18 KB
@sentry/browser (incl. Tracing, Replay) 71.9 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.33 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.22 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.02 KB
@sentry/browser (incl. Feedback) 39.9 KB
@sentry/browser (incl. sendFeedback) 27.4 KB
@sentry/browser (incl. FeedbackAsync) 32.2 KB
@sentry/react 25.51 KB
@sentry/react (incl. Tracing) 38.15 KB
@sentry/vue 26.9 KB
@sentry/vue (incl. Tracing) 37.07 KB
@sentry/svelte 22.89 KB
CDN Bundle 24.11 KB
CDN Bundle (incl. Tracing) 37 KB
CDN Bundle (incl. Tracing, Replay) 71.66 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77 KB
CDN Bundle - uncompressed 70.66 KB
CDN Bundle (incl. Tracing) - uncompressed 109.79 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.52 KB
@sentry/nextjs (client) 38.23 KB
@sentry/sveltekit (client) 35.78 KB
@sentry/node 131.52 KB
@sentry/node - without tracing 95.64 KB
@sentry/aws-serverless 105.91 KB

8.37.0

05 Nov 14:20
Compare
Choose a tag to compare

Important CHanges

  • feat(nuxt): Add piniaIntegration (#14138)

The Nuxt SDK now allows you to track Pinia state for captured errors. To enable the Pinia plugin, add the piniaIntegration to your client config:

// sentry.client.config.ts
import { usePinia } from '#imports';

Sentry.init({
  integrations: [
    Sentry.piniaIntegration(usePinia(), {
      /* optional Pinia plugin options */
    }),
  ],
});
  • feat: Deprecate metrics API (#14157)

The Sentry Metrics beta has ended in favour of revisiting metrics in another form at a later date.

This new approach will include different APIs, making the current metrics API unnecessary. This release
deprecates the metrics API with the plan to remove in the next SDK major version. If you currently use the
metrics API in your code, you can safely continue to do so but sent data will no longer be processed by Sentry.

Learn more about the end of the Metrics beta.

Other Changes

  • feat(browser): Add http.response_delivery_type attribute to resource spans (#14056)
  • feat(browser): Add skipBrowserExtensionCheck escape hatch option (#14147)
  • feat(deps): Bump @opentelemetry/instrumentation from 0.53.0 to 0.54.0 (#14174)
  • feat(deps): Bump @opentelemetry/instrumentation-fastify from 0.40.0 to 0.41.0 (#14175)
  • feat(deps): Bump @opentelemetry/instrumentation-graphql from 0.43.0 to 0.44.0 (#14173)
  • feat(deps): Bump @opentelemetry/instrumentation-mongodb from 0.47.0 to 0.48.0 (#14171)
  • feat(deps): Bump @opentelemetry/propagator-aws-xray from 1.25.1 to 1.26.0 (#14172)
  • feat(nuxt): Add asyncFunctionReExports to define re-exported server functions (#14104)
  • feat(nuxt): Add piniaIntegration (#14138)
  • fix(browser): Avoid recording long task spans starting before their parent span (#14183)
  • fix(core): Ensure errors thrown in async cron jobs bubble up (#14182)
  • fix(core): Silently fail maybeInstrument (#14140)
  • fix(nextjs): Resolve path for dynamic webpack import (#13751)
  • fix(node): Make sure modulesIntegration does not crash esm apps (#14169)

Work in this release was contributed by @rexxars. Thank you for your contribution!

Bundle size 📦

Path Size
@sentry/browser 22.76 KB
@sentry/browser - with treeshaking flags 21.54 KB
@sentry/browser (incl. Tracing) 35.18 KB
@sentry/browser (incl. Tracing, Replay) 71.9 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.33 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.22 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.02 KB
@sentry/browser (incl. Feedback) 39.9 KB
@sentry/browser (incl. sendFeedback) 27.4 KB
@sentry/browser (incl. FeedbackAsync) 32.2 KB
@sentry/react 25.51 KB
@sentry/react (incl. Tracing) 38.15 KB
@sentry/vue 26.9 KB
@sentry/vue (incl. Tracing) 37.07 KB
@sentry/svelte 22.89 KB
CDN Bundle 24.11 KB
CDN Bundle (incl. Tracing) 37 KB
CDN Bundle (incl. Tracing, Replay) 71.66 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77 KB
CDN Bundle - uncompressed 70.66 KB
CDN Bundle (incl. Tracing) - uncompressed 109.79 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.52 KB
@sentry/nextjs (client) 38.23 KB
@sentry/sveltekit (client) 35.78 KB
@sentry/node 131.52 KB
@sentry/node - without tracing 95.64 KB
@sentry/aws-serverless 105.91 KB

8.36.0

31 Oct 07:56
Compare
Choose a tag to compare

Important Changes

  • feat(nextjs/vercel-edge/cloudflare): Switch to OTEL for performance monitoring (#13889)

With this release, the Sentry Next.js, and Cloudflare SDKs will now capture performance data based on OpenTelemetry.
Some exceptions apply in cases where Next.js captures inaccurate data itself.

NOTE: You may experience minor differences in transaction names in Sentry.
Most importantly transactions for serverside pages router invocations will now be named GET /[param]/my/route instead of /[param]/my/route.
This means that those transactions are now better aligned with the OpenTelemetry semantic conventions.

Other Changes

  • deps: Bump bundler plugins and CLI to 2.22.6 and 2.37.0 respectively (#14050)
  • feat(deps): bump @opentelemetry/instrumentation-aws-sdk from 0.44.0 to 0.45.0 (#14099)
  • feat(deps): bump @opentelemetry/instrumentation-connect from 0.39.0 to 0.40.0 (#14101)
  • feat(deps): bump @opentelemetry/instrumentation-express from 0.43.0 to 0.44.0 (#14102)
  • feat(deps): bump @opentelemetry/instrumentation-fs from 0.15.0 to 0.16.0 (#14098)
  • feat(deps): bump @opentelemetry/instrumentation-kafkajs from 0.3.0 to 0.4.0 (#14100)
  • feat(nextjs): Add method and url to route handler request data (#14084)
  • feat(node): Add breadcrumbs for child_process and worker_thread (#13896)
  • fix(core): Ensure standalone spans are not sent if SDK is disabled (#14088)
  • fix(nextjs): Await flush in api handlers (#14023)
  • fix(nextjs): Don't leak webpack types into exports (#14116)
  • fix(nextjs): Fix matching logic for file convention type for root level components (#14038)
  • fix(nextjs): Respect directives in value injection loader (#14083)
  • fix(nuxt): Only wrap .mjs entry files in rollup (#14060)
  • fix(nuxt): Re-export all exported bindings (#14086)
  • fix(nuxt): Server-side setup in readme (#14049)
  • fix(profiling-node): Always warn when running on incompatible major version of Node.js (#14043)
  • fix(replay): Fix onError callback (#14002)
  • perf(otel): Only calculate current timestamp once (#14094)
  • test(browser-integration): Add sentry DSN route handler by default (#14095)

Bundle size 📦

Path Size
@sentry/browser 22.73 KB
@sentry/browser - with treeshaking flags 21.52 KB
@sentry/browser (incl. Tracing) 35.11 KB
@sentry/browser (incl. Tracing, Replay) 71.82 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.26 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.13 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 88.94 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.77 KB
@sentry/browser (incl. metrics) 26.98 KB
@sentry/browser (incl. Feedback) 39.87 KB
@sentry/browser (incl. sendFeedback) 27.37 KB
@sentry/browser (incl. FeedbackAsync) 32.17 KB
@sentry/react 25.48 KB
@sentry/react (incl. Tracing) 38.07 KB
@sentry/vue 26.87 KB
@sentry/vue (incl. Tracing) 36.99 KB
@sentry/svelte 22.86 KB
CDN Bundle 24.08 KB
CDN Bundle (incl. Tracing) 36.92 KB
CDN Bundle (incl. Tracing, Replay) 71.58 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 76.93 KB
CDN Bundle - uncompressed 70.62 KB
CDN Bundle (incl. Tracing) - uncompressed 109.61 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.13 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.35 KB
@sentry/nextjs (client) 38.15 KB
@sentry/sveltekit (client) 35.71 KB
@sentry/node 129.6 KB
@sentry/node - without tracing 94.3 KB
@sentry/aws-serverless 105.17 KB

8.36.0-alpha.1

24 Oct 17:43
Compare
Choose a tag to compare
8.36.0-alpha.1 Pre-release
Pre-release

This is considered an internal release and the following commit will never be released to production tag:

  • debug(replay): Remove noisy log that is causing event buffer overflow as well
    (#14069)

Bundle size 📦

Path Size
@sentry/browser 22.74 KB
@sentry/browser - with treeshaking flags 21.53 KB
@sentry/browser (incl. Tracing) 35.13 KB
@sentry/browser (incl. Tracing, Replay) 72.07 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.33 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.41 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.19 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 91.02 KB
@sentry/browser (incl. metrics) 27 KB
@sentry/browser (incl. Feedback) 39.88 KB
@sentry/browser (incl. sendFeedback) 27.38 KB
@sentry/browser (incl. FeedbackAsync) 32.18 KB
@sentry/react 25.5 KB
@sentry/react (incl. Tracing) 38.1 KB
@sentry/vue 26.91 KB
@sentry/vue (incl. Tracing) 37.02 KB
@sentry/svelte 22.87 KB
CDN Bundle 24.12 KB
CDN Bundle (incl. Tracing) 36.96 KB
CDN Bundle (incl. Tracing, Replay) 71.69 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.04 KB
CDN Bundle - uncompressed 70.71 KB
CDN Bundle (incl. Tracing) - uncompressed 109.74 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.61 KB
@sentry/nextjs (client) 38.07 KB
@sentry/sveltekit (client) 35.75 KB
@sentry/node 125.17 KB
@sentry/node - without tracing 94.28 KB
@sentry/aws-serverless 103.82 KB

8.36.0-beta.0

23 Oct 11:46
Compare
Choose a tag to compare
8.36.0-beta.0 Pre-release
Pre-release

This is a beta release to fully switch the Next.js and Cloudflare SDKs to OpenTelemetry tracing.

See #13889 for more information.

Bundle size 📦

Path Size
@sentry/browser 22.74 KB
@sentry/browser - with treeshaking flags 21.53 KB
@sentry/browser (incl. Tracing) 35.13 KB
@sentry/browser (incl. Tracing, Replay) 71.86 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.26 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.22 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.83 KB
@sentry/browser (incl. metrics) 27 KB
@sentry/browser (incl. Feedback) 39.88 KB
@sentry/browser (incl. sendFeedback) 27.38 KB
@sentry/browser (incl. FeedbackAsync) 32.18 KB
@sentry/react 25.49 KB
@sentry/react (incl. Tracing) 38.09 KB
@sentry/vue 26.91 KB
@sentry/vue (incl. Tracing) 37.02 KB
@sentry/svelte 22.87 KB
CDN Bundle 24.12 KB
CDN Bundle (incl. Tracing) 36.96 KB
CDN Bundle (incl. Tracing, Replay) 71.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77 KB
CDN Bundle - uncompressed 70.7 KB
CDN Bundle (incl. Tracing) - uncompressed 109.74 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.25 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.46 KB
@sentry/nextjs (client) 38.18 KB
@sentry/sveltekit (client) 35.75 KB
@sentry/node 124.98 KB
@sentry/node - without tracing 94.03 KB
@sentry/aws-serverless 103.63 KB

8.36.0-alpha.0

22 Oct 16:55
Compare
Choose a tag to compare
8.36.0-alpha.0 Pre-release
Pre-release

This is considered an internal release and the following commit will never be released to production tag:

  • debug(replay): Add debugging statements around event buffer
    (#14014)

Also includes the following unreleased changes:

  • fix(nextjs): Await flush in api handlers (#14023)
  • fix(solidstart): Use production server for e2e tests
    (#14033)

Bundle size 📦

Path Size
@sentry/browser 22.74 KB
@sentry/browser - with treeshaking flags 21.53 KB
@sentry/browser (incl. Tracing) 35.13 KB
@sentry/browser (incl. Tracing, Replay) 72.1 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.33 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 76.44 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 89.22 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 91.05 KB
@sentry/browser (incl. metrics) 27 KB
@sentry/browser (incl. Feedback) 39.88 KB
@sentry/browser (incl. sendFeedback) 27.38 KB
@sentry/browser (incl. FeedbackAsync) 32.18 KB
@sentry/react 25.5 KB
@sentry/react (incl. Tracing) 38.1 KB
@sentry/vue 26.91 KB
@sentry/vue (incl. Tracing) 37.02 KB
@sentry/svelte 22.87 KB
CDN Bundle 24.12 KB
CDN Bundle (incl. Tracing) 36.96 KB
CDN Bundle (incl. Tracing, Replay) 71.69 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 77.04 KB
CDN Bundle - uncompressed 70.71 KB
CDN Bundle (incl. Tracing) - uncompressed 109.74 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 222.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 235.61 KB
@sentry/nextjs (client) 38.07 KB
@sentry/sveltekit (client) 35.75 KB
@sentry/node 125.17 KB
@sentry/node - without tracing 94.28 KB
@sentry/aws-serverless 103.82 KB