Update dependency @sentry/nextjs to v7.116.0 #9

Open
renovate-bot wants to merge 1 commits from renovate/sentry-javascript-monorepo into master
Owner

This PR contains the following updates:

Package Type Update Change
@sentry/nextjs (source) dependencies minor 7.105.0 -> 7.116.0

Release Notes

getsentry/sentry-javascript (@​sentry/nextjs)

v7.116.0

Compare Source

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

v7.115.0

Compare Source

  • 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

v7.114.0

Compare Source

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)

v7.113.0

Compare Source

Important Changes

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)

v7.112.2

Compare Source

  • fix(nextjs|sveltekit): Ensure we can pass browserTracingIntegration (#​11765)

v7.112.1

Compare Source

  • fix(ember/v7): Do not create rendering spans without transaction (#​11750)

v7.112.0

Compare Source

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)

v7.111.0

Compare Source

  • 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)

v7.110.1

Compare Source

  • fix(nextjs): Fix tunnelRoute matching logic for hybrid cloud (#​11577)

v7.110.0

Compare Source

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)

v7.109.0

Compare Source

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!

v7.108.0

Compare Source

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!

v7.107.0

Compare Source

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)

v7.106.1

Compare Source

  • fix(nextjs/v7): Use passthrough createReduxEnhancer on server (#​11010)

v7.106.0

Compare Source

  • 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!


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@sentry/nextjs](https://github.com/getsentry/sentry-javascript/tree/master/packages/nextjs) ([source](https://github.com/getsentry/sentry-javascript)) | dependencies | minor | [`7.105.0` -> `7.116.0`](https://renovatebot.com/diffs/npm/@sentry%2fnextjs/7.105.0/7.116.0) | --- ### Release Notes <details> <summary>getsentry/sentry-javascript (@&#8203;sentry/nextjs)</summary> ### [`v7.116.0`](https://github.com/getsentry/sentry-javascript/releases/tag/7.116.0) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.115.0...7.116.0) - build(craft): Publish lambda layer under its own name for v7 ([#&#8203;12098](https://github.com/getsentry/sentry-javascript/issues/12098)) ([#&#8203;12099](https://github.com/getsentry/sentry-javascript/issues/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 | | ---------------------------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.83 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 71.77 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 76.02 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.38 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 35.64 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped) | 35.53 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Feedback) - Webpack (gzipped) | 31.6 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped) | 31.61 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) - Webpack (gzipped) | 22.78 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 79.04 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.37 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.05 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 25.28 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.49 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.08 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 75.81 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.33 KB | | [@&#8203;sentry/react](https://github.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 72.27 KB | | [@&#8203;sentry/react](https://github.com/sentry/react) - Webpack (gzipped) | 22.81 KB | | [@&#8203;sentry/nextjs](https://github.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.03 KB | | [@&#8203;sentry/nextjs](https://github.com/sentry/nextjs) Client - Webpack (gzipped) | 54.15 KB | | [@&#8203;sentry-internal/feedback](https://github.com/sentry-internal/feedback) - Webpack (gzipped) | 17.34 KB | ### [`v7.115.0`](https://github.com/getsentry/sentry-javascript/releases/tag/7.115.0) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.114.0...7.115.0) - feat(v7): Add support for global onUnhandled Error/Promise for Bun ([#&#8203;11959](https://github.com/getsentry/sentry-javascript/issues/11959)) - fix(replay/v7): Fix user activity not being updated in `start()` ([#&#8203;12003](https://github.com/getsentry/sentry-javascript/issues/12003)) - ref(api): Remove `lastEventId` deprecation warnings ([#&#8203;12042](https://github.com/getsentry/sentry-javascript/issues/12042)) #### Bundle size 📦 | Path | Size | | ---------------------------------------------------------------------------------- | ----------------- | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay, Feedback) - Webpack (gzipped) | 80.83 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - Webpack (gzipped) | 71.77 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay with Canvas) - Webpack (gzipped) | 76.02 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) | 65.38 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - Webpack (gzipped) | 35.64 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. browserTracingIntegration) - Webpack (gzipped) | 35.53 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Feedback) - Webpack (gzipped) | 31.6 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. sendFeedback) - Webpack (gzipped) | 31.61 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) - Webpack (gzipped) | 22.78 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) | 79.04 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) | 70.37 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (gzipped) | 36.05 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) - ES6 CDN Bundle (gzipped) | 25.28 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) | 221.49 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) | 109.08 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) - ES6 CDN Bundle (minified & uncompressed) | 75.81 KB | | [@&#8203;sentry/browser](https://github.com/sentry/browser) (incl. Tracing) - ES5 CDN Bundle (gzipped) | 39.33 KB | | [@&#8203;sentry/react](https://github.com/sentry/react) (incl. Tracing, Replay) - Webpack (gzipped) | 72.27 KB | | [@&#8203;sentry/react](https://github.com/sentry/react) - Webpack (gzipped) | 22.81 KB | | [@&#8203;sentry/nextjs](https://github.com/sentry/nextjs) Client (incl. Tracing, Replay) - Webpack (gzipped) | 90.03 KB | | [@&#8203;sentry/nextjs](https://github.com/sentry/nextjs) Client - Webpack (gzipped) | 54.15 KB | | [@&#8203;sentry-internal/feedback](https://github.com/sentry-internal/feedback) - Webpack (gzipped) | 17.34 KB | ### [`v7.114.0`](https://github.com/getsentry/sentry-javascript/releases/tag/7.114.0) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.113.0...7.114.0) ##### Important Changes - **fix(browser/v7): Continuously record CLS ([#&#8203;11935](https://github.com/getsentry/sentry-javascript/issues/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 ([#&#8203;11875](https://github.com/getsentry/sentry-javascript/issues/11875)) - feat(v7): Add `tunnel` support to multiplexed transport ([#&#8203;11851](https://github.com/getsentry/sentry-javascript/issues/11851)) - fix(opentelemetry-node): support `HTTP_REQUEST_METHOD` attribute ([#&#8203;11929](https://github.com/getsentry/sentry-javascript/issues/11929)) - fix(react/v7): Fix react router v4/v5 span names ([#&#8203;11940](https://github.com/getsentry/sentry-javascript/issues/11940)) ### [`v7.113.0`](https://github.com/getsentry/sentry-javascript/releases/tag/7.113.0) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.112.2...7.113.0) ##### Important Changes - **feat(node): Support Node 22 ([#&#8203;11754](https://github.com/getsentry/sentry-javascript/issues/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 ([#&#8203;11841](https://github.com/getsentry/sentry-javascript/issues/11841)) - feat(replay/v7): Upgrade rrweb packages to 2.15.0 ([#&#8203;11752](https://github.com/getsentry/sentry-javascript/issues/11752)) - fix(ember/v7): Ensure unnecessary spans are avoided ([#&#8203;11848](https://github.com/getsentry/sentry-javascript/issues/11848)) ### [`v7.112.2`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71122) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.112.1...7.112.2) - fix(nextjs|sveltekit): Ensure we can pass `browserTracingIntegration` ([#&#8203;11765](https://github.com/getsentry/sentry-javascript/issues/11765)) ### [`v7.112.1`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71121) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.112.0...7.112.1) - fix(ember/v7): Do not create rendering spans without transaction ([#&#8203;11750](https://github.com/getsentry/sentry-javascript/issues/11750)) ### [`v7.112.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71120) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.111.0...7.112.0) ##### Important Changes - **feat: Export pluggable integrations from SDK packages ([#&#8203;11723](https://github.com/getsentry/sentry-javascript/issues/11723))** Instead of installing `@sentry/integrations`, you can now import the pluggable integrations directly from your SDK package: ```js // Before import * as Sentry fromv '@&#8203;sentry/browser'; import { dedupeIntegration } from '@&#8203;sentry/integrations'; Sentry.init({ integrations: [dedupeIntegration()], }); // After import * as Sentry from '@&#8203;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 ([#&#8203;11732](https://github.com/getsentry/sentry-javascript/issues/11732)) - fix(serverless): \[v7] Check if cloud event callback is a function ([#&#8203;11734](https://github.com/getsentry/sentry-javascript/issues/11734)) ### [`v7.111.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71110) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.110.1...7.111.0) - feat(core): Add `server.address` to browser `http.client` spans ([#&#8203;11663](https://github.com/getsentry/sentry-javascript/issues/11663)) - fix: Ensure next & sveltekit correctly handle `browserTracingIntegration` ([#&#8203;11647](https://github.com/getsentry/sentry-javascript/issues/11647)) - fix(browser): Don't assume window.document is available ([#&#8203;11598](https://github.com/getsentry/sentry-javascript/issues/11598)) ### [`v7.110.1`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71101) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.110.0...7.110.1) - fix(nextjs): Fix `tunnelRoute` matching logic for hybrid cloud ([#&#8203;11577](https://github.com/getsentry/sentry-javascript/issues/11577)) ### [`v7.110.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71100) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.109.0...7.110.0) ##### Important Changes - **feat(tracing): Add interactions sample rate to browser tracing integrations ([#&#8203;11382](https://github.com/getsentry/sentry-javascript/issues/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`. ```js 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](./MIGRATION.md#deprecations-in-7x) on how to migrate to the new APIs. - feat: Deprecate and relocate `trpcMiddleware` ([#&#8203;11389](https://github.com/getsentry/sentry-javascript/issues/11389)) - feat(core): Deprecate `Hub` class ([#&#8203;11528](https://github.com/getsentry/sentry-javascript/issues/11528)) - feat(types): Deprecate `Hub` interface ([#&#8203;11530](https://github.com/getsentry/sentry-javascript/issues/11530)) - ref: Deprecate `addRequestDataToTransaction` ([#&#8203;11368](https://github.com/getsentry/sentry-javascript/issues/11368)) ##### Other Changes - feat(core): Update metric normalization ([#&#8203;11519](https://github.com/getsentry/sentry-javascript/issues/11519)) - feat(feedback): Customize feedback placeholder text color ([#&#8203;11521](https://github.com/getsentry/sentry-javascript/issues/11521)) - feat(remix): Skip span creation for `OPTIONS` and `HEAD` request. ([#&#8203;11485](https://github.com/getsentry/sentry-javascript/issues/11485)) - feat(utils): Add metric buckets rate limit ([#&#8203;11506](https://github.com/getsentry/sentry-javascript/issues/11506)) - fix(core): unref timer to not block node exit ([#&#8203;11483](https://github.com/getsentry/sentry-javascript/issues/11483)) - fix(metrics): Map `statsd` to `metric_bucket` ([#&#8203;11505](https://github.com/getsentry/sentry-javascript/issues/11505)) - fix(spans): Allow zero exclusive time for INP spans ([#&#8203;11408](https://github.com/getsentry/sentry-javascript/issues/11408)) - ref(feedback): Configure feedback fonts ([#&#8203;11520](https://github.com/getsentry/sentry-javascript/issues/11520)) ### [`v7.109.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71090) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.108.0...7.109.0) 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 ([#&#8203;11287](https://github.com/getsentry/sentry-javascript/issues/11287)) - feat(node): Add scope to ANR events ([#&#8203;11267](https://github.com/getsentry/sentry-javascript/issues/11267)) - feat(replay): Bump `rrweb` to 2.12.0 ([#&#8203;11317](https://github.com/getsentry/sentry-javascript/issues/11317)) - fix(node): Local variables skipped after Promise ([#&#8203;11248](https://github.com/getsentry/sentry-javascript/issues/11248)) - fix(node): Skip capturing Hapi Boom error responses ([#&#8203;11324](https://github.com/getsentry/sentry-javascript/issues/11324)) - fix(web-vitals): Check for undefined navigation entry ([#&#8203;11312](https://github.com/getsentry/sentry-javascript/issues/11312)) - ref(replay): Deprecate `@sentry/replay` exports ([#&#8203;11242](https://github.com/getsentry/sentry-javascript/issues/11242)) Work in this release contributed by [@&#8203;soerface](https://github.com/soerface). Thank you for your contribution! ### [`v7.108.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71080) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.107.0...7.108.0) 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 ([#&#8203;11104](https://github.com/getsentry/sentry-javascript/issues/11104)) - feat(core): Backport `ResizeObserver` and `googletag` default filters ([#&#8203;11210](https://github.com/getsentry/sentry-javascript/issues/11210)) - feat(webvitals): Adds event entry names for INP handler. Also guard against empty metric value - fix(metrics): use correct statsd data category ([#&#8203;11187](https://github.com/getsentry/sentry-javascript/issues/11187)) - fix(node): Record local variables with falsy values (v7) ([#&#8203;11190](https://github.com/getsentry/sentry-javascript/issues/11190)) - fix(node): Use unique variable for ANR context transfer (v7) ([#&#8203;11162](https://github.com/getsentry/sentry-javascript/issues/11162)) - fix(node): Time zone handling for `cron` ([#&#8203;11225](https://github.com/getsentry/sentry-javascript/issues/11225)) - fix(tracing): use web-vitals ttfb calculation ([#&#8203;11231](https://github.com/getsentry/sentry-javascript/issues/11231)) - fix(types): Fix incorrect `sampled` type on `Transaction` ([#&#8203;11146](https://github.com/getsentry/sentry-javascript/issues/11146)) - fix(webvitals): Fix mapping not being maintained properly and sometimes not sending INP spans ([#&#8203;11183](https://github.com/getsentry/sentry-javascript/issues/11183)) Work in this release contributed by [@&#8203;quisido](https://github.com/quisido) and [@&#8203;joshkel](https://github.com/joshkel). Thank you for your contributions! ### [`v7.107.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71070) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.106.1...7.107.0) 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 ([#&#8203;11085](https://github.com/getsentry/sentry-javascript/issues/11085)) - fix(ember): Ensure browser tracing is correctly lazy loaded ([#&#8203;11027](https://github.com/getsentry/sentry-javascript/issues/11027)) - fix(node): Do not assert in vendored proxy code (v7 backport) ([#&#8203;11009](https://github.com/getsentry/sentry-javascript/issues/11009)) - fix(react): Set `handled` value in ErrorBoundary depending on fallback \[v7] ([#&#8203;11037](https://github.com/getsentry/sentry-javascript/issues/11037)) ### [`v7.106.1`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71061) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.106.0...7.106.1) - fix(nextjs/v7): Use passthrough `createReduxEnhancer` on server ([#&#8203;11010](https://github.com/getsentry/sentry-javascript/issues/11010)) ### [`v7.106.0`](https://github.com/getsentry/sentry-javascript/blob/HEAD/CHANGELOG.md#71060) [Compare Source](https://github.com/getsentry/sentry-javascript/compare/7.105.0...7.106.0) - feat(nextjs): Support Hybrid Cloud DSNs with `tunnelRoute` option ([#&#8203;10958](https://github.com/getsentry/sentry-javascript/issues/10958)) - feat(remix): Add Vite dev-mode support to Express instrumentation ([#&#8203;10811](https://github.com/getsentry/sentry-javascript/issues/10811)) - fix(core): Undeprecate `setTransactionName` - fix(browser): Don't use chrome variable name ([#&#8203;10874](https://github.com/getsentry/sentry-javascript/issues/10874)) - fix(nextjs): Client code should not use Node `global` ([#&#8203;10925](https://github.com/getsentry/sentry-javascript/issues/10925)) - fix(node): support undici headers as strings or arrays ([#&#8203;10938](https://github.com/getsentry/sentry-javascript/issues/10938)) - fix(types): Add `AttachmentType` and use for envelope `attachment_type` property ([#&#8203;10946](https://github.com/getsentry/sentry-javascript/issues/10946)) - ref(ember): Avoid namespace import to hopefully resolve minification issue ([#&#8203;10885](https://github.com/getsentry/sentry-javascript/issues/10885)) - chore(sveltekit): Fix punctuation in a console.log ([#&#8203;10895](https://github.com/getsentry/sentry-javascript/issues/10895)) Work in this release contributed by [@&#8203;jessezhang91](https://github.com/jessezhang91) and [@&#8203;bfontaine](https://github.com/bfontaine). Thank you for your contributions! </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zMDYuMSIsInVwZGF0ZWRJblZlciI6IjM3LjM2OC4zIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=-->
renovate-bot changed title from Update dependency @sentry/nextjs to v7.112.2 to Update dependency @sentry/nextjs to v7.113.0 2024-05-02 12:01:46 +00:00
renovate-bot force-pushed renovate/sentry-javascript-monorepo from 2b925f43b0 to 5481caee6c 2024-05-02 12:01:47 +00:00 Compare
renovate-bot changed title from Update dependency @sentry/nextjs to v7.113.0 to Update dependency @sentry/nextjs to v7.114.0 2024-05-08 09:01:36 +00:00
renovate-bot force-pushed renovate/sentry-javascript-monorepo from 5481caee6c to c3b8028116 2024-05-08 09:01:37 +00:00 Compare
renovate-bot changed title from Update dependency @sentry/nextjs to v7.114.0 to Update dependency @sentry/nextjs to v7.115.0 2024-05-16 12:01:43 +00:00
renovate-bot force-pushed renovate/sentry-javascript-monorepo from c3b8028116 to 5d1465ea87 2024-05-16 12:01:44 +00:00 Compare
renovate-bot changed title from Update dependency @sentry/nextjs to v7.115.0 to Update dependency @sentry/nextjs to v7.116.0 2024-05-17 14:01:45 +00:00
renovate-bot force-pushed renovate/sentry-javascript-monorepo from 5d1465ea87 to bd5dd64d5a 2024-05-17 14:01:45 +00:00 Compare
This repo is archived. You cannot comment on pull requests.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Paste/Frontend#9
No description provided.