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 |
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 |
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 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 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.
| 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 |
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 |
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 |
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 |
| 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 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 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 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 |
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 |
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 |
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 |
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/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 |
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 |
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 |