-
Notifications
You must be signed in to change notification settings - Fork 3
chore(deps): update dependency @sentry/browser to v9 #927
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
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
6882870 to
212bc16
Compare
5c0f49e to
7a2af36
Compare
36a276c to
4e52a68
Compare
ae7a2c6 to
f8fc13f
Compare
9e7c872 to
2b12d19
Compare
a8b7851 to
de97fd0
Compare
81d5840 to
c622b67
Compare
0f7bb4c to
cf090e1
Compare
05d5c9b to
add7a13
Compare
b40e97e to
0ecdeef
Compare
0ecdeef to
549f661
Compare
20a07da to
b1aab1d
Compare
b1aab1d to
1c2b422
Compare
9f4b071 to
81b6dd9
Compare
7d5e874 to
829d899
Compare
829d899 to
77cd9c8
Compare
913578d to
f0d87a7
Compare
35d822d to
1e7b3e5
Compare
Contributor
8621810 to
500cd4b
Compare
500cd4b to
5e89079
Compare
5e89079 to
c4f7aab
Compare
Contributor
|
lets first go to v8 |
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
lodewiges
approved these changes
Apr 28, 2025
Sign up for free
to 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 contains the following updates:
7.120.3->9.0.1Release Notes
getsentry/sentry-javascript (@sentry/browser)
v9.0.1Compare Source
Bundle size 📦
v9.0.0Compare Source
Version
9.0.0marks a release of the Sentry JavaScript SDKs that contains breaking changes.The goal of this release is to trim down on unused and potentially confusing APIs, prepare the SDKs for future framework versions to build deeper instrumentation, and remove old polyfills to reduce the packages' size.
How To Upgrade
Please carefully read through the migration guide in the Sentry docs on how to upgrade from version 8 to version 9.
Make sure to select your specific platform/framework in the top left corner: https://docs.sentry.io/platforms/javascript/migration/v8-to-v9/
A comprehensive migration guide outlining all changes for all the frameworks can be found within the Sentry JavaScript SDK Repository: https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.md
Breaking Changes
~5.0.0(#14758)nitro-utilspackage (#14998)sendDefaultPii: true(#15084)autoSessionTrackingoption (#14802)enableTracing(#15078)getCurrentHub(),Hub, andgetCurrentHubShim()(#15122)spanIdfrom propagation context (#14733)>=18as minimum supported version (#14749)captureUserFeedbackmethod (#14820)normalizedRequesttosamplingContext(#14902)beforeSendSpanand disallow returningnull(#14831)BAGGAGE_HEADER_NAMEexport (#14785)TransactionNamingSchemetype (#14865)addOpenTelemetryInstrumentationmethod (#14792)arrayifymethod (#14782)debugIntegrationandsessionTimingIntegration(#14747)flattenmethod (#14784)getDomElementmethod (#14797)makeFifoCachemethod (#14786)memoBuilderexport &WeakSetfallback (#14859)transactionContextfromsamplingContext(#14904)urlEncodemethod (#14783)Requesttype (#14858)Clientinterface & deprecateBaseClient(#14800)eventas argument forrecordDroppedEvent(#14999)requestDataIntegration(#14898)hasTracingEnabledto consider empty trace config (#14857)requestDataIntegrationhandling (#14806)<=3.x(#15032)nestIntegrationinto nest sdk and removesetupNestErrorHandler(#14751)@WithSentrydecorator (#14762)SentryService(#14759)experimental_captureRequestError(#14607)processThreadBreadcrumbIntegration(#14666)registerEsmLoaderHooks(#15002)1.63.0(#15030)getNumberOfUrlSegmentsmethod (#14744)ErrorBoundarycomponentStacktype (#14742)autoInstrumentRemixoption (#15074)--importsetup and addautoInjectServerSentry(#14862)sentrySolidStartVite(#15143)fetchProxyScriptNonceoption (#15123)@sentry/utilspackage (#14830)vueIntegration'stracingOptionsoption (#14856)"update"spans for component tracking by default (#14602)vercelAIIntegrationtoVercelAI(#15298)logErrorfromvueIntegration(#14958)ReportDialogOptions(#14861)captureConsoleIntegrationashandled: trueby default (#14734)shutdownTimeoutoption type from core to node (#15217)Scopetype interface in favor of usingScopeclass (#14721)Other Changes
import-in-the-middleto1.12.0(#14796)SentryNodeServerlessSDKv9(#14927)user.ip_addressexplicitly to{{auto}}(#15008)inheritOrSampleWithhelper totraceSampler(#15277)hasTracingEnabledtohasSpansEnabled(#15309)SpanJSONtype (#14693)@sentry/deno(#15014)deno.land(#15016)SentryTracingInterceptor,SentryGlobalGraphQLFilter,SentryGlobalGenericFilter(#14761)sourcemaps.disableto webpack plugin (#15109)processSessionIntegration(#15081)vercelAIIntegrationexport (#15318)worker_threads(#15105)silent,errorHandler,releasetoSourceMapsOptions(#15246)@sentry-internal/node-cpu-profiler(#15208)autoInjectServerSentry: 'experimental_dynamic-import(#14863)__esModuleproperties in CJS modules when there is a default export (#15018)parentSampleRatetotracesSampler(#15024)browserPerformanceTimeOriginside-effects (#14025)startSpanManual(#14901)startSpan(#14900)sendDefaultPiifor IP collection inrequestDataIntegration(#15125)waitUntilincaptureRequestError(#15146)__spanproperty into breadcrumbs (#14798)httpIntegrationpropagates traces (#15233)releasefrom ANR sessions (#15138)browserTracingIntegration(#14959)supportsHistorycheck & history usage (#14696)Work in this release was contributed by @aloisklink, @arturovt, @aryanvdesh, @benjick, @chris-basebone, @davidturissini, @GrizliK1988, @jahands, @jrandolf, @kunal-511, @maximepvrt, @maxmaxme, @mstrokin, @nathankleyn, @nwalters512, @tannerlinsley, @tjhiggins, and @Zen-cronic. Thank you for your contributions!
v8.55.0Compare Source
Important Changes
SentryNodeServerlessSDKv8(#15351)The
SentryNodeServerlessSDKAWS Lambda Layer will stop receiving updates.If you intend to stay on
v8and receive updates useSentryNodeServerlessSDKv8instead.Other Changes
vercelAIIntegrationexport (#15339)enabledto disable Sentry module (#15337) (#15381)registerEsmLoaderHooks(#15352)beforeUpdatecall (#15262)Work in this release was contributed by @aryanvdesh. Thank you for your contribution!
Bundle size 📦
v8.54.0Compare Source
Work in this release was contributed by @nwalters512. Thank you for your contribution!
Bundle size 📦
v8.53.0Compare Source
urltoSourcemapsUploadOptions(#15202)fromLocationcan be undefined in Tanstack Router Instrumentation (#15237)Work in this release was contributed by @tannerlinsley. Thank you for your contribution!
Bundle size 📦
v8.52.1Compare Source
this.nametonew.target.prototype.constructor.name(#15222)Work in this release was contributed by @Zen-cronic. Thank you for your contribution!
Bundle size 📦
v8.52.0Compare Source
Important Changes
withSentrywrapper for SolidStart config (#15135)To enable the SolidStart SDK, wrap your SolidStart Config with
withSentry. ThesentrySolidStartViteplugin is now automaticallyadded by
withSentryand you can pass the Sentry build-time options like this:With the
withSentrywrapper, the Sentry server config should not be added to thepublicdirectory anymore.Add the Sentry server config in
src/instrument.server.ts. Then, the server config will be placed inside the server build output asinstrument.server.mjs.Now, there are two options to set up the SDK:
--importCLI flag to the start command like this (path depends on your server setup):node --import ./.output/server/instrument.server.mjs .output/server/index.mjsautoInjectServerSentry: 'top-level-import'and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)Other Changes
Bun.servesurvives a server reload (#15157)moduleintoloadModule(#15139) (#15166)Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!
Bundle size 📦
v8.51.0Compare Source
Important Changes
feat(v8/node): Add
prismaInstrumentationoption to Prisma integration as escape hatch for all Prisma versions (#15128)This release adds a compatibility API to add support for Prisma version 6.
To capture performance data for Prisma version 6:
Install the
@prisma/instrumentationpackage on version 6.Pass a
new PrismaInstrumentation()instance as exported from@prisma/instrumentationto theprismaInstrumentationoption:The passed instrumentation instance will override the default instrumentation instance the integration would use, while the
prismaIntegrationwill still ensure data compatibility for the various Prisma versions.Remove the
previewFeatures = ["tracing"]option from the client generator block of your Prisma schema.Other Changes
multiplexedtransport.jsCDN bundle (#15046)fetchProxyScriptNonceoption (#15011)fatalevents should set session as crashed (#15073)Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!
Bundle size 📦
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.