Skip to content

Update dependency sentrybrowser to v7.88.0

This MR contains the following updates:

Package Type Update Change
sentrybrowser (source) dependencies minor 7.81.1 -> 7.88.0

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

getsentry/sentry-javascript

v7.88.0

Compare Source

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

v7.87.0

Compare Source

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

v7.86.0

Compare Source

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

v7.85.0

Compare Source

  • feat(core): Add addEventProcessor method (#​9554)
  • feat(crons): Add interface for heartbeat checkin (#​9706)
  • feat(feedback): Include Feedback package in browser SDK (#​9586)
  • fix(astro): Isolate request instrumentation in middleware (#​9709)
  • fix(replay): Capture JSON XHR response bodies (#​9623)
  • ref(feedback): Change form box-shadow to use CSS var (#​9630)

v7.84.0

Compare Source

Important Changes
  • ref(nextjs): Set automaticVercelMonitors to be false by default (#​9697)

From this version onwards the default for the automaticVercelMonitors option in the Next.js SDK is set to false. Previously, if you made use of Vercel Crons the SDK automatically instrumented the relevant routes to create Sentry monitors. Because this feature will soon be generally available, we are now flipping the default to avoid situations where quota is used unexpectedly.

If you want to continue using this feature, make sure to set the automaticVercelMonitors flag to true in your next.config.js Sentry settings.

Other Changes
  • chore(astro): Add 4.0.0 preview versions to astro peer dependency range (#​9696)
  • feat(metrics): Add interfaces for metrics (#​9698)
  • feat(web-vitals): Vendor in INP from web-vitals library (#​9690)
  • fix(astro): Avoid adding the Sentry Vite plugin in dev mode (#​9688)
  • fix(nextjs): Don't match files called middleware in node_modules (#​9686)
  • fix(remix): Don't capture error responses that are not 5xx on Remix v2. (#​9655)
  • fix(tracing): Don't attach resource size if null (#​9669)
  • fix(utils): Regex match port to stop accidental replace (#​9676)
  • fix(utils): Try catch new URL when extracting query params (#​9675)

v7.83.0

Compare Source

  • chore(astro): Allow Astro 4.0 in peer dependencies (#​9683)
  • feat(astro): Add assets option to source maps upload options (#​9668)
  • feat(react): Support exactOptionalPropertyTypes on ErrorBoundary (#​9098)
  • fix: Don't depend on browser types in types (#​9682)
  • fix(astro): Configure sourcemap assets directory for Vercel adapter (#​9665)
  • fix(remix): Check the error data before spreading. (#​9664)

v7.82.0

Compare Source

  • feat(astro): Automatically add Sentry middleware in Astro integration (#​9532)
  • feat(core): Add optional setup hook to integrations (#​9556)
  • feat(core): Add top level getClient() method (#​9638)
  • feat(core): Allow to pass mechanism as event hint (#​9590)
  • feat(core): Allow to use continueTrace without callback (#​9615)
  • feat(feedback): Add onClose callback to showReportDialog (#​9433) (#​9550)
  • feat(nextjs): Add request data to all edge-capable functionalities (#​9636)
  • feat(node): Add Spotlight option to Node SDK (#​9629)
  • feat(utils): Refactor addInstrumentationHandler to dedicated methods (#​9542)
  • fix: Make full url customizable for Spotlight (#​9652)
  • fix(astro): Remove Auth Token existence check (#​9651)
  • fix(nextjs): Fix middleware detection logic (#​9637)
  • fix(remix): Skip capturing aborted requests (#​9659)
  • fix(replay): Add BODY_PARSE_ERROR warning & time out fetch response load (#​9622)
  • fix(tracing): Filter out invalid resource sizes (#​9641)
  • ref: Hoist RequestData integration to @sentry/core (#​9597)
  • ref(feedback): Rename onDialog* to onForm*, remove onActorClick (#​9625)

Work in this release contributed by @​arya-s. Thank you for your contribution!


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: Never, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Edited by GitLab Dependency Bot

Merge request reports