releases.shpreview
Sentry/Sentry JavaScript

Sentry JavaScript

$npx -y @buildinternet/releases show sentry-javascript
Mon
Wed
Fri
AprMayJunJulAugSepOctNovDecJanFebMarApr
Less
More
Releases19Avg6/moVersionsv10.35.0 → v10.50.0-alpha.0
Oct 31, 2024

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 📦

PathSize
@sentry/browser22.73 KB
@sentry/browser - with treeshaking flags21.52 KB
@sentry/browser (incl. Tracing)35.11 KB
@sentry/browser (incl. Tracing, Replay)71.82 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.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/react25.48 KB
@sentry/react (incl. Tracing)38.07 KB
@sentry/vue26.87 KB
@sentry/vue (incl. Tracing)36.99 KB
@sentry/svelte22.86 KB
CDN Bundle24.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 - uncompressed70.62 KB
CDN Bundle (incl. Tracing) - uncompressed109.61 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed222.13 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed235.35 KB
@sentry/nextjs (client)38.15 KB
@sentry/sveltekit (client)35.71 KB
@sentry/node129.6 KB
@sentry/node - without tracing94.3 KB
@sentry/aws-serverless105.17 KB
Oct 24, 2024

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 📦

PathSize
@sentry/browser22.74 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)35.13 KB
@sentry/browser (incl. Tracing, Replay)72.07 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.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/react25.5 KB
@sentry/react (incl. Tracing)38.1 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)37.02 KB
@sentry/svelte22.87 KB
CDN Bundle24.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 - uncompressed70.71 KB
CDN Bundle (incl. Tracing) - uncompressed109.74 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed222.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed235.61 KB
@sentry/nextjs (client)38.07 KB
@sentry/sveltekit (client)35.75 KB
@sentry/node125.17 KB
@sentry/node - without tracing94.28 KB
@sentry/aws-serverless103.82 KB
Oct 23, 2024

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

See https://github.com/getsentry/sentry-javascript/pull/13889 for more information.

Bundle size 📦

PathSize
@sentry/browser22.74 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)35.13 KB
@sentry/browser (incl. Tracing, Replay)71.86 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.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/react25.49 KB
@sentry/react (incl. Tracing)38.09 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)37.02 KB
@sentry/svelte22.87 KB
CDN Bundle24.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 - uncompressed70.7 KB
CDN Bundle (incl. Tracing) - uncompressed109.74 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed222.25 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed235.46 KB
@sentry/nextjs (client)38.18 KB
@sentry/sveltekit (client)35.75 KB
@sentry/node124.98 KB
@sentry/node - without tracing94.03 KB
@sentry/aws-serverless103.63 KB
Oct 22, 2024

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 📦

PathSize
@sentry/browser22.74 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)35.13 KB
@sentry/browser (incl. Tracing, Replay)72.1 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.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/react25.5 KB
@sentry/react (incl. Tracing)38.1 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)37.02 KB
@sentry/svelte22.87 KB
CDN Bundle24.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 - uncompressed70.71 KB
CDN Bundle (incl. Tracing) - uncompressed109.74 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed222.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed235.61 KB
@sentry/nextjs (client)38.07 KB
@sentry/sveltekit (client)35.75 KB
@sentry/node125.17 KB
@sentry/node - without tracing94.28 KB
@sentry/aws-serverless103.82 KB
Oct 21, 2024

Beta release of the official Nuxt Sentry SDK

This release marks the beta release of the @sentry/nuxt Sentry SDK. For details on how to use it, check out the Sentry Nuxt SDK README. Please reach out on GitHub if you have any feedback or concerns.

  • feat(nuxt): Make dynamic import() wrapping default (#13958) (BREAKING)
  • feat(nuxt): Add Rollup plugin to wrap server entry with import() (#13945)

It is no longer required to add a Node --import flag. Please update your start command to avoid initializing Sentry twice (BREAKING CHANGE). The SDK will now apply modifications during the build of your application to allow for patching of libraries during runtime. If run into issues with this change, you can disable this behavior in your nuxt.config.ts and use the --import flag instead:

sentry: {
  dynamicImportForServerEntry: false;
}
  • feat(nuxt): Respect user-provided source map generation settings (#14020)

We now require you to explicitly enable sourcemaps for the clientside so that Sentry can un-minify your errors. We made this change so source maps aren't accidentally leaked to the public. Enable source maps on the client as follows:

export default defineNuxtConfig({
  sourcemap: {
    client: true,
  },
});
  • feat(nuxt): Log server instrumentation might not work in dev (#14021)
  • feat(nuxt): Add Http responseHook with waitUntil (#13986)

Important Changes

  • feat(vue): Add Pinia plugin (#13841)

Support for Pinia is added in this release for @sentry/vue. To capture Pinia state data, add createSentryPiniaPlugin() to your Pinia store:

import { createPinia } from 'pinia';
import { createSentryPiniaPlugin } from '@sentry/vue';

const pinia = createPinia();

pinia.use(createSentryPiniaPlugin());
  • feat(node): Implement Sentry-specific http instrumentation (#13763)

This change introduces a new SentryHttpInstrumentation to handle non-span related HTTP instrumentation, allowing it to run side-by-side with OTel's HttpInstrumentation. This improves support for custom OTel setups and avoids conflicts with Sentry's instrumentation. Additionally, the spans: false option is reintroduced for httpIntegration to disable span emission while still allowing custom HttpInstrumentation instances (httpIntegration({ spans: false })).

  • feat(core): Make stream instrumentation opt-in (#13951)

This change adds a new option trackFetchStreamPerformance to the browser tracing integration. Only when set to true, Sentry will instrument streams via fetch.

Other Changes

  • feat(node): Expose suppressTracing API (#13875)
  • feat(replay): Do not log "timeout while trying to read resp body" as exception (#13965)
  • chore(node): Bump @opentelemetry/instrumentation-express to 0.43.0 (#13948)
  • chore(node): Bump @opentelemetry/instrumentation-fastify to 0.40.0 (#13983)
  • fix: Ensure type for init is correct in meta frameworks (#13938)
  • fix(core): .set the sentry-trace header instead of .appending in fetch instrumentation (#13907)
  • fix(module): keep version for node ESM package (#13922)
  • fix(node): Ensure ignoreOutgoingRequests of httpIntegration applies to breadcrumbs (#13970)
  • fix(replay): Fix onError sampling when loading an expired buffered session (#13962)
  • fix(replay): Ignore older performance entries when starting manually (#13969)
  • perf(node): Truncate breadcrumb messages created by console integration (#14006)

Work in this release was contributed by @ZakrepaShe and @zhiyan114. Thank you for your contributions!

Bundle size 📦

PathSize
@sentry/browser22.73 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)35.12 KB
@sentry/browser (incl. Tracing, Replay)71.86 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.26 KB
@sentry/browser (incl. Tracing, Replay with Canvas)76.21 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.99 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.82 KB
@sentry/browser (incl. metrics)27 KB
@sentry/browser (incl. Feedback)39.87 KB
@sentry/browser (incl. sendFeedback)27.38 KB
@sentry/browser (incl. FeedbackAsync)32.17 KB
@sentry/react25.49 KB
@sentry/react (incl. Tracing)38.09 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)37.02 KB
@sentry/svelte22.87 KB
CDN Bundle24.11 KB
CDN Bundle (incl. Tracing)36.96 KB
CDN Bundle (incl. Tracing, Replay)71.65 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.99 KB
CDN Bundle - uncompressed70.7 KB
CDN Bundle (incl. Tracing) - uncompressed109.73 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed222.24 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed235.46 KB
@sentry/nextjs (client)38.06 KB
@sentry/sveltekit (client)35.74 KB
@sentry/node125.15 KB
@sentry/node - without tracing94.25 KB
@sentry/aws-serverless103.81 KB
Oct 15, 2024

Important Changes

  • feat(core): Make stream instrumentation opt-in (#13951)

This change adds a new option trackFetchStreamPerformance to the browser tracing integration. Only when set to true, Sentry will instrument streams via fetch.

Work in this release was contributed by @ZakrepaShe and @zhiyan114. Thank you for your contributions!

Other Changes

  • chore(node): Bump @opentelemetry/instrumentation-express to 0.43.0 (#13948)
  • ci: Ensure we check correctly for bot users (#13955)
  • dev(e2e): Fix nestjs version constraint (#13964)
  • feat(node): Expose suppressTracing API (#13875)
  • feat(node): Implement Sentry-specific http instrumentation (#13763)
  • feat(nuxt): Add Rollup plugin to wrap server entry with import() (#13945)
  • feat(replay): Do not log "timeout while trying to read resp body" as exception (#13965)
  • feat(vue): Add Pinia plugin (#13841)
  • fix: Ensure type for init is correct in meta frameworks (#13938)
  • fix(module): keep version for node ESM package (#13922)
  • fix(replay): Fix onError sampling when loading an expired buffered session (#13962)
  • ref: Add external contributor to CHANGELOG.md (#13956)
  • ref: Add external contributor to CHANGELOG.md (#13959)
  • test(browser): Add test for current DSC transaction name updating behavior (#13953)
  • test(loader): Update Loader Script & test error in sentryOnLoad (#13952)
  • test(node): Add tests for current DSC transaction name updating behavior (#13961)

Bundle size 📦

PathSize
@sentry/browser22.74 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)35.01 KB
@sentry/browser (incl. Tracing, Replay)71.73 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.1 KB
@sentry/browser (incl. Tracing, Replay with Canvas)76.07 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.84 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.69 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/react25.49 KB
@sentry/react (incl. Tracing)37.98 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)36.9 KB
@sentry/svelte22.87 KB
CDN Bundle24.12 KB
CDN Bundle (incl. Tracing)36.84 KB
CDN Bundle (incl. Tracing, Replay)71.51 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.82 KB
CDN Bundle - uncompressed70.7 KB
CDN Bundle (incl. Tracing) - uncompressed109.37 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed221.8 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed235.02 KB
@sentry/nextjs (client)37.95 KB
@sentry/sveltekit (client)35.6 KB
@sentry/node125.04 KB
@sentry/node - without tracing94.14 KB
@sentry/aws-serverless103.71 KB
Oct 11, 2024
  • feat(replay): Allow capture of replays that are "too long" in order to help debug errors occuring outside of normal replay duration window

Bundle size 📦

PathSize
@sentry/browser22.74 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)34.98 KB
@sentry/browser (incl. Tracing, Replay)71.78 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.12 KB
@sentry/browser (incl. Tracing, Replay with Canvas)76.12 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.88 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.74 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/react25.5 KB
@sentry/react (incl. Tracing)37.95 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)36.87 KB
@sentry/svelte22.87 KB
CDN Bundle24.05 KB
CDN Bundle (incl. Tracing)36.77 KB
CDN Bundle (incl. Tracing, Replay)71.46 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.77 KB
CDN Bundle - uncompressed70.54 KB
CDN Bundle (incl. Tracing) - uncompressed109.05 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed221.73 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed234.95 KB
@sentry/nextjs (client)37.92 KB
@sentry/sveltekit (client)35.57 KB
@sentry/node124.91 KB
@sentry/node - without tracing94.14 KB
@sentry/aws-serverless103.71 KB
Oct 10, 2024

Important Changes

  • ref(nextjs): Remove dead code (#13828)

Relevant for users of the @sentry/nextjs package: If you have previously configured a SENTRY_IGNORE_API_RESOLUTION_ERROR environment variable, it is now safe to unset it.

Other Changes

  • feat(cdn): Export getReplay in replay CDN bundles (#13881)
  • feat(replay): Clear fallback buffer when switching buffers (#13914)
  • feat(replay): Upgrade rrweb packages to 2.28.0 (#13732)
  • fix(docs): Correct supported browsers due to globalThis (#13788)
  • fix(nextjs): Adjust path to requestAsyncStorageShim.js template file (#13928)
  • fix(nextjs): Detect new locations for request async storage to support Next.js v15.0.0-canary.180 and higher (#13920)
  • fix(nextjs): Drop _not-found spans for all HTTP methods (#13906)
  • fix(nextjs): Fix resolution of request storage shim fallback (#13929)
  • fix(node): Ensure graphql options are correct when preloading (#13769)
  • fix(node): Local variables handle error (#13827)
  • fix(node): Remove dataloader instrumentation from default integrations (#13873)
  • fix(nuxt): Create declaration files for Nuxt module (#13909)
  • fix(replay): Ensure replay_id is removed from frozen DSC when stopped (#13893)
  • fix(replay): Try/catch sendBufferedReplayOrFlush to prevent cycles (#13900)
  • fix(sveltekit): Ensure trace meta tags are always injected (#13231)
  • fix(sveltekit): Update wrapServerRouteWithSentry to respect ParamMatchers (#13390)
  • fix(wasm): Integration wasm uncaught WebAssembly.Exception (#13787) (#13854)
  • ref(nextjs): Ignore sentry spans based on query param attribute (#13905)
  • ref(utils): Move vercelWaitUntil to utils (#13891)

Work in this release was contributed by @trzeciak, @gurpreetatwal, @ykzts and @lizhiyao. Thank you for your contributions!

Bundle size 📦

PathSize
@sentry/browser22.73 KB
@sentry/browser - with treeshaking flags21.53 KB
@sentry/browser (incl. Tracing)34.97 KB
@sentry/browser (incl. Tracing, Replay)71.62 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags62.03 KB
@sentry/browser (incl. Tracing, Replay with Canvas)75.97 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.73 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.59 KB
@sentry/browser (incl. metrics)27 KB
@sentry/browser (incl. Feedback)39.87 KB
@sentry/browser (incl. sendFeedback)27.38 KB
@sentry/browser (incl. FeedbackAsync)32.17 KB
@sentry/react25.49 KB
@sentry/react (incl. Tracing)37.94 KB
@sentry/vue26.91 KB
@sentry/vue (incl. Tracing)36.86 KB
@sentry/svelte22.87 KB
CDN Bundle24.05 KB
CDN Bundle (incl. Tracing)36.76 KB
CDN Bundle (incl. Tracing, Replay)71.38 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.7 KB
CDN Bundle - uncompressed70.53 KB
CDN Bundle (incl. Tracing) - uncompressed109.04 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed221.4 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed234.62 KB
@sentry/nextjs (client)37.91 KB
@sentry/sveltekit (client)35.56 KB
@sentry/node124.5 KB
@sentry/node - without tracing93.64 KB
@sentry/aws-serverless103.3 KB
Oct 4, 2024
  • fix(browser/v7): Ensure wrap() only returns functions (#13838 backport)

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

Oct 2, 2024

Important Changes

  • feat(nextjs): Support new async APIs (headers(), params, searchParams) (#13828)

Adds support for new dynamic Next.js APIs.

  • feat(node): Add lru-memoizer instrumentation (#13796)

Adds integration for lru-memoizer using @opentelemetry/instrumentation-lru-memoizer.

  • feat(nuxt): Add unstable_sentryBundlerPluginOptions to module options (#13811)

Allows passing other options from the bundler plugins (vite and rollup) to Nuxt module options.

Other Changes

  • fix(browser): Ensure wrap() only returns functions (#13838)
  • fix(core): Adapt trpc middleware input attachment (#13831)
  • fix(core): Don't return trace data in getTraceData and getTraceMetaTags if SDK is disabled (#13760)
  • fix(nuxt): Don't restrict source map assets upload (#13800)
  • fix(nuxt): Use absolute path for client config (#13798)
  • fix(replay): Stop global event handling for paused replays (#13815)
  • fix(sveltekit): add url param to source map upload options (#13812)
  • fix(types): Add jsdocs to cron types (#13776)
  • fix(nextjs): Loosen @sentry/nextjs webpack peer dependency (#13826)

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

Bundle size 📦

PathSize
@sentry/browser22.64 KB
@sentry/browser - with treeshaking flags21.42 KB
@sentry/browser (incl. Tracing)34.87 KB
@sentry/browser (incl. Tracing, Replay)71.37 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags61.8 KB
@sentry/browser (incl. Tracing, Replay with Canvas)75.72 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.49 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.37 KB
@sentry/browser (incl. metrics)26.91 KB
@sentry/browser (incl. Feedback)39.78 KB
@sentry/browser (incl. sendFeedback)27.3 KB
@sentry/browser (incl. FeedbackAsync)32.08 KB
@sentry/react25.39 KB
@sentry/react (incl. Tracing)37.85 KB
@sentry/vue26.8 KB
@sentry/vue (incl. Tracing)36.76 KB
@sentry/svelte22.77 KB
CDN Bundle23.95 KB
CDN Bundle (incl. Tracing)36.64 KB
CDN Bundle (incl. Tracing, Replay)71.14 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.45 KB
CDN Bundle - uncompressed70.17 KB
CDN Bundle (incl. Tracing) - uncompressed108.63 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed220.53 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed233.74 KB
@sentry/nextjs (client)37.81 KB
@sentry/sveltekit (client)35.44 KB
@sentry/node125.13 KB
@sentry/node - without tracing93.58 KB
@sentry/aws-serverless103.28 KB
Sep 25, 2024

Important Changes

  • ref(browser): Move navigation span descriptions into op (#13527)

Moves the description of navigation related browser spans into the op, e.g. browser - cache -> browser.cache and sets the description to the performanceEntry objects' names (in this context it is the URL of the page).

  • feat(node): Add amqplibIntegration (#13714)

  • feat(nestjs): Add SentryGlobalGenericFilter and allow specifying application ref in global filter (#13673)

Adds a SentryGlobalGenericFilter that filters both graphql and http exceptions depending on the context.

  • feat: Set log level for Fetch/XHR breadcrumbs based on status code (#13711)

Sets log levels in breadcrumbs for 5xx to error and 4xx to warning.

Other Changes

  • chore(nextjs): Bump rollup to 3.29.5 (#13761)
  • fix(core): Remove sampled flag from dynamic sampling context in Tracing without Performance mode (#13753)
  • fix(node): Ensure node-fetch does not emit spans without tracing (#13765)
  • fix(nuxt): Use Nuxt error hooks instead of errorHandler to prevent 500 (#13748)
  • fix(test): Unflake LCP test (#13741)

Work in this release was contributed by @Zen-cronic and @Sjoertjuh. Thank you for your contributions!

Bundle size 📦

PathSize
@sentry/browser22.63 KB
@sentry/browser - with treeshaking flags21.42 KB
@sentry/browser (incl. Tracing)34.86 KB
@sentry/browser (incl. Tracing, Replay)71.36 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags61.79 KB
@sentry/browser (incl. Tracing, Replay with Canvas)75.71 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.48 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.36 KB
@sentry/browser (incl. metrics)26.91 KB
@sentry/browser (incl. Feedback)39.77 KB
@sentry/browser (incl. sendFeedback)27.29 KB
@sentry/browser (incl. FeedbackAsync)32.08 KB
@sentry/react25.38 KB
@sentry/react (incl. Tracing)37.84 KB
@sentry/vue26.8 KB
@sentry/vue (incl. Tracing)36.75 KB
@sentry/svelte22.76 KB
CDN Bundle23.94 KB
CDN Bundle (incl. Tracing)36.63 KB
CDN Bundle (incl. Tracing, Replay)71.13 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.44 KB
CDN Bundle - uncompressed70.14 KB
CDN Bundle (incl. Tracing) - uncompressed108.6 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed220.48 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed233.69 KB
@sentry/nextjs (client)37.8 KB
@sentry/sveltekit (client)35.43 KB
@sentry/node124.92 KB
@sentry/node - without tracing93.57 KB
@sentry/aws-serverless103.28 KB
Sep 23, 2024

Important Changes

  • Upgrades rrweb library to version 2.28.0

Important Changes

  • feat(node): Add dataloader integration (#13664)

This release adds a new integration for the dataloader package. The Node SDK (and all SDKs that depend on it) will now automatically instrument dataloader instances. You can also add it manually:

Sentry.init({
  integrations: [Sentry.dataloaderIntegration()],
});

Other Changes

  • feat(browser): Add navigation activationStart timestamp to pageload span (#13658)
  • feat(gatsby): Add optional deleteSourcemapsAfterUpload (#13610)
  • feat(nextjs): Give app router prefetch requests a http.server.prefetch op (#13600)
  • feat(nextjs): Improve Next.js serverside span data quality (#13652)
  • feat(node): Add disableInstrumentationWarnings option (#13693)
  • feat(nuxt): Adding experimental_basicServerTracing option to Nuxt module (#13643)
  • feat(nuxt): Improve logs about adding Node option 'import' (#13726)
  • feat(replay): Add onError callback + other small improvements to debugging (#13721)
  • feat(replay): Add experimental option to allow for a checkout every 6 minutes (#13069)
  • feat(wasm): Unconditionally parse instruction addresses (#13655)
  • fix: Ensure all logs are wrapped with consoleSandbox (#13690)
  • fix(browser): Try multiple options for lazyLoadIntegration script parent element lookup (#13717)
  • fix(feedback): Actor color applies to feedback icon (#13702)
  • fix(feedback): Fix form width on mobile devices (#13068)
  • fix(nestjs): Preserve original function name on SentryTraced functions (#13684)
  • fix(node): Don't overwrite local variables for re-thrown errors (#13644)
  • fix(normalize): Treat Infinity as NaN both are non-serializable numbers (#13406)
  • fix(nuxt): Use correct server output file path (#13725)
  • fix(opentelemetry): Always use active span in Propagator.inject (#13381)
  • fix(replay): Fixes potential out-of-order segments (#13609)

Work in this release was contributed by @KyGuy2002, @artzhookov, and @julianCast. Thank you for your contributions!

Bundle size 📦

PathSize
@sentry/browser22.52 KB
@sentry/browser - with treeshaking flags21.3 KB
@sentry/browser (incl. Tracing)34.8 KB
@sentry/browser (incl. Tracing, Replay)71.3 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags61.75 KB
@sentry/browser (incl. Tracing, Replay with Canvas)75.64 KB
@sentry/browser (incl. Tracing, Replay, Feedback)88.43 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics)90.28 KB
@sentry/browser (incl. metrics)26.83 KB
@sentry/browser (incl. Feedback)39.66 KB
@sentry/browser (incl. sendFeedback)27.19 KB
@sentry/browser (incl. FeedbackAsync)31.96 KB
@sentry/react25.28 KB
@sentry/react (incl. Tracing)37.77 KB
@sentry/vue26.72 KB
@sentry/vue (incl. Tracing)36.67 KB
@sentry/svelte22.66 KB
CDN Bundle23.83 KB
CDN Bundle (incl. Tracing)36.56 KB
CDN Bundle (incl. Tracing, Replay)71.06 KB
CDN Bundle (incl. Tracing, Replay, Feedback)76.38 KB
CDN Bundle - uncompressed69.81 KB
CDN Bundle (incl. Tracing) - uncompressed108.44 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed220.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed233.53 KB
@sentry/nextjs (client)37.53 KB
@sentry/sveltekit (client)35.37 KB
@sentry/node121.77 KB
@sentry/node - without tracing93.41 KB
@sentry/aws-serverless103.11 KB
Sep 10, 2024

Important Changes

  • feat(node): Add kafkajs integration (#13528)

This release adds a new integration that instruments kafkajs library with spans and traces. This integration is automatically enabled by default, but can be included with the Sentry.kafkaIntegration() import.

Sentry.init({
  integrations: [Sentry.kafkaIntegration()],
});

Other Changes

  • feat(core): Allow adding measurements without global client (#13612)
  • feat(deps): Bump @opentelemetry/instrumentation-undici from 0.5.0 to 0.6.0 (#13622)
  • feat(deps): Bump @sentry/cli from 2.33.0 to 2.35.0 (#13624)
  • feat(node): Use @opentelemetry/instrumentation-undici for fetch tracing (#13485)
  • feat(nuxt): Add server config to root folder (#13583)
  • feat(otel): Upgrade @opentelemetry/semantic-conventions to 1.26.0 (#13631)
  • fix(browser): check supportedEntryTypes before caling the function (#13541)
  • fix(browser): Ensure Standalone CLS span timestamps are correct (#13649)
  • fix(nextjs): Widen removal of 404 transactions (#13628)
  • fix(node): Remove ambiguity and race conditions when matching local variables to exceptions (#13501)
  • fix(node): Update OpenTelemetry instrumentation package for solidstart and opentelemetry (#13640)
  • fix(node): Update OpenTelemetry instrumentation package for solidstart and opentelemetry (#13642)
  • fix(vue): Ensure Vue trackComponents list matches components with or without <> (#13543)
  • ref(profiling): Conditionally shim cjs globals (#13267)

Work in this release was contributed by @Zen-cronic and @odanado. Thank you for your contributions!

Sep 9, 2024

Important Changes

  • Beta releases of official Solid and SolidStart Sentry SDKs

This release marks the beta releases of the @sentry/solid and @sentry/solidstart Sentry SDKs. For details on how to use them, check out the Sentry Solid SDK README and the Sentry SolidStart SDK README respectively. Please reach out on GitHub if you have any feedback or concerns.

  • feat(node): Option to only wrap instrumented modules (#13139)

Adds the SDK option to only wrap ES modules with import-in-the-middle that specifically need to be instrumented.

import * as Sentry from '@sentry/node';

Sentry.init({
  dsn: '__PUBLIC_DSN__',
  registerEsmLoaderHooks: { onlyIncludeInstrumentedModules: true },
});
  • feat(node): Update OpenTelemetry packages to instrumentation v0.53.0 (#13587)

All internal OpenTelemetry instrumentation was updated to their latest version. This adds support for Mongoose v7 and v8 and fixes various bugs related to ESM mode.

Other Changes

  • feat(nextjs): Emit warning when using turbopack (#13566)
  • feat(nextjs): Future-proof Next.js config options overriding (#13586)
  • feat(node): Add generic-pool integration (#13465)
  • feat(nuxt): Upload sourcemaps generated by Nitro (#13382)
  • feat(solidstart): Add browserTracingIntegration by default (#13561)
  • feat(solidstart): Add sentrySolidStartVite plugin to simplify source maps upload (#13493)
  • feat(vue): Only start UI spans if parent is available (#13568)
  • fix(cloudflare): Guard context.waitUntil call in request handler (#13549)
  • fix(gatsby): Fix assets path for sourcemaps upload (#13592)
  • fix(nextjs): Use posix paths for sourcemap uploads (#13603)
  • fix(node-fetch): Use stringified origin url (#13581)
  • fix(node): Replace dashes in generic-pool span origins with underscores (#13579)
  • fix(replay): Fix types in WebVitalData (#13573)
  • fix(replay): Improve replay web vital types (#13602)
  • fix(utils): Keep logger on carrier (#13570)

Work in this release was contributed by @Zen-cronic. Thank you for your contribution!

Sep 3, 2024

Important Changes

  • Beta release of official NestJS SDK

This release contains the beta version of @sentry/nestjs! For details on how to use it, check out the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.

  • fix(browser): Remove faulty LCP, FCP and FP normalization logic (#13502)

This release fixes a bug in the @sentry/browser package and all SDKs depending on this package (e.g. @sentry/react or @sentry/nextjs) that caused the SDK to send incorrect web vital values for the LCP, FCP and FP vitals. The SDK previously incorrectly processed the original values as they were reported from the browser. When updating your SDK to this version, you might experience an increase in LCP, FCP and FP values, which potentially leads to a decrease in your performance score in the Web Vitals Insights module in Sentry. This is because the previously reported values were smaller than the actually measured values. We apologize for the inconvenience!

Other Changes

  • feat(nestjs): Add SentryGlobalGraphQLFilter (#13545)
  • feat(nestjs): Automatic instrumentation of nestjs interceptors after route execution (#13264)
  • feat(nextjs): Add bundleSizeOptimizations to build options (#13323)
  • feat(nextjs): Stabilize captureRequestError (#13550)
  • feat(nuxt): Wrap config in nuxt context (#13457)
  • feat(profiling): Expose profiler as top level primitive (#13512)
  • feat(replay): Add layout shift to CLS replay data (#13386)
  • feat(replay): Upgrade rrweb packages to 2.26.0 (#13483)
  • fix(cdn): Do not mangle _metadata (#13426)
  • fix(cdn): Fix SDK source for CDN bundles (#13475)
  • fix(nestjs): Check arguments before instrumenting with @Injectable (#13544)
  • fix(nestjs): Ensure exception and host are correctly passed on when using @WithSentry (#13564)
  • fix(node): Suppress tracing for transport request execution rather than transport creation (#13491)
  • fix(replay): Consider more things as DOM mutations for dead clicks (#13518)
  • fix(vue): Correctly obtain component name (#13484)

Work in this release was contributed by @leopoldkristjansson, @mhuggins and @filips123. Thank you for your contributions!

Aug 27, 2024

Important Changes

  • fix(nestjs): Exception filters in main app module are not being executed (#13278)

    With this release nestjs error monitoring is no longer automatically set up after adding the SentryModule to your application, which led to issues in certain scenarios. You will now have to either add the SentryGlobalFilter to your main module providers or decorate the catch() method in your existing global exception filters with the newly released @WithSentry() decorator. See the docs for more details.

Other Changes

  • feat: Add options for passing nonces to feedback integration (#13347)
  • feat: Add support for SENTRY_SPOTLIGHT env var in Node (#13325)
  • feat(deps): bump @prisma/instrumentation from 5.17.0 to 5.18.0 (#13327)
  • feat(feedback): Improve error message for 403 errors (#13441)
  • fix(deno): Don't rely on Deno.permissions.querySync (#13378)
  • fix(replay): Ensure we publish replay CDN bundles (#13437)

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

Aug 14, 2024
  • backport(tracing): Report dropped spans for transactions (#13343)

Bundle size 📦

PathSize
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped)80.96 KB
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped)71.89 KB
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped)76.14 KB
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped)65.52 KB
@sentry/browser (incl. Tracing) - Webpack (gzipped)35.77 KB
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped)35.66 KB
@sentry/browser (incl. Feedback) - Webpack (gzipped)31.71 KB
@sentry/browser (incl. sendFeedback) - Webpack (gzipped)31.72 KB
@sentry/browser - Webpack (gzipped)22.91 KB
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped)79.17 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped)70.49 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped)36.17 KB
@sentry/browser - ES6 CDN Bundle (gzipped)25.41 KB
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed)221.92 KB
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed)109.52 KB
@sentry/browser - ES6 CDN Bundle (minified & uncompressed)76.24 KB
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped)39.45 KB
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped)72.4 KB
@sentry/react - Webpack (gzipped)22.94 KB
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped)90.16 KB
@sentry/nextjs Client - Webpack (gzipped)54.27 KB
@sentry-internal/feedback - Webpack (gzipped)17.34 KB

Important Changes

  • feat(node): Add fsInstrumentation (#13291)

    This release adds fsIntegration, an integration that instruments the fs API to the Sentry Node SDK. The integration creates spans with naming patterns of fs.readFile, fs.unlink, and so on.

    This integration is not enabled by default and needs to be registered in your Sentry.init call. You can configure via options whether to include path arguments or error messages as span attributes when an fs call fails:

    Sentry.init({
      integrations: [
        Sentry.fsIntegration({
          recordFilePaths: true,
          recordErrorMessagesAsSpanAttributes: true,
        }),
      ],
    });

    WARNING: This integration may add significant overhead to your application. Especially in scenarios with a lot of file I/O, like for example when running a framework dev server, including this integration can massively slow down your application.

Other Changes

  • feat(browser): Add spotlightBrowser integration (#13263)

  • feat(browser): Allow sentry in safari extension background page (#13209)

  • feat(browser): Send CLS as standalone span (experimental) (#13056)

  • feat(core): Add OpenTelemetry-specific getTraceData implementation (#13281)

  • feat(nextjs): Always add browserTracingIntegration (#13324)

  • feat(nextjs): Always transmit trace data to the client (#13337)

  • feat(nextjs): export SentryBuildOptions (#13296)

  • feat(nextjs): Update experimental_captureRequestError to reflect RequestInfo.path change in Next.js canary (#13344)

  • feat(nuxt): Always add tracing meta tags (#13273)

  • feat(nuxt): Set transaction name for server error (#13292)

  • feat(replay): Add a replay-specific logger (#13256)

  • feat(sveltekit): Add bundle size optimizations to plugin options (#13318)

  • feat(sveltekit): Always add browserTracingIntegration (#13322)

  • feat(tracing): Make long animation frames opt-out (#13255)

  • fix(astro): Correctly extract request data (#13315)

  • fix(astro): Only track access request headers in dynamic page requests (#13306)

  • fix(nuxt): Add import line for disabled autoImport (#13342)

  • fix(nuxt): Add vue to excludeEsmLoaderHooks array (#13346)

  • fix(opentelemetry): Do not overwrite http span name if kind is internal (#13282)

  • fix(remix): Ensure origin is correctly set for remix server spans (#13305)

Work in this release was contributed by @MonstraG, @undead-voron and @Zen-cronic. Thank you for your contributions!

Aug 9, 2024

Important Changes

  • Alpha release of Official Solid Start SDK

This release contains the alpha version of @sentry/solidstart, our SDK for Solid Start! For details on how to use it, please see the README. Any feedback/bug reports are greatly appreciated, please reach out on GitHub.

Other Changes

  • feat(astro): Add bundleSizeOptimizations vite options to integration (#13250)
  • feat(astro): Always add BrowserTracing (#13244)
  • feat(core): Add getTraceMetaTags function (#13201)
  • feat(nestjs): Automatic instrumentation of nestjs exception filters (#13230)
  • feat(node): Add useOperationNameForRootSpan tographqlIntegration (#13248)
  • feat(sveltekit): Add wrapServerRouteWithSentry wrapper (#13247)
  • fix(aws-serverless): Extract sentry trace data from handler context over event (#13266)
  • fix(browser): Initialize default integration if defaultIntegrations: undefined (#13261)
  • fix(utils): Streamline IP capturing on incoming requests (#13272)
Latest
10.50.0-alpha.0
Tracking Since
Jun 19, 2024
Last checked Apr 21, 2026