NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #3729 most downloaded on npm
Official Sentry SDK for the Vercel Edge Runtime
Latest stable
11.16.0
Last release 2 days ago
20 Nov 2026
Ships on a steady schedule
a new release about every 9 days
Nearly every release is documented
notes for 60 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
360 releases · first in 2023
Drag across the ruler to compare, or tap a release to open it.
feat(nextjs): Add option for auto-generated random tunnel route
Adds an option to automatically generate a random tunnel route for the Next.js SDK. This helps prevent ad blockers and other tools from blocking Sentry requests by using a randomized path instead of the predictable /monitoring endpoint.
scope & client to getTraceData (#16633)Adds the ability to pass custom scope and client parameters to the getTraceData function, providing more flexibility when generating trace data for distributed tracing.
x-forwarded-host and x-forwarded-proto headers (#16687)@sentry/opentelemetry dependency (#16677)@sentry/pino-transport (#16652)safeJoin usage in console logging integration (#16658)CloudEvent type compatible (#16661)instrumentation-client.js file (#16637)| Path | Size |
|---|---|
| @sentry/browser | 23.42 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.89 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.13 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.38 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.58 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) | 39.84 KB |
| @sentry/vue | 27.69 KB |
| @sentry/vue (incl. Tracing) | 39.71 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.9 KB |
| CDN Bundle (incl. Tracing) | 37.97 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.38 KB |
| CDN Bundle - uncompressed | 72.75 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 112.63 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 224.01 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 236.53 KB |
| @sentry/nextjs (client) | 41.44 KB |
| @sentry/sveltekit (client) | 38.37 KB |
| @sentry/node | 147.29 KB |
| @sentry/node - without tracing | 96.27 KB |
| @sentry/aws-serverless | 121.42 KB |
Your coding agent can read these notes before it upgrades. Set up the MCP server →
feat(nextjs): Add URL to tags of server components and generation functions issues
vercelAiIntegration when ai module is detected (#16565)modulesIntegration works in more environments (#16566)sendDefaultPii (#16527)| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.88 KB |
| @sentry/browser (incl. Tracing, Replay) | 75.08 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.33 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.74 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.52 KB |
| @sentry/browser (incl. Feedback) | 39.77 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.82 KB |
| @sentry/vue | 27.7 KB |
| @sentry/vue (incl. Tracing) | 39.7 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 38.05 KB |
| CDN Bundle (incl. Tracing, Replay) | 73.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.32 KB |
| CDN Bundle - uncompressed | 72.74 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 112.6 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 223.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 236.42 KB |
| @sentry/nextjs (client) | 41.44 KB |
| @sentry/sveltekit (client) | 38.36 KB |
| @sentry/node | 147.12 KB |
| @sentry/node - without tracing | 96.09 KB |
| @sentry/aws-serverless | 121.25 KB |
feat(browser): Update `web-vitals` to 5.0.2 ([#16492](https://github.com/getsentry/sentry-javascript/pull/16492))
web-vitals to 5.0.2 (#16492)This release upgrades the web-vitals library to version 5.0.2. This upgrade could slightly change the collected web vital values and potentially also influence alerts and performance scores in the Sentry UI.
onError usage (#16547)vercelAiIntegration (#16551)ignoreLayersType option to koa integration (#16553)suppressTracing does not leak when async (#16545)| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.78 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.98 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.23 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.63 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.41 KB |
| @sentry/browser (incl. Feedback) | 39.78 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.72 KB |
| @sentry/vue | 27.7 KB |
| @sentry/vue (incl. Tracing) | 39.6 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.86 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.89 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.22 KB |
| CDN Bundle - uncompressed | 72.74 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 112.2 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 223.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 236.02 KB |
| @sentry/nextjs (client) | 41.34 KB |
| @sentry/sveltekit (client) | 38.25 KB |
| @sentry/node | 146.95 KB |
| @sentry/node - without tracing | 96.04 KB |
| @sentry/aws-serverless | 121.2 KB |
feat(deps): Bump @sentry/cli from 2.45.0 to 2.46.0
Work in this release was contributed by @eltigerchino. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.46 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.68 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.94 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
| @sentry/browser (incl. Feedback) | 39.78 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.41 KB |
| @sentry/vue | 27.69 KB |
| @sentry/vue (incl. Tracing) | 39.27 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.99 KB |
| CDN Bundle - uncompressed | 72.67 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.25 KB |
| @sentry/nextjs (client) | 41.03 KB |
| @sentry/sveltekit (client) | 37.93 KB |
| @sentry/node | 146.9 KB |
| @sentry/node - without tracing | 96.03 KB |
| @sentry/aws-serverless | 121.19 KB |
feat(nestjs): Stop creating spans for `TracingInterceptor` ([#16501](https://github.com/getsentry/sentry-javascript/pull/16501))
TracingInterceptor (#16501)With this change we stop creating spans for TracingInterceptor as this interceptor only serves as an internal helper and adds noise for the user.
This feature ships updates to the span names and ops to better match OpenTelemetry. This should make them more easily accessible to the new agents module view we are building.
vercelAIIntegration from @sentry/node (#16496)Work in this release was contributed by @agrattan0820. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.46 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.68 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.94 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
| @sentry/browser (incl. Feedback) | 39.78 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.41 KB |
| @sentry/vue | 27.69 KB |
| @sentry/vue (incl. Tracing) | 39.27 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.99 KB |
| CDN Bundle - uncompressed | 72.67 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.25 KB |
| @sentry/nextjs (client) | 41.03 KB |
| @sentry/sveltekit (client) | 37.93 KB |
| @sentry/node | 146.9 KB |
| @sentry/node - without tracing | 96.03 KB |
| @sentry/aws-serverless | 121.19 KB |
feat(node): Expand how vercel ai input/outputs can be set
ReactRouterServer integration (#16470)| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.46 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.68 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.94 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
| @sentry/browser (incl. Feedback) | 39.77 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.41 KB |
| @sentry/vue | 27.69 KB |
| @sentry/vue (incl. Tracing) | 39.27 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.66 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.99 KB |
| CDN Bundle - uncompressed | 72.67 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.25 KB |
| @sentry/nextjs (client) | 41.03 KB |
| @sentry/sveltekit (client) | 37.93 KB |
| @sentry/node | 146.75 KB |
| @sentry/node - without tracing | 96.03 KB |
| @sentry/aws-serverless | 121.19 KB |
feat(react-router): Re-export functions from @sentry/react
@sentry/react (#16465)| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.44 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.69 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
| @sentry/browser (incl. Feedback) | 39.78 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.39 KB |
| @sentry/vue | 27.67 KB |
| @sentry/vue (incl. Tracing) | 39.24 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.62 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB |
| CDN Bundle - uncompressed | 72.67 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB |
| @sentry/nextjs (client) | 41.02 KB |
| @sentry/sveltekit (client) | 37.93 KB |
| @sentry/node | 146.56 KB |
| @sentry/node - without tracing | 96.03 KB |
| @sentry/aws-serverless | 121.19 KB |
fix(otel): Don't ignore child spans after the root is sent
| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.44 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.69 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
| @sentry/browser (incl. Feedback) | 39.78 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.39 KB |
| @sentry/vue | 27.67 KB |
| @sentry/vue (incl. Tracing) | 39.24 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.62 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB |
| CDN Bundle - uncompressed | 72.67 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB |
| @sentry/nextjs (client) | 41.02 KB |
| @sentry/sveltekit (client) | 37.93 KB |
| @sentry/node | 146.52 KB |
| @sentry/node - without tracing | 95.99 KB |
| @sentry/aws-serverless | 121.15 KB |
feat(browser): Add option to ignore `mark` and `measure` spans ([#16443](https://github.com/getsentry/sentry-javascript/pull/16443))
mark and measure spans (#16443)This release adds an option to browserTracingIntegration that lets you ignore
mark and measure spans created from the performance.mark(...) and performance.measure(...) browser APIs:
Sentry.init({
integrations: [
Sentry.browserTracingIntegration({
ignorePerformanceApiSpans: ['measure-to-ignore', /mark-to-ignore/],
}),
],
});
includeServerName option (#16442)@sentry/nuxt external (#16444)| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.44 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.69 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.96 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.33 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.13 KB |
| @sentry/browser (incl. Feedback) | 39.77 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.39 KB |
| @sentry/vue | 27.67 KB |
| @sentry/vue (incl. Tracing) | 39.24 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.88 KB |
| CDN Bundle (incl. Tracing) | 37.62 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.64 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.93 KB |
| CDN Bundle - uncompressed | 72.67 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.22 KB |
| @sentry/nextjs (client) | 41.02 KB |
| @sentry/sveltekit (client) | 37.93 KB |
| @sentry/node | 146.37 KB |
| @sentry/node - without tracing | 95.83 KB |
| @sentry/aws-serverless | 120.98 KB |
feat(angular): Bump @sentry/angular peer dependencies to add Angular 20 support
@sentry/angular peer dependencies to add Angular 20 support (#16414)This release adds support for Angular 20 to the Sentry Angular SDK @sentry/angular.
unregisterOriginalCallbacks option to browserApiErrorsIntegration (#16412)| Path | Size |
|---|---|
| @sentry/browser | 23.43 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 37.39 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.64 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.92 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.29 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.09 KB |
| @sentry/browser (incl. Feedback) | 39.77 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.8 KB |
| @sentry/react | 25.15 KB |
| @sentry/react (incl. Tracing) | 39.35 KB |
| @sentry/vue | 27.67 KB |
| @sentry/vue (incl. Tracing) | 39.19 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.71 KB |
| CDN Bundle (incl. Tracing) | 37.57 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.58 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.88 KB |
| CDN Bundle - uncompressed | 72.17 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.21 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.51 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.03 KB |
| @sentry/nextjs (client) | 40.97 KB |
| @sentry/sveltekit (client) | 37.88 KB |
| @sentry/node | 146.36 KB |
| @sentry/node - without tracing | 95.82 KB |
| @sentry/aws-serverless | 120.98 KB |
feat(browser): option to ignore certain resource types ([#16389](https://github.com/getsentry/sentry-javascript/pull/16389))
Adds an option to opt out of certain resource.* spans via ignoreResourceSpans.
For example, to opt out of resource.script spans:
Sentry.browserTracingIntegration({
ignoreResourceSpans: ['resource.script'],
}),
isEnabled from all SDKs (#16405)init() (#16354)captureLog (#16352)_INTERNAL_captureSerializedLog (#16387)static/chunks/main-* files for widenClientFileUpload (#16406)browserTracingIntegration code to setup hook (#16386)@sentry/nuxt as external in Rollup (#16407)withScope keeps span active & _getTraceInfoFromScope works (#16385)Work in this release was contributed by @Xenossolitarius. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.37 KB |
| @sentry/browser - with treeshaking flags | 23.14 KB |
| @sentry/browser (incl. Tracing) | 37.33 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.59 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.86 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.23 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.04 KB |
| @sentry/browser (incl. Feedback) | 39.73 KB |
| @sentry/browser (incl. sendFeedback) | 27.97 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.75 KB |
| @sentry/react | 25.11 KB |
| @sentry/react (incl. Tracing) | 39.29 KB |
| @sentry/vue | 27.6 KB |
| @sentry/vue (incl. Tracing) | 39.11 KB |
| @sentry/svelte | 23.39 KB |
| CDN Bundle | 24.66 KB |
| CDN Bundle (incl. Tracing) | 37.51 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.52 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.83 KB |
| CDN Bundle - uncompressed | 71.96 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.3 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.82 KB |
| @sentry/nextjs (client) | 40.93 KB |
| @sentry/sveltekit (client) | 37.83 KB |
| @sentry/node | 146.36 KB |
| @sentry/node - without tracing | 95.82 KB |
| @sentry/aws-serverless | 120.98 KB |
Revert "feat(browser): Track measure detail as span attributes" ([#16348](https://github.com/getsentry/sentry-javascript/pull/16348))
This is a revert of a feature introduced in 9.20.0 with #16240. This feature was causing crashes in firefox, so we are reverting it. We will re-enable this functionality in the future after fixing the crash.
ServerBuild argument and return (#16336)| Path | Size |
|---|---|
| @sentry/browser | 23.39 KB |
| @sentry/browser - with treeshaking flags | 23.16 KB |
| @sentry/browser (incl. Tracing) | 37.37 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.59 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.86 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.26 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.07 KB |
| @sentry/browser (incl. Feedback) | 39.76 KB |
| @sentry/browser (incl. sendFeedback) | 28 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.77 KB |
| @sentry/react | 25.12 KB |
| @sentry/react (incl. Tracing) | 39.3 KB |
| @sentry/vue | 27.68 KB |
| @sentry/vue (incl. Tracing) | 39.15 KB |
| @sentry/svelte | 23.41 KB |
| CDN Bundle | 24.64 KB |
| CDN Bundle (incl. Tracing) | 37.47 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.8 KB |
| CDN Bundle - uncompressed | 71.9 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.29 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.82 KB |
| @sentry/nextjs (client) | 40.92 KB |
| @sentry/sveltekit (client) | 37.83 KB |
| @sentry/node | 145.96 KB |
| @sentry/node - without tracing | 95.8 KB |
| @sentry/aws-serverless | 120.54 KB |
feat(node): Vendor in @fastify/otel
@fastify/otel (#16328)OnEvent decorators (#16306)client exports to server and cloudflare entries (#16341)Work in this release was contributed by @phthhieu. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.48 KB |
| @sentry/browser - with treeshaking flags | 23.15 KB |
| @sentry/browser (incl. Tracing) | 37.56 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.79 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.98 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.44 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.27 KB |
| @sentry/browser (incl. Feedback) | 39.87 KB |
| @sentry/browser (incl. sendFeedback) | 28.11 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.87 KB |
| @sentry/react | 25.21 KB |
| @sentry/react (incl. Tracing) | 39.49 KB |
| @sentry/vue | 27.77 KB |
| @sentry/vue (incl. Tracing) | 39.34 KB |
| @sentry/svelte | 23.5 KB |
| CDN Bundle | 24.65 KB |
| CDN Bundle (incl. Tracing) | 37.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.57 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.89 KB |
| CDN Bundle - uncompressed | 71.9 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.35 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.65 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.18 KB |
| @sentry/nextjs (client) | 41.1 KB |
| @sentry/sveltekit (client) | 38.04 KB |
| @sentry/node | 145.96 KB |
| @sentry/node - without tracing | 95.8 KB |
| @sentry/aws-serverless | 120.54 KB |
feat(browser): Track measure detail as span attributes ([#16240](https://github.com/getsentry/sentry-javascript/pull/16240))
The SDK now automatically collects details passed to performance.measure options.
maxIncomingRequestBodySize (#16225)aria-label (#16192)next.route attribute on root spans (#16297)orgId option to init and DSC (sentry-org_id in baggage) (#16305)| Path | Size |
|---|---|
| @sentry/browser | 23.48 KB |
| @sentry/browser - with treeshaking flags | 23.15 KB |
| @sentry/browser (incl. Tracing) | 37.56 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.79 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.98 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.44 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.27 KB |
| @sentry/browser (incl. Feedback) | 39.87 KB |
| @sentry/browser (incl. sendFeedback) | 28.11 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.87 KB |
| @sentry/react | 25.25 KB |
| @sentry/react (incl. Tracing) | 39.53 KB |
| @sentry/vue | 27.77 KB |
| @sentry/vue (incl. Tracing) | 39.34 KB |
| @sentry/svelte | 23.5 KB |
| CDN Bundle | 24.66 KB |
| CDN Bundle (incl. Tracing) | 37.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.58 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.9 KB |
| CDN Bundle - uncompressed | 71.95 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.4 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 222.7 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 235.23 KB |
| @sentry/nextjs (client) | 41.1 KB |
| @sentry/sveltekit (client) | 38.04 KB |
| @sentry/node | 154.45 KB |
| @sentry/node - without tracing | 95.77 KB |
| @sentry/aws-serverless | 120.52 KB |
feat(react-router): Add otel instrumentation for server requests
opentelemetry-instrumentation-remix (#16145)cancelled reason (#16277)@fastify/otel fork to direct url to allow installing without git (#16287)Work in this release was contributed by @sidx1024. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.4 KB |
| @sentry/browser - with treeshaking flags | 23.06 KB |
| @sentry/browser (incl. Tracing) | 37.31 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.53 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.72 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.19 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91 KB |
| @sentry/browser (incl. Feedback) | 39.8 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.79 KB |
| @sentry/react | 25.17 KB |
| @sentry/react (incl. Tracing) | 39.27 KB |
| @sentry/vue | 27.67 KB |
| @sentry/vue (incl. Tracing) | 39.07 KB |
| @sentry/svelte | 23.43 KB |
| CDN Bundle | 24.58 KB |
| CDN Bundle (incl. Tracing) | 37.33 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.68 KB |
| CDN Bundle - uncompressed | 71.72 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 110.5 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 221.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.31 KB |
| @sentry/nextjs (client) | 40.88 KB |
| @sentry/sveltekit (client) | 37.77 KB |
| @sentry/node | 154.29 KB |
| @sentry/node - without tracing | 95.6 KB |
| @sentry/aws-serverless | 120.36 KB |
feat: Support Node 24 ([#16236](https://github.com/getsentry/sentry-javascript/pull/16236))
We now also publish profiling binaries for Node 24.
import-in-the-middle to 1.13.1 (#16260)consoleLoggingIntegration from vercel edge sdk (#16228)@fastify/otel dependency with pinned Otel v1 deps (#16256)| Path | Size |
|---|---|
| @sentry/browser | 23.4 KB |
| @sentry/browser - with treeshaking flags | 23.22 KB |
| @sentry/browser (incl. Tracing) | 37.3 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.53 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.37 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.18 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.99 KB |
| @sentry/browser (incl. Feedback) | 39.8 KB |
| @sentry/browser (incl. sendFeedback) | 28.03 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.79 KB |
| @sentry/react | 25.17 KB |
| @sentry/react (incl. Tracing) | 39.26 KB |
| @sentry/vue | 27.67 KB |
| @sentry/vue (incl. Tracing) | 39.06 KB |
| @sentry/svelte | 23.43 KB |
| CDN Bundle | 24.58 KB |
| CDN Bundle (incl. Tracing) | 37.33 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.37 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.67 KB |
| CDN Bundle - uncompressed | 71.72 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 110.46 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 221.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.27 KB |
| @sentry/nextjs (client) | 40.88 KB |
| @sentry/sveltekit (client) | 37.76 KB |
| @sentry/node | 155.42 KB |
| @sentry/node - without tracing | 96 KB |
| @sentry/aws-serverless | 121.5 KB |
feat(node): Migrate to @fastify/otel
@fastify/otel (#15542)| Path | Size |
|---|---|
| @sentry/browser | 23.35 KB |
| @sentry/browser - with treeshaking flags | 23.19 KB |
| @sentry/browser (incl. Tracing) | 37.25 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.47 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.34 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.12 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.93 KB |
| @sentry/browser (incl. Feedback) | 39.75 KB |
| @sentry/browser (incl. sendFeedback) | 27.98 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.74 KB |
| @sentry/react | 25.16 KB |
| @sentry/react (incl. Tracing) | 39.24 KB |
| @sentry/vue | 27.63 KB |
| @sentry/vue (incl. Tracing) | 39.01 KB |
| @sentry/svelte | 23.38 KB |
| CDN Bundle | 24.55 KB |
| CDN Bundle (incl. Tracing) | 37.29 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.64 KB |
| CDN Bundle - uncompressed | 71.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 110.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 221.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.15 KB |
| @sentry/nextjs (client) | 40.84 KB |
| @sentry/sveltekit (client) | 37.73 KB |
| @sentry/node | 151.37 KB |
| @sentry/node - without tracing | 95.77 KB |
| @sentry/aws-serverless | 120.16 KB |
fix(core): Make sure logs get flushed in server-runtime-client
| Path | Size |
|---|---|
| @sentry/browser | 23.35 KB |
| @sentry/browser - with treeshaking flags | 23.19 KB |
| @sentry/browser (incl. Tracing) | 37.25 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.47 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.34 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.12 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.93 KB |
| @sentry/browser (incl. Feedback) | 39.75 KB |
| @sentry/browser (incl. sendFeedback) | 27.98 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.74 KB |
| @sentry/react | 25.16 KB |
| @sentry/react (incl. Tracing) | 39.24 KB |
| @sentry/vue | 27.63 KB |
| @sentry/vue (incl. Tracing) | 39.01 KB |
| @sentry/svelte | 23.38 KB |
| CDN Bundle | 24.55 KB |
| CDN Bundle (incl. Tracing) | 37.29 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.64 KB |
| CDN Bundle - uncompressed | 71.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 110.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 221.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.15 KB |
| @sentry/nextjs (client) | 40.84 KB |
| @sentry/sveltekit (client) | 37.73 KB |
| @sentry/node | 143.93 KB |
| @sentry/node - without tracing | 95.77 KB |
| @sentry/aws-serverless | 120.16 KB |
feat: Create a Vite plugin that injects sentryConfig into the global config ([#16197](https://github.com/getsentry/sentry-javascript/pull/16197))
Add a new plugin makeConfigInjectorPlugin within our existing vite plugin that updates the global vite config with sentry options
This PR implements consistent sampling across traces as outlined in (#15754)
This PR introduces a new instrumentDurableObjectWithSentry method to the SDK, which instruments durable objects. We capture both traces and errors automatically.
Prisma integration is enabled by default, it should work for both ESM and CJS.
Adds client-side instrumentation for react router's HydratedRouter. To enable it, simply replace browserTracingIntegration() with reactRouterTracingIntegration() in your client-side init call.
When running your application in ESM mode, there have been scenarios that resulted in the http/https emitting duplicate spans for incoming requests. This was apparently caused by us double-wrapping the modules for incoming request isolation.
In order to solve this problem, the modules are no longer monkey patched by us for request isolation. Instead, we register diagnosticschannel hooks to handle request isolation now. While this is generally not expected to break anything, there is one tiny change that _may affect you if you have been relying on very specific functionality:
The ignoreOutgoingRequests option of httpIntegration receives the RequestOptions as second argument. This type is not changed, however due to how the wrapping now works, we no longer pass through the full RequestOptions, but re-construct this partially based on the generated request. For the vast majority of cases, this should be fine, but for the sake of completeness, these are the only fields that may be available there going forward - other fields that may have existed before may no longer be set:
ignoreOutgoingRequests(url: string, {
method: string;
protocol: string;
host: string;
hostname: string; // same as host
path: string;
headers: OutgoingHttpHeaders;
})
SENTRY_RELEASE from env (#16201)http.server spans with 404 status by default (#16205)removeFromDom() from throwing (#16030)| Path | Size |
|---|---|
| @sentry/browser | 23.35 KB |
| @sentry/browser - with treeshaking flags | 23.19 KB |
| @sentry/browser (incl. Tracing) | 37.25 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.47 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 68.34 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 79.12 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.93 KB |
| @sentry/browser (incl. Feedback) | 39.75 KB |
| @sentry/browser (incl. sendFeedback) | 27.98 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.74 KB |
| @sentry/react | 25.16 KB |
| @sentry/react (incl. Tracing) | 39.24 KB |
| @sentry/vue | 27.63 KB |
| @sentry/vue (incl. Tracing) | 39.01 KB |
| @sentry/svelte | 23.38 KB |
| CDN Bundle | 24.55 KB |
| CDN Bundle (incl. Tracing) | 37.29 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.33 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.64 KB |
| CDN Bundle - uncompressed | 71.62 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 110.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 221.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 234.15 KB |
| @sentry/nextjs (client) | 40.84 KB |
| @sentry/sveltekit (client) | 37.73 KB |
| @sentry/node | 144.43 KB |
| @sentry/node - without tracing | 96.3 KB |
| @sentry/aws-serverless | 120.66 KB |
feat: Export `wrapMcpServerWithSentry` from server packages ([#16127](https://github.com/getsentry/sentry-javascript/pull/16127))
wrapMcpServerWithSentry from server packages (#16127)Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages.
Adds a best effort mechanism to associate handler spans for resource, tool and prompt with the incoming message requests instead of the outgoing SSE response.
ai ESM patching (#16152)module.register (#16125)unstable_sentryVitePluginOptions correctly (#16156)Work in this release was contributed by @AntoineDuComptoirDesPharmacies. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.28 KB |
| @sentry/browser - with treeshaking flags | 23.1 KB |
| @sentry/browser (incl. Tracing) | 36.93 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.1 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.47 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.76 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.58 KB |
| @sentry/browser (incl. Feedback) | 39.68 KB |
| @sentry/browser (incl. sendFeedback) | 27.9 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.67 KB |
| @sentry/react | 25.09 KB |
| @sentry/react (incl. Tracing) | 38.93 KB |
| @sentry/vue | 27.5 KB |
| @sentry/vue (incl. Tracing) | 38.69 KB |
| @sentry/svelte | 23.31 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 36.96 KB |
| CDN Bundle (incl. Tracing, Replay) | 72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.3 KB |
| CDN Bundle - uncompressed | 71.5 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 109.33 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.62 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 233.15 KB |
| @sentry/nextjs (client) | 40.51 KB |
| @sentry/sveltekit (client) | 37.41 KB |
| @sentry/node | 143.4 KB |
| @sentry/node - without tracing | 96.49 KB |
| @sentry/aws-serverless | 120.81 KB |
feat: Add Supabase Integration ([#15719](https://github.com/getsentry/sentry-javascript/pull/15719))
This PR adds Supabase integration to @sentry/core, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking.
SentryGlobalFilter (#16066)This PR adds better RPC exception handling to @sentry/nestjs, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type in SentryGlobalFilter to improve reliability in hybrid applications.
This PR adds trace propagation to @sentry/react-router by providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads.
| Path | Size |
|---|---|
| @sentry/browser | 23.28 KB |
| @sentry/browser - with treeshaking flags | 23.12 KB |
| @sentry/browser (incl. Tracing) | 36.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.17 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.83 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.65 KB |
| @sentry/browser (incl. Feedback) | 39.68 KB |
| @sentry/browser (incl. sendFeedback) | 27.9 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.67 KB |
| @sentry/react | 25.09 KB |
| @sentry/react (incl. Tracing) | 38.91 KB |
| @sentry/vue | 27.51 KB |
| @sentry/vue (incl. Tracing) | 38.71 KB |
| @sentry/svelte | 23.32 KB |
| CDN Bundle | 24.5 KB |
| CDN Bundle (incl. Tracing) | 36.98 KB |
| CDN Bundle (incl. Tracing, Replay) | 72 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.16 KB |
| CDN Bundle - uncompressed | 71.49 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 109.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 233.16 KB |
| @sentry/nextjs (client) | 40.54 KB |
| @sentry/sveltekit (client) | 37.44 KB |
| @sentry/node | 143.37 KB |
| @sentry/node - without tracing | 96.51 KB |
| @sentry/aws-serverless | 120.83 KB |
feat(node): Add support for winston logger ([#15983](https://github.com/getsentry/sentry-javascript/pull/15983))
feat(node): Add support for winston logger (#15983)
Sentry is adding support for structured logging. In this release we've added support for sending logs to Sentry via the winston logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like @sentry/nestjs). The Logging APIs in the Sentry SDK are still experimental and subject to change.
const winston = require('winston');
const Transport = require('winston-transport');
const transport = Sentry.createSentryWinstonTransport(Transport);
const logger = winston.createLogger({
transports: [transport],
});
feat(core): Add wrapMcpServerWithSentry to instrument MCP servers from @modelcontextprotocol/sdk (#16032)
The Sentry SDK now supports instrumenting MCP servers from the @modelcontextprotocol/sdk package. Compatible with versions ^1.9.0 of the @modelcontextprotocol/sdk package.
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
// Create an MCP server
const server = new McpServer({
name: 'Demo',
version: '1.0.0',
});
// Use the instrumented server in your application
const instrumentedServer = Sentry.wrapMcpServerWithSentry(server);
feat(core): Move console integration into core and add to cloudflare/vercel-edge (#16024)
Console instrumentation has been added to @sentry/cloudflare and @sentry/nextjs Edge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs.
feat(bun): Support new Bun.serve APIs (#16035)
Bun 1.2.6 and above have a new Bun.serve API, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server.
Thanks to @Jarred-Sumner for helping us get this supported!
browserTracingIntegration (#16042)beforeSendLog after we process log (#16019)unstable_sentryVitePluginOptions to cli instance (#16033)| Path | Size |
|---|---|
| @sentry/browser | 23.28 KB |
| @sentry/browser - with treeshaking flags | 23.12 KB |
| @sentry/browser (incl. Tracing) | 36.99 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.17 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.83 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.65 KB |
| @sentry/browser (incl. Feedback) | 39.68 KB |
| @sentry/browser (incl. sendFeedback) | 27.9 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.67 KB |
| @sentry/react | 25.09 KB |
| @sentry/react (incl. Tracing) | 38.91 KB |
| @sentry/vue | 27.51 KB |
| @sentry/vue (incl. Tracing) | 38.71 KB |
| @sentry/svelte | 23.32 KB |
| CDN Bundle | 24.51 KB |
| CDN Bundle (incl. Tracing) | 36.98 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.03 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.18 KB |
| CDN Bundle - uncompressed | 71.47 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 109.34 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.63 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 233.16 KB |
| @sentry/nextjs (client) | 40.53 KB |
| @sentry/sveltekit (client) | 37.44 KB |
| @sentry/node | 143.33 KB |
| @sentry/node - without tracing | 96.47 KB |
| @sentry/aws-serverless | 120.77 KB |
feat(feedback): Implement highlighting and hiding controls for screenshots ([#15951](https://github.com/getsentry/sentry-javascript/pull/15951))
feat(feedback): Implement highlighting and hiding controls for screenshots (#15951)
The Sentry SDK now supports highlighting and hiding controls for screenshots in user feedback reports. This functionality is enabled by default.
feat(node): Add ignoreIncomingRequestBody callback to httpIntegration (#15959)
The httpIntegration now supports an optional ignoreIncomingRequestBody callback that can be used to skip capturing the body of incoming requests.
Sentry.init({
integrations: [
Sentry.httpIntegration({
ignoreIncomingRequestBody: (url, request) => {
return request.method === 'GET' && url.includes('/api/large-payload');
},
}),
],
});
The ignoreIncomingRequestBody callback receives the URL of the request and should return true if the body should be ignored.
Logging Improvements
Sentry is adding support for structured logging. In this release we've made a variety of improvements to logging functionality in the Sentry SDKs.
onRequestSpanStart hook to browser tracing integration (#15979)captureRouterTransitionStart hook for capturing navigations (#15981)http.request.prefetch: true attribute (#15980)clientInstrumentationHook (#15992)SENTRY_DEBUG env variable (#15972)authToken type to string (#15985)Work in this release was contributed by @Page- and @Fryuni. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.28 KB |
| @sentry/browser - with treeshaking flags | 23.12 KB |
| @sentry/browser (incl. Tracing) | 36.95 KB |
| @sentry/browser (incl. Tracing, Replay) | 74.14 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.51 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.8 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.61 KB |
| @sentry/browser (incl. Feedback) | 39.68 KB |
| @sentry/browser (incl. sendFeedback) | 27.9 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.67 KB |
| @sentry/react | 25.09 KB |
| @sentry/react (incl. Tracing) | 38.87 KB |
| @sentry/vue | 27.51 KB |
| @sentry/vue (incl. Tracing) | 38.67 KB |
| @sentry/svelte | 23.32 KB |
| CDN Bundle | 24.51 KB |
| CDN Bundle (incl. Tracing) | 36.95 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.99 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.16 KB |
| CDN Bundle - uncompressed | 71.47 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 109.23 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.52 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 233.05 KB |
| @sentry/nextjs (client) | 40.49 KB |
| @sentry/sveltekit (client) | 37.39 KB |
| @sentry/node | 143.03 KB |
| @sentry/node - without tracing | 96.24 KB |
| @sentry/aws-serverless | 120.58 KB |
fix(remix): Remove mentions of deprecated ErrorBoundary wrapper
http.redirect_count attribute to browser.redirect span (#15943)consoleLoggingIntegration for logs (#15955)turbopack as tag (#15928)sentryHandleRequest (#15787)module instead of require for CJS check (#15927)ErrorBoundary wrapper (#15930)sentry.previous_trace span attribute (#15957)| Path | Size |
|---|---|
| @sentry/browser | 23.2 KB |
| @sentry/browser - with treeshaking flags | 23.02 KB |
| @sentry/browser (incl. Tracing) | 36.83 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.99 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.39 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.66 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.22 KB |
| @sentry/browser (incl. Feedback) | 40.33 KB |
| @sentry/browser (incl. sendFeedback) | 27.83 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.63 KB |
| @sentry/react | 25 KB |
| @sentry/react (incl. Tracing) | 38.75 KB |
| @sentry/vue | 27.41 KB |
| @sentry/vue (incl. Tracing) | 38.55 KB |
| @sentry/svelte | 23.23 KB |
| CDN Bundle | 24.44 KB |
| CDN Bundle (incl. Tracing) | 36.85 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.87 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 77.07 KB |
| CDN Bundle - uncompressed | 71.24 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.23 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 232.8 KB |
| @sentry/nextjs (client) | 40.06 KB |
| @sentry/sveltekit (client) | 37.26 KB |
| @sentry/node | 142.88 KB |
| @sentry/node - without tracing | 96.08 KB |
| @sentry/aws-serverless | 120.43 KB |
fix: Correct @sentry-internal/feedback docs to match the code
3.2.4 (#15909)| Path | Size |
|---|---|
| @sentry/browser | 23.08 KB |
| @sentry/browser - with treeshaking flags | 22.88 KB |
| @sentry/browser (incl. Tracing) | 36.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.65 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.3 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.87 KB |
| @sentry/browser (incl. Feedback) | 40.21 KB |
| @sentry/browser (incl. sendFeedback) | 27.71 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.5 KB |
| @sentry/react | 24.86 KB |
| @sentry/react (incl. Tracing) | 38.39 KB |
| @sentry/vue | 27.3 KB |
| @sentry/vue (incl. Tracing) | 38.18 KB |
| @sentry/svelte | 23.12 KB |
| CDN Bundle | 24.33 KB |
| CDN Bundle (incl. Tracing) | 36.51 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.71 KB |
| CDN Bundle - uncompressed | 70.93 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.11 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.4 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.97 KB |
| @sentry/nextjs (client) | 39.68 KB |
| @sentry/sveltekit (client) | 36.92 KB |
| @sentry/node | 142.91 KB |
| @sentry/node - without tracing | 96.12 KB |
| @sentry/aws-serverless | 120.46 KB |
feat(node): Add logging public APIs to Node SDKs
feat: Add support for logs
beforeSendLog (#15814)All JavaScript SDKs other than @sentry/cloudflare and @sentry/deno now support sending logs via dedicated methods as part of Sentry's upcoming logging product.
Logging is gated by an experimental option, _experiments.enableLogs.
Sentry.init({
dsn: 'PUBLIC_DSN',
// `enableLogs` must be set to true to use the logging features
_experiments: { enableLogs: true },
});
const { trace, debug, info, warn, error, fatal, fmt } = Sentry.logger;
trace('Starting database connection', { database: 'users' });
debug('Cache miss for user', { userId: 123 });
error('Failed to process payment', { orderId: 'order_123', amount: 99.99 });
fatal('Database connection pool exhausted', { database: 'users', activeConnections: 100 });
// Structured logging via the `fmt` helper function. When you use `fmt`, the string template and parameters are sent separately so they can be queried independently in Sentry.
info(fmt(`Updated profile for user ${userId}`));
warn(fmt(`Rate limit approaching for endpoint ${endpoint}. Requests: ${requests}, Limit: ${limit}`));
With server-side SDKs like @sentry/node, @sentry/bun or server-side of @sentry/nextjs or @sentry/sveltekit, you can do structured logging without needing the fmt helper function.
const { info, warn } = Sentry.logger;
info('User %s logged in successfully', [123]);
warn('Failed to load user %s data', [123], { errorCode: 404 });
To filter logs, or update them before they are sent to Sentry, you can use the _experiments.beforeSendLog option.
feat(browser): Add diagnoseSdkConnectivity() function to programmatically detect possible connectivity issues (#15821)
The diagnoseSdkConnectivity() function can be used to programmatically detect possible connectivity issues with the Sentry SDK.
const result = await Sentry.diagnoseSdkConnectivity();
The result will be an object with the following properties:
"no-client-active": There was no active client when the function was called. This possibly means that the SDK was not initialized yet."sentry-unreachable": The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.undefined: The SDK is working as expected.SDK Tracing Performance Improvements for Node SDKs
dropUndefinedKeys (#15796)dropUndefinedKeys for spanToJSON calls (#15792)SentryError for PromiseBuffer control flow (#15822)dropUndefinedKeys in SpanExporter (#15794)SentryError for event processing control flow (#15823)dropUndefinedKeys in Node SDK init (#15797)We've been hard at work making performance improvements to the Sentry Node SDKs (@sentry/node, @sentry/aws-serverless, @sentry/nestjs, etc.). We've seen that upgrading from 9.7.0 to 9.10.0 leads to 30-40% improvement in request latency for HTTP web-server applications that use tracing with high sample rates. Non web-server applications and non-tracing applications will see smaller improvements.
rrweb to 2.35.0 (#15825)3.2.3 (#15829)| Path | Size |
|---|---|
| @sentry/browser | 23.08 KB |
| @sentry/browser - with treeshaking flags | 22.88 KB |
| @sentry/browser (incl. Tracing) | 36.49 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.65 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.3 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.87 KB |
| @sentry/browser (incl. Feedback) | 40.21 KB |
| @sentry/browser (incl. sendFeedback) | 27.71 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.5 KB |
| @sentry/react | 24.86 KB |
| @sentry/react (incl. Tracing) | 38.39 KB |
| @sentry/vue | 27.3 KB |
| @sentry/vue (incl. Tracing) | 38.18 KB |
| @sentry/svelte | 23.12 KB |
| CDN Bundle | 24.33 KB |
| CDN Bundle (incl. Tracing) | 36.51 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.71 KB |
| CDN Bundle - uncompressed | 70.93 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.11 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.4 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.97 KB |
| @sentry/nextjs (client) | 39.68 KB |
| @sentry/sveltekit (client) | 36.92 KB |
| @sentry/node | 142.91 KB |
| @sentry/node - without tracing | 96.12 KB |
| @sentry/aws-serverless | 120.46 KB |
feat(nextjs): Support `instrumentation-client.ts` ([#15705](https://github.com/getsentry/sentry-javascript/pull/15705))
feat(nextjs): Support instrumentation-client.ts (#15705)
Next.js recently added a feature to support client-side (browser) instrumentation via the experimental.clientInstrumentationHook flag and the instrumentation-client.ts file.
To be forwards compatible, the Sentry Next.js SDK will now pick up instrumentation-client.ts files even on older Next.js versions and add them to your client bundles.
It is suggested that you either rename your sentry.client.config.ts file to instrumentation-client.ts, or if you already happen to have a instrumentation-client.ts file move the contents of sentry.client.config.ts to instrumentation-client.ts.
feat(browser): Add previous_trace span links (#15569)
The @sentry/browser SDK and SDKs based on @sentry/browser now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option in browserTracingIntegration():
Sentry.init({
dsn: 'your-dsn-here'
integrations: [
Sentry.browserTracingIntegration({
// Available settings:
// - 'in-memory' (default): Stores previous trace information in memory
// - 'session-storage': Stores previous trace information in the browser's `sessionStorage`
// - 'off': Disable storing and sending previous trace information
linkPreviousTrace: 'in-memory',
}),
],
});
feat(browser): Add logger.X methods to browser SDK (#15763)
For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated
Sentry.init({
dsn: 'your-dsn-here',
_experiments: {
enableLogs: true, // This is required to use the logging features
},
});
Sentry.logger.info('This is a trace message', { userId: 123 });
// See PR for better documentation
Please note that the logs product is still in early access. See the link above for more information.
parseStringToURL method (#15768)dropUndefinedKeys (#15760)shouldHandleError (#15771)addNonEnumerableProperty (#15766)dropUndefinedKeys() (#15757)dropUndefinedKeys() (#15781)| Path | Size |
|---|---|
| @sentry/browser | 23.21 KB |
| @sentry/browser - with treeshaking flags | 23.01 KB |
| @sentry/browser (incl. Tracing) | 36.62 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.79 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.12 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.42 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91 KB |
| @sentry/browser (incl. Feedback) | 40.34 KB |
| @sentry/browser (incl. sendFeedback) | 27.85 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.63 KB |
| @sentry/react | 25 KB |
| @sentry/react (incl. Tracing) | 38.52 KB |
| @sentry/vue | 27.44 KB |
| @sentry/vue (incl. Tracing) | 38.3 KB |
| @sentry/svelte | 23.25 KB |
| CDN Bundle | 24.43 KB |
| CDN Bundle (incl. Tracing) | 36.63 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.62 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.83 KB |
| CDN Bundle - uncompressed | 71.39 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.59 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 232.41 KB |
| @sentry/nextjs (client) | 39.81 KB |
| @sentry/sveltekit (client) | 37.03 KB |
| @sentry/node | 142.61 KB |
| @sentry/node - without tracing | 96 KB |
| @sentry/aws-serverless | 120.36 KB |
feat(node): Implement new continuous profiling API spec
res.end before passing to Proxy (#15776)eventFilters integration (#15752)| Path | Size |
|---|---|
| @sentry/browser | 23.29 KB |
| @sentry/browser - with treeshaking flags | 23.11 KB |
| @sentry/browser (incl. Tracing) | 36.34 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.51 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.94 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.15 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.71 KB |
| @sentry/browser (incl. Feedback) | 40.43 KB |
| @sentry/browser (incl. sendFeedback) | 27.94 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.73 KB |
| @sentry/react | 25.1 KB |
| @sentry/react (incl. Tracing) | 38.26 KB |
| @sentry/vue | 27.53 KB |
| @sentry/vue (incl. Tracing) | 38.04 KB |
| @sentry/svelte | 23.33 KB |
| CDN Bundle | 24.52 KB |
| CDN Bundle (incl. Tracing) | 36.38 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.41 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.61 KB |
| CDN Bundle - uncompressed | 71.68 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.06 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.32 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.88 KB |
| @sentry/nextjs (client) | 39.56 KB |
| @sentry/sveltekit (client) | 36.76 KB |
| @sentry/node | 142.65 KB |
| @sentry/node - without tracing | 96.04 KB |
| @sentry/aws-serverless | 120.41 KB |
feat(core): Add captureLog method
captureLog method (#15717)sentryHandleError (#15726)fatal level for unhandled rejections in strict mode (#15720)| Path | Size |
|---|---|
| @sentry/browser | 23.28 KB |
| @sentry/browser - with treeshaking flags | 23.09 KB |
| @sentry/browser (incl. Tracing) | 36.33 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.5 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.93 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.13 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.69 KB |
| @sentry/browser (incl. Feedback) | 40.42 KB |
| @sentry/browser (incl. sendFeedback) | 27.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.7 KB |
| @sentry/react | 25.08 KB |
| @sentry/react (incl. Tracing) | 38.23 KB |
| @sentry/vue | 27.52 KB |
| @sentry/vue (incl. Tracing) | 38.02 KB |
| @sentry/svelte | 23.3 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 36.37 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.39 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.57 KB |
| CDN Bundle - uncompressed | 71.56 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.94 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.2 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.77 KB |
| @sentry/nextjs (client) | 39.52 KB |
| @sentry/sveltekit (client) | 36.73 KB |
| @sentry/node | 142.62 KB |
| @sentry/node - without tracing | 96.01 KB |
| @sentry/aws-serverless | 120.37 KB |
This is an alpha release that includes experimental features which are subject to breaking changes.
This is an alpha release that includes experimental features which are subject to breaking changes.
| Path | Size |
|---|---|
| @sentry/browser | 23.26 KB |
| @sentry/browser - with treeshaking flags | 23.07 KB |
| @sentry/browser (incl. Tracing) | 36.32 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.5 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.92 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.13 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.68 KB |
| @sentry/browser (incl. Feedback) | 40.4 KB |
| @sentry/browser (incl. sendFeedback) | 27.9 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.68 KB |
| @sentry/react | 25.07 KB |
| @sentry/react (incl. Tracing) | 38.21 KB |
| @sentry/vue | 27.51 KB |
| @sentry/vue (incl. Tracing) | 38.01 KB |
| @sentry/svelte | 23.29 KB |
| CDN Bundle | 24.48 KB |
| CDN Bundle (incl. Tracing) | 36.36 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.38 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.56 KB |
| CDN Bundle - uncompressed | 71.45 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.83 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 219.09 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.66 KB |
| @sentry/nextjs (client) | 39.48 KB |
| @sentry/sveltekit (client) | 36.72 KB |
| @sentry/node | 142.8 KB |
| @sentry/node - without tracing | 96.15 KB |
| @sentry/aws-serverless | 120.54 KB |
feat(deps): bump @prisma/instrumentation from 6.4.1 to 6.5.0
| Path | Size |
|---|---|
| @sentry/browser | 23.15 KB |
| @sentry/browser - with treeshaking flags | 22.94 KB |
| @sentry/browser (incl. Tracing) | 36.21 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.39 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.81 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.01 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.57 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 27.79 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.58 KB |
| @sentry/react | 24.97 KB |
| @sentry/react (incl. Tracing) | 38.1 KB |
| @sentry/vue | 27.4 KB |
| @sentry/vue (incl. Tracing) | 37.9 KB |
| @sentry/svelte | 23.18 KB |
| CDN Bundle | 24.36 KB |
| CDN Bundle (incl. Tracing) | 36.26 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.45 KB |
| CDN Bundle - uncompressed | 71.19 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.83 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.39 KB |
| @sentry/nextjs (client) | 39.38 KB |
| @sentry/sveltekit (client) | 36.63 KB |
| @sentry/node | 142.29 KB |
| @sentry/node - without tracing | 95.71 KB |
| @sentry/aws-serverless | 120.06 KB |
Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.
feat(tanstackstart): Add @sentry/tanstackstart-react package and make @sentry/tanstackstart package a utility package (#15629)
Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the @sentry/tanstackstart SDK package was renamed to @sentry/tanstackstart-react to reflect that the SDK is specifically intended to be used for React TanStack Start applications.
Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.
fill only patches functions (#15632)pageExtensions when looking for instrumentation file (#15701)options (#15610)Work in this release was contributed by @angelikatyborska and @nwalters512. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.15 KB |
| @sentry/browser - with treeshaking flags | 22.94 KB |
| @sentry/browser (incl. Tracing) | 36.21 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.39 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.8 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.01 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.57 KB |
| @sentry/browser (incl. Feedback) | 40.3 KB |
| @sentry/browser (incl. sendFeedback) | 27.79 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.58 KB |
| @sentry/react | 24.97 KB |
| @sentry/react (incl. Tracing) | 38.1 KB |
| @sentry/vue | 27.4 KB |
| @sentry/vue (incl. Tracing) | 37.9 KB |
| @sentry/svelte | 23.18 KB |
| CDN Bundle | 24.36 KB |
| CDN Bundle (incl. Tracing) | 36.26 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.45 KB |
| CDN Bundle - uncompressed | 71.19 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.4 KB |
| @sentry/nextjs (client) | 39.27 KB |
| @sentry/sveltekit (client) | 36.63 KB |
| @sentry/node | 142.15 KB |
| @sentry/node - without tracing | 95.58 KB |
| @sentry/aws-serverless | 119.92 KB |
All experimental features are subject to breaking changes.
This is an alpha release that includes experimental functionality for the new logs API in Sentry. All experimental features are subject to breaking changes.
Logging is gated by an experimental option, _experiments.enableLogs.
Sentry.init({
_experiments: {
// Enable logs to be sent to Sentry.
enableLogs: true,
},
});
These API are exposed in the Sentry._experiment_log namespace. In the future the _experiment_log namespace will be removed and logging functions will be moved into a more stable namespace.
There are functions for each of the logging severity levels fatal, error, warn, info, debug, trace. There is also a log function that is an alias to info.
Sentry._experiment_log.info('Adding item to cart', { item: 'sneakers' });
Sentry._experiment_log.warn('User performed invalid operation', { userId: '23423874', operation: 'open-file' });
If you want to do structured logging, you'll need to use the fmt helper exposed in the Sentry._experiment_log namespace.
const { fmt } = Sentry._experiment_log;
Sentry._experiment_log.info(fmt`user ${username} just bought ${item}!`);
SDKs that support the Alpha Logging APIs:
@sentry/astro@sentry/aws-serverless@sentry/browser@sentry/bun@sentry/cloudflare@sentry/core@sentry/deno@sentry/ember@sentry/gatsby@sentry/google-cloud-serverless@sentry/nestjs@sentry/nextjs@sentry/node@sentry/nuxt@sentry/react@sentry/remix@sentry/solid@sentry/solidstart@sentry/svelte@sentry/sveltekit@sentry/vercel-edge@sentry/vue| Path | Size |
|---|---|
| @sentry/browser | 23.82 KB |
| @sentry/browser - with treeshaking flags | 23.63 KB |
| @sentry/browser (incl. Tracing) | 36.82 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.98 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.42 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.63 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.17 KB |
| @sentry/browser (incl. Feedback) | 40.97 KB |
| @sentry/browser (incl. sendFeedback) | 28.46 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.24 KB |
| @sentry/react | 25.61 KB |
| @sentry/react (incl. Tracing) | 38.72 KB |
| @sentry/vue | 28.03 KB |
| @sentry/vue (incl. Tracing) | 38.54 KB |
| @sentry/svelte | 23.85 KB |
| CDN Bundle | 24.36 KB |
| CDN Bundle (incl. Tracing) | 36.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.44 KB |
| CDN Bundle - uncompressed | 71.15 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.53 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.36 KB |
| @sentry/nextjs (client) | 39.87 KB |
| @sentry/sveltekit (client) | 37.24 KB |
| @sentry/node | 142.83 KB |
| @sentry/node - without tracing | 96.26 KB |
| @sentry/aws-serverless | 120.59 KB |
We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverti
We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.
4.34.9 (#15589)@sentry/remix/cloudflare (#15599)Work in this release was contributed by @msurdi-a8c, @namoscato, and @rileyg98. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.14 KB |
| @sentry/browser - with treeshaking flags | 22.93 KB |
| @sentry/browser (incl. Tracing) | 36.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.38 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.79 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.56 KB |
| @sentry/browser (incl. Feedback) | 40.29 KB |
| @sentry/browser (incl. sendFeedback) | 27.78 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.57 KB |
| @sentry/react | 24.96 KB |
| @sentry/react (incl. Tracing) | 38.09 KB |
| @sentry/vue | 27.38 KB |
| @sentry/vue (incl. Tracing) | 37.89 KB |
| @sentry/svelte | 23.17 KB |
| CDN Bundle | 24.35 KB |
| CDN Bundle (incl. Tracing) | 36.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.26 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.43 KB |
| CDN Bundle - uncompressed | 71.14 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.52 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.79 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.36 KB |
| @sentry/nextjs (client) | 39.26 KB |
| @sentry/sveltekit (client) | 36.62 KB |
| @sentry/node | 142.14 KB |
| @sentry/node - without tracing | 95.57 KB |
| @sentry/aws-serverless | 119.92 KB |
This is an alpha release that includes experimental functionality for the new logs API in Sentry. Support for these methods are only avaliable in the
This is an alpha release that includes experimental functionality for the new logs API in Sentry. Support for these methods are only avaliable in the browser and core SDKs.
Logging is gated by an experimental option, _experiments.enableLogs.
Sentry.init({
_experiments: {
enableLogs: true,
},
});
These API are exposed in the Sentry._experiment_log namespace.
On a high level, there are functions for each of the logging severity levels fatal, error, warn, info, debug, trace. There is also a log function that is an alias to info.
Sentry._experiment_log.info('Adding item to cart', { item: 'sneakers' });
If you want to do structured logging, you'll need to use the fmt helper exposed in the Sentry._experiment_log namespace.
const { fmt } = Sentry._experiment_log;
Sentry._experiment_log.info(fmt`user ${username} just bought ${item}!`);
| Path | Size |
|---|---|
| @sentry/browser | 23.72 KB |
| @sentry/browser - with treeshaking flags | 23.54 KB |
| @sentry/browser (incl. Tracing) | 36.74 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.93 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.36 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.57 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.47 KB |
| @sentry/browser (incl. Feedback) | 40.25 KB |
| @sentry/browser (incl. sendFeedback) | 28.36 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.13 KB |
| @sentry/react | 25.54 KB |
| @sentry/react (incl. Tracing) | 38.69 KB |
| @sentry/vue | 27.97 KB |
| @sentry/vue (incl. Tracing) | 38.47 KB |
| @sentry/svelte | 23.76 KB |
| CDN Bundle | 24.36 KB |
| CDN Bundle (incl. Tracing) | 36.25 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.27 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.42 KB |
| CDN Bundle - uncompressed | 71.15 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.53 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.8 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.33 KB |
| @sentry/nextjs (client) | 39.85 KB |
| @sentry/sveltekit (client) | 37.17 KB |
| @sentry/node | 142.78 KB |
| @sentry/node - without tracing | 96.21 KB |
| @sentry/aws-serverless | 120.53 KB |
feat(core): Add types for logs protocol and envelope
@sentry/cli from 2.41.1 to 2.42.2 (#15510)@sentry/webpack-plugin from 3.1.2 to 3.2.1 (#15512)use client directive to client SDK entrypoints (#15575)AsyncLocalStorage async context strategy is used in Cloudflare Pages (#15557)@cloudflare/workers-types an optional peer dependency (#15554)onRequestError in version 15 (#15553)undefined transport to be passed in (#15560)| Path | Size |
|---|---|
| @sentry/browser | 23.13 KB |
| @sentry/browser - with treeshaking flags | 22.92 KB |
| @sentry/browser (incl. Tracing) | 36.2 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.38 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.79 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.99 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.91 KB |
| @sentry/browser (incl. Feedback) | 39.66 KB |
| @sentry/browser (incl. sendFeedback) | 27.76 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.54 KB |
| @sentry/react | 24.95 KB |
| @sentry/react (incl. Tracing) | 38.08 KB |
| @sentry/vue | 27.38 KB |
| @sentry/vue (incl. Tracing) | 37.89 KB |
| @sentry/svelte | 23.17 KB |
| CDN Bundle | 24.34 KB |
| CDN Bundle (incl. Tracing) | 36.24 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.25 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.41 KB |
| CDN Bundle - uncompressed | 71.12 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.51 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.31 KB |
| @sentry/nextjs (client) | 39.25 KB |
| @sentry/sveltekit (client) | 36.61 KB |
| @sentry/node | 142.14 KB |
| @sentry/node - without tracing | 95.57 KB |
| @sentry/aws-serverless | 119.92 KB |
With this release we're publishing two new SDKs in experimental alpha stage:
With this release we're publishing two new SDKs in experimental alpha stage:
For details please refer to the README
For details please refer to the README
This PR adds support for Shopify Hydrogen applications running on MiniOxygen runtime.
forceTransaction to trpc middleware options (#15519)inboundFiltersIntegration to eventFiltersIntegration (#15434)allowUrls and denyUrls for linked and aggregate exceptions (#15521)process check when flushing events (#15516)Work in this release was contributed by @GerryWilko and @leoambio. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.12 KB |
| @sentry/browser - with treeshaking flags | 22.91 KB |
| @sentry/browser (incl. Tracing) | 36.18 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.36 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.78 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.98 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.54 KB |
| @sentry/browser (incl. Feedback) | 40.27 KB |
| @sentry/browser (incl. sendFeedback) | 27.75 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.55 KB |
| @sentry/react | 24.94 KB |
| @sentry/react (incl. Tracing) | 38.07 KB |
| @sentry/vue | 27.36 KB |
| @sentry/vue (incl. Tracing) | 37.87 KB |
| @sentry/svelte | 23.16 KB |
| CDN Bundle | 24.33 KB |
| CDN Bundle (incl. Tracing) | 36.22 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.24 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.41 KB |
| CDN Bundle - uncompressed | 71.09 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.48 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.31 KB |
| @sentry/nextjs (client) | 39.24 KB |
| @sentry/sveltekit (client) | 36.6 KB |
| @sentry/node | 142.12 KB |
| @sentry/node - without tracing | 95.55 KB |
| @sentry/aws-serverless | 119.9 KB |
feat(node): Support Express v5 ([#15380](https://github.com/getsentry/sentry-javascript/pull/15380))
This release adds full tracing support for Express v5, and improves tracing support for Nest.js 11 (which uses Express v5) in the Nest.js SDK.
This release adds support for deploying SvelteKit applications to Cloudflare Pages. A docs update with updated instructions will follow shortly. Until then, you can give this a try by setting up the SvelteKit SDK as usual and then following the instructions outlined in the PR.
Thank you @SG60 for contributing this feature!
addLink(s) to Sentry span (#15452)enableNitroErrorHandler to server options (#15444)addLink(s) to span (#15387)links to span options (#15403)performance.measure spans have a positive duration (#15415)gmo error to Inbound Filters (#15432)http.client span descriptions don't contain query params or fragments (#15404)@opentelemetry/instrumentation (#15419)SentryNuxtServerOptions type for server init (#15441)Work in this release was contributed by @6farer, @dgavranic and @SG60. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.05 KB |
| @sentry/browser - with treeshaking flags | 22.84 KB |
| @sentry/browser (incl. Tracing) | 36.13 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.14 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.6 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.39 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.34 KB |
| @sentry/browser (incl. Feedback) | 40.2 KB |
| @sentry/browser (incl. sendFeedback) | 27.68 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.48 KB |
| @sentry/react | 24.87 KB |
| @sentry/react (incl. Tracing) | 38.01 KB |
| @sentry/vue | 27.29 KB |
| @sentry/vue (incl. Tracing) | 37.81 KB |
| @sentry/svelte | 23.09 KB |
| CDN Bundle | 24.25 KB |
| CDN Bundle (incl. Tracing) | 36.15 KB |
| CDN Bundle (incl. Tracing, Replay) | 71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.17 KB |
| CDN Bundle - uncompressed | 70.91 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.29 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.57 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.13 KB |
| @sentry/nextjs (client) | 39.16 KB |
| @sentry/sveltekit (client) | 36.54 KB |
| @sentry/node | 129.25 KB |
| @sentry/node - without tracing | 98.03 KB |
| @sentry/aws-serverless | 107.45 KB |
This is a beta release that replaces the user feedback screenshot cropping and annotating capabilities with the highlight and hide annotation boxes.
This is a beta release that replaces the user feedback screenshot cropping and annotating capabilities with the highlight and hide annotation boxes.
| Path | Size |
|---|---|
| @sentry/browser | 23.06 KB |
| @sentry/browser - with treeshaking flags | 22.84 KB |
| @sentry/browser (incl. Tracing) | 36.08 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.09 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.55 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.34 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.7 KB |
| @sentry/browser (incl. Feedback) | 39.63 KB |
| @sentry/browser (incl. sendFeedback) | 27.68 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.48 KB |
| @sentry/react | 24.88 KB |
| @sentry/react (incl. Tracing) | 37.96 KB |
| @sentry/vue | 27.24 KB |
| @sentry/vue (incl. Tracing) | 37.77 KB |
| @sentry/svelte | 23.09 KB |
| CDN Bundle | 24.26 KB |
| CDN Bundle (incl. Tracing) | 36.1 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.95 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.11 KB |
| CDN Bundle - uncompressed | 70.92 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.18 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.46 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231.02 KB |
| @sentry/nextjs (client) | 38.95 KB |
| @sentry/sveltekit (client) | 36.48 KB |
| @sentry/node | 129.29 KB |
| @sentry/node - without tracing | 98.06 KB |
| @sentry/aws-serverless | 107.49 KB |
Alpha release of User Feedback's new annotation editor that allows you to highlight (or redact) specific parts of a screenshot.
Alpha release of User Feedback's new annotation editor that allows you to highlight (or redact) specific parts of a screenshot.
| Path | Size |
|---|---|
| @sentry/browser | 23.64 KB |
| @sentry/browser - with treeshaking flags | 23.47 KB |
| @sentry/browser (incl. Tracing) | 36.67 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.27 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.47 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.39 KB |
| @sentry/browser (incl. Feedback) | 40.16 KB |
| @sentry/browser (incl. sendFeedback) | 28.27 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.05 KB |
| @sentry/react | 25.47 KB |
| @sentry/react (incl. Tracing) | 38.61 KB |
| @sentry/vue | 27.88 KB |
| @sentry/vue (incl. Tracing) | 38.38 KB |
| @sentry/svelte | 23.68 KB |
| CDN Bundle | 24.78 KB |
| CDN Bundle (incl. Tracing) | 36.68 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.68 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.88 KB |
| CDN Bundle - uncompressed | 72.38 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.76 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.01 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 232.56 KB |
| @sentry/nextjs (client) | 39.78 KB |
| @sentry/sveltekit (client) | 37.1 KB |
| @sentry/node | 142.72 KB |
| @sentry/node - without tracing | 96.14 KB |
| @sentry/aws-serverless | 120.47 KB |
This is an alpha release that includes experimental functionality for the new logs API in Sentry. Support for these methods are only avaliable in the
This is an alpha release that includes experimental functionality for the new logs API in Sentry. Support for these methods are only avaliable in the browser and core SDKs.
Logging is gated by an experimental option, _experiments.enableLogs.
Sentry.init({
_experiments: {
enableLogs: true,
},
});
These API are exposed in the Sentry._experiment_log namespace.
On the high level, there are functions for each of the logging severity levels critical, fatal, error, warn, info, debug, trace. These functions are tagged template functions, so they use a special string template syntax that we use to parameterize functions accordingly.
Sentry._experiment_log.info`user ${username} just bought ${item}!`;
If you want more custom usage, we also expose a captureLog method that allows you to pass custom attributes, but it's less easy to use than the tagged template functions.
Sentry._experiment_log.captureLog('error', 'Hello world!', { 'user.id': 123 });
| Path | Size |
|---|---|
| @sentry/browser | 23.64 KB |
| @sentry/browser - with treeshaking flags | 23.47 KB |
| @sentry/browser (incl. Tracing) | 36.67 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.83 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 67.27 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 78.47 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 91.04 KB |
| @sentry/browser (incl. Feedback) | 40.79 KB |
| @sentry/browser (incl. sendFeedback) | 28.27 KB |
| @sentry/browser (incl. FeedbackAsync) | 33.07 KB |
| @sentry/react | 25.47 KB |
| @sentry/react (incl. Tracing) | 38.61 KB |
| @sentry/vue | 27.88 KB |
| @sentry/vue (incl. Tracing) | 38.38 KB |
| @sentry/svelte | 23.68 KB |
| CDN Bundle | 24.78 KB |
| CDN Bundle (incl. Tracing) | 36.68 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.68 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.88 KB |
| CDN Bundle - uncompressed | 72.38 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 108.76 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 220.01 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 232.59 KB |
| @sentry/nextjs (client) | 39.78 KB |
| @sentry/sveltekit (client) | 37.1 KB |
| @sentry/node | 142.72 KB |
| @sentry/node - without tracing | 96.14 KB |
| @sentry/aws-serverless | 120.47 KB |
This is an alpha release with version 2.32.0 of the rrweb package.
This is an alpha release with version 2.32.0 of the rrweb package.
| Path | Size |
|---|---|
| @sentry/browser | 23.06 KB |
| @sentry/browser - with treeshaking flags | 22.85 KB |
| @sentry/browser (incl. Tracing) | 36.08 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.24 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.67 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.85 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.43 KB |
| @sentry/browser (incl. Feedback) | 40.21 KB |
| @sentry/browser (incl. sendFeedback) | 27.68 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.49 KB |
| @sentry/react | 24.88 KB |
| @sentry/react (incl. Tracing) | 37.96 KB |
| @sentry/vue | 27.24 KB |
| @sentry/vue (incl. Tracing) | 37.77 KB |
| @sentry/svelte | 23.1 KB |
| CDN Bundle | 24.26 KB |
| CDN Bundle (incl. Tracing) | 36.1 KB |
| CDN Bundle (incl. Tracing, Replay) | 71.1 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 76.28 KB |
| CDN Bundle - uncompressed | 70.92 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 107.18 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 218.44 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 231 KB |
| @sentry/nextjs (client) | 38.95 KB |
| @sentry/sveltekit (client) | 36.49 KB |
| @sentry/node | 127.76 KB |
| @sentry/node - without tracing | 98.05 KB |
| @sentry/aws-serverless | 107.48 KB |
feat(browser): Add graphqlClientIntegration
graphqlClientIntegration (#13783)vite import (#15371)Work in this release was contributed by @Zen-cronic and @filips-alpe. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 22.95 KB |
| @sentry/browser - with treeshaking flags | 22.73 KB |
| @sentry/browser (incl. Tracing) | 35.88 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.88 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.38 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.13 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 90.04 KB |
| @sentry/browser (incl. Feedback) | 40.06 KB |
| @sentry/browser (incl. sendFeedback) | 27.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.38 KB |
| @sentry/react | 24.78 KB |
| @sentry/react (incl. Tracing) | 37.78 KB |
| @sentry/vue | 27.14 KB |
| @sentry/vue (incl. Tracing) | 37.59 KB |
| @sentry/svelte | 22.99 KB |
| CDN Bundle | 24.17 KB |
| CDN Bundle (incl. Tracing) | 35.92 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.91 KB |
| CDN Bundle - uncompressed | 70.64 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 106.73 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 217.95 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 230.51 KB |
| @sentry/nextjs (client) | 38.75 KB |
| @sentry/sveltekit (client) | 36.32 KB |
| @sentry/node | 127.6 KB |
| @sentry/node - without tracing | 97.9 KB |
| @sentry/aws-serverless | 107.34 KB |
ref(flags): rename unleash integration param
| Path | Size |
|---|---|
| @sentry/browser | 22.9 KB |
| @sentry/browser - with treeshaking flags | 22.69 KB |
| @sentry/browser (incl. Tracing) | 35.77 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.65 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.13 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 76.9 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.64 KB |
| @sentry/browser (incl. Feedback) | 39.86 KB |
| @sentry/browser (incl. sendFeedback) | 27.53 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.31 KB |
| @sentry/react | 24.74 KB |
| @sentry/react (incl. Tracing) | 37.67 KB |
| @sentry/vue | 27.09 KB |
| @sentry/vue (incl. Tracing) | 37.47 KB |
| @sentry/svelte | 22.94 KB |
| CDN Bundle | 24.13 KB |
| CDN Bundle (incl. Tracing) | 35.84 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.55 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.69 KB |
| CDN Bundle - uncompressed | 70.59 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 106.46 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 217.52 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 230.09 KB |
| @sentry/nextjs (client) | 38.63 KB |
| @sentry/sveltekit (client) | 36.2 KB |
| @sentry/node | 156.33 KB |
| @sentry/node - without tracing | 97.31 KB |
| @sentry/aws-serverless | 106.82 KB |
Version 9.0.0 marks a major release of the Sentry JavaScript SDKs containing breaking changes. The goal of this release is to trim down unused and pot…
Version 9.0.0 marks a major release of the Sentry JavaScript SDKs containing breaking changes.
The goal of this release is to trim down unused and potentially confusing APIs, prepare the SDKs for future framework versions to build deeper instrumentation, and remove old polyfills to reduce bundle size.
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 8 to version 9. Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/
A comprehensive migration guide outlining all changes for all the frameworks can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
~5.0.0 (#14758)nitro-utils package (#14998)sendDefaultPii: true (#15084)autoSessionTracking option (#14802)enableTracing (#15078)getCurrentHub(), Hub, and getCurrentHubShim() (#15122)spanId from propagation context (#14733)>=18 as minimum supported version (#14749)captureUserFeedback method (#14820)normalizedRequest to samplingContext (#14902)beforeSendSpan and disallow returning null (#14831)BAGGAGE_HEADER_NAME export (#14785)TransactionNamingScheme type (#14865)addOpenTelemetryInstrumentation method (#14792)arrayify method (#14782)debugIntegration and sessionTimingIntegration (#14747)flatten method (#14784)getDomElement method (#14797)makeFifoCache method (#14786)memoBuilder export & WeakSet fallback (#14859)transactionContext from samplingContext (#14904)urlEncode method (#14783)Request type (#14858)Client interface & deprecate BaseClient (#14800)event as argument for recordDroppedEvent (#14999)requestDataIntegration (#14898)hasTracingEnabled to consider empty trace config (#14857)requestDataIntegration handling (#14806)<=3.x (#15032)nestIntegration into nest sdk and remove setupNestErrorHandler (#14751)@WithSentry decorator (#14762)SentryService (#14759)experimental_captureRequestError (#14607)processThreadBreadcrumbIntegration (#14666)registerEsmLoaderHooks (#15002)1.63.0 (#15030)getNumberOfUrlSegments method (#14744)ErrorBoundary componentStack type (#14742)autoInstrumentRemix option (#15074)--import setup and add autoInjectServerSentry (#14862)sentrySolidStartVite (#15143)fetchProxyScriptNonce option (#15123)@sentry/utils package (#14830)vueIntegration's tracingOptions option (#14856)"update" spans for component tracking by default (#14602)vercelAIIntegration to VercelAI (#15298)logError from vueIntegration (#14958)ReportDialogOptions (#14861)captureConsoleIntegration as handled: true by default (#14734)shutdownTimeout option type from core to node (#15217)Scope type interface in favor of using Scope class (#14721)import-in-the-middle to 1.12.0 (#14796)SentryNodeServerlessSDKv9 (#14927)user.ip_address explicitly to {{auto}} (#15008)inheritOrSampleWith helper to traceSampler (#15277)hasTracingEnabled to hasSpansEnabled (#15309)SpanJSON type (#14693)@sentry/deno (#15014)deno.land (#15016)SentryTracingInterceptor, SentryGlobalGraphQLFilter, SentryGlobalGenericFilter (#14761)sourcemaps.disable to webpack plugin (#15109)processSessionIntegration (#15081)vercelAIIntegration export (#15318)worker_threads (#15105)silent, errorHandler, release to SourceMapsOptions (#15246)@sentry-internal/node-cpu-profiler (#15208)autoInjectServerSentry: 'experimental_dynamic-import (#14863)__esModule properties in CJS modules when there is a default export (#15018)parentSampleRate to tracesSampler (#15024)browserPerformanceTimeOrigin side-effects (#14025)startSpanManual (#14901)startSpan (#14900)sendDefaultPii for IP collection in requestDataIntegration (#15125)waitUntil in captureRequestError (#15146)__span property into breadcrumbs (#14798)release from ANR sessions (#15138)browserTracingIntegration (#14959)supportsHistory check & history usage (#14696)Work in this release was contributed by @aloisklink, @arturovt, @aryanvdesh, @benjick, @chris-basebone, @davidturissini, @GrizliK1988, @jahands, @jrandolf, @kunal-511, @maximepvrt, @maxmaxme, @mstrokin, @nathankleyn, @nwalters512, @tannerlinsley, @tjhiggins, and @Zen-cronic. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 22.9 KB |
| @sentry/browser - with treeshaking flags | 22.69 KB |
| @sentry/browser (incl. Tracing) | 35.77 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.58 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 76.83 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.56 KB |
| @sentry/browser (incl. Feedback) | 39.84 KB |
| @sentry/browser (incl. sendFeedback) | 27.53 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.31 KB |
| @sentry/react | 24.73 KB |
| @sentry/react (incl. Tracing) | 37.66 KB |
| @sentry/vue | 27.09 KB |
| @sentry/vue (incl. Tracing) | 37.47 KB |
| @sentry/svelte | 22.94 KB |
| CDN Bundle | 24.13 KB |
| CDN Bundle (incl. Tracing) | 35.84 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.48 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.62 KB |
| CDN Bundle - uncompressed | 70.59 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 106.46 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 217.32 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 229.89 KB |
| @sentry/nextjs (client) | 38.63 KB |
| @sentry/sveltekit (client) | 36.2 KB |
| @sentry/node | 156.33 KB |
| @sentry/node - without tracing | 97.31 KB |
| @sentry/aws-serverless | 106.82 KB |
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not ye
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.2.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 22.9 KB |
| @sentry/browser - with treeshaking flags | 22.69 KB |
| @sentry/browser (incl. Tracing) | 35.77 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.58 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.05 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 76.82 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.56 KB |
| @sentry/browser (incl. Feedback) | 39.84 KB |
| @sentry/browser (incl. sendFeedback) | 27.53 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.31 KB |
| @sentry/react | 24.73 KB |
| @sentry/react (incl. Tracing) | 37.66 KB |
| @sentry/vue | 27.09 KB |
| @sentry/vue (incl. Tracing) | 37.47 KB |
| @sentry/svelte | 22.94 KB |
| CDN Bundle | 24.13 KB |
| CDN Bundle (incl. Tracing) | 35.84 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.48 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.62 KB |
| CDN Bundle - uncompressed | 70.58 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 106.46 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 217.31 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 229.88 KB |
| @sentry/nextjs (client) | 38.63 KB |
| @sentry/sveltekit (client) | 36.2 KB |
| @sentry/node | 156.58 KB |
| @sentry/node - without tracing | 97.58 KB |
| @sentry/aws-serverless | 107.07 KB |
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not ye
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.1.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 22.94 KB |
| @sentry/browser - with treeshaking flags | 22.8 KB |
| @sentry/browser (incl. Tracing) | 35.78 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.57 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.12 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 76.83 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.33 KB |
| @sentry/browser (incl. Feedback) | 39.63 KB |
| @sentry/browser (incl. sendFeedback) | 27.58 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.35 KB |
| @sentry/react | 24.76 KB |
| @sentry/react (incl. Tracing) | 37.66 KB |
| @sentry/vue | 27.11 KB |
| @sentry/vue (incl. Tracing) | 37.49 KB |
| @sentry/svelte | 23.06 KB |
| CDN Bundle | 24.23 KB |
| CDN Bundle (incl. Tracing) | 35.91 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.56 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.69 KB |
| CDN Bundle - uncompressed | 70.83 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 106.57 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 217.42 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 229.99 KB |
| @sentry/nextjs (client) | 38.63 KB |
| @sentry/sveltekit (client) | 36.29 KB |
| @sentry/node | 156.51 KB |
| @sentry/node - without tracing | 97.56 KB |
| @sentry/aws-serverless | 107.07 KB |
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not ye
This is an alpha release of the upcoming major release of version 9. This release does not yet entail a comprehensive changelog as version 9 is not yet stable.
For this release's iteration of the migration guide, see the Migration Guide as per 9.0.0-alpha.0.
Please note that the migration guide is work in progress and subject to change.
| Path | Size |
|---|---|
| @sentry/browser | 23.03 KB |
| @sentry/browser - with treeshaking flags | 22.92 KB |
| @sentry/browser (incl. Tracing) | 35.76 KB |
| @sentry/browser (incl. Tracing, Replay) | 72.54 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.09 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 76.8 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.29 KB |
| @sentry/browser (incl. Feedback) | 39.71 KB |
| @sentry/browser (incl. sendFeedback) | 27.66 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.44 KB |
| @sentry/react | 25.7 KB |
| @sentry/react (incl. Tracing) | 38.53 KB |
| @sentry/vue | 27.13 KB |
| @sentry/vue (incl. Tracing) | 37.48 KB |
| @sentry/svelte | 23.15 KB |
| CDN Bundle | 24.25 KB |
| CDN Bundle (incl. Tracing) | 35.89 KB |
| CDN Bundle (incl. Tracing, Replay) | 70.51 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 75.65 KB |
| CDN Bundle - uncompressed | 70.87 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 106.5 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 217.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 229.92 KB |
| @sentry/nextjs (client) | 38.63 KB |
| @sentry/sveltekit (client) | 36.27 KB |
| @sentry/node | 156.36 KB |
| @sentry/node - without tracing | 97.44 KB |
| @sentry/aws-serverless | 106.9 KB |
fix(v8/profiling-node): Restore install script to build binaries from source
fix(v8/browser): Ensure that performance.measure spans have a positive duration
chore(ci/v8): Switch lambda layer name to `SentryNodeServerlessSDKv8` ([#15351](https://github.com/getsentry/sentry-javascript/pull/15351))
SentryNodeServerlessSDKv8 (#15351)The SentryNodeServerlessSDK AWS Lambda Layer will stop receiving updates.
If you intend to stay on v8 and receive updates use SentryNodeServerlessSDKv8 instead.
vercelAIIntegration export (#15339)enabled to disable Sentry module (#15337) (#15381)registerEsmLoaderHooks (#15352)beforeUpdate call (#15262)Work in this release was contributed by @aryanvdesh. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.3 KB |
| @sentry/browser - with treeshaking flags | 23.17 KB |
| @sentry/browser (incl. Tracing) | 35.9 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.27 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.57 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.5 KB |
| @sentry/browser (incl. Feedback) | 39.51 KB |
| @sentry/browser (incl. sendFeedback) | 27.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.71 KB |
| @sentry/react | 25.98 KB |
| @sentry/react (incl. Tracing) | 38.71 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 37.75 KB |
| @sentry/svelte | 23.46 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.6 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.23 KB |
| CDN Bundle - uncompressed | 71.92 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.52 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.88 KB |
| @sentry/nextjs (client) | 38.96 KB |
| @sentry/sveltekit (client) | 36.4 KB |
| @sentry/node | 162.85 KB |
| @sentry/node - without tracing | 99.14 KB |
| @sentry/aws-serverless | 131.23 KB |
feat(v8/deps): Upgrade all OpenTelemetry dependencies
Work in this release was contributed by @nwalters512. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.3 KB |
| @sentry/browser - with treeshaking flags | 23.17 KB |
| @sentry/browser (incl. Tracing) | 35.9 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.27 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.57 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.5 KB |
| @sentry/browser (incl. Feedback) | 39.51 KB |
| @sentry/browser (incl. sendFeedback) | 27.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.71 KB |
| @sentry/react | 25.98 KB |
| @sentry/react (incl. Tracing) | 38.71 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 37.75 KB |
| @sentry/svelte | 23.46 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.6 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.23 KB |
| CDN Bundle - uncompressed | 71.92 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.52 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.88 KB |
| @sentry/nextjs (client) | 38.96 KB |
| @sentry/sveltekit (client) | 36.4 KB |
| @sentry/node | 162.85 KB |
| @sentry/node - without tracing | 99.14 KB |
| @sentry/aws-serverless | 131.23 KB |
feat(v8/nuxt): Add url to SourcemapsUploadOptions
url to SourcemapsUploadOptions (#15202)fromLocation can be undefined in Tanstack Router Instrumentation (#15237)Work in this release was contributed by @tannerlinsley. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.3 KB |
| @sentry/browser - with treeshaking flags | 23.17 KB |
| @sentry/browser (incl. Tracing) | 35.9 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.27 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.57 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.5 KB |
| @sentry/browser (incl. Feedback) | 39.51 KB |
| @sentry/browser (incl. sendFeedback) | 27.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.71 KB |
| @sentry/react | 25.98 KB |
| @sentry/react (incl. Tracing) | 38.71 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 37.75 KB |
| @sentry/svelte | 23.46 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.6 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.23 KB |
| CDN Bundle - uncompressed | 71.92 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.52 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.88 KB |
| @sentry/nextjs (client) | 38.96 KB |
| @sentry/sveltekit (client) | 36.4 KB |
| @sentry/node | 162.84 KB |
| @sentry/node - without tracing | 99.15 KB |
| @sentry/aws-serverless | 126.67 KB |
fix(v8/nextjs): Fix nextjs build warning
this.name to new.target.prototype.constructor.name (#15222)Work in this release was contributed by @Zen-cronic. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.3 KB |
| @sentry/browser - with treeshaking flags | 23.17 KB |
| @sentry/browser (incl. Tracing) | 35.9 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.27 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.71 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.57 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.5 KB |
| @sentry/browser (incl. Feedback) | 39.51 KB |
| @sentry/browser (incl. sendFeedback) | 27.91 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.71 KB |
| @sentry/react | 25.98 KB |
| @sentry/react (incl. Tracing) | 38.71 KB |
| @sentry/vue | 27.58 KB |
| @sentry/vue (incl. Tracing) | 37.75 KB |
| @sentry/svelte | 23.46 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.6 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.9 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.23 KB |
| CDN Bundle - uncompressed | 71.92 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.52 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.78 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.88 KB |
| @sentry/nextjs (client) | 38.96 KB |
| @sentry/sveltekit (client) | 36.4 KB |
| @sentry/node | 162.84 KB |
| @sentry/node - without tracing | 99.15 KB |
| @sentry/aws-serverless | 126.67 KB |
feat(solidstart): Add `withSentry` wrapper for SolidStart config ([#15135](https://github.com/getsentry/sentry-javascript/pull/15135))
withSentry wrapper for SolidStart config (#15135)To enable the SolidStart SDK, wrap your SolidStart Config with withSentry. The sentrySolidStartVite plugin is now automatically
added by withSentry and you can pass the Sentry build-time options like this:
import { defineConfig } from '@solidjs/start/config';
import { withSentry } from '@sentry/solidstart';
export default defineConfig(
withSentry(
{
/* Your SolidStart config options... */
},
{
// Options for setting up source maps
org: process.env.SENTRY_ORG,
project: process.env.SENTRY_PROJECT,
authToken: process.env.SENTRY_AUTH_TOKEN,
},
),
);
With the withSentry wrapper, the Sentry server config should not be added to the public directory anymore.
Add the Sentry server config in src/instrument.server.ts. Then, the server config will be placed inside the server build output as instrument.server.mjs.
Now, there are two options to set up the SDK:
--import CLI flag to the start command like this (path depends on your server setup):
node --import ./.output/server/instrument.server.mjs .output/server/index.mjsautoInjectServerSentry: 'top-level-import' and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)withSentry(
{
/* Your SolidStart config options... */
},
{
// Optional: Install Sentry with a top-level import
autoInjectServerSentry: 'top-level-import',
},
);
Bun.serve survives a server reload (#15157)module into loadModule (#15139) (#15166)Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.32 KB |
| @sentry/browser - with treeshaking flags | 23.2 KB |
| @sentry/browser (incl. Tracing) | 35.88 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.23 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.7 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.54 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.47 KB |
| @sentry/browser (incl. Feedback) | 39.53 KB |
| @sentry/browser (incl. sendFeedback) | 27.94 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.73 KB |
| @sentry/react | 26 KB |
| @sentry/react (incl. Tracing) | 38.71 KB |
| @sentry/vue | 27.6 KB |
| @sentry/vue (incl. Tracing) | 37.74 KB |
| @sentry/svelte | 23.49 KB |
| CDN Bundle | 24.52 KB |
| CDN Bundle (incl. Tracing) | 37.59 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.87 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.24 KB |
| CDN Bundle - uncompressed | 72.01 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.51 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.76 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.86 KB |
| @sentry/nextjs (client) | 38.96 KB |
| @sentry/sveltekit (client) | 36.39 KB |
| @sentry/node | 162.87 KB |
| @sentry/node - without tracing | 99.18 KB |
| @sentry/aws-serverless | 126.69 KB |
feat(v8/deno): Deprecate Deno SDK as published on deno.land
feat(v8/node): Add prismaInstrumentation option to Prisma integration as escape hatch for all Prisma versions (#15128)
This release adds a compatibility API to add support for Prisma version 6. To capture performance data for Prisma version 6:
Install the @prisma/instrumentation package on version 6.
Pass a new PrismaInstrumentation() instance as exported from @prisma/instrumentation to the prismaInstrumentation option:
import { PrismaInstrumentation } from '@prisma/instrumentation';
Sentry.init({
integrations: [
prismaIntegration({
// Override the default instrumentation that Sentry uses
prismaInstrumentation: new PrismaInstrumentation(),
}),
],
});
The passed instrumentation instance will override the default instrumentation instance the integration would use, while the prismaIntegration will still ensure data compatibility for the various Prisma versions.
Remove the previewFeatures = ["tracing"] option from the client generator block of your Prisma schema.
multiplexedtransport.js CDN bundle (#15046)fetchProxyScriptNonce option (#15011)fatal events should set session as crashed (#15073)Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.29 KB |
| @sentry/browser - with treeshaking flags | 23.17 KB |
| @sentry/browser (incl. Tracing) | 35.85 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.2 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 66.66 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.51 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.44 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.9 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.7 KB |
| @sentry/react | 25.97 KB |
| @sentry/react (incl. Tracing) | 38.68 KB |
| @sentry/vue | 27.57 KB |
| @sentry/vue (incl. Tracing) | 37.71 KB |
| @sentry/svelte | 23.46 KB |
| CDN Bundle | 24.5 KB |
| CDN Bundle (incl. Tracing) | 37.56 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.85 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.21 KB |
| CDN Bundle - uncompressed | 71.94 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.44 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.69 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.79 KB |
| @sentry/nextjs (client) | 38.93 KB |
| @sentry/sveltekit (client) | 36.36 KB |
| @sentry/node | 162.83 KB |
| @sentry/node - without tracing | 99.14 KB |
| @sentry/aws-serverless | 126.65 KB |
feat(v8/react): Add support for React Router createMemoryRouter
createMemoryRouter (#14985)| Path | Size |
|---|---|
| @sentry/browser | 23.29 KB |
| @sentry/browser - with treeshaking flags | 21.96 KB |
| @sentry/browser (incl. Tracing) | 35.85 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.19 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 63.58 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.5 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.43 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.89 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.69 KB |
| @sentry/react | 25.97 KB |
| @sentry/react (incl. Tracing) | 38.67 KB |
| @sentry/vue | 27.57 KB |
| @sentry/vue (incl. Tracing) | 37.71 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.56 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.2 KB |
| CDN Bundle - uncompressed | 71.93 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.68 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.78 KB |
| @sentry/nextjs (client) | 38.92 KB |
| @sentry/sveltekit (client) | 36.35 KB |
| @sentry/node | 162.82 KB |
| @sentry/node - without tracing | 98.95 KB |
| @sentry/aws-serverless | 126.65 KB |
feat(v8/browser): Flush offline queue on flush and browser online event
handled prop to ErrorBoundary (#14978)require, __filename and __dirname on global object (#14952)Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.29 KB |
| @sentry/browser - with treeshaking flags | 21.96 KB |
| @sentry/browser (incl. Tracing) | 35.85 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.19 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 63.58 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.5 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.44 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.89 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.69 KB |
| @sentry/react | 25.97 KB |
| @sentry/react (incl. Tracing) | 38.67 KB |
| @sentry/vue | 27.57 KB |
| @sentry/vue (incl. Tracing) | 37.71 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.56 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.84 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.2 KB |
| CDN Bundle - uncompressed | 71.93 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.68 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.78 KB |
| @sentry/nextjs (client) | 38.92 KB |
| @sentry/sveltekit (client) | 36.36 KB |
| @sentry/node | 162.82 KB |
| @sentry/node - without tracing | 98.95 KB |
| @sentry/aws-serverless | 126.65 KB |
feat(v8/core): Deprecate `getDomElement` method ([#14799](https://github.com/getsentry/sentry-javascript/pull/14799))
feat(v8/core): Deprecate getDomElement method (#14799)
Deprecates getDomElement. There is no replacement.
continueTrace implementation in core (#14819)NODE_OPTIONS is not passed to worker threads (#14825)tagName when name is not provided to TraceDirective (#14828)openTelemetrySpanProcessors option (#14853)Set as the allRoutes container. (#14878) (#14884)normalizedRequest to samplingContext (#14903)syncFeedbackIntegration (#14918)Work in this release was contributed by @arturovt. Thank you for your contribution!
| Path | Size |
|---|---|
| @sentry/browser | 23.29 KB |
| @sentry/browser - with treeshaking flags | 21.96 KB |
| @sentry/browser (incl. Tracing) | 35.85 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.09 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 63.48 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.4 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.34 KB |
| @sentry/browser (incl. Feedback) | 39.5 KB |
| @sentry/browser (incl. sendFeedback) | 27.89 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.69 KB |
| @sentry/react | 25.96 KB |
| @sentry/react (incl. Tracing) | 38.66 KB |
| @sentry/vue | 27.56 KB |
| @sentry/vue (incl. Tracing) | 37.69 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.49 KB |
| CDN Bundle (incl. Tracing) | 37.56 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.75 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.11 KB |
| CDN Bundle - uncompressed | 71.93 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.42 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.5 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.6 KB |
| @sentry/nextjs (client) | 38.92 KB |
| @sentry/sveltekit (client) | 36.36 KB |
| @sentry/node | 162.8 KB |
| @sentry/node - without tracing | 98.94 KB |
| @sentry/aws-serverless | 126.63 KB |
feat(v8/core): Add updateSpanName helper function
updateSpanName helper function (#14736)db.system in newer Prisma versions (#14772)Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!
| Path | Size |
|---|---|
| @sentry/browser | 23.29 KB |
| @sentry/browser - with treeshaking flags | 21.96 KB |
| @sentry/browser (incl. Tracing) | 35.81 KB |
| @sentry/browser (incl. Tracing, Replay) | 73.06 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 63.45 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 77.37 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 89.85 KB |
| @sentry/browser (incl. Feedback) | 40.04 KB |
| @sentry/browser (incl. sendFeedback) | 27.89 KB |
| @sentry/browser (incl. FeedbackAsync) | 32.68 KB |
| @sentry/react | 25.96 KB |
| @sentry/react (incl. Tracing) | 38.64 KB |
| @sentry/vue | 27.52 KB |
| @sentry/vue (incl. Tracing) | 37.67 KB |
| @sentry/svelte | 23.45 KB |
| CDN Bundle | 24.47 KB |
| CDN Bundle (incl. Tracing) | 37.51 KB |
| CDN Bundle (incl. Tracing, Replay) | 72.71 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 78.1 KB |
| CDN Bundle - uncompressed | 71.85 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 111.23 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 225.3 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 238.52 KB |
| @sentry/nextjs (client) | 38.9 KB |
| @sentry/sveltekit (client) | 36.32 KB |
| @sentry/node | 162.7 KB |
| @sentry/node - without tracing | 98.87 KB |
| @sentry/aws-serverless | 126.53 KB |
One column per quarter.