Skip to content

10.4.0

Latest
Compare
Choose a tag to compare
@sentry-release-bot sentry-release-bot released this 11 Aug 13:05

Important Changes

  • fix(browser): Ensure IP address is only inferred by Relay if sendDefaultPii is true

This release includes a fix for a behaviour change
that was originally introduced with v9 of the SDK: User IP Addresses should only be added to Sentry events automatically,
if sendDefaultPii was set to true.

However, the change in v9 required further internal adjustment, which should have been included in v10 of the SDK.
Unfortunately, the change did not make it into the initial v10 version but is now applied with 10.4.0.
There is no API breakage involved and hence it is safe to update.
However, after updating the SDK, events (errors, traces, replays, etc.) sent from the browser, will only include
user IP addresses, if you set sendDefaultPii: true in your Sentry.init options.

We apologize for any inconvenience caused!

  • feat(node): Add ignoreStaticAssets (#17370)

This release adds a new option to httpIntegration to ignore requests for static assets (e.g. favicon.xml or robots.txt). The option defaults to true, meaning that going forward, such requests will not be traced by default. You can still enable tracing for these requests by setting the option to false:

Sentry.init({
  integrations: [
    Sentry.httpIntegration({
      // defaults to true, set to false to enable traces for static assets
      ignoreStaticAssets: false,
    }),
  ],
});

Other Changes

  • fix(nuxt): Do not drop parametrized routes (#17357)
Internal Changes
  • ref(node): Split up incoming & outgoing http handling (#17358)
  • test(node): Enable additionalDependencies in integration runner (#17361)

Bundle size 📦

Path Size
@sentry/browser 23.59 KB
@sentry/browser - with treeshaking flags 22.2 KB
@sentry/browser (incl. Tracing) 38.94 KB
@sentry/browser (incl. Tracing, Replay) 76.16 KB
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.24 KB
@sentry/browser (incl. Tracing, Replay with Canvas) 80.75 KB
@sentry/browser (incl. Tracing, Replay, Feedback) 92.57 KB
@sentry/browser (incl. Feedback) 39.87 KB
@sentry/browser (incl. sendFeedback) 28.13 KB
@sentry/browser (incl. FeedbackAsync) 32.92 KB
@sentry/react 25.27 KB
@sentry/react (incl. Tracing) 40.88 KB
@sentry/vue 27.97 KB
@sentry/vue (incl. Tracing) 40.72 KB
@sentry/svelte 23.62 KB
CDN Bundle 25.06 KB
CDN Bundle (incl. Tracing) 38.82 KB
CDN Bundle (incl. Tracing, Replay) 74.04 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 79.36 KB
CDN Bundle - uncompressed 73.2 KB
CDN Bundle (incl. Tracing) - uncompressed 114.83 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 226.44 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 238.75 KB
@sentry/nextjs (client) 42.86 KB
@sentry/sveltekit (client) 39.38 KB
@sentry/node-core 46.69 KB
@sentry/node 143.39 KB
@sentry/node - without tracing 89.89 KB
@sentry/aws-serverless 101.05 KB