Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(web): update dependency @sentry/react to v7.88.0 #13256

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Dec 14, 2023

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/react (source) 7.86.0 -> 7.88.0 age adoption passing confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

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

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)

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

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 Mend Renovate. View repository job log here.

@renovate renovate bot requested a review from hongbo-miao as a code owner December 14, 2023 19:42
@mergify mergify bot merged commit 31907a6 into main Dec 18, 2023
80 of 81 checks passed
@mergify mergify bot deleted the renovate/web-sentry-javascript-monorepo branch December 18, 2023 06:05
Copy link

🎉 This PR is included in version 1.98.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants