github getsentry/sentry-javascript 8.10.0

latest releases: 8.15.0, 8.14.0, 8.13.0...
16 days ago

Important Changes

  • feat(remix): Migrate to opentelemetry-instrumentation-remix. (#12110)

You can now simplify your remix instrumentation by opting-in like this:

const Sentry = require('@sentry/remix');

Sentry.init({
  dsn: YOUR_DSN
  // opt-in to new auto instrumentation
  autoInstrumentRemix: true,
});

With this setup, you do not need to add e.g. wrapExpressCreateRequestHandler anymore. Additionally, the quality of the
captured data improves. The old way to use @sentry/remix continues to work, but it is encouraged to use the new setup.

Other Changes

  • feat(browser): Export thirdPartyErrorFilterIntegration from @sentry/browser (#12512)
  • feat(feedback): Allow passing tags field to any feedback config param (#12197)
  • feat(feedback): Improve screenshot quality for retina displays (#12487)
  • feat(feedback): Screenshots don't resize after cropping (#12481)
  • feat(node) add max lineno and colno limits (#12514)
  • feat(profiling) add global profile context while profiler is running (#12394)
  • feat(react): Add React version to events (#12390)
  • feat(replay): Add url to replay hydration error breadcrumb type (#12521)
  • fix(core): Ensure standalone spans respect sampled flag (#12533)
  • fix(core): Use maxValueLength in extra error data integration (#12174)
  • fix(feedback): Fix scrolling after feedback submission (#12499)
  • fix(feedback): Send feedback rejects invalid responses (#12518)
  • fix(nextjs): Update @rollup/plugin-commonjs (#12527)
  • fix(node): Ensure status is correct for http server span errors (#12477)
  • fix(node): UnifygetDynamicSamplingContextFromSpan (#12522)
  • fix(profiling): continuous profile chunks should be in seconds (#12532)
  • fix(remix): Add nativeFetch support for accessing request headers (#12479)
  • fix(remix): Export no-op as captureRemixServerException from client SDK (#12497)
  • ref(node) refactor contextlines to use readline (#12221)

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

Bundle size 📦

Path Size
@sentry/browser 22.22 KB
@sentry/browser (incl. Tracing) 33.27 KB
@sentry/browser (incl. Tracing, Replay) 69.05 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.37 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 73.11 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 85.27 KB
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.09 KB
@sentry/browser (incl. metrics) 26.42 KB
@sentry/browser (incl. Feedback) 38.42 KB
@sentry/browser (incl. sendFeedback) 26.85 KB
@sentry/browser (incl. FeedbackAsync) 31.42 KB
@sentry/react 24.96 KB
@sentry/react (incl. Tracing) 36.32 KB
@sentry/vue 26.23 KB
@sentry/vue (incl. Tracing) 35.13 KB
@sentry/svelte 22.35 KB
CDN Bundle 23.41 KB
CDN Bundle (incl. Tracing) 34.95 KB
CDN Bundle (incl. Tracing, Replay) 69.08 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 74.25 KB
CDN Bundle - uncompressed 68.76 KB
CDN Bundle (incl. Tracing) - uncompressed 103.41 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 213.88 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.47 KB
@sentry/nextjs (client) 36.2 KB
@sentry/sveltekit (client) 33.9 KB
@sentry/node 112.62 KB
@sentry/node - without tracing 90.04 KB
@sentry/aws-serverless 99.12 KB

Don't miss a new sentry-javascript release

NewReleases is sending notifications on new releases.