Important Changes
- feat(v9/core): Deprecate experimental
enableLogs
andbeforeSendLog
option (#17092)
Sentry now has support for structured logging. Previously to enable structured logging, you had to use the _experiments.enableLogs
and _experiments.beforeSendLog
options. These options have been deprecated in favor of the top-level enableLogs
and beforeSendLog
options.
// before
Sentry.init({
_experiments: {
enableLogs: true,
beforeSendLog: log => {
return log;
},
},
});
// after
Sentry.init({
enableLogs: true,
beforeSendLog: log => {
return log;
},
});
- feat(astro): Implement parameterized routes
Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.
Other Changes
- feat(v9/node): Add shouldHandleError option to fastifyIntegration (#17123)
- fix(v9/cloudflare) Allow non UUID workflow instance IDs (#17135)
- fix(v9/node): Ensure tool errors for
vercelAiIntegration
have correct trace (#17142) - fix(v9/remix): Ensure source maps upload fails silently if Sentry CLI fails (#17095)
- fix(v9/svelte): Do not insert preprocess code in script module in Svelte 5 (#17124)
Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
Bundle size 📦
Path | Size |
---|---|
@sentry/browser | 23.24 KB |
@sentry/browser - with treeshaking flags | 21.83 KB |
@sentry/browser (incl. Tracing) | 38.73 KB |
@sentry/browser (incl. Tracing, Replay) | 75.97 KB |
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.01 KB |
@sentry/browser (incl. Tracing, Replay with Canvas) | 80.56 KB |
@sentry/browser (incl. Tracing, Replay, Feedback) | 92.37 KB |
@sentry/browser (incl. Feedback) | 39.53 KB |
@sentry/browser (incl. sendFeedback) | 27.81 KB |
@sentry/browser (incl. FeedbackAsync) | 32.58 KB |
@sentry/react | 24.95 KB |
@sentry/react (incl. Tracing) | 40.64 KB |
@sentry/vue | 27.58 KB |
@sentry/vue (incl. Tracing) | 40.48 KB |
@sentry/svelte | 23.25 KB |
CDN Bundle | 24.59 KB |
CDN Bundle (incl. Tracing) | 38.49 KB |
CDN Bundle (incl. Tracing, Replay) | 73.65 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) | 78.99 KB |
CDN Bundle - uncompressed | 71.73 KB |
CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.59 KB |
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.1 KB |
@sentry/nextjs (client) | 42.64 KB |
@sentry/sveltekit (client) | 39.14 KB |
@sentry/node | 165.16 KB |
@sentry/node - without tracing | 97.96 KB |
@sentry/aws-serverless | 125.45 KB |