[Snyk] Upgrade @sentry/react from 7.16.0 to 8.23.0 #820
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.23.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 198 versions ahead of your current version.
The recommended version was released on 21 days ago.
Issues fixed by the recommended upgrade:
SNYK-JS-SOCKETIOPARSER-5596892
SNYK-JS-WEBPACK-3358798
SNYK-JS-WEBPACKDEVMIDDLEWARE-6476555
SNYK-JS-WS-7266574
SNYK-JS-WS-7266574
SNYK-JS-WS-7266574
SNYK-JS-BRACES-6838727
SNYK-JS-FOLLOWREDIRECTS-6141137
SNYK-JS-LUXON-3225081
SNYK-JS-MICROMATCH-6838728
SNYK-JS-OCTOKITWEBHOOKS-6129527
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-SEMVER-3247795
SNYK-JS-SERIALIZEJAVASCRIPT-6147607
SNYK-JS-SIDEWAYFORMULA-3317169
SNYK-JS-FOLLOWREDIRECTS-6444610
SNYK-JS-XML2JS-5414874
SNYK-JS-UAPARSERJS-3244450
SNYK-JS-BABELTRAVERSE-5962462
SNYK-JS-EXPRESS-6474509
SNYK-JS-HTTPCACHESEMANTICS-3248783
SNYK-JS-JSON5-3182856
SNYK-JS-JSONWEBTOKEN-3180022
SNYK-JS-JSONWEBTOKEN-3180024
SNYK-JS-JSONWEBTOKEN-3180026
SNYK-JS-LOADERUTILS-3042992
SNYK-JS-LOADERUTILS-3105943
SNYK-JS-LOADERUTILS-3042992
SNYK-JS-LOADERUTILS-3105943
SNYK-JS-POSTCSS-5926692
Release notes
Package name: @sentry/react
Important Changes
This release includes support for Cloudflare D1, Cloudflare's serverless SQL database. To instrument your Cloudflare D1
database, use the
instrumentD1WithSentrymethod as follows:Other Changes
getTraceDatafunction (#13134)onBeforeResponsemiddleware to enable distributed tracing (#13221)windowglobal scopes (#13156)\_loadAndRenderDialog(#13203)Work in this release was contributed by @ horochx. Thank you for your contribution!
Important Changes
This release adds support for Cloudflare Pages to
@ sentry/cloudflare, our SDK for theCloudflare Workers JavaScript Runtime! For details on how to use it,
please see the README. Any feedback/bug reports are greatly appreciated, please
reach out on GitHub.
import * as Sentry from '@ sentry/cloudflare';
export const onRequest = Sentry.sentryPagesPlugin({
dsn: PUBLIC_DSN,
// Set tracesSampleRate to 1.0 to capture 100% of spans for tracing.
tracesSampleRate: 1.0,
});
Other Changes
internal_sdk_errorclient report happens (#13072)globalThisfor code injection (#13132)Bundle size 📦
Important Changes
withSentrymethod (#13025)This release contains the alpha version of
@ sentry/cloudflare, our SDK for theCloudflare Workers JavaScript Runtime! For details on how to use it,
please see the README. Any feedback/bug reports are greatly appreciated, please
reach out on GitHub.
Please note that only Cloudflare Workers are tested and supported - official Cloudflare Pages support will come in an
upcoming release.
Other Changes
beforeSendTransaction(#13022)@ opentelemetry/instrumentation-aws-sdkfrom 0.43.0 to 0.43.1 (#13089)@ opentelemetry/instrumentation-expressfrom 0.41.0 to 0.41.1 (#13090)import-in-the-middleto 1.11.0 (#13107)sourcemaps.deleteFilesAfterUpload(#13102)Bundle size 📦
Important Changes
registerEsmLoaderHooksto preload (#12998)You can write your own custom preload script and configure this in the preload options.
registerEsmLoaderHookscan bepassed as an option to
preloadOpenTelemetry, which allows to exclude/include packages in the preload.Sentry will not emit "fetch" spans if tracing is disabled. This is relevant for user who use their own sampler.
Other Changes
Bundle size 📦
setupExpressErrorHandler(#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 📦
...