PackageTrack

npm ยท #3729

@sentry/vercel-edge

10.71.0getsentry/sentry-javascript โ†—

Official Sentry SDK for the Vercel Edge Runtime

Release timeline

324 releases since 2023
202420252026

Releases

  1. 8.0.0-beta.424 Apr 2024pre-release
    Release notes

    Important Changes

    • feat(browser): Add INP support for v8 (#11650)

    INP web vital support was now forward-ported to version 8. Recording of INP data is enabled by default.

    • feat(core): Increase default transport buffer size from 30 to 64 (#11764)

    The default limit of queued events to be sent was increased from 30 to 64 events. You may observe a higher memory footprint of the SDK. You can override this limit by setting the transportOptions.bufferSize option in Sentry.init().

    • feat(replay): Add "maxCanvasSize" option for replay canvases (#11617)

    A maxCanvasSize option was added to the replayCanvasIntegration to disallow capturing of canvases larger than a certain size. This value defaults to 1280 which will not capture canvases bigger than 1280x1280 pixels.

    Other Changes

    • deps: Downgrade @opentelemetry/instrumentation-http to 0.48.0 (#11745)
    • deps(nextjs): Remove unnecessary and faulty @opentelemetry/api dependency from Next.js package (#11717)
    • feat(aws): Add OTEL based integrations (#11548)
    • feat(core): Ensure trace context only includes relevant data (#11713)
    • feat(deps): Bump @opentelemetry/instrumentation-fastify from 0.33.0 to 0.35.0 (#11690)
    • feat(deps): Bump @opentelemetry/instrumentation-graphql from 0.37.0 to 0.39.0 (#11692)
    • feat(deps): Bump @opentelemetry/instrumentation-http from 0.48.0 to 0.50.0 (#11725)
    • feat(deps): Bump @opentelemetry/instrumentation-mongoose from 0.35.0 to 0.37.0 (#11693)
    • feat(deps): Bump @opentelemetry/instrumentation-mysql2 from 0.35.0 to 0.37.0 (#11726)
    • feat(deps): Bump @opentelemetry/instrumentation-nestjs-core from 0.34.0 to 0.36.0 (#11727)
    • feat(deps): Bump @opentelemetry/sdk-metrics from 1.21.0 to 1.23.0 (#11695)
    • feat(deps): Bump @prisma/instrumentation from 5.9.0 to 5.12.1 (#11724)
    • feat(feedback): Create async bundles and code to resolve helper integrations (#11621)
    • feat(nextjs): Sample out low-quality spans on older Next.js versions (#11722)
    • feat(opentelemetry): Support new http method attribute (#11756)
    • feat(opentelemetry): Use rest args for addOpenTelemetryInstrumentation (#11721)
    • feat(replay): Upgrade rrweb packages to 2.15.0 (#11736)
    • fix(browser): Ensure lazyLoadIntegration works in NPM mode (#11673)
    • fix(browser): Set custom sentry source correctly (#11735)
    • fix(ember): Do not create rendering spans without transaction (#11749)
    • fix(serverless): Check if cloud event callback is a function (#9044) (#11701)
    • ref(nextjs): Remove unnecessary logic to filter symbolification/sentry spans (#11714)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser 21.65 KB
    @sentry/browser (incl. Tracing) 32.63 KB
    @sentry/browser (incl. Tracing, Replay) 67.98 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 61.37 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 72.02 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) 84.21 KB
    @sentry/browser (incl. Feedback) 37.76 KB
    @sentry/browser (incl. sendFeedback) 26.43 KB
    @sentry/browser (incl. FeedbackAsync) 30.91 KB
    @sentry/react 24.33 KB
    @sentry/react (incl. Tracing) 35.53 KB
    @sentry/vue 25.27 KB
    @sentry/vue (incl. Tracing) 34.38 KB
    @sentry/svelte 21.77 KB
    CDN Bundle 23.95 KB
    CDN Bundle (incl. Tracing) 33.89 KB
    CDN Bundle (incl. Tracing, Replay) 67.61 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 83.44 KB
    CDN Bundle - uncompressed 70.56 KB
    CDN Bundle (incl. Tracing) - uncompressed 100.57 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 210.18 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 256.49 KB
    @sentry/nextjs (client) 34.75 KB
    @sentry/sveltekit (client) 33.13 KB
    @sentry/node 152.88 KB
    Open source โ†’
  2. 8.0.0-beta.319 Apr 2024pre-release
    Release notes

    Important Changes

    • feat(opentelemetry): Add addOpenTelemetryInstrumentation (#11667)

    A utility function addOpenTelemetryInstrumentation was added that allows for the registration of instrumentations that conform to the OpenTelemetry JS API without having to specify @opentelemetry/instrumentation as a dependency.

    • ref(core): Don't start transaction for trpc middleware (#11697)

    Going forward, the Sentry trpcMiddleware will only create spans. Previously it used to always create a transaction. This change was made to integrate more nicely with the HTTP instrumentation added in earlier versions to avoid creating unnecessary transactions.

    Other Changes

    • feat(nextjs): Instrument outgoing http requests (#11685)
    • feat(opentelemetry): Remove setupGlobalHub (#11668)
    • fix: Missing ErrorEvent export are added to node, browser, bun, deno, vercel-edge sub-packages (#11649)
    • fix(nextjs): Do not sample next spans if they have remote parent (#11680)
    • fix(nextjs): Re-enable OTEL fetch instrumentation and disable Next.js fetch instrumentation (#11686)
    • fix(node): Ensure DSC on envelope header uses root span (#11683)
    • ref(browser): Streamline pageload span creation and scope handling (#11679)
    • ref(core): Directly use endSession (#11669)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser 21.67 KB
    @sentry/browser (incl. Tracing) 31.4 KB
    @sentry/browser (incl. Tracing, Replay) 66.73 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.14 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 70.57 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) 80.44 KB
    @sentry/browser (incl. Feedback) 35.25 KB
    @sentry/browser (incl. Feedback, Feedback Modal) 35.25 KB
    @sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.28 KB
    @sentry/browser (incl. sendFeedback) 26.46 KB
    @sentry/react 24.35 KB
    @sentry/react (incl. Tracing) 34.31 KB
    @sentry/vue 25.2 KB
    @sentry/vue (incl. Tracing) 33.12 KB
    @sentry/svelte 21.79 KB
    CDN Bundle 24.03 KB
    CDN Bundle (incl. Tracing) 32.71 KB
    CDN Bundle (incl. Tracing, Replay) 66.37 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 82.57 KB
    CDN Bundle - uncompressed 70.85 KB
    CDN Bundle (incl. Tracing) - uncompressed 97.5 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 207.16 KB
    @sentry/nextjs (client) 33.64 KB
    @sentry/sveltekit (client) 31.9 KB
    @sentry/node 160.37 KB
    Open source โ†’
  3. 8.0.0-beta.217 Apr 2024pre-release
    Release notes

    Important Changes

    • feat(browser): Update propagationContext on spanEnd to keep trace consistent

    To ensure consistency throughout a route's duration, we update the scope's propagation context when the initial page load or navigation span ends. This keeps span-specific attributes like the sampled decision and dynamic sampling context on the scope, even after the transaction has ended.

    • fix(browser): Don't assume window.document is available (#11602)

    We won't assume window.dodument is available in the browser SDKs anymore. This should prevent errors in environments where window.document is not available (such as web workers).

    Other changes

    • feat(core): Add server.address to browser http.client spans (#11634)
    • feat(opentelemetry): Update OTEL packages & relax some version ranges (#11580)
    • feat(deps): bump @opentelemetry/instrumentation-hapi from 0.34.0 to 0.36.0 (#11496)
    • feat(deps): bump @opentelemetry/instrumentation-koa from 0.37.0 to 0.39.0 (#11495)
    • feat(deps): bump @opentelemetry/instrumentation-pg from 0.38.0 to 0.40.0 (#11494)
    • feat(nextjs): Skip OTEL root spans emitted by Next.js (#11623)
    • feat(node): Collect Local Variables via a worker (#11586)
    • fix(nextjs): Escape Next.js' OpenTelemetry instrumentation (#11625)
    • fix(feedback): Fix timeout on feedback submission (#11619)
    • fix(node): Allow use of NodeClient without calling init (#11585)
    • fix(node): Ensure DSC is correctly set in envelope headers (#11628)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser 21.67 KB
    @sentry/browser (incl. Tracing) 31.46 KB
    @sentry/browser (incl. Tracing, Replay) 66.79 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.19 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 70.62 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) 80.5 KB
    @sentry/browser (incl. Feedback) 35.25 KB
    @sentry/browser (incl. Feedback, Feedback Modal) 35.25 KB
    @sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.28 KB
    @sentry/browser (incl. sendFeedback) 26.46 KB
    @sentry/react 24.35 KB
    @sentry/react (incl. Tracing) 34.37 KB
    @sentry/vue 25.2 KB
    @sentry/vue (incl. Tracing) 33.18 KB
    @sentry/svelte 21.79 KB
    CDN Bundle 24.03 KB
    CDN Bundle (incl. Tracing) 32.76 KB
    CDN Bundle (incl. Tracing, Replay) 66.4 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 82.6 KB
    CDN Bundle - uncompressed 70.86 KB
    CDN Bundle (incl. Tracing) - uncompressed 97.59 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 207.25 KB
    @sentry/nextjs (client) 33.7 KB
    @sentry/sveltekit (client) 31.96 KB
    @sentry/node 153.46 KB
    Open source โ†’
  4. 8.0.0-beta.115 Apr 2024pre-release
    Release notes

    This is the first beta release of Sentry JavaScript SDK v8. With this release, there are no more planned breaking changes for the v8 cycle.

    Read the in-depth migration guide to find out how to address any breaking changes in your code. All deprecations from the v7 cycle, with the exception of getCurrentHub(), have been removed and can no longer be used in v8.

    Version Support

    The Sentry JavaScript SDK v8 now supports Node.js 14.8.0 or higher. This applies to @sentry/node and all of our node-based server-side sdks (@sentry/nextjs, @sentry/remix, etc.).

    The browser SDKs now require ES2018+ compatible browsers. New minimum browser versions:

    • Chrome 63
    • Edge 79
    • Safari/iOS Safari 12
    • Firefox 58
    • Opera 50
    • Samsung Internet 8.2

    For more details, please see the version support section in migration guide.

    Package removal

    The following packages will no longer be published

    Initializing Server-side SDKs (Node, Bun, Next.js, SvelteKit, Astro, Remix):

    Initializing the SDKs on the server-side has been simplified. See more details in our migration docs about initializing the SDK in v8.

    Performance Monitoring Changes

    The API around performance monitoring and tracing has been vastly improved, and we've added support for more integrations out of the box.

    Important Changes since v8.0.0-alpha.9

    • feat(browser): Create spans as children of root span by default (#10986)

    Because execution context isolation in browser environments does not work reliably, we deciced to keep a flat span hierarchy by default in v8.

    • feat(core): Deprecate addTracingExtensions (#11579)

    Instead of calling Sentry.addTracingExtensions() if you want to use performance in a browser SDK without using browserTracingIntegration(), you should now call Sentry.registerSpanErrorInstrumentation().

    • feat(core): Implement suppressTracing (#11468)

    You can use the new suppressTracing API to ensure a given callback will not generate any spans:

    return Sentry.suppressTracing(() => {
      // Ensure this fetch call does not generate a span
      return fetch('/my-url');
    });
    
    • feat: Rename ESM loader hooks to import and loader (#11498)

    We renamed the loader hooks for better clarity:

    # For Node.js <= 18.18.2
    node --loader=@sentry/node/loader app.js
    
    # For Node.js >= 18.19.0
    node --import=@sentry/node/import app.js
    
    • feat(node): Do not exit process by default when other onUncaughtException handlers are registered in onUncaughtExceptionIntegration (#11532)

    In v8, we will no longer exit the node process by default if other uncaught exception handlers have been registered by the user.

    • Better handling of transaction name for errors

    We improved the way we keep the transaction name for error events, even when spans are not sampled or performance is disabled.

    • feat(fastify): Update scope transactionName when handling request (#11447)
    • feat(hapi): Update scope transactionName when handling request (#11448)
    • feat(koa): Update scope transactionName when creating router span (#11476)
    • feat(sveltekit): Update scope transactionName when handling server-side request (#11511)
    • feat(nestjs): Update scope transaction name with parameterized route (#11510)

    Removal/Refactoring of deprecated functionality

    • feat(core): Remove getCurrentHub from AsyncContextStrategy (#11581)
    • feat(core): Remove getGlobalHub export (#11565)
    • feat(core): Remove Hub class export (#11560)
    • feat(core): Remove most Hub class exports (#11536)
    • feat(nextjs): Remove webpack 4 support (#11605)
    • feat(vercel-edge): Stop using hub (#11539)

    Other Changes

    • feat: Hoist getCurrentHub shim to core as getCurrentHubShim (#11537)
    • feat(core): Add default behaviour for rewriteFramesIntegration in browser (#11535)
    • feat(core): Ensure replay envelopes are sent in order when offline (#11413)
    • feat(core): Extract errors from props in unkown inputs (#11526)
    • feat(core): Update metric normalization (#11518)
    • feat(feedback): Customize feedback placeholder text color (#11417)
    • feat(feedback): Maintain v7 compat in the @sentry-internal/feedback package (#11461)
    • feat(next): Handle existing root spans for isolation scope (#11479)
    • feat(node): Ensure tracing without performance (TWP) works (#11564)
    • feat(opentelemetry): Export getRequestSpanData (#11508)
    • feat(opentelemetry): Remove otel.attributes in context (#11604)
    • feat(ratelimit): Add metrics rate limit (#11538)
    • feat(remix): Skip span creation for OPTIONS and HEAD requests. (#11149)
    • feat(replay): Merge packages together & ensure bundles are built (#11552)
    • feat(tracing): Adds span envelope and datacategory (#11534)
    • fix(browser): Ensure pageload trace remains active after pageload span finished (#11600)
    • fix(browser): Ensure tracing without performance (TWP) works (#11561)
    • fix(nextjs): Fix tunnelRoute matching logic for hybrid cloud (#11576)
    • fix(nextjs): Remove Http integration from Next.js (#11304)
    • fix(node): Ensure isolation scope is correctly cloned for non-recording spans (#11503)
    • fix(node): Make fastify types more broad (#11544)
    • fix(node): Send ANR events without scope if event loop blocked indefinitely (#11578)
    • fix(tracing): Fixes latest route name and source not updating correctly (#11533)
    • ref(browser): Move browserTracing into browser pkg (#11484)
    • ref(feedback): Configure font size (#11437)
    • ref(feedback): Refactor Feedback types into @sentry/types and reduce the exported surface area (#11355)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser 22.16 KB
    @sentry/browser (incl. Tracing) 31.74 KB
    @sentry/browser (incl. Tracing, Replay) 67.05 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.47 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 70.88 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) 80.78 KB
    @sentry/browser (incl. Feedback) 35.71 KB
    @sentry/browser (incl. Feedback, Feedback Modal) 35.71 KB
    @sentry/browser (incl. Feedback, Feedback Modal, Feedback Screenshot) 37.74 KB
    @sentry/browser (incl. sendFeedback) 26.95 KB
    @sentry/react 24.84 KB
    @sentry/react (incl. Tracing) 34.64 KB
    @sentry/vue 25.72 KB
    @sentry/vue (incl. Tracing) 33.45 KB
    @sentry/svelte 22.28 KB
    CDN Bundle 24.47 KB
    CDN Bundle (incl. Tracing) 32.97 KB
    CDN Bundle (incl. Tracing, Replay) 66.59 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 82.8 KB
    CDN Bundle - uncompressed 72.9 KB
    CDN Bundle (incl. Tracing) - uncompressed 98.89 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 208.55 KB
    @sentry/nextjs (client) 34.01 KB
    @sentry/sveltekit (client) 32.25 KB
    @sentry/node 120.17 KB
    Open source โ†’
  5. 8.0.0-alpha.98 Apr 2024pre-release
    Release notes

    This is the eighth alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.

    Read the in-depth migration guide to find out how to address any breaking changes in your code.

    Important Changes

    • feat: Add @sentry-internal/browser-utils (#11381)

    A big part of the browser-runtime specific exports of the internal @sentry/utils package were moved into a new package @sentry-internal/browser-utils. If you imported any API from @sentry/utils (which is generally not recommended but necessary for some workarounds), please check that your import statements still point to existing exports after upgrading.

    • feat: Add loader file to node-based SDKs to support ESM monkeypatching (#11338)

    When using ESM, it is necessary to use a "loader" to be able to instrument certain third-party packages and Node.js API. The server-side SDKs now ship with a set of ESM loader hooks, that should be used when using ESM. Use them as follows:

    # For Node.js <= 18.18.2
    node --experimental-loader=@sentry/node/hook your-app.js
    
    # For Node.js >= 18.19.0
    node --import=@sentry/node/register your-app.js
    

    Please note that due to an upstream bug, these loader hooks will currently crash or simply not work. We are planning to fix this in upcoming versions of the SDK - definitely before a stable version 8 release.

    • feat(node): Add Koa error handler (#11403)
    • feat(node): Add NestJS error handler (#11375)

    The Sentry SDK now exports integrations and error middlewares for Koa (koaIntegration(), setupKoaErrorHandler()) and NestJS (setupNestErrorHandler()) that can be used to instrument your Koa and NestJS applications with error monitoring.

    Removal/Refactoring of deprecated functionality

    • feat(core): Remove hub check in isSentryRequestUrl (#11407)
    • feat(opentelemetry): Remove top level startActiveSpan (#11380)
    • feat(types): beforeSend and beforeSendTransaction breaking changes (#11354)
    • feat(v8): Remove all class based integrations (#11345)
    • feat(v8/core): Remove span.attributes top level field (#11378)
    • ref: Remove convertIntegrationFnToClass (#11343)
    • ref(node): Remove the old node package (#11322)
    • ref(tracing): Remove span.startChild() (#11376)
    • ref(v8): Remove addRequestDataToTransaction util (#11369)
    • ref(v8): Remove args on HandlerDataXhr (#11373)
    • ref(v8): Remove getGlobalObject utility method (#11372)
    • ref(v8): Remove metadata on transaction (#11397)
    • ref(v8): Remove pushScope, popScope, isOlderThan, shouldSendDefaultPii from hub (#11404)
    • ref(v8): Remove shouldCreateSpanForRequest from vercel edge options (#11371)
    • ref(v8): Remove deprecated _reportAllChanges option (#11393)
    • ref(v8): Remove deprecated scope.getTransaction() (#11365)
    • ref(v8): Remove deprecated methods on scope (#11366)
    • ref(v8): Remove deprecated span & transaction properties (#11400)
    • ref(v8): Remove Transaction concept (#11422)

    Other Changes

    • feat: Add trpcMiddleware back to serverside SDKs (#11374)
    • feat: Implement timed events & remove transaction.measurements (#11398)
    • feat(browser): Bump web-vitals to 3.5.2 (#11391)
    • feat(feedback): Add getFeedback utility to get typed feedback instance (#11331)
    • feat(otel): Do not sample options and head requests (#11467)
    • feat(remix): Update scope transactionName when resolving route (#11420)
    • feat(replay): Bump rrweb to 2.12.0 (#11314)
    • feat(replay): Use data sentry element as fallback for the component name (#11383)
    • feat(sveltekit): Update scope transactionName when pageload route name is updated (#11406)
    • feat(tracing-internal): Reset propagation context on navigation (#11401)
    • feat(types): Add View Hierarchy types (#11409)
    • feat(utils): Use globalThis (#11351)
    • feat(vue): Update scope's transactionName when resolving a route (#11423)
    • fix(core): unref timer to not block node exit (#11430)
    • fix(node): Fix baggage propagation (#11363)
    • fix(web-vitals): Check for undefined navigation entry (#11311)
    • ref: Set preserveModules to true for browser packages (#11452)
    • ref(core): Remove duplicate logic in scope.update (#11384)
    • ref(feedback): Add font family style to actor (#11432)
    • ref(feedback): Add font family to buttons (#11414)
    • ref(gcp-serverless): Remove setting .__sentry_transaction (#11346)
    • ref(nextjs): Replace multiplexer with conditional exports (#11442)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) 75.65 KB
    @sentry/browser (incl. Tracing, Replay) 66.86 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 70.73 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 60.44 KB
    @sentry/browser (incl. Tracing) 31.75 KB
    @sentry/browser (incl. browserTracingIntegration) 31.75 KB
    @sentry/browser (incl. feedbackIntegration) 30.88 KB
    @sentry/browser (incl. feedbackModalIntegration) 30.9 KB
    @sentry/browser (incl. feedbackScreenshotIntegration) 30.9 KB
    @sentry/browser (incl. sendFeedback) 26.89 KB
    @sentry/browser 22.1 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 71.27 KB
    CDN Bundle (incl. Tracing, Replay) 66.03 KB
    CDN Bundle (incl. Tracing) 32.33 KB
    CDN Bundle 23.76 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 205.79 KB
    CDN Bundle (incl. Tracing) - uncompressed 96.4 KB
    CDN Bundle - uncompressed 70.17 KB
    @sentry/react (incl. Tracing, Replay) 66.99 KB
    @sentry/react 22.12 KB
    Open source โ†’
  6. 8.0.0-alpha.88 Apr 2024pre-release

    Nothing published for this version

  7. 8.0.0-alpha.727 Mar 2024pre-release
    Release notes

    This is the seventh alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.

    Read the in-depth migration guide to find out how to address any breaking changes in your code.

    Important Changes

    • feat(nextjs): Use OpenTelemetry for performance monitoring and tracing (#11016)

    We now use OpenTelemetry under the hood to power performance monitoring and tracing in the Next.js SDK.

    • feat(v8/gatsby): Update SDK initialization for gatsby (#11292)

    In v8, you cannot initialize the SDK anymore via Gatsby plugin options. Instead, you have to configure the SDK in a sentry.config.js file.

    We also removed the automatic initialization of browserTracingIntegration. You now have to add this integration yourself.

    Removal/Refactoring of deprecated functionality

    • feat(v8): Remove addGlobalEventProcessor (#11255)
    • feat(v8): Remove deprecated span id fields (#11180)
    • feat(v8): Remove makeMain export (#11278)
    • feat(v8/core): Remove deprecated span.sampled (#11274)
    • feat(v8/core): Remove getActiveTransaction (#11280)
    • feat(v8/core): Remove spanMetadata field (#11271)
    • feat(v8/ember): Remove deprecated StartTransactionFunction (#11270)
    • feat(v8/replay): Remove deprecated replay options (#11268)
    • feat(v8/svelte): Remove deprecated componentTrackingPreprocessor export (#11277)
    • ref: Remove more usages of getCurrentHub in the codebase (#11281)
    • ref(core): Remove scope.setSpan() and scope.getSpan() methods (#11051)
    • ref(profiling-node): Remove usage of getCurrentHub (#11275)
    • ref(v8): change integration.setupOnce signature (#11238)
    • ref: remove node-experimental references (#11290)

    Other Changes

    • feat(feedback): Make "required" text for input elements configurable (#11152) (#11153)
    • feat(feedback): Update user feedback screenshot and cropping to align with designs (#11227)
    • feat(nextjs): Remove runtime and vercel tags (#11291)
    • feat(node): Add scope to ANR events (#11256)
    • feat(node): Do not include prismaIntegration by default (#11265)
    • feat(node): Ensure tracePropagationTargets are respected (#11285)
    • feat(node): Simplify SentrySpanProcessor (#11273)
    • feat(profiling): Use OTEL powered node package (#11239)
    • feat(utils): Allow text encoder/decoder polyfill from global SENTRY (#11283)
    • fix(nextjs): Show misconfiguration warning (no instrumentation.ts) (#11266)
    • fix(node): Add logs when node-fetch cannot be instrumented (#11289)
    • fix(node): Skip capturing Hapi Boom error responses. (#11151)
    • fix(node): Use suppressTracing to avoid capturing otel spans (#11288)
    • fix(opentelemetry): Do not stomp span status when startSpan callback throws (#11170)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) 80.54 KB
    @sentry/browser (incl. Tracing, Replay) 71.88 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 75.68 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.44 KB
    @sentry/browser (incl. Tracing) 36.71 KB
    @sentry/browser (incl. browserTracingIntegration) 36.71 KB
    @sentry/browser (incl. feedbackIntegration) 31.38 KB
    @sentry/browser (incl. feedbackModalIntegration) 31.5 KB
    @sentry/browser (incl. feedbackScreenshotIntegration) 31.51 KB
    @sentry/browser (incl. sendFeedback) 27.45 KB
    @sentry/browser 22.61 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 74.98 KB
    CDN Bundle (incl. Tracing, Replay) 69.8 KB
    CDN Bundle (incl. Tracing) 36.35 KB
    CDN Bundle 23.97 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 219.11 KB
    CDN Bundle (incl. Tracing) - uncompressed 109.67 KB
    CDN Bundle - uncompressed 70.94 KB
    @sentry/react (incl. Tracing, Replay) 71.86 KB
    @sentry/react 22.63 KB
    Open source โ†’
  8. 8.0.0-alpha.522 Mar 2024pre-release
    Release notes

    This is the fifth alpha release of Sentry JavaScript SDK v8, which includes a variety of breaking changes.

    Read the in-depth migration guide to find out how to address any breaking changes in your code.

    Important Changes

    • feat(nextjs): Remove client.(server|client).config.ts functionality in favor of instrumentation.ts (#11059)
      • feat(nextjs): Bump minimum required Next.js version to 13.2.0 (#11097)

    With version 8 of the SDK we will no longer support the use of sentry.server.config.ts and sentry.edge.config.ts files. Instead, please initialize the Sentry Next.js SDK for the serverside in a Next.js instrumentation hook. sentry.client.config.ts|js is still supported and encouraged for initializing the clientside SDK. Please see the Migration Guide for more details.

    In addition, the Next.js SDK now requires a minimum Next.js version of 13.2.0.

    • feat(v8/angular): Merge angular and angular-ivy packages and start Angular support at v14 (#11091)

    The @sentry/angular-ivy package has been removed. The @sentry/angular package now supports Ivy by default and requires at least Angular 14. See the Migration Guide for more details.

    Removal/Refactoring of deprecated functionality

    • feat(aws-serverless): Remove deprecated rethrowAfterCapture option (#11126)
    • feat(node): Remove deprecated/duplicate/unused definitions (#11120)
    • feat(v8): Remove deprecated integration methods on client (#11134)
    • feat(v8/browser): Remove class export for linked errors (#11129)
    • feat(v8/browser): Remove deprecated wrap export (#11127)
    • feat(v8/core): Remove deprecated client.setupIntegrations method (#11179)
    • feat(v8/core): Remove deprecated integration classes (#11132)
    • feat(v8/ember): Remove InitSentryForEmber export (#11202)
    • feat(v8/nextjs): Remove usage of class integrations (#11182)
    • feat(v8/replay): Delete deprecated types (#11177)
    • feat(v8/utils): Remove deprecated util functions (#11143)
    • ref(node): Remove class based export for local variable integration (#11128)

    Other Changes

    • feat(browser): Make fetch the default transport for offline (#11209)
    • feat(core): Filter out noisy GoogleTag error by default (#11208)
    • feat(deps): Bump @sentry/cli from 2.30.0 to 2.30.2 (#11168)
    • feat(nextjs): Prefix webpack plugin log messages with runtime (#11173)
    • feat(node-profiling): Output ESM and remove Sentry deps from output (#11135)
    • feat(node): Allow Anr worker to be stopped and restarted (#11214)
    • feat(node): Support tunnel option for ANR (#11163)
    • feat(opentelemetry): Do not capture exceptions for timed events (#11221)
    • feat(serverless): Add Node.js 20 to compatible runtimes (#11103)
    • feat(sveltekit): Switch to Otel-based @sentry/node package (#11075)
    • fix(attachments): Add missing view_hierarchy attachment type (#11197)
    • fix(build): Ensure tree shaking works properly for ESM output (#11122)
    • fix(feedback): Only allow screenshots in secure contexts (#11188)
    • fix(feedback): Reduce force layout in screenshots (#11181)
    • fix(feedback): Smoother cropping experience and better UI (#11165)
    • fix(feedback): Fix screenshot black bars in Safari (#11233)
    • fix(metrics): use correct statsd data category (#11184)
    • fix(metrics): use web-vitals ttfb calculation (#11185)
    • fix(node): Export initOpenTelemetry (#11158)
    • fix(node): Clear ANR timer on stop (#11229)
    • fix(node): Time zone handling for cron (#11225)
    • fix(node): Use unique variable for ANR context transfer (#11161)
    • fix(opentelemetry): Do not stomp span error status (#11169)
    • fix(types): Fix incorrect sampled type on Transaction (#11115)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) 80.9 KB
    @sentry/browser (incl. Tracing, Replay) 72.24 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) 76.04 KB
    @sentry/browser (incl. Tracing, Replay) - with treeshaking flags 65.81 KB
    @sentry/browser (incl. Tracing) 36.83 KB
    @sentry/browser (incl. browserTracingIntegration) 36.83 KB
    @sentry/browser (incl. feedbackIntegration) 31.35 KB
    @sentry/browser (incl. feedbackModalIntegration) 31.47 KB
    @sentry/browser (incl. feedbackScreenshotIntegration) 31.48 KB
    @sentry/browser (incl. sendFeedback) 27.43 KB
    @sentry/browser 22.6 KB
    CDN Bundle (incl. Tracing, Replay, Feedback) 75.21 KB
    CDN Bundle (incl. Tracing, Replay) 70.05 KB
    CDN Bundle (incl. Tracing) 36.41 KB
    CDN Bundle 23.97 KB
    CDN Bundle (incl. Tracing, Replay) - uncompressed 220.04 KB
    CDN Bundle (incl. Tracing) - uncompressed 109.98 KB
    CDN Bundle - uncompressed 71 KB
    @sentry/react (incl. Tracing, Replay) 72.22 KB
    @sentry/react 22.63 KB
    Open source โ†’
  9. 8.0.0-alpha.414 Mar 2024pre-release

    Nothing published for this version

  10. 8.0.0-alpha.314 Mar 2024pre-release

    Nothing published for this version

  11. 8.0.0-alpha.25 Mar 2024pre-release
    Release notes

    This alpha release fixes a build problem that prevented 8.0.0-alpha.1 from being properly released.

    Important Changes

    • feat: Remove @sentry/opentelemetry-node package (#10906)

    The @sentry/opentelemetry-node package has been removed. Instead, you can either use @sentry/node with built-in OpenTelemetry support, or use @sentry/opentelemetry to manually connect Sentry with OpenTelemetry.

    Removal/Refactoring of deprecated functionality

    • ref: Refactor some deprecated startSpan options (#10825)
    • feat(v8/core): remove void from transport return (#10794)
    • ref(integrations): Delete deprecated class integrations (#10887)

    Other Changes

    • feat(core): Use serialized spans in transaction event (#10912)
    • feat(deps): bump @sentry/cli from 2.28.6 to 2.29.1 (#10908)
    • feat(node): Allow to configure skipOpenTelemetrySetup (#10907)
    • feat(esm): Import rather than require inspector (#10910)
    • fix(browser): Don't use chrome variable name (#10874)
    • chore(sveltekit): Fix punctuation in a console.log (#10895)
    • fix(opentelemetry): Ensure DSC propagation works correctly (#10904)
    • feat(browser): Exclude span exports from non-performance CDN bundles (#10879)
    • ref: Refactor span status handling to be OTEL compatible (#10871)
    • feat(core): Fix span scope handling & transaction setting (#10886)
    • ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)

    Work in this release contributed by @harish-talview & @bfontaine. Thank you for your contributions!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.16 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.39 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.32 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.94 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.65 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 32.65 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.01 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.02 KB
    @sentry/browser - Webpack (gzipped) 22.25 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.31 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.96 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 23.83 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 210.15 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.01 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 71.03 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.94 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.68 KB
    @sentry/react - Webpack (gzipped) 22.28 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.1 KB
    @sentry/nextjs Client - Webpack (gzipped) 49.51 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.1 KB
    Open source โ†’
  12. 7.120.429 Jul 2025
    Release notes
    • fix(v7/cdn): Stop using Object.assign to be ES5 compatible (#17080)
    Open source โ†’
  13. 7.120.4-alpha.129 Jul 2025pre-release
    Release notes

    No user-facing changes, only internal changes.

    Open source โ†’
  14. 7.120.4-alpha.029 Jul 2025pre-release

    Nothing published for this version

  15. 7.120.310 Jan 2025
    Release notes
    • fix(v7/publish): Ensure discontinued packages are published with latest tag (#14926)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.53 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB
    @sentry/browser - Webpack (gzipped) 22.92 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB
    @sentry/react - Webpack (gzipped) 22.95 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.28 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  16. 7.120.213 Dec 2024
    Release notes
    • fix(tracing-internal): Fix case when lrp keys offset is 0 (#14615)

    Work in this release contributed by @LubomirIgonda1. Thank you for your contribution!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.52 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB
    @sentry/browser - Webpack (gzipped) 22.92 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB
    @sentry/react - Webpack (gzipped) 22.95 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.28 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  17. 7.120.15 Dec 2024
    Release notes
    • fix(v7/cdn): Ensure _sentryModuleMetadata is not mangled (#14357)

    Work in this release contributed by @gilisho. Thank you for your contribution!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.14 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.52 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB
    @sentry/browser - Webpack (gzipped) 22.92 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB
    @sentry/react - Webpack (gzipped) 22.95 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.28 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  18. 7.120.013 Nov 2024
    Release notes
    • feat(v7/browser): Add moduleMetadataIntegration lazy loading support (#13822)

    Work in this release contributed by @gilisho. Thank you for your contribution!

    Open source โ†’
  19. 7.119.210 Oct 2024
    Release notes
    • chore(nextjs/v7): Bump rollup to 2.79.2

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.9 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.15 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.53 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.78 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.67 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.73 KB
    @sentry/browser - Webpack (gzipped) 22.92 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.18 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.5 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.42 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.94 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.54 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.26 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB
    @sentry/react - Webpack (gzipped) 22.95 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.28 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  20. 7.119.14 Oct 2024
    Release notes
    • fix(browser/v7): Ensure wrap() only returns functions (#13838 backport)

    Work in this release contributed by @legobeat. Thank you for your contribution!

    Open source โ†’
  21. 7.119.014 Aug 2024
    Release notes
    • backport(tracing): Report dropped spans for transactions (#13343)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.96 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.89 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.14 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.52 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.77 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.66 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.71 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.72 KB
    @sentry/browser - Webpack (gzipped) 22.91 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.17 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.49 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.17 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.41 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.92 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.52 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 76.24 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.45 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.4 KB
    @sentry/react - Webpack (gzipped) 22.94 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.16 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.27 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  22. 7.118.021 Jun 2024
    Release notes
    • fix(v7/bundle): Ensure CDN bundles do not overwrite window.Sentry (#12579)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.77 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.02 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.38 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.64 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.53 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.6 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.61 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.05 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.38 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.06 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.29 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.51 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.1 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.83 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.34 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.27 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.03 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.15 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  23. 7.117.010 Jun 2024
    Release notes
    • feat(browser/v7): Publish browserprofling CDN bundle (#12224)
    • fix(v7/publish): Add v7 tag to @sentry/replay (#12304)
    Open source โ†’
  24. 7.116.017 May 2024
    Release notes
    • build(craft): Publish lambda layer under its own name for v7 (#12098) (#12099)

    This release publishes a new AWS Lambda layer under the name SentryNodeServerlessSDKv7 that users still running v7 can use instead of pinning themselves to SentryNodeServerlessSDK:235.

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.77 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.02 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.38 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.64 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.53 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.6 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.61 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.04 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.37 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.05 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.49 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.08 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.81 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.33 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.27 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.03 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.15 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  25. 7.115.016 May 2024
    Release notes
    • feat(v7): Add support for global onUnhandled Error/Promise for Bun (#11959)
    • fix(replay/v7): Fix user activity not being updated in start() (#12003)
    • ref(api): Remove lastEventId deprecation warnings (#12042)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.77 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 76.02 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.38 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.64 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.53 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.6 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.61 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 79.04 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.37 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.05 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.49 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.08 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.81 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.33 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.27 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.03 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.15 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.34 KB
    Open source โ†’
  26. 7.114.08 May 2024
    Release notes

    Important Changes

    • fix(browser/v7): Continuously record CLS (#11935)

    This release fixes a bug that caused the cumulative layout shift (CLS) web vital not to be reported in a majority of the cases where it should have been reported. With this change, the CLS web vital should now always be reported for pageloads with layout shift. If a pageload did not have layout shift, no CLS web vital should be reported.

    Please note that upgrading the SDK to this version may cause data in your dashboards to drastically change.

    Other Changes

    • build(aws-lambda/v7): Turn off lambda layer publishing (#11875)
    • feat(v7): Add tunnel support to multiplexed transport (#11851)
    • fix(opentelemetry-node): support HTTP_REQUEST_METHOD attribute (#11929)
    • fix(react/v7): Fix react router v4/v5 span names (#11940)
    Open source โ†’
  27. 7.113.02 May 2024
    Release notes

    Important Changes

    • feat(node): Support Node 22 (#11754)

    This release adds support for Node 22! ๐ŸŽ‰

    It also adds prebuilt-binaries for Node 22 to @sentry/profiling-node.

    Other Changes

    • feat(feedback): [v7] New feedback button design (#11841)
    • feat(replay/v7): Upgrade rrweb packages to 2.15.0 (#11752)
    • fix(ember/v7): Ensure unnecessary spans are avoided (#11848)
    Open source โ†’
  28. 7.112.224 Apr 2024
    Release notes
    • fix(nextjs|sveltekit): Ensure we can pass browserTracingIntegration (#11765)
    Open source โ†’
  29. 7.112.123 Apr 2024
    Release notes
    • fix(ember/v7): Do not create rendering spans without transaction (#11750)
    Open source โ†’
  30. 7.112.023 Apr 2024
    Release notes

    Important Changes

    • feat: Export pluggable integrations from SDK packages (#11723)

    Instead of installing @sentry/integrations, you can now import the pluggable integrations directly from your SDK package:

    // Before
    import * as Sentry fromv '@sentry/browser';
    import { dedupeIntegration } from '@sentry/integrations';
    
    Sentry.init({
      integrations: [dedupeIntegration()],
    });
    
    // After
    import * as Sentry from '@sentry/browser';
    
    Sentry.init({
      integrations: [Sentry.dedupeIntegration()],
    });
    

    Note that only the functional integrations (e.g. xxxIntegration()) are re-exported.

    Other Changes

    • feat(replay): Add "maxCanvasSize" option for replay canvases (#11732)
    • fix(serverless): [v7] Check if cloud event callback is a function (#11734)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.72 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.69 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.91 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.32 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.9 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.27 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.28 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.25 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.18 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90.01 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.15 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.32 KB
    Open source โ†’
  31. 7.111.018 Apr 2024
    Release notes
    • feat(core): Add server.address to browser http.client spans (#11663)
    • fix: Ensure next & sveltekit correctly handle browserTracingIntegration (#11647)
    • fix(browser): Don't assume window.document is available (#11598)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.71 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.68 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.7 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.31 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.62 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.5 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.89 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.25 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 36.02 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.27 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 221.21 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 109.01 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.3 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.17 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 90 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.15 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.32 KB
    Open source โ†’
  32. 7.110.115 Apr 2024
    Release notes
    • fix(nextjs): Fix tunnelRoute matching logic for hybrid cloud (#11577)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.58 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.55 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.57 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.18 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.49 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.37 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.76 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.12 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.9 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.27 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.72 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.53 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.17 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.03 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.87 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.01 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.32 KB
    Open source โ†’
  33. 7.110.011 Apr 2024
    Release notes

    Important Changes

    • feat(tracing): Add interactions sample rate to browser tracing integrations (#11382)

    You can now use a interactionsSampleRate to control the sample rate of INP spans. interactionsSampleRate is applied on top of the global tracesSampleRate. Therefore if interactionsSampleRate is 0.5 and tracesSampleRate is 0.1, then the actual sample rate for interactions is 0.05.

    Sentry.init({
      tracesSampleRate: 0.1,
      integrations: [
        Sentry.browserTracingIntegration({
          interactionsSampleRate: 0.5,
        }),
      ],
    });
    
    • Deprecations

    This release deprecates the Hub class, as well as the addRequestDataToTransaction method. The trpcMiddleware method is no longer on the Handlers export, but instead is a standalone export.

    Please see the detailed Migration docs on how to migrate to the new APIs.

    • feat: Deprecate and relocate trpcMiddleware (#11389)
    • feat(core): Deprecate Hub class (#11528)
    • feat(types): Deprecate Hub interface (#11530)
    • ref: Deprecate addRequestDataToTransaction (#11368)

    Other Changes

    • feat(core): Update metric normalization (#11519)
    • feat(feedback): Customize feedback placeholder text color (#11521)
    • feat(remix): Skip span creation for OPTIONS and HEAD request. (#11485)
    • feat(utils): Add metric buckets rate limit (#11506)
    • fix(core): unref timer to not block node exit (#11483)
    • fix(metrics): Map statsd to metric_bucket (#11505)
    • fix(spans): Allow zero exclusive time for INP spans (#11408)
    • ref(feedback): Configure feedback fonts (#11520)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.58 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.55 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.57 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.18 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.49 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.37 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.57 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.58 KB
    @sentry/browser - Webpack (gzipped) 22.78 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.76 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 70.12 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.9 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.27 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.72 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.53 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.79 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39.17 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 72.03 KB
    @sentry/react - Webpack (gzipped) 22.81 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.87 KB
    @sentry/nextjs Client - Webpack (gzipped) 54.01 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.32 KB
    Open source โ†’
  34. 7.109.028 Mar 2024
    Release notes

    This release deprecates some exports from the @sentry/replay package. These exports have been moved to the browser SDK (or related framework SDKs like @sentry/react).

    • feat(feedback): Make "required" text for input elements configurable (#11287)
    • feat(node): Add scope to ANR events (#11267)
    • feat(replay): Bump rrweb to 2.12.0 (#11317)
    • fix(node): Local variables skipped after Promise (#11248)
    • fix(node): Skip capturing Hapi Boom error responses (#11324)
    • fix(web-vitals): Check for undefined navigation entry (#11312)
    • ref(replay): Deprecate @sentry/replay exports (#11242)

    Work in this release contributed by @soerface. Thank you for your contribution!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.48 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.47 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.49 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.11 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.41 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.29 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.52 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.53 KB
    @sentry/browser - Webpack (gzipped) 22.74 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.59 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.97 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.77 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.17 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.31 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.12 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.48 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 39 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.97 KB
    @sentry/react - Webpack (gzipped) 22.77 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.81 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.95 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.3 KB
    Open source โ†’
  35. 7.108.022 Mar 2024
    Release notes

    This release fixes issues with Time to First Byte (TTFB) calculation in the SDK that was introduced with 7.95.0. It also fixes some bugs with Interaction to First Paint (INP) instrumentation. This may impact your Sentry Performance Score calculation.

    • feat(serverless): Add Node.js 20 to compatible runtimes (#11104)
    • feat(core): Backport ResizeObserver and googletag default filters (#11210)
    • feat(webvitals): Adds event entry names for INP handler. Also guard against empty metric value
    • fix(metrics): use correct statsd data category (#11187)
    • fix(node): Record local variables with falsy values (v7) (#11190)
    • fix(node): Use unique variable for ANR context transfer (v7) (#11162)
    • fix(node): Time zone handling for cron (#11225)
    • fix(tracing): use web-vitals ttfb calculation (#11231)
    • fix(types): Fix incorrect sampled type on Transaction (#11146)
    • fix(webvitals): Fix mapping not being maintained properly and sometimes not sending INP spans (#11183)

    Work in this release contributed by @quisido and @joshkel. Thank you for your contributions!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.45 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.47 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.47 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.1 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.4 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.29 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.49 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.5 KB
    @sentry/browser - Webpack (gzipped) 22.74 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.55 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.97 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.77 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.17 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.29 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.1 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.48 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 38.99 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.96 KB
    @sentry/react - Webpack (gzipped) 22.77 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.81 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.95 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.28 KB
    Open source โ†’
  36. 7.107.014 Mar 2024
    Release notes

    This release fixes issues with INP instrumentation with the Next.js SDK and adds support for the enableInp option in the deprecated BrowserTracing integration for backwards compatibility.

    • feat(performance): Port INP span instrumentation to old browser tracing (#11085)
    • fix(ember): Ensure browser tracing is correctly lazy loaded (#11027)
    • fix(node): Do not assert in vendored proxy code (v7 backport) (#11009)
    • fix(react): Set handled value in ErrorBoundary depending on fallback [v7] (#11037)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 79.95 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.06 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.04 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 64.7 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 35.02 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.9 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
    @sentry/browser - Webpack (gzipped) 22.68 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.18 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.57 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.34 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 219.07 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 106.88 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 38.62 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.53 KB
    @sentry/react - Webpack (gzipped) 22.71 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.35 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.51 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.28 KB
    Open source โ†’
  37. 7.106.111 Mar 2024
    Release notes
    • fix(nextjs/v7): Use passthrough createReduxEnhancer on server (#11010)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
    @sentry/browser - Webpack (gzipped) 22.68 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.38 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
    @sentry/react - Webpack (gzipped) 22.71 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.13 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.3 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.28 KB
    Open source โ†’
  38. 7.106.08 Mar 2024
    Release notes
    • feat(nextjs): Support Hybrid Cloud DSNs with tunnelRoute option (#10958)
    • feat(remix): Add Vite dev-mode support to Express instrumentation (#10811)
    • fix(core): Undeprecate setTransactionName
    • fix(browser): Don't use chrome variable name (#10874)
    • fix(nextjs): Client code should not use Node global (#10925)
    • fix(node): support undici headers as strings or arrays (#10938)
    • fix(types): Add AttachmentType and use for envelope attachment_type property (#10946)
    • ref(ember): Avoid namespace import to hopefully resolve minification issue (#10885)
    • chore(sveltekit): Fix punctuation in a console.log (#10895)

    Work in this release contributed by @jessezhang91 and @bfontaine. Thank you for your contributions!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
    @sentry/browser - Webpack (gzipped) 22.68 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.38 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
    @sentry/react - Webpack (gzipped) 22.71 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.13 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.3 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.28 KB
    Open source โ†’
  39. 7.105.04 Mar 2024
    Release notes

    Important Changes

    • feat: Ensure withActiveSpan is exported everywhere (#10877)

    You can use the withActiveSpan method to ensure a certain span is the active span in a given callback. This can be used to create a span as a child of a specific span with the startSpan API methods:

    const parentSpan = Sentry.startInactiveSpan({ name: 'parent' });
    if (parentSpan) {
      withActiveSpan(parentSpan, () => {
        // This will be a direct child of parentSpan
        const childSpan = Sentry.startInactiveSpan({ name: 'child' });
      });
    }
    

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
    @sentry/browser - Webpack (gzipped) 22.68 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.98 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.4 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.2 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.11 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.54 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.35 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.38 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.37 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
    @sentry/react - Webpack (gzipped) 22.71 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.28 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.28 KB
    Open source โ†’
  40. 7.104.029 Feb 2024
    Release notes

    Important Changes

    • feat(performance): create Interaction standalone spans on inp events (#10709)

    This release adds support for the INP web vital. This is currently only supported for Saas Sentry, and product support is released with the upcoming 24.3.0 release of self-hosted.

    To opt-in to this feature, you can use the enableInp option in the browserTracingIntegration:

    Sentry.init({
      integrations: [
        Sentry.browserTracingIntegration({
          enableInp: true,
        });
      ]
    })
    

    Other Changes

    • feat(feedback): Flush replays when feedback form opens (#10567)
    • feat(profiling-node): Expose nodeProfilingIntegration (#10864)
    • fix(profiling-node): Fix dependencies to point to current versions (#10861)
    • fix(replay): Add errorHandler for replayCanvas integration (#10796)
    • fix(utils): Only mark aggregate errors as exception groups (#10850)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.71 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.87 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.83 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.48 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.84 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 34.88 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.44 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.45 KB
    @sentry/browser - Webpack (gzipped) 22.68 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.96 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.38 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.18 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.09 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.47 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 103.28 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.32 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.35 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.25 KB
    @sentry/react - Webpack (gzipped) 22.71 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.1 KB
    @sentry/nextjs Client - Webpack (gzipped) 53.28 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.28 KB
    Open source โ†’
  41. 7.103.027 Feb 2024
    Release notes

    Important Changes

    • feat(core): Allow to pass forceTransaction to startSpan() APIs (#10819)

    You can now pass forceTransaction: true to startSpan(), startSpanManual() and startInactiveSpan(). This allows you to start a span that you want to be a transaction, if possible. Under the hood, the SDK will connect this span to the running active span (if there is one), but still send the new span as a transaction to the Sentry backend, if possible, ensuring it shows up as a transaction throughout the system.

    Please note that setting this to true does not guarantee that this will be sent as a transaction, but that the SDK will try to do so. You can enable this flag if this span is important to you and you want to ensure that you can see it in the Sentry UI.

    Other Changes

    • fix: Make breadcrumbs option optional in WinterCGFetch integration (#10792)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.54 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.76 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.7 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.38 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.73 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.64 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB
    @sentry/browser - Webpack (gzipped) 22.66 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.78 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.28 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.08 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.06 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 215.17 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.96 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.27 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.25 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.14 KB
    @sentry/react - Webpack (gzipped) 22.69 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.86 KB
    @sentry/nextjs Client - Webpack (gzipped) 52.05 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.24 KB
    Open source โ†’
  42. 7.102.122 Feb 2024
    Release notes
    • fix(performance): Fixes latest route name and source for interactions not updating properly on navigation (#10702)
    • fix(tracing): Guard against missing window.location (#10659)
    • ref: Make span types more robust (#10660)
    • ref(remix): Make @remix-run/router a dependency (v7) (#10779)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.43 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.66 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.6 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.28 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.62 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.54 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB
    @sentry/browser - Webpack (gzipped) 22.66 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.72 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.21 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.03 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.05 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.99 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.78 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.08 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.19 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.03 KB
    @sentry/react - Webpack (gzipped) 22.69 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.75 KB
    @sentry/nextjs Client - Webpack (gzipped) 51.95 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.24 KB
    Open source โ†’
  43. 7.102.020 Feb 2024
    Release notes
    • fix: Export session API (#10712)
    • fix(core): Fix scope capturing via captureContext function (#10737)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.43 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.66 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.6 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.28 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.62 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.5 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.38 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.39 KB
    @sentry/browser - Webpack (gzipped) 22.66 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.72 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.21 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.03 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25.05 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.99 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.78 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.08 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.19 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.03 KB
    @sentry/react - Webpack (gzipped) 22.69 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.7 KB
    @sentry/nextjs Client - Webpack (gzipped) 51.89 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.24 KB
    Open source โ†’
  44. 7.101.115 Feb 2024
    Release notes

    In version 7.101.0 the @sentry/hub package was missing due to a publishing issue. This release contains the package again.

    • fix(nextjs): Remove webpack:// prefix more broadly from source map sources field (#10641)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.42 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.65 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.58 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.26 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.6 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.48 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.38 KB
    @sentry/browser - Webpack (gzipped) 22.64 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.69 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.18 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.01 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.8 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.6 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.89 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.14 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.01 KB
    @sentry/react - Webpack (gzipped) 22.67 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.68 KB
    @sentry/nextjs Client - Webpack (gzipped) 51.87 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.22 KB
    Open source โ†’
  45. 7.101.013 Feb 2024
    Release notes
    • feat: Export semantic attribute keys from SDK packages (#10637)
    • feat(core): Add metric summaries to spans (#10554)
    • feat(core): Deprecate the Hub constructor (#10584)
    • feat(core): Make custom tracing methods return spans & set default op (#10633)
    • feat(replay): Add getReplay utility function (#10510)
    • fix(angular-ivy): Add exports field to package.json (#10569)
    • fix(sveltekit): Avoid capturing Http 4xx errors on the client (#10571)
    • fix(sveltekit): Properly await sourcemaps flattening (#10602)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.42 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.65 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.58 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.26 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.6 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.48 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.38 KB
    @sentry/browser - Webpack (gzipped) 22.64 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.69 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 68.18 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 34.01 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 25 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.8 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 102.6 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.89 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 37.14 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 70.01 KB
    @sentry/react - Webpack (gzipped) 22.67 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.68 KB
    @sentry/nextjs Client - Webpack (gzipped) 51.87 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.22 KB
    Open source โ†’
  46. 7.100.17 Feb 2024
    Release notes

    This release contains build fixes for profiling-node.

    • build(profiling-node): make sure debug build plugin is used #10534
    • build: Only run profiling e2e test if bindings have changed #10542
    • fix(feedback): Replay breadcrumb for feedback events was incorrect #10536

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.49 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.17 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB
    @sentry/browser - Webpack (gzipped) 22.63 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.9 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.07 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB
    @sentry/react - Webpack (gzipped) 22.67 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.54 KB
    @sentry/nextjs Client - Webpack (gzipped) 51.72 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.22 KB
    Open source โ†’
  47. 7.100.06 Feb 2024
    Release notes

    Important Changes

    Deprecations

    This release includes some deprecations. For more details please look at our migration guide.

    The deprecation most likely to affect you is the one of BrowserTracing. Instead of new BrowserTracing(), you should now use browserTracingIntegration(), which will also handle framework-specific instrumentation out of the box for you - no need to pass a custom routingInstrumentation anymore. For @sentry/react, we expose dedicated integrations for the different react-router versions:

    • reactRouterV6BrowserTracingIntegration()
    • reactRouterV5BrowserTracingIntegration()
    • reactRouterV4BrowserTracingIntegration()
    • reactRouterV3BrowserTracingIntegration()

    See the migration guide for details.

    • feat(angular): Export custom browserTracingIntegration() (#10353)
    • feat(browser): Deprecate BrowserTracing integration (#10493)
    • feat(browser): Export browserProfilingIntegration (#10438)
    • feat(bun): Export bunServerIntegration() (#10439)
    • feat(nextjs): Add browserTracingIntegration (#10397)
    • feat(react): Add reactRouterV3BrowserTracingIntegration for react router v3 (#10489)
    • feat(react): Add reactRouterV4/V5BrowserTracingIntegration for react router v4 & v5 (#10488)
    • feat(react): Add reactRouterV6BrowserTracingIntegration for react router v6 & v6.4 (#10491)
    • feat(remix): Add custom browserTracingIntegration (#10442)
    • feat(node): Expose functional integrations to replace classes (#10356)
    • feat(vercel-edge): Replace WinterCGFetch with winterCGFetchIntegration (#10436)
    • feat: Deprecate non-callback based continueTrace (#10301)
    • feat(vue): Deprecate new VueIntegration() (#10440)
    • feat(vue): Implement vue browserTracingIntegration() (#10477)
    • feat(sveltekit): Add custom browserTracingIntegration() (#10450)

    Profiling Node

    @sentry/profiling-node has been ported into the monorepo. Future development for it will happen here!

    • pkg(profiling-node): port profiling-node repo to monorepo (#10151)

    Other Changes

    • feat: Export setHttpStatus from all packages (#10475)
    • feat(bundles): Add pluggable integrations on CDN to Sentry namespace (#10452)
    • feat(core): Pass name & attributes to tracesSampler (#10426)
    • feat(feedback): Add system-ui to start of font family (#10464)
    • feat(node-experimental): Add koa integration (#10451)
    • feat(node-experimental): Update opentelemetry packages (#10456)
    • feat(node-experimental): Update tracing integrations to functional style (#10443)
    • feat(replay): Bump rrweb to 2.10.0 (#10445)
    • feat(replay): Enforce masking of credit card fields (#10472)
    • feat(utils): Add propagationContextFromHeaders (#10313)
    • fix: Make startSpan, startSpanManual and startInactiveSpan pick up the scopes at time of creation instead of termination (#10492)
    • fix(feedback): Fix logo color when colorScheme is "system" (#10465)
    • fix(nextjs): Do not report redirects and notFound calls as errors in server actions (#10474)
    • fix(nextjs): Fix navigation tracing on app router (#10502)
    • fix(nextjs): Apply server action data to correct isolation scope (#10514)
    • fix(node): Use normal require call to import Undici (#10388)
    • ref(nextjs): Remove internally used deprecated APIs (#10453)
    • ref(vue): use startInactiveSpan in tracing mixin (#10406)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.33 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.57 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.5 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.18 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.52 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.39 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.37 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.37 KB
    @sentry/browser - Webpack (gzipped) 22.63 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76.36 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.89 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.66 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.73 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 214.06 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.87 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74.26 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.8 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.93 KB
    @sentry/react - Webpack (gzipped) 22.67 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 87.55 KB
    @sentry/nextjs Client - Webpack (gzipped) 51.72 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.22 KB
    Open source โ†’
  48. 7.99.030 Jan 2024
    Release notes

    Important Changes

    Deprecations

    This release includes some deprecations for span related methods and integrations in our Deno SDK, @sentry/deno. For more details please look at our migration guide.

    • feat(core): Deprecate Span.setHttpStatus in favor of setHttpStatus (#10268)
    • feat(core): Deprecate spanStatusfromHttpCode in favour of getSpanStatusFromHttpCode (#10361)
    • feat(core): Deprecate StartSpanOptions.origin in favour of passing attribute (#10274)
    • feat(deno): Expose functional integrations to replace classes (#10355)

    Other Changes

    • feat(bun): Add missing @sentry/node re-exports (#10396)
    • feat(core): Add afterAllSetup hook for integrations (#10345)
    • feat(core): Ensure startSpan() can handle spans that require parent (#10386)
    • feat(core): Read propagation context off scopes in startSpan APIs (#10300)
    • feat(remix): Export missing @sentry/node functions (#10385, #10391)
    • feat(serverless): Add missing @sentry/node re-exports (#10390)
    • feat(sveltekit): Add more missing @sentry/node re-exports (#10392)
    • feat(tracing): Export proper type for browser tracing (#10411)
    • feat(tracing): Expose new browserTracingIntegration (#10351)
    • fix: Ensure afterAllSetup is called when using addIntegration() (#10372)
    • fix(core): Export spanToTraceContext function from span utils (#10364)
    • fix(core): Make FunctionToString integration use SETUP_CLIENTS weakmap (#10358)
    • fix(deno): Call function if client is not setup (#10354)
    • fix(react): Fix attachReduxState option (#10381)
    • fix(spotlight): Use unpatched http.request (#10369)
    • fix(tracing): Only create request span if there is active span (#10375)
    • ref: Read propagation context off of scope and isolation scope when propagating and applying trace context (#10297)

    Work in this release contributed by @AleshaOleg. Thank you for your contribution!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 78.18 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.39 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 73.28 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 63.01 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.41 KB
    @sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 33.28 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.33 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.34 KB
    @sentry/browser - Webpack (gzipped) 22.6 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 76 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.54 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 33.45 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.66 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 213.12 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 101.13 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 74 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.56 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.78 KB
    @sentry/react - Webpack (gzipped) 22.63 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.45 KB
    @sentry/nextjs Client - Webpack (gzipped) 50.76 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.21 KB
    Open source โ†’
  49. 7.98.025 Jan 2024
    Release notes

    This release primarily fixes some type declaration errors:

    • feat(core): Export IntegrationIndex type (#10337)
    • fix(nextjs): Fix Http integration type declaration (#10338)
    • fix(node): Fix type definitions (#10339)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB
    @sentry/browser - Webpack (gzipped) 22.5 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.45 KB
    @sentry/react - Webpack (gzipped) 22.55 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB
    @sentry/nextjs Client - Webpack (gzipped) 50.4 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.21 KB
    Open source โ†’
  50. 7.97.025 Jan 2024
    Release notes

    This release contains a bug that can lead to too many spans being generated. This has been fixed in v7.99.0, we recommend updating to this version.

    Note: The 7.96.0 release was incomplete. This release is partially encompassing changes from 7.96.0.

    • feat(react): Add stripBasename option for React Router 6 (#10314)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.84 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 69.04 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.93 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.68 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 33.07 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.25 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.26 KB
    @sentry/browser - Webpack (gzipped) 22.5 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.57 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.13 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.97 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.43 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.42 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.44 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 73.08 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 36.07 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.44 KB
    @sentry/react - Webpack (gzipped) 22.55 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 86.11 KB
    @sentry/nextjs Client - Webpack (gzipped) 50.4 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.21 KB
    Open source โ†’
  51. 7.95.023 Jan 2024
    Release notes

    Important Changes

    Deprecations

    This release includes some deprecations in preparation for v8.

    Most notably, it deprecates the Replay & Feedback classes in favor of a functional replacement:

    import * as Sentry from '@sentry/browser';
    
    Sentry.init({
      integrations: [
        // Instead of
        new Sentry.Replay(),
        new Sentry.Feedback(),
        // Use the functional replacement:
        Sentry.replayIntegration(),
        Sentry.feedbackIntegration(),
      ],
    });
    
    • feat(core): Deprecate Span.origin in favor of sentry.origin attribute (#10260)
    • feat(core): Deprecate Span.parentSpanId (#10244)
    • feat(core): Expose isInitialized() to replace checking via getClient (#10296)
    • feat(replay): Deprecate Replay, ReplayCanvas, Feedback classes (#10270)
    • feat(wasm): Deprecate Wasm integration class (#10230)

    Other Changes

    • feat: Make parameterize function available through browser and node API (#10085)
    • feat(feedback): Configure feedback border radius (#10289)
    • feat(sveltekit): Update default integration handling & deprecate addOrUpdateIntegration (#10263)
    • fix(replay-canvas): Add missing dependency on @sentry/utils (#10279)
    • fix(tracing): Don't send negative ttfb (#10286)

    Work in this release contributed by @AleshaOleg. Thank you for your contribution!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.79 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.96 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.85 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.6 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.97 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.24 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.25 KB
    @sentry/browser - Webpack (gzipped) 22.53 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.46 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 67.03 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.85 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.36 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 211.12 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 99.11 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.91 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.95 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.37 KB
    @sentry/react - Webpack (gzipped) 22.58 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.98 KB
    @sentry/nextjs Client - Webpack (gzipped) 50.27 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.21 KB
    Open source โ†’
  52. 7.94.119 Jan 2024
    Release notes

    This release fixes a publishing issue with 7.94.0.

    These are the 7.94.0 release notes:

    Important Changes

    Deprecations

    As we're moving closer to the next major version of the SDK, more public APIs were deprecated.

    To get a head start on migrating to the replacement APIs, please take a look at our migration guide.

    • feat: Deprecate user segment field (#10210)
    • feat(core): Deprecate finish on Span interface in favour of end (#10161)
    • feat(core): Deprecate getCurrentHub() (#10200)
    • feat(core): Deprecate hub.bindClient() & makeMain() (#10188)
    • feat(core): Deprecate Span.instrumenter (#10139)
    • feat(core): Deprecate Span.isSuccess() in favor of reading span status (#10213)
    • feat(core): Deprecate Span.op in favor of op attribute (#10189)
    • feat(core): Deprecate Span.spanRecorder (#10199)
    • feat(core): Deprecate Span.status (#10208)
    • feat(core): Deprecate Span.transaction in favor of getRootSpan (#10134)
    • feat(core): Deprecate Transaction.instrumenter (#10162)
    • feat(core): Deprecate Transaction.setMeasurement in favor of setMeasurement (#10182)
    • feat(core): Deprecate integration classes & Integrations.X (#10198)
    • feat(core): Deprecate methods on Hub (#10124)
    • feat(core): Deprecate remaining setName declarations on Transaction and Span (#10164)
    • feat(core): Deprecate span startTimestamp & endTimestamp (#10192)
    • feat(core): Deprecate hub.bindClient() and makeMain() (#10118)
    • feat(types): Deprecate op on Span interface (#10217)
    • feat(integrations): Deprecate Transaction integration (#10178)
    • feat(integrations): Deprecate pluggable integration classes (#10211)

    Replay & Canvas

    We have added a new ReplayCanvas integration (#10112), which you can add to capture the contents of canvas elements with Replay.

    Just add it in addition to the regular replay integration:

    Sentry.init({
      integrations: [new Sentry.Replay(), new Sentry.ReplayCanvas()],
    });
    

    Other Changes

    • feat(core): Add client.getIntegrationByName() (#10130)
    • feat(core): Add client.init() to replace client.setupIntegrations() (#10118)
    • feat(core): Add withActiveSpan (#10195)
    • feat(core): Add withIsolationScope (#10141)
    • feat(core): Streamline integration function results to be compatible (#10135)
    • feat(core): Write data from setUser, setTags, setExtras, setTag, setExtra, and setContext to isolation scope (#10163)
    • feat(core): Add domain information to resource span data #10205
    • feat(feedback): Export sendFeedback from @sentry/browser (#10231)
    • feat(node): Update and vendor https-proxy-agent (#10088)
    • feat(node-experimental): Add withActiveSpan (#10194)
    • feat(replays): Add snapshot function to replay canvas integration (#10066)
    • feat(types): Add SerializedEvent interface (pre v8) (#10240)
    • feat(types): Add support for new monitor config thresholds (#10225)
    • fix: Ensure all integration classes have correct types (#10183)
    • fix(astro): Fix import path when using external init files with default path (#10214)
    • fix(cdn): Emit console warning instead of error for integration shims (#10193)
    • fix(core): Take user from current scope when starting a session (#10153)
    • fix(node-experimental): Ensure http.status_code is always a string (#10177)
    • fix(node): Guard against process.argv[1] being undefined (#10155)
    • fix(node): Module name resolution (#10144)
    • fix(node): Remove leading slash in Windows filenames (#10147)
    • fix(remix): Capture thrown fetch responses. (#10166)
    • fix(tracing): Gate mongo operation span data behind sendDefaultPii (#10227)
    • fix(tracing-internal): Delay pageload transaction finish until document is interactive (#10215)
    • fix(tracing-internal): Only collect request/response spans when browser performance timing is available (#10207)
    • fix(tracing-internal): Prefer fetch init headers over fetch input headers (#10176)
    • fix(utils): Ensure dropUndefinedKeys() does not break class instances (#10245)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 77.62 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.88 KB
    @sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 72.77 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 62.52 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.89 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 31.15 KB
    @sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.16 KB
    @sentry/browser - Webpack (gzipped) 22.51 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 75.2 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.81 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.66 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 24.21 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 210.51 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 98.48 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 72.46 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.71 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 69.3 KB
    @sentry/react - Webpack (gzipped) 22.55 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.88 KB
    @sentry/nextjs Client - Webpack (gzipped) 50.01 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.14 KB
    Open source โ†’
  53. 7.93.010 Jan 2024
    Release notes

    Important Changes

    Deprecations

    As we're moving closer to the next major version of the SDK, more public APIs were deprecated.

    To get a head start on migrating to the replacement APIs, please take a look at our migration guide.

    • feat(core): Deprecate getActiveTransaction() & scope.getTransaction() (#10098)
    • feat(core): Deprecate Hub.shouldSendDefaultPii (#10062)
    • feat(core): Deprecate new Transaction() (#10125)
    • feat(core): Deprecate scope.getSpan() & scope.setSpan() (#10114)
    • feat(core): Deprecate scope.setTransactionName() (#10113)
    • feat(core): Deprecate span.startChild() (#10091)
    • feat(core): Deprecate startTransaction() (#10073)
    • feat(core): Deprecate Transaction.getDynamicSamplingContext in favor of getDynamicSamplingContextFromSpan (#10094)
    • feat(core): Deprecate arguments for startSpan() (#10101)
    • feat(core): Deprecate hub capture APIs and add them to Scope (#10039)
    • feat(core): Deprecate session APIs on hub and add global replacements (#10054)
    • feat(core): Deprecate span name and description (#10056)
    • feat(core): Deprecate span tags, data, context & setters (#10053)
    • feat(core): Deprecate transaction metadata in favor of attributes (#10097)
    • feat(core): Deprecate span.sampled in favor of span.isRecording() (#10034)
    • ref(node-experimental): Deprecate lastEventId on scope (#10093)

    Cron Monitoring Support for node-schedule library

    This release adds auto instrumented check-ins for the node-schedule library.

    import * as Sentry from '@sentry/node';
    import * as schedule from 'node-schedule';
    
    const scheduleWithCheckIn = Sentry.cron.instrumentNodeSchedule(schedule);
    
    const job = scheduleWithCheckIn.scheduleJob('my-cron-job', '* * * * *', () => {
      console.log('You will see this message every minute');
    });
    
    • feat(node): Instrumentation for node-schedule library (#10086)

    Other Changes

    • feat(core): Add span.spanContext() (#10037)
    • feat(core): Add spanToJSON() method to get span properties (#10074)
    • feat(core): Allow to pass scope to startSpan APIs (#10076)
    • feat(core): Allow to pass start/end timestamp for spans flexibly (#10060)
    • feat(node): Make getModuleFromFilename compatible with ESM (#10061)
    • feat(replay): Update rrweb to 2.7.3 (#10072)
    • feat(utils): Add parameterize function (#9145)
    • fix(astro): Use correct package name for CF (#10099)
    • fix(core): Do not run setup for integration on client multiple times (#10116)
    • fix(core): Ensure we copy passed in span data/tags/attributes (#10105)
    • fix(cron): Make name required for instrumentNodeCron option (#10070)
    • fix(nextjs): Don't capture not-found and redirect errors in generation functions (#10057)
    • fix(node): LocalVariables integration should have correct name (#10084)
    • fix(node): Anr events should have an event_id (#10068)
    • fix(node): Revert to only use sync debugger for LocalVariables (#10077)
    • fix(node): Update ANR min node version to v16.17.0 (#10107)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.98 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 68.36 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.99 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.38 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.98 KB
    @sentry/browser - Webpack (gzipped) 22.31 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 74.61 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 66.26 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 32.07 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 23.9 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 208.7 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 96.75 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 71.35 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 35.04 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 68.72 KB
    @sentry/react - Webpack (gzipped) 22.35 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 85.37 KB
    @sentry/nextjs Client - Webpack (gzipped) 49.5 KB
    @sentry-internal/feedback - Webpack (gzipped) 17.01 KB
    Open source โ†’
  54. 7.92.04 Jan 2024
    Release notes

    Important Changes

    Deprecations

    • feat(core): Add span.updateName() and deprecate span.setName() (#10018)
    • feat(core): Deprecate span.getTraceContext() (#10032)
    • feat(core): Deprecate span.toTraceparent() in favor of spanToTraceHeader() util (#10031)
    • feat(core): Deprecate trace in favor of startSpan (#10012)
    • feat(core): Deprecate span toContext() and updateWithContext() (#10030)
    • ref: Deprecate deepReadDirSync (#10016)
    • ref: Deprecate lastEventId() (#10043)

    Please take a look at the Migration docs for more details. These methods will be removed in the upcoming v8 major release.

    Cron Monitoring Support for cron and node-cron libraries

    • feat(node): Instrumentation for cron library (#9999)
    • feat(node): Instrumentation for node-cron library (#9904)

    This release adds instrumentation for the cron and node-cron libraries. This allows you to monitor your cron jobs with Sentry cron monitors.

    For cron:

    import * as Sentry from '@sentry/node';
    import { CronJob } from 'cron';
    
    const CronJobWithCheckIn = Sentry.cron.instrumentCron(CronJob, 'my-cron-job');
    
    // use the constructor
    const job = new CronJobWithCheckIn('* * * * *', () => {
      console.log('You will see this message every minute');
    });
    
    // or from
    const job = CronJobWithCheckIn.from({
      cronTime: '* * * * *',
      onTick: () => {
        console.log('You will see this message every minute');
      },
    });
    

    For node-cron:

    import * as Sentry from '@sentry/node';
    import cron from 'node-cron';
    
    const cronWithCheckIn = Sentry.cron.instrumentNodeCron(cron);
    
    cronWithCheckIn.schedule(
      '* * * * *',
      () => {
        console.log('running a task every minute');
      },
      { name: 'my-cron-job' },
    );
    

    Other Changes

    • feat(astro): Add enabled option to Astro integration options (#10007)
    • feat(core): Add attributes to Span (#10008)
    • feat(core): Add setClient() and getClient() to Scope (#10055)
    • feat(integrations): Capture error cause with captureErrorCause in ExtraErrorData integration (#9914)
    • feat(node-experimental): Allow to pass base span options to trace methods (#10006)
    • feat(node): Local variables via async inspector in node 19+ (#9962)
    • fix(astro): handle commonjs related issues (#10042)
    • fix(astro): Handle non-utf8 encoded streams in middleware (#9989)
    • fix(astro): prevent sentry from externalized (#9994)
    • fix(core): Ensure withScope sets current scope correctly with async callbacks (#9974)
    • fix(node): ANR fixes and additions (#9998)
    • fix(node): Anr should not block exit (#10035)
    • fix(node): Correctly resolve module name (#10001)
    • fix(node): Handle inspector already open (#10025)
    • fix(node): Make NODE_VERSION properties required (#9964)
    • fix(node): Anr doesn't block exit (#10064)
    • fix(utils): use correct typeof URL validation (#10028)
    • perf(astro): reduce unnecessary path resolutions (#10021)
    • ref(astro): Use astro logger instead of console (#9995)
    • ref(remix): Isolate Express instrumentation from server auto-instrumentation. (#9966)

    Work in this release contributed by @joshkel. Thank you for your contribution!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 76.1 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 67.5 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 61.1 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 32.08 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.49 KB
    @sentry/browser - Webpack (gzipped) 22.21 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 73.53 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 65.2 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 31.37 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 23.29 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 204.35 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 94.24 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 69.09 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 34.33 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.91 KB
    @sentry/react - Webpack (gzipped) 22.23 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 84.53 KB
    @sentry/nextjs Client - Webpack (gzipped) 49.14 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.73 KB
    Open source โ†’
  55. 7.91.022 Dec 2023
    Release notes

    Important Changes

    • feat: Add server runtime metrics aggregator (#9894)

    The release adds alpha support for Sentry developer metrics in the server runtime SDKs (@sentry/node, @sentry/deno, @sentry/nextjs server-side, etc.). Via the newly introduced APIs, you can now flush metrics directly to Sentry.

    To enable capturing metrics, you first need to add the metricsAggregator experiment to your Sentry.init call.

    Sentry.init({
      dsn: '__DSN__',
      _experiments: {
        metricsAggregator: true,
      },
    });
    

    Then you'll be able to add counters, sets, distributions, and gauges under the Sentry.metrics namespace.

    // Add 4 to a counter named `hits`
    Sentry.metrics.increment('hits', 4);
    
    // Add 2 to gauge named `parallel_requests`, tagged with `type: "a"`
    Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } });
    
    // Add 4.6 to a distribution named `response_time` with unit seconds
    Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
    
    // Add 2 to a set named `valuable.ids`
    Sentry.metrics.set('valuable.ids', 2);
    
    • feat(node): Rework ANR to use worker script via an integration (#9945)

    The ANR tracking integration for Node has been reworked to use an integration. ANR tracking now requires a minimum Node version of 16 or higher. Previously you had to call Sentry.enableANRDetection before running your application, now you can simply add the Anr integration to your Sentry.init call.

    import * as Sentry from '@sentry/node';
    
    Sentry.init({
      dsn: 'https://[email protected]/1337',
      integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })],
    });
    

    Other Changes

    • feat(breadcrumbs): Send component names on UI breadcrumbs (#9946)
    • feat(core): Add getGlobalScope() method (#9920)
    • feat(core): Add getIsolationScope() method (#9957)
    • feat(core): Add span.end() to replace span.finish() (#9954)
    • feat(core): Ensure startSpan & startSpanManual fork scope (#9955)
    • feat(react): Send component name on spans (#9949)
    • feat(replay): Send component names in replay breadcrumbs (#9947)
    • feat(sveltekit): Add options to configure fetch instrumentation script for CSP (#9969)
    • feat(tracing): Send component name on interaction spans (#9948)
    • feat(utils): Add function to extract relevant component name (#9921)
    • fix(core): Rethrow caught promise rejections in startSpan, startSpanManual, trace (#9958)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.89 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 67.25 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.87 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.83 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.39 KB
    @sentry/browser - Webpack (gzipped) 22.09 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 73.3 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.97 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 31.12 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 23.12 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 203.77 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 93.66 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 68.58 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 34.07 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.66 KB
    @sentry/react - Webpack (gzipped) 22.12 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 84.31 KB
    @sentry/nextjs Client - Webpack (gzipped) 48.95 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.6 KB
    Open source โ†’
  56. 7.90.020 Dec 2023
    Release notes
    • feat(replay): Change to use preset quality values (#9903)
    • fix(replay): Adjust development hydration error messages (#9922)
    • fix(sveltekit): Add types field to package.json exports (#9926)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.39 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.79 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.38 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.39 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 30.04 KB
    @sentry/browser - Webpack (gzipped) 21.69 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.79 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.51 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.71 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 22.77 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.36 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.28 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.34 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.62 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 67.17 KB
    @sentry/react - Webpack (gzipped) 21.72 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.94 KB
    @sentry/nextjs Client - Webpack (gzipped) 48.57 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.35 KB
    Open source โ†’
  57. 7.89.019 Dec 2023
    Release notes

    Important Changes

    Deprecations

    • feat(core): Deprecate configureScope (#9887)
    • feat(core): Deprecate pushScope & popScope (#9890)

    This release deprecates configureScope, pushScope, and popScope, which will be removed in the upcoming v8 major release.

    Hapi Integration

    • feat(node): Add Hapi Integration (#9539)

    This release adds an integration for Hapi. It can be used as follows:

    const Sentry = require('@sentry/node');
    const Hapi = require('@hapi/hapi');
    
    const init = async () => {
        const server = Hapi.server({
          // your server configuration ...
        });
    
        Sentry.init({
          dsn: '__DSN__',
          tracesSampleRate: 1.0,
          integrations: [
            new Sentry.Integrations.Hapi({ server }),
          ],
        });
    
        server.route({
          // your route configuration ...
        });
    
        await server.start();
    };
    

    SvelteKit 2.0

    • chore(sveltekit): Add SvelteKit 2.0 to peer dependencies (#9861)

    This release adds support for SvelteKit 2.0 in the @sentry/sveltekit package. If you're upgrading from SvelteKit 1.x to 2.x and already use the Sentry SvelteKit SDK, no changes apart from upgrading to this (or a newer) version are necessary.

    Other Changes

    • feat(core): Add type & utility for function-based integrations (#9818)
    • feat(core): Update withScope to return callback return value (#9866)
    • feat(deno): Support Deno.CronSchedule for cron jobs (#9880)
    • feat(nextjs): Auto instrument generation functions (#9781)
    • feat(nextjs): Connect server component transactions if there is no incoming trace (#9845)
    • feat(node-experimental): Update to new Scope APIs (#9799)
    • feat(replay): Add canvas.type setting (#9877)
    • fix(nextjs): Export createReduxEnhancer (#9854)
    • fix(remix): Do not capture thrown redirect responses. (#9909)
    • fix(sveltekit): Add conditional exports (#9872)
    • fix(sveltekit): Avoid capturing 404 errors on client side (#9902)
    • fix(utils): Do not use Event type in worldwide (#9864)
    • fix(utils): Support crypto.getRandomValues in old Chromium versions (#9251)
    • fix(utils): Update eventFromUnknownInput to avoid scope pollution & getCurrentHub (#9868)
    • ref: Use addBreadcrumb directly & allow to pass hint (#9867)

    Work in this release contributed by @adam187, and @jghinestrosa. Thank you for your contributions!

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.14 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.57 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.16 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.23 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.85 KB
    @sentry/browser - Webpack (gzipped) 21.53 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.57 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.28 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.54 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 22.59 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.16 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.26 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.31 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.4 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.92 KB
    @sentry/react - Webpack (gzipped) 21.57 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.71 KB
    @sentry/nextjs Client - Webpack (gzipped) 48.38 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.18 KB
    Open source โ†’
  58. 7.88.014 Dec 2023
    Release notes

    Important Changes

    • feat(browser): Add browser metrics sdk (#9794)

    The release adds alpha support for Sentry developer metrics in the Browser SDKs (@sentry/browser and related framework SDKs). Via the newly introduced APIs, you can now flush metrics directly to Sentry.

    To enable capturing metrics, you first need to add the MetricsAggregator integration.

    Sentry.init({
      dsn: '__DSN__',
      integrations: [
        new Sentry.metrics.MetricsAggregator(),
      ],
    });
    

    Then you'll be able to add counters, sets, distributions, and gauges under the Sentry.metrics namespace.

    // Add 4 to a counter named `hits`
    Sentry.metrics.increment('hits', 4);
    
    // Add 2 to gauge named `parallel_requests`, tagged with `happy: "no"`
    Sentry.metrics.gauge('parallel_requests', 2, { tags: { happy: 'no' } });
    
    // Add 4.6 to a distribution named `response_time` with unit seconds
    Sentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
    
    // Add 2 to a set named `valuable.ids`
    Sentry.metrics.set('valuable.ids', 2);
    

    In a future release we'll add support for server runtimes (Node, Deno, Bun, Vercel Edge, etc.)

    • feat(deno): Optionally instrument Deno.cron (#9808)

    This releases add support for instrumenting Deno cron's with Sentry cron monitors. This requires v1.38 of Deno run with the --unstable flag and the usage of the DenoCron Sentry integration.

    // Import from the Deno registry
    import * as Sentry from "https://deno.land/x/sentry/index.mjs";
    
    Sentry.init({
      dsn: '__DSN__',
      integrations: [
        new Sentry.Integrations.DenoCron(),
      ],
    });
    

    Other Changes

    • feat(replay): Bump rrweb to 2.6.0 (#9847)
    • fix(nextjs): Guard against injecting multiple times (#9807)
    • ref(remix): Bump Sentry CLI to ^2.23.0 (#9773)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.24 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.63 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 60.22 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.3 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.9 KB
    @sentry/browser - Webpack (gzipped) 21.56 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 72.58 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 64.31 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 30.58 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 22.61 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 202.5 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 92.65 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 67.63 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 33.47 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.97 KB
    @sentry/react - Webpack (gzipped) 21.6 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.73 KB
    @sentry/nextjs Client - Webpack (gzipped) 48.41 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.19 KB
    Open source โ†’
  59. 7.87.013 Dec 2023
    Release notes
    • feat: Add top level getCurrentScope() method (#9800)
    • feat(replay): Bump rrweb to 2.5.0 (#9803)
    • feat(replay): Capture hydration error breadcrumb (#9759)
    • feat(types): Add profile envelope types (#9798)
    • fix(astro): Avoid RegExp creation during route interpolation (#9815)
    • fix(browser): Avoid importing from ./exports (#9775)
    • fix(nextjs): Catch rejecting flushes (#9811)
    • fix(nextjs): Fix devserver CORS blockage when assetPrefix is defined (#9766)
    • fix(node): Capture errors in tRPC middleware (#9782)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 75.04 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66.38 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.99 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB
    @sentry/browser - Webpack (gzipped) 21.39 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.61 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 63.33 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.67 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 21.72 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 199.58 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.94 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.92 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.34 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.75 KB
    @sentry/react - Webpack (gzipped) 21.44 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.48 KB
    @sentry/nextjs Client - Webpack (gzipped) 48.23 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.19 KB
    Open source โ†’
  60. 7.86.07 Dec 2023
    Release notes
    • feat(core): Use SDK_VERSION for hub API version (#9732)
    • feat(nextjs): Emit warning if your app directory doesn't have a global-error.js file (#9753)
    • feat(node): Add cloudflare pages commit sha (#9751)
    • feat(remix): Bump @sentry/cli to 2.22.3 (#9741)
    • fix(nextjs): Don't accidentally trigger static generation bailout (#9749)
    • fix(node): Guard process.env.NODE_ENV access in Spotlight integration (#9748)
    • fix(utils): Fix XHR instrumentation early return (#9770)
    • ref(remix): Rework Error Handling (#9725)

    Bundle size ๐Ÿ“ฆ

    Path Size
    @sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.66 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66 KB
    @sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.6 KB
    @sentry/browser (incl. Tracing) - Webpack (gzipped) 31.13 KB
    @sentry/browser (incl. Feedback) - Webpack (gzipped) 29.74 KB
    @sentry/browser - Webpack (gzipped) 21.39 KB
    @sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.25 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.97 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.65 KB
    @sentry/browser - ES6 CDN Bundle (gzipped) 21.71 KB
    @sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 198.35 KB
    @sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.78 KB
    @sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.76 KB
    @sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.3 KB
    @sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.36 KB
    @sentry/react - Webpack (gzipped) 21.43 KB
    @sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.09 KB
    @sentry/nextjs Client - Webpack (gzipped) 48.23 KB
    @sentry-internal/feedback - Webpack (gzipped) 16.19 KB
    Open source โ†’