GeezerVison is showing github.com — [Snyk] Upgrade @sentry/react from 7.16.0 to 8.12.0 by q1blue · Pull Request #764 · https-quantumblockchainai-atlassian-net/ossinsight
Conversation
This PR was automatically created by Snyk using the credentials of a real user. 
Snyk has created this PR to upgrade @sentry/react from 7.16.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.
⚠️ Warning: This PR contains major version upgrade(s), and may be a breaking change.
Release notes
Package name: @sentry/react
-
8.12.0 - 2024-06-25
Important Changes
- feat(solid): Remove need to pass router hooks to solid integration (breaking)
This release introduces breaking changes to the @ sentry/solid package (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. Import solidRouterBrowserTracingIntegration from
@ sentry/solid/solidrouter and add it to Sentry.init
import * as Sentry from '@ sentry/solid';
import { 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
});
const SentryRouter = withSentryRouterRouting(Router);
- feat(core): Return client from init method (#12585)
Sentry.init() now returns a client directly, so you don't need to explicitly call getClient() anymore:
const client = Sentry.init();
- feat(nextjs): Add
deleteSourcemapsAfterUpload option (#12457)
This adds an easy way to delete sourcemaps immediately after uploading them:
module.exports = withSentryConfig(nextConfig, {
sourcemaps: {
deleteSourcemapsAfterUpload: true,
},
});
- feat(node): Allow to configure
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
- feat(feedback): Extra check for iPad in screenshot support (#12593)
- fix(bundle): Ensure CDN bundles do not overwrite
window.Sentry (#12580)
- fix(feedback): Inject preact from feedbackModal into feedbackScreenshot integration (#12535)
- fix(node): Re-throw errors from koa middleware (#12609)
- fix(remix): Mark
isRemixV2 as optional in exposed types. (#12614)
- ref(node): Add error message to NodeFetch log (#12612)
Work in this release was contributed by @ n4bb12. Thank you for your contribution!
Bundle size 📦
| 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
This pre-release includes an rrweb version bump that
includes quite a few upstream changes. We will test this on Sentry before a release.
Bundle size 📦
| 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
Important Changes
- feat(core): Add
parentSpan option to startSpan* 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.
Sentry .startSpan({ name: 'root' }, parent => {
const span = Sentry.startInactiveSpan({ name: 'xxx', parentSpan: parent });
Sentry.startSpan({ name: 'xxx', parentSpan: parent }, () => {});
Sentry.startSpanManual({ name: 'xxx', parentSpan: parent }, () => {});
});
Other Changes
- 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
@ sentry/node exports from framework SDKs. (#12589)
Bundle size 📦
| 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 |
-
8.10.0 - 2024-06-19
-
8.9.2 - 2024-06-12
-
8.9.1 - 2024-06-11
-
8.9.0 - 2024-06-11
-
8.8.0 - 2024-06-07
-
8.7.0 - 2024-05-29
-
8.6.0 - 2024-05-29
-
8.5.0 - 2024-05-27
-
8.4.0 - 2024-05-23
-
8.3.0 - 2024-05-22
-
8.2.1 - 2024-05-16
-
8.2.0 - 2024-05-16
-
8.1.0 - 2024-05-16
-
8.0.0 - 2024-05-13
-
8.0.0-rc.3 - 2024-05-10
-
8.0.0-rc.2 - 2024-05-08
-
8.0.0-rc.1 - 2024-05-07
-
8.0.0-rc.0 - 2024-05-06
-
8.0.0-beta.6 - 2024-05-03
-
8.0.0-beta.5 - 2024-04-30
-
8.0.0-beta.4 - 2024-04-24
-
8.0.0-beta.3 - 2024-04-19
-
8.0.0-beta.2 - 2024-04-17
-
8.0.0-beta.1 - 2024-04-15
-
8.0.0-alpha.9 - 2024-04-08
-
8.0.0-alpha.8 - 2024-04-08
-
8.0.0-alpha.7 - 2024-03-27
-
8.0.0-alpha.5 - 2024-03-22
-
8.0.0-alpha.4 - 2024-03-14
-
8.0.0-alpha.3 - 2024-03-14
-
8.0.0-alpha.2 - 2024-03-05
-
7.118.0 - 2024-06-21
- fix(v7/bundle): Ensure CDN bundles do not overwrite
window.Sentry (#12579)
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.05 KB |
| @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) |
70.38 KB |
| @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) |
36.06 KB |
| @ sentry/browser - ES6 CDN Bundle (gzipped) |
25.29 KB |
| @ sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) |
221.51 KB |
| @ sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) |
109.1 KB |
| @ sentry/browser - ES6 CDN Bundle (minified & uncompressed) |
75.83 KB |
| @ sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) |
39.34 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 |
-
7.117.0 - 2024-06-10
-
7.116.0 - 2024-05-17
-
7.115.0 - 2024-05-16
-
7.114.0 - 2024-05-08
-
7.113.0 - 2024-05-02
-
7.112.2 - 2024-04-24
-
7.112.1 - 2024-04-23
-
7.112.0 - 2024-04-23
-
7.111.0 - 2024-04-18
-
7.110.1 - 2024-04-15
-
7.110.0 - 2024-04-11
-
7.109.0 - 2024-03-28
-
7.108.0 - 2024-03-22
-
7.107.0 - 2024-03-14
-
7.106.1 - 2024-03-11
-
7.106.0 - 2024-03-08
-
7.105.0 - 2024-03-04
-
7.104.0 - 2024-02-29
-
7.103.0 - 2024-02-27
-
7.102.1 - 2024-02-22
-
7.102.0 - 2024-02-20
-
7.101.1 - 2024-02-15
-
7.101.0 - 2024-02-13
-
7.100.1 - 2024-02-07
-
7.100.0 - 2024-02-06
-
7.99.0 - 2024-01-30
-
7.98.0 - 2024-01-25
-
7.97.0 - 2024-01-25
-
7.95.0 - 2024-01-23
-
7.94.1 - 2024-01-19
-
7.93.0 - 2024-01-10
-
7.92.0 - 2024-01-04
-
7.91.0 - 2023-12-22
-
7.90.0 - 2023-12-20
-
7.89.0 - 2023-12-19
-
7.88.0 - 2023-12-14
-
7.87.0 - 2023-12-13
-
7.86.0 - 2023-12-07
-
7.85.0 - 2023-12-04
-
7.84.0 - 2023-11-30
-
7.83.0 - 2023-11-28
-
7.82.0 - 2023-11-27
-
7.81.1 - 2023-11-21
-
7.81.0 - 2023-11-20
-
7.80.2-alpha.1 - 2023-11-15
-
7.80.2-alpha.0 - 2023-11-14
-
7.80.1 - 2023-11-14
-
7.80.0 - 2023-11-09
-
7.79.0 - 2023-11-08
-
7.78.0 - 2023-11-08
-
7.77.0 - 2023-10-31
-
7.76.0 - 2023-10-27
-
7.75.1 - 2023-10-25
-
7.75.0 - 2023-10-24
-
7.74.2-alpha.1 - 2023-10-23
-
7.74.2-alpha.0 - 2023-10-19
-
7.74.1 - 2023-10-17
-
7.74.0 - 2023-10-13
-
7.73.0 - 2023-10-02
-
7.72.0 - 2023-09-26
-
7.71.0 - 2023-09-25
-
7.70.0 - 2023-09-20
-
7.70.0-beta.1 - 2023-09-15
-
7.70.0-beta.0 - 2023-09-14
-
7.69.0 - 2023-09-13
-
7.68.0 - 2023-09-06
-
7.67.0 - 2023-09-05
-
7.67.0-beta.0 - 2023-08-31
-
7.66.0 - 2023-08-30
-
7.66.0-alpha.0 - 2023-08-29
-
7.65.0 - 2023-08-28
-
7.65.0-alpha.0 - 2023-08-16
-
7.64.0 - 2023-08-14
-
7.64.0-alpha.0 - 2023-08-11
-
7.63.0 - 2023-08-10
-
7.62.0 - 2023-08-09
-
7.61.1 - 2023-08-04
-
7.61.0 - 2023-07-31
-
7.60.1 - 2023-07-26
-
7.60.0 - 2023-07-21
-
7.59.3 - 2023-07-19
-
7.59.2 - 2023-07-18
-
7.59.1 - 2023-07-18
-
7.59.0-beta.1 - 2023-07-17
-
7.59.0-beta.0 - 2023-07-13
-
7.58.1 - 2023-07-13
-
7.58.0 - 2023-07-12
-
7.57.0 - 2023-06-28
-
7.57.0-beta.0 - 2023-06-21
-
7.56.0 - 2023-06-19
-
7.55.2 - 2023-06-14
-
7.55.1 - 2023-06-14
-
7.55.0 - 2023-06-13
-
7.54.0 - 2023-06-01
-
7.53.1 - 2023-05-24
-
7.53.0 - 2023-05-23
-
7.52.1 - 2023-05-15
-
7.52.0 - 2023-05-15
-
7.51.2 - 2023-05-08
-
7.51.1 - 2023-05-08
-
7.51.0 - 2023-05-04
-
7.50.0 - 2023-04-27
-
7.49.0 - 2023-04-20
-
7.48.0 - 2023-04-14
-
7.47.0 - 2023-04-05
-
7.46.0 - 2023-03-30
-
7.45.0 - 2023-03-24
-
7.44.2 - 2023-03-21
-
7.44.1 - 2023-03-20
-
7.44.0 - 2023-03-20
-
7.43.0 - 2023-03-13
-
7.42.0 - 2023-03-09
-
7.41.0 - 2023-03-06
-
7.40.0 - 2023-03-01
-
7.39.0 - 2023-02-27
-
7.38.0 - 2023-02-17
-
7.37.2 - 2023-02-13
-
7.37.1 - 2023-02-10
-
7.37.0 - 2023-02-09
-
7.36.0 - 2023-02-02
-
7.35.0 - 2023-02-01
-
7.34.0 - 2023-01-26
-
7.34.0-beta.0 - 2023-01-25
-
7.33.0 - 2023-01-24
-
7.32.1 - 2023-01-23
-
7.32.0 - 2023-01-23
-
7.31.1 - 2023-01-17
-
7.31.0 - 2023-01-16
-
7.30.0 - 2023-01-10
-
7.29.0 - 2023-01-04
-
7.28.1 - 2022-12-22
-
7.28.0 - 2022-12-20
-
7.27.0 - 2022-12-16
-
7.26.0 - 2022-12-13
-
7.25.0 - 2022-12-12
-
7.24.2 - 2022-12-07
-
7.24.1 - 2022-12-07
-
7.24.0 - 2022-12-07
-
7.23.0 - 2022-12-01
-
7.22.0 - 2022-11-29
-
7.21.1 - 2022-11-23
-
7.21.0 - 2022-11-22
-
7.20.1 - 2022-11-21
-
7.20.0 - 2022-11-17
-
7.19.0 - 2022-11-10
-
7.18.0 - 2022-11-08
-
7.17.4 - 2022-11-03
-
7.17.3 - 2022-10-31
-
7.17.2 - 2022-10-28
-
7.17.1 - 2022-10-27
-
7.17.0 - 2022-10-27
-
7.16.0 - 2022-10-19
from @sentry/react GitHub release notes
Important
- Warning: This PR contains a major version upgrade, and may be a breaking change.
- Check the changes in this PR to ensure they won't cause issues with your project.
- This PR was automatically created by Snyk using the credentials of a real user.
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: 
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|