[Snyk] Upgrade @sentry/browser from 7.90.0 to 7.91.0 #2178
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was automatically created by Snyk using the credentials of a real user.
Snyk has created this PR to upgrade @sentry/browser from 7.90.0 to 7.91.0.
ℹ️ Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.
Release notes
Package name: @sentry/browser
Important Changes
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 yourSentry.init
call.Then you'll be able to add
counters
,sets
,distributions
, andgauges
under theSentry.metrics
namespace.hits
Sentry.metrics.increment('hits', 4);
// Add 2 to gauge named
parallel_requests
, tagged withtype: "a"
Sentry.metrics.gauge('parallel_requests', 2, { tags: { type: 'a' } });
// Add 4.6 to a distribution named
response_time
with unit secondsSentry.metrics.distribution('response_time', 4.6, { unit: 'seconds' });
// Add 2 to a set named
valuable.ids
Sentry.metrics.set('valuable.ids', 2);
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 theAnr
integration to yourSentry.init
call.integrations: [new Sentry.Integrations.Anr({ captureStackTrace: true, anrThreshold: 200 })],
});">
Other Changes
getGlobalScope()
method (#9920)getIsolationScope()
method (#9957)span.end()
to replacespan.finish()
(#9954)startSpan
&startSpanManual
fork scope (#9955)startSpan
,startSpanManual
,trace
(#9958)Bundle size 📦
types
field to package.jsonexports
(#9926)Bundle size 📦
Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs