Uh oh!
There was an error while loading. Please reload this page.
[Snyk] Upgrade @sentry/browser from 8.11.0 to 8.12.0 - #2782
Closed
arnfinn wants to merge 1 commit into
Closed
Conversation
Snyk has created this PR to upgrade @sentry/browser from 8.11.0 to 8.12.0. See this package in npm: @sentry/browser See this project in Snyk: https://app.snyk.io/org/arnfinn/project/0847007b-5cd0-4358-af3c-3591c7079bf2?utm_source=github&utm_medium=referral&page=upgrade-pr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
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 8.11.0 to 8.12.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.
The recommended version is 2 versions ahead of your current version.
The recommended version was released on 22 days ago.
Release notes
Package name: @sentry/browser
- 8.12.0 - 2024-06-25
- feat(solid): Remove need to pass router hooks to solid integration (breaking)
import *asSentryfrom'@ sentry/solid'; - feat(core): Return client from init method (#12585)
- feat(nextjs): Add
- feat(node): Allow to configure
- feat(feedback): Extra check for iPad in screenshot support (#12593)
- fix(bundle): Ensure CDN bundles do not overwrite
- fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#12535)
- fix(node): Re-throw errors from koa middleware (#12609)
- fix(remix): Mark
- ref(node): Add error message to NodeFetch log (#12612)
Path Size @ sentry/browser 22.22 KB @ sentry/browser (incl. Tracing) 33.31 KB @ sentry/browser (incl. Tracing, Replay) 69.09 KB @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.42 KB @ sentry/browser (incl. Tracing, Replay with Canvas) 73.15 KB @ sentry/browser (incl. Tracing, Replay, Feedback) 85.76 KB @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.62 KB @ sentry/browser (incl. metrics) 26.5 KB @ sentry/browser (incl. Feedback) 38.87 KB @ sentry/browser (incl. sendFeedback) 26.85 KB @ sentry/browser (incl. FeedbackAsync) 31.45 KB @ sentry/react 24.97 KB @ sentry/react (incl. Tracing) 36.36 KB @ sentry/vue 26.33 KB @ sentry/vue (incl. Tracing) 35.17 KB @ sentry/svelte 22.36 KB CDN Bundle 23.42 KB CDN Bundle (incl. Tracing) 35.05 KB CDN Bundle (incl. Tracing, Replay) 69.18 KB CDN Bundle (incl. Tracing, Replay, Feedback) 74.38 KB CDN Bundle - uncompressed 68.8 KB CDN Bundle (incl. Tracing) - uncompressed 103.66 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 214.13 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.79 KB @ sentry/nextjs (client) 36.24 KB @ sentry/sveltekit (client) 33.95 KB @ sentry/node 113.27 KB @ sentry/node - without tracing 90.65 KB @ sentry/aws-serverless 99.74 KB
- 8.12.0-beta.0 - 2024-06-24
Path Size @ sentry/browser 22.23 KB @ sentry/browser (incl. Tracing) 33.32 KB @ sentry/browser (incl. Tracing, Replay) 69.4 KB @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.7 KB @ sentry/browser (incl. Tracing, Replay with Canvas) 73.8 KB @ sentry/browser (incl. Tracing, Replay, Feedback) 85.67 KB @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.55 KB @ sentry/browser (incl. metrics) 26.51 KB @ sentry/browser (incl. Feedback) 38.46 KB @ sentry/browser (incl. sendFeedback) 26.86 KB @ sentry/browser (incl. FeedbackAsync) 31.46 KB @ sentry/react 24.97 KB @ sentry/react (incl. Tracing) 36.37 KB @ sentry/vue 26.33 KB @ sentry/vue (incl. Tracing) 35.17 KB @ sentry/svelte 22.36 KB CDN Bundle 23.43 KB CDN Bundle (incl. Tracing) 35.06 KB CDN Bundle (incl. Tracing, Replay) 69.48 KB CDN Bundle (incl. Tracing, Replay, Feedback) 74.74 KB CDN Bundle - uncompressed 68.81 KB CDN Bundle (incl. Tracing) - uncompressed 103.66 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 215.52 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 228.18 KB @ sentry/nextjs (client) 36.24 KB @ sentry/sveltekit (client) 33.96 KB @ sentry/node 113.27 KB @ sentry/node - without tracing 90.67 KB @ sentry/aws-serverless 99.76 KB
- 8.11.0 - 2024-06-21
- feat(core): Add
Sentry.startSpan({name: 'root'},parent=>{ - feat(node): Detect release from more providers (#12529)
- fix(profiling-node): Use correct getGlobalScope import (#12564)
- fix(profiling-node) sample timestamps need to be in seconds (#12563)
- ref: Align
Path Size @ sentry/browser 22.22 KB @ sentry/browser (incl. Tracing) 33.31 KB @ sentry/browser (incl. Tracing, Replay) 69.09 KB @ sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.41 KB @ sentry/browser (incl. Tracing, Replay with Canvas) 73.14 KB @ sentry/browser (incl. Tracing, Replay, Feedback) 85.31 KB @ sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.17 KB @ sentry/browser (incl. metrics) 26.5 KB @ sentry/browser (incl. Feedback) 38.42 KB @ sentry/browser (incl. sendFeedback) 26.85 KB @ sentry/browser (incl. FeedbackAsync) 31.42 KB @ sentry/react 24.96 KB @ sentry/react (incl. Tracing) 36.35 KB @ sentry/vue 26.32 KB @ sentry/vue (incl. Tracing) 35.16 KB @ sentry/svelte 22.35 KB CDN Bundle 23.41 KB CDN Bundle (incl. Tracing) 35.04 KB CDN Bundle (incl. Tracing, Replay) 69.17 KB CDN Bundle (incl. Tracing, Replay, Feedback) 74.34 KB CDN Bundle - uncompressed 68.76 KB CDN Bundle (incl. Tracing) - uncompressed 103.61 KB CDN Bundle (incl. Tracing, Replay) - uncompressed 214.08 KB CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 226.67 KB @ sentry/nextjs (client) 36.23 KB @ sentry/sveltekit (client) 33.95 KB @ sentry/node 112.99 KB @ sentry/node - without tracing 90.4 KB @ sentry/aws-serverless 99.48 KB
from @sentry/browser GitHub release notesImportant Changes
This release introduces breaking changes to the
@ sentry/solidpackage (which is currently out in alpha).We've made it easier to get started with the solid router integration by removing the need to pass use* hooks
explicitly to
solidRouterBrowserTracingIntegration. ImportsolidRouterBrowserTracingIntegrationfrom@ sentry/solid/solidrouterand add it toSentry.initimport{solidRouterBrowserTracingIntegration,withSentryRouterRouting}from'@ sentry/solid/solidrouter';
import{Router}from'@ solidjs/router';
Sentry.init({
dsn: 'PUBLIC_DSN',
integrations: [solidRouterBrowserTracingIntegration()],
tracesSampleRate: 1.0,// Capture 100% of the transactions
});
constSentryRouter=withSentryRouterRouting(Router);
Sentry.init()now returns a client directly, so you don't need to explicitly callgetClient()anymore:deleteSourcemapsAfterUploadoption (#12457)This adds an easy way to delete sourcemaps immediately after uploading them:
maxSpanWaitDuration(#12610)Adds configuration option for the max. duration in seconds that the SDK will wait for parent spans to be finished before
discarding a span. The SDK will automatically clean up spans that have no finished parent after this duration. This is
necessary to prevent memory leaks in case of parent spans that are never finished or otherwise dropped/missing. However,
if you have very long-running spans in your application, a shorter duration might cause spans to be discarded too early.
In this case, you can increase this duration to a value that fits your expected data.
Other Changes
window.Sentry(#12580)isRemixV2as optional in exposed types. (#12614)Work in this release was contributed by @ n4bb12. Thank you for your contribution!
Bundle size 📦
This pre-release includes an
rrwebversion bump thatincludes quite a few upstream changes. We will test this on Sentry before a release.
Bundle size 📦
Important Changes
parentSpanoption tostartSpan*APIs (#12567)We've made it easier to create a span as a child of a specific span via the startSpan* APIs. This should allow you to
explicitly manage the parent-child relationship of your spans better.
constspan=Sentry.startInactiveSpan({name: 'xxx',parentSpan: parent});
Sentry.startSpan({name: 'xxx',parentSpan: parent},()=>{});
Sentry.startSpanManual({name: 'xxx',parentSpan: parent},()=>{});
});
Other Changes
@ sentry/nodeexports from framework SDKs. (#12589)Bundle size 📦
Important
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: