This release is publishing the AWS Lambda Layer under SentryNodeServerlessSDKv9. The previous release 9.44.1 accidentally published the layer under SentryNodeServerlessSDKv10.
| 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.95 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.98 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.34 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 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.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.97 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.11 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.21 KB |
| @sentry/node - without tracing | 97.96 KB |
| @sentry/aws-serverless | 125.46 KB |
diagnoseSdkConnectivity doesn't create span (#17280)| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 21.82 KB |
| @sentry/browser (incl. Tracing) | 38.51 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.7 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.81 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.29 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.14 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.56 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.43 KB |
| @sentry/vue | 27.54 KB |
| @sentry/vue (incl. Tracing) | 40.27 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.69 KB |
| CDN Bundle (incl. Tracing) | 38.38 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.62 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.92 KB |
| CDN Bundle - uncompressed | 72.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 113.62 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.16 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 237.67 KB |
| @sentry/nextjs (client) | 42.44 KB |
| @sentry/sveltekit (client) | 38.93 KB |
| @sentry/node-core | 46.41 KB |
| @sentry/node | 142.76 KB |
| @sentry/node - without tracing | 89.48 KB |
| @sentry/aws-serverless | 100.67 KB |
| 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.94 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.98 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.34 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 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.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.97 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.6 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.11 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.21 KB |
| @sentry/node - without tracing | 97.96 KB |
| @sentry/aws-serverless | 125.46 KB |
Version 10.0.0 marks a release of the Sentry JavaScript SDKs that contains breaking changes. The goal of this release is to primarily upgrade the underlying OpenTelemetry dependencies to v2 with minimal breaking changes.
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 9 to version 10. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v9-to-v10/
A comprehensive migration guide outlining all changes can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
BaseClient (#17071)enableLogs and beforeSendLog experimental options (#17063)hasTracingEnabled (#17072)_experiments.autoFlushOnFeedback option as default (#17220)SentryNodeServerlessSDKv10 v10 AWS Lambda Layer (#17069)flushIfServerless function (#17177)strictTraceContinuation (#16313)@sentry-internal/node-native-stacktrace to 0.2.2 (#17207)shouldHandleError option to fastifyIntegration (#16845)createSentryHandleError (#17235)fastifyIntegration error handler (#17208)vercelAiIntegration have correct trace connected (#17132)handleErrorWithSentry (#17157)Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 21.82 KB |
| @sentry/browser (incl. Tracing) | 38.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.68 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.78 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.27 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.11 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.56 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.41 KB |
| @sentry/vue | 27.54 KB |
| @sentry/vue (incl. Tracing) | 40.25 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.69 KB |
| CDN Bundle (incl. Tracing) | 38.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.61 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.91 KB |
| CDN Bundle - uncompressed | 72.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 113.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.11 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 237.62 KB |
| @sentry/nextjs (client) | 42.42 KB |
| @sentry/sveltekit (client) | 38.91 KB |
| @sentry/node-core | 46.41 KB |
| @sentry/node | 142.76 KB |
| @sentry/node - without tracing | 89.48 KB |
| @sentry/aws-serverless | 100.67 KB |
_experiments.autoFlushOnFeedback (#17219)flushIfServerless function (#17239)@sentry-internal/node-native-stacktrace to 0.2.2 (#17256)createSentryHandleError (#17244)| 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.94 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.98 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.34 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 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.62 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.97 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.56 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.07 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.21 KB |
| @sentry/node - without tracing | 97.96 KB |
| @sentry/aws-serverless | 125.46 KB |
This is a beta release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-beta.0.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.72 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 65.82 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.31 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.15 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.56 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.42 KB |
| @sentry/vue | 27.54 KB |
| @sentry/vue (incl. Tracing) | 40.25 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.69 KB |
| CDN Bundle (incl. Tracing) | 38.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.94 KB |
| CDN Bundle - uncompressed | 72.13 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 113.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.2 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 237.71 KB |
| @sentry/nextjs (client) | 42.42 KB |
| @sentry/sveltekit (client) | 38.91 KB |
| @sentry/node-core | 46.35 KB |
| @sentry/node | 142.36 KB |
| @sentry/node - without tracing | 89.42 KB |
| @sentry/aws-serverless | 100.6 KB |
fastifyIntegration error handler (#17211)| 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.98 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.02 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.57 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.38 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 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.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79 KB |
| CDN Bundle - uncompressed | 71.73 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.16 KB |
| @sentry/nextjs (client) | 42.64 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 165.2 KB |
| @sentry/node - without tracing | 97.96 KB |
| @sentry/aws-serverless | 125.46 KB |
Object.assign to be ES5 compatible (#17080)No user-facing changes, only internal changes.
globalThis (#17185)handleErrorWithSentry (#17174)| 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.38 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 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.18 KB |
| @sentry/node - without tracing | 97.96 KB |
| @sentry/aws-serverless | 125.46 KB |
| 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.38 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.81 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.59 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.18 KB |
| @sentry/node - without tracing | 97.96 KB |
| @sentry/aws-serverless | 125.46 KB |
This is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-alpha.1.
Please note that the migration guide is work in progress and subject to change.
enableLogs and beforeSendLog 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;
},
});
Server-side and client-side parameterized routes are now supported in the Astro SDK. No configuration changes are required.
vercelAiIntegration have correct trace (#17142)Work in this release was contributed by @richardjelinek-fastest. Thank you for your contribution!
| 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 |
This is an alpha release of the upcoming major release of version 10. This release does not yet entail a comprehensive changelog as version 10 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 10.0.0-alpha.1.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 23.2 KB |
| @sentry/browser - with treeshaking flags | 21.81 KB |
| @sentry/browser (incl. Tracing) | 38.68 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.95 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.55 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.36 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.76 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.55 KB |
| @sentry/react | 24.9 KB |
| @sentry/react (incl. Tracing) | 40.61 KB |
| @sentry/vue | 27.52 KB |
| @sentry/vue (incl. Tracing) | 40.43 KB |
| @sentry/svelte | 23.22 KB |
| CDN Bundle | 24.58 KB |
| CDN Bundle (incl. Tracing) | 38.48 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.99 KB |
| CDN Bundle - uncompressed | 71.71 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.1 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.56 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.07 KB |
| @sentry/nextjs (client) | 42.59 KB |
| @sentry/sveltekit (client) | 39.09 KB |
| @sentry/node-core | 46.12 KB |
| @sentry/node | 140.43 KB |
| @sentry/node - without tracing | 89.16 KB |
| @sentry/aws-serverless | 100.33 KB |
This release adds two Browser SDK APIs to let the main thread know about debugIds of worker files:
webWorkerIntegration({worker}) to be used in the main threadregisterWebWorker({self}) to be used in the web worker// main.js
Sentry.init({...})
const worker = new MyWorker(...);
Sentry.addIntegration(Sentry.webWorkerIntegration({ worker }));
worker.addEventListener('message', e => {...});
// worker.js
Sentry.registerWebWorker({ self });
self.postMessage(...);
The internal SDK logger export from @sentry/core has been deprecated in favor of the debug export. debug only exposes log, warn, and error methods but is otherwise identical to logger. Note that this deprecation does not affect the logger export from other packages (like @sentry/browser or @sentry/node) which is used for Sentry Logging.
import { logger, debug } from '@sentry/core';
// before
logger.info('This is an info message');
// after
debug.log('This is an info message');
This release adds official support for instrumenting OpenAI SDK calls in with Sentry tracing, following OpenTelemetry semantic conventions for Generative AI. It instruments:
client.chat.completions.create() - For chat-based completionsclient.responses.create() - For the responses API// The integration respects your `sendDefaultPii` option, but you can override the behavior in the integration options
Sentry.init({
dsn: '__DSN__',
integrations: [
Sentry.openAIIntegration({
recordInputs: true, // Force recording prompts
recordOutputs: true, // Force recording responses
}),
],
});
@opentelemetry/instrumentation range to cover 0.203.0 (#17043)Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.23 KB |
| @sentry/browser - with treeshaking flags | 21.82 KB |
| @sentry/browser (incl. Tracing) | 38.73 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.96 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66 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.8 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.58 KB |
| @sentry/react | 24.94 KB |
| @sentry/react (incl. Tracing) | 40.64 KB |
| @sentry/vue | 27.57 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.72 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.12 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.58 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.02 KB |
| @sentry/node - without tracing | 97.85 KB |
| @sentry/aws-serverless | 125.35 KB |
afterStartPageloadSpan hook to improve spanId assignment on web vital spans (#16893)This PR adds a new afterStartPageloadSpan lifecycle hook to more robustly assign the correct pageload span ID to web vital spans, replacing the previous unreliable "wait for a tick" approach with a direct callback that fires when the pageload span becomes available.
This PR implements client-side parameterized routes for Next.js by leveraging an injected manifest within the existing app-router instrumentation to automatically parameterize all client-side transactions (e.g. users/123 and users/456 now become become users/:id).
This PR changes the default behavior in the Node SDK to drop HTTP spans with 401-404 and 3xx status codes by default to reduce noise in tracing data.
vercel.ai.X (#16908)disableSentryWebpackConfig flag (#17013)tracing/errors.ts (#16888)beforeSendLog in consoleSandbox (#16968)source=route (#16984)Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.32 KB |
| @sentry/browser - with treeshaking flags | 21.83 KB |
| @sentry/browser (incl. Tracing) | 38.82 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.05 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.03 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.65 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.46 KB |
| @sentry/browser (incl. Feedback) | 39.63 KB |
| @sentry/browser (incl. sendFeedback) | 27.89 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.67 KB |
| @sentry/react | 25.01 KB |
| @sentry/react (incl. Tracing) | 40.74 KB |
| @sentry/vue | 27.65 KB |
| @sentry/vue (incl. Tracing) | 40.56 KB |
| @sentry/svelte | 23.34 KB |
| CDN Bundle | 24.59 KB |
| CDN Bundle (incl. Tracing) | 38.51 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.67 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.01 KB |
| CDN Bundle - uncompressed | 71.82 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.25 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.27 KB |
| @sentry/nextjs (client) | 42.72 KB |
| @sentry/sveltekit (client) | 39.25 KB |
| @sentry/node | 163.76 KB |
| @sentry/node - without tracing | 97.98 KB |
| @sentry/aws-serverless | 125.47 KB |
This release publishes the @sentry/node-native SDK.
debug to replace logger (#16906)nextHopProtocol when adding resource spans (#16900)| Path | Size |
|---|---|
| @sentry/browser | 23.32 KB |
| @sentry/browser - with treeshaking flags | 21.82 KB |
| @sentry/browser (incl. Tracing) | 38.82 KB |
| @sentry/browser (incl. Tracing, Replay) | 76.05 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.12 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.63 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.46 KB |
| @sentry/browser (incl. Feedback) | 39.61 KB |
| @sentry/browser (incl. sendFeedback) | 27.89 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.68 KB |
| @sentry/react | 25.01 KB |
| @sentry/react (incl. Tracing) | 40.73 KB |
| @sentry/vue | 27.65 KB |
| @sentry/vue (incl. Tracing) | 40.56 KB |
| @sentry/svelte | 23.34 KB |
| CDN Bundle | 24.57 KB |
| CDN Bundle (incl. Tracing) | 38.49 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.61 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.97 KB |
| CDN Bundle - uncompressed | 71.77 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.15 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.16 KB |
| @sentry/nextjs (client) | 42.32 KB |
| @sentry/sveltekit (client) | 39.26 KB |
| @sentry/node | 163.65 KB |
| @sentry/node - without tracing | 97.95 KB |
| @sentry/aws-serverless | 125.4 KB |
feat(nuxt): Parametrize SSR routes (#16843)
When requesting dynamic or catch-all routes in Nuxt, those will now be shown as parameterized routes in Sentry.
For example, /users/123 will be shown as /users/:userId() in Sentry. This will make it easier to identify patterns and make grouping easier.
beforeStartNavigationSpan lifecycle hook (#16863)wrapRequestHandler (#16852)instrumentation-client.ts|js (#16855)redirect() calls as errors in Cloudflare (#16853)deleteSourcemapsAfterUpload jsdoc default value (#16867)Work in this release was contributed by @zachkirsch. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.25 KB |
| @sentry/browser - with treeshaking flags | 22.01 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.14 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.56 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.39 KB |
| @sentry/browser (incl. Feedback) | 39.54 KB |
| @sentry/browser (incl. sendFeedback) | 27.82 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.6 KB |
| @sentry/react | 24.99 KB |
| @sentry/react (incl. Tracing) | 40.67 KB |
| @sentry/vue | 27.6 KB |
| @sentry/vue (incl. Tracing) | 40.49 KB |
| @sentry/svelte | 23.27 KB |
| CDN Bundle | 24.77 KB |
| CDN Bundle (incl. Tracing) | 38.7 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.13 KB |
| CDN Bundle - uncompressed | 72.34 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.2 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.71 KB |
| @sentry/nextjs (client) | 42.27 KB |
| @sentry/sveltekit (client) | 39.17 KB |
| @sentry/node | 163.92 KB |
| @sentry/node - without tracing | 98.23 KB |
| @sentry/aws-serverless | 125.68 KB |
This release adds a new SDK @sentry/node-core which ships without any OpenTelemetry instrumententation out of the box. All OpenTelemetry dependencies are peer dependencies and OpenTelemetry has to be set up manually.
Use @sentry/node-core when:
Use @sentry/node when:
The ANR integration has been deprecated and will be removed in future versions. Use eventLoopBlockIntegration from @sentry/node-native instead.
_experiments.ignoreMutations option (#16816)This replay option allows to configure a selector list of elements to not capture mutations for.
Sentry.replayIntegration({
_experiments: {
ignoreMutations: ['.dragging'],
},
});
@sentry/replay-internal (#16794)diagnoseSdkConnectivity request (#16840)Work in this release was contributed by @Spice-King and @stayallive. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.42 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 38.69 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.99 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.24 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.61 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.48 KB |
| @sentry/browser (incl. Feedback) | 39.79 KB |
| @sentry/browser (incl. sendFeedback) | 28.02 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.16 KB |
| @sentry/react (incl. Tracing) | 40.63 KB |
| @sentry/vue | 27.71 KB |
| @sentry/vue (incl. Tracing) | 40.44 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.9 KB |
| CDN Bundle (incl. Tracing) | 38.7 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.17 KB |
| CDN Bundle - uncompressed | 72.75 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 115.01 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 239.15 KB |
| @sentry/nextjs (client) | 42.24 KB |
| @sentry/sveltekit (client) | 39.14 KB |
| @sentry/node | 158.05 KB |
| @sentry/node - without tracing | 96.48 KB |
| @sentry/aws-serverless | 121.7 KB |
This is an internal alpha for @sentry/node-core and @sentry/node.
| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.21 KB |
| @sentry/browser (incl. Tracing) | 38.67 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.87 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.12 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 80.53 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 92.36 KB |
| @sentry/browser (incl. Feedback) | 39.8 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.81 KB |
| @sentry/react | 25.16 KB |
| @sentry/react (incl. Tracing) | 40.61 KB |
| @sentry/vue | 27.71 KB |
| @sentry/vue (incl. Tracing) | 40.44 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.91 KB |
| CDN Bundle (incl. Tracing) | 38.68 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.73 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 79.07 KB |
| CDN Bundle - uncompressed | 72.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 114.88 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 226.25 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.78 KB |
| @sentry/nextjs (client) | 42.21 KB |
| @sentry/sveltekit (client) | 39.11 KB |
| @sentry/node | 158.06 KB |
| @sentry/node - without tracing | 96.49 KB |
| @sentry/aws-serverless | 121.72 KB |