[Snyk] Upgrade @sentry/react from 7.16.0 to 8.19.0 #802
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.
Snyk has created this PR to upgrade @sentry/react from 7.16.0 to 8.19.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 193 versions ahead of your current version.
The recommended version was released on 21 days ago.
Release notes
Package name: @sentry/react
-
8.19.0 - 2024-07-19
- feat(core): Align Span interface with OTEL (#12898)
- feat(express): Allow to pass options to
- feat(node): Add
- feat(vercel-edge): Add dedupe as default integration (#12957)
- fix(angular): Remove
- fix(browser): Fix bug causing unintentional dropping of transactions (#12933)
- fix(feedback): Add a missing call of Actor.appendToDom method when DOMContentLoaded event is triggered (#12973)
- fix(node): Pass inferred name & attributes to
Path
Size
@ sentry/browser
22.3 KB
@ sentry/browser (incl. Tracing)
33.72 KB
@ sentry/browser (incl. Tracing, Replay)
69.81 KB
@ sentry/browser (incl. Tracing, Replay) - with treeshaking flags
63.11 KB
@ sentry/browser (incl. Tracing, Replay with Canvas)
74.2 KB
@ sentry/browser (incl. Tracing, Replay, Feedback)
86.52 KB
@ sentry/browser (incl. Tracing, Replay, Feedback, metrics)
88.39 KB
@ sentry/browser (incl. metrics)
26.62 KB
@ sentry/browser (incl. Feedback)
38.98 KB
@ sentry/browser (incl. sendFeedback)
26.93 KB
@ sentry/browser (incl. FeedbackAsync)
31.54 KB
@ sentry/react
25.07 KB
@ sentry/react (incl. Tracing)
36.79 KB
@ sentry/vue
26.44 KB
@ sentry/vue (incl. Tracing)
35.6 KB
@ sentry/svelte
22.44 KB
CDN Bundle
23.52 KB
CDN Bundle (incl. Tracing)
35.5 KB
CDN Bundle (incl. Tracing, Replay)
69.91 KB
CDN Bundle (incl. Tracing, Replay, Feedback)
75.17 KB
CDN Bundle - uncompressed
69 KB
CDN Bundle (incl. Tracing) - uncompressed
105.1 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed
216.88 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed
229.6 KB
@ sentry/nextjs (client)
36.65 KB
@ sentry/sveltekit (client)
34.37 KB
@ sentry/node
111.29 KB
@ sentry/node - without tracing
88.71 KB
@ sentry/aws-serverless
97.88 KB
-
8.18.0 - 2024-07-16
- ref: Deprecate
- feat(node): Expose
- feat(browser): Add user agent to INP standalone span attributes (#12896)
- feat(nextjs): Add
- feat(replay): Bump
- feat(tracing): Add long animation frame tracing (#12646)
- fix: Cleanup hooks when they are not used anymore (#12852)
- fix(angular): Guard
- fix(inp): Ensure INP spans have correct transaction (#12871)
- fix(nestjs): Do not make SentryTraced() decorated functions async (#12879)
- fix(nextjs): Support automatic instrumentation for app directory with custom page extensions (#12858)
- fix(node): Ensure correct URL is passed to
- fix(otel): Do not add
- fix(solidstart): Set proper sentry origin for solid router integration when used in solidstart sdk (#12919)
- fix(sveltekit): Add Vite peer dep for proper type resolution (#12926)
- fix(tracing): Ensure you can pass
- ref(core): Small bundle size improvement (#12830)
Path
Size
@ sentry/browser
22.3 KB
@ sentry/browser (incl. Tracing)
33.69 KB
@ sentry/browser (incl. Tracing, Replay)
69.77 KB
@ sentry/browser (incl. Tracing, Replay) - with treeshaking flags
63.08 KB
@ sentry/browser (incl. Tracing, Replay with Canvas)
74.17 KB
@ sentry/browser (incl. Tracing, Replay, Feedback)
86.49 KB
@ sentry/browser (incl. Tracing, Replay, Feedback, metrics)
88.36 KB
@ sentry/browser (incl. metrics)
26.59 KB
@ sentry/browser (incl. Feedback)
38.98 KB
@ sentry/browser (incl. sendFeedback)
26.93 KB
@ sentry/browser (incl. FeedbackAsync)
31.54 KB
@ sentry/react
25.06 KB
@ sentry/react (incl. Tracing)
36.75 KB
@ sentry/vue
26.41 KB
@ sentry/vue (incl. Tracing)
35.57 KB
@ sentry/svelte
22.44 KB
CDN Bundle
23.52 KB
CDN Bundle (incl. Tracing)
35.47 KB
CDN Bundle (incl. Tracing, Replay)
69.87 KB
CDN Bundle (incl. Tracing, Replay, Feedback)
75.14 KB
CDN Bundle - uncompressed
69 KB
CDN Bundle (incl. Tracing) - uncompressed
104.93 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed
216.71 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed
229.43 KB
@ sentry/nextjs (client)
36.61 KB
@ sentry/sveltekit (client)
34.34 KB
@ sentry/node
130.83 KB
@ sentry/node - without tracing
91.91 KB
@ sentry/aws-serverless
117.08 KB
-
8.17.0 - 2024-07-10
- feat: Upgrade OTEL deps (#12809)
- fix(nuxt): Add module to build:transpile script (#12843)
- fix(browser): Allow SDK initialization in NW.js apps (#12846)
Path
Size
@ sentry/browser
22.31 KB
@ sentry/browser (incl. Tracing)
33.45 KB
@ sentry/browser (incl. Tracing, Replay)
69.2 KB
@ sentry/browser (incl. Tracing, Replay) - with treeshaking flags
62.53 KB
@ sentry/browser (incl. Tracing, Replay with Canvas)
73.27 KB
@ sentry/browser (incl. Tracing, Replay, Feedback)
85.9 KB
@ sentry/browser (incl. Tracing, Replay, Feedback, metrics)
87.76 KB
@ sentry/browser (incl. metrics)
26.59 KB
@ sentry/browser (incl. Feedback)
38.98 KB
@ sentry/browser (incl. sendFeedback)
26.92 KB
@ sentry/browser (incl. FeedbackAsync)
31.54 KB
@ sentry/react
25.05 KB
@ sentry/react (incl. Tracing)
36.49 KB
@ sentry/vue
26.41 KB
@ sentry/vue (incl. Tracing)
35.31 KB
@ sentry/svelte
22.44 KB
CDN Bundle
23.52 KB
CDN Bundle (incl. Tracing)
35.21 KB
CDN Bundle (incl. Tracing, Replay)
69.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback)
74.51 KB
CDN Bundle - uncompressed
69.02 KB
CDN Bundle (incl. Tracing) - uncompressed
104.04 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed
214.43 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed
227.15 KB
@ sentry/nextjs (client)
36.37 KB
@ sentry/sveltekit (client)
34.1 KB
@ sentry/node
130.79 KB
@ sentry/node - without tracing
91.88 KB
@ sentry/aws-serverless
117.05 KB
-
8.16.0 - 2024-07-09
- feat(nextjs): Use spans generated by Next.js for App Router (#12729)
- - feat(nestjs): Add nest cron monitoring support (#12781)
import { Cron } from '@ nestjs/schedule';
- feat(node): Allow to pass instrumentation config to
- feat(nuxt): Add server error hook (#12796)
- feat(nuxt): Inject sentry config with Nuxt
- fix: Apply stack frame metadata before event processors (#12799)
- fix(feedback): Add missing
- fix(node): Ensure
- ref(feedback): Let CropCorner inherit the existing h prop (#12814)
- ref(otel): Ensure we never swallow args for ContextManager (#12798)
Path
Size
@ sentry/browser
22.29 KB
@ sentry/browser (incl. Tracing)
33.44 KB
@ sentry/browser (incl. Tracing, Replay)
69.19 KB
@ sentry/browser (incl. Tracing, Replay) - with treeshaking flags
62.52 KB
@ sentry/browser (incl. Tracing, Replay with Canvas)
73.25 KB
@ sentry/browser (incl. Tracing, Replay, Feedback)
85.88 KB
@ sentry/browser (incl. Tracing, Replay, Feedback, metrics)
87.74 KB
@ sentry/browser (incl. metrics)
26.58 KB
@ sentry/browser (incl. Feedback)
38.97 KB
@ sentry/browser (incl. sendFeedback)
26.92 KB
@ sentry/browser (incl. FeedbackAsync)
31.53 KB
@ sentry/react
25.04 KB
@ sentry/react (incl. Tracing)
36.48 KB
@ sentry/vue
26.4 KB
@ sentry/vue (incl. Tracing)
35.3 KB
@ sentry/svelte
22.43 KB
CDN Bundle
23.51 KB
CDN Bundle (incl. Tracing)
35.2 KB
CDN Bundle (incl. Tracing, Replay)
69.31 KB
CDN Bundle (incl. Tracing, Replay, Feedback)
74.5 KB
CDN Bundle - uncompressed
69 KB
CDN Bundle (incl. Tracing) - uncompressed
104.02 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed
214.41 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed
227.12 KB
@ sentry/nextjs (client)
36.36 KB
@ sentry/sveltekit (client)
34.09 KB
@ sentry/node
130.86 KB
@ sentry/node - without tracing
91.88 KB
@ sentry/aws-serverless
117.05 KB
-
8.15.0 - 2024-07-05
-
8.14.0 - 2024-07-04
-
8.13.0 - 2024-06-27
-
8.12.0 - 2024-06-25
-
8.12.0-beta.0 - 2024-06-24
-
8.11.0 - 2024-06-21
-
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
-
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 notessetupExpressErrorHandler(#12952)requestparameter tohttpIntegrationignore callbacks (#12930)afterSendEventlistener once root injector is destroyed (#12786)tracesSampler(#12945)Work in this release was contributed by @ jaspreet57 and @ arturovt. Thank you for your contribution!
Bundle size 📦
Important Changes
enableTracing(12897)The
enableTracingoption has been deprecated and will be removed in the next major version. We recommend removing itin favor of the
tracesSampleRateandtracesSampleroptions. If you want to enable performance monitoring, please setthe
tracesSampleRateto a sample rate of your choice, or provide a sampling function astracesSampleroptioninstead. If you want to disable performance monitoring, remove the
tracesSamplerandtracesSampleRateoptions.Other Changes
excludeandincludeoptions for ESM loader (#12910)experimental_captureRequestErrorforonRequestErrorhook (#12885)rrwebto 2.25.0 (#12478)ErrorEventcheck in ErrorHandler to avoid throwing in Node environments (#12892)ignoreIncomingRequestscallback (#12929)otel.kind: INTERNALattribute (#12841)nullasparentSpaninstartSpan*(#12928)Work in this release was contributed by @ GitSquared, @ ziyadkhalil and @ mcous. Thank you for your contributions!
Bundle size 📦
Bundle size 📦
Important Changes
Previously, the
@ sentry/nextjsSDK automatically recorded spans in the form of transactions for each of your top-levelserver components (pages, layouts, ...). This approach had a few drawbacks, the main ones being that traces didn't have
a root span, and more importantly, if you had data stream to the client, its duration was not captured because the
server component spans had finished before the data could finish streaming.
With this release, we will capture the duration of App Router requests in their entirety as a single transaction with
server component spans being descendants of that transaction. This means you will get more data that is also more
accurate. Note that this does not apply to the Edge runtime. For the Edge runtime, the SDK will emit transactions as it
has before.
Generally speaking, this change means that you will see less transactions and more spans in Sentry. You will no
longer receive server component transactions like
Page Server Component (/path/to/route)(unless using the Edgeruntime), and you will instead receive transactions for your App Router SSR requests that look like
GET /path/to/route.If you are on Sentry SaaS, this may have an effect on your quota consumption: Less transactions, more spans.
The
@ sentry/nestjsSDK now includes a@ SentryCrondecorator that can be used to augment the native NestJS@ Crondecorator to send check-ins to Sentry before and after each cron job run:
import { SentryCron, MonitorConfig } from '@ sentry/nestjs';
import type { MonitorConfig } from '@ sentry/types';
const monitorConfig: MonitorConfig = {
schedule: {
type: 'crontab',
value: '* * * * *',
},
checkinMargin: 2, // In minutes. Optional.
maxRuntime: 10, // In minutes. Optional.
timezone: 'America/Los_Angeles', // Optional.
};
export class MyCronService {
@Cron('* * * * *')
@SentryCron('my-monitor-slug', monitorConfig)
handleCron() {
// Your cron job logic here
}
}
Other Changes
httpIntegration(#12761)addPluginTemplate(#12760)himport inScreenshotEditor(#12784)autoSessionTrackingis enabled by default (#12790)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: