Releases: getsentry/sentry-javascript
10.0.0-beta.0
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.
Bundle size π¦
| 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 |
9.43.0
- feat(v9/core): add MCP server instrumentation (#17196)
- feat(v9/meta): Unify detection of serverless environments and add Cloud Run (#17204)
- fix(v9/node): Add mechanism to
fastifyIntegrationerror handler (#17211) - fix(v9/replay): Fix re-sampled sessions after a click (#17195)
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.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 |
7.120.4
7.120.4-alpha.1
No user-facing changes, only internal changes.
9.42.1
- fix(v9/astro): Revert Astro v5 storing route data to
globalThis(#17185) - fix(v9/cloudflare): Avoid turning DurableObject sync methods into async (#17187)
- fix(v9/nextjs): Handle async params in url extraction (#17176)
- fix(v9/sveltekit): Align error status filtering and mechanism in
handleErrorWithSentry(#17174)
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.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 |
9.42.0
- feat(v9/aws): Detect SDK source for AWS Lambda layer (#17150)
- fix(v9/core): Fix OpenAI SDK private field access by binding non-instrumented fns (#17167)
- fix(v9/core): Update ai.response.object to gen_ai.response.object (#17155)
- fix(v9/nextjs): Update stackframe calls for next v15.5 (#17161)
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.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 |
10.0.0-alpha.2
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.
9.41.0
Important Changes
- feat(v9/core): Deprecate experimental
enableLogsandbeforeSendLogoption (#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
vercelAiIntegrationhave 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 |
10.0.0-alpha.1
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.
Bundle size π¦
| 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 |
9.40.0
Important Changes
- feat(browser): Add debugId sync APIs between web worker and main thread (#16981)
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(...);- feat(core): Deprecate logger in favor of debug (#17040)
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');- feat(node): Add OpenAI integration (#17022)
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
}),
],
});Other Changes
- feat(node-core): Expand
@opentelemetry/instrumentationrange to cover0.203.0(#17043) - fix(cloudflare): Ensure errors get captured from durable objects (#16838)
- fix(sveltekit): Ensure server errors from streamed responses are sent (#17044)
Work in this release was contributed by @0xbad0c0d3 and @tommy-gilligan. Thank you for your contributions!
Bundle size π¦
| 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 |