Skip to content
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

chore: bump up @sentry/react version to v9 #10064

Open
wants to merge 1 commit into
base: canary
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Feb 10, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/react (source) ^8.44.0 -> ^9.0.0 age adoption passing confidence

Release Notes

getsentry/sentry-javascript (@​sentry/react)

v9.0.1

Compare Source

  • ref(flags): rename unleash integration param (#​15343)
Bundle size 📦
Path Size
@​sentry/browser 22.9 KB
@​sentry/browser - with treeshaking flags 22.69 KB
@​sentry/browser (incl. Tracing) 35.77 KB
@​sentry/browser (incl. Tracing, Replay) 72.65 KB
@​sentry/browser (incl. Tracing, Replay) - with treeshaking flags 66.13 KB
@​sentry/browser (incl. Tracing, Replay with Canvas) 76.9 KB
@​sentry/browser (incl. Tracing, Replay, Feedback) 89.64 KB
@​sentry/browser (incl. Feedback) 39.86 KB
@​sentry/browser (incl. sendFeedback) 27.53 KB
@​sentry/browser (incl. FeedbackAsync) 32.31 KB
@​sentry/react 24.74 KB
@​sentry/react (incl. Tracing) 37.67 KB
@​sentry/vue 27.09 KB
@​sentry/vue (incl. Tracing) 37.47 KB
@​sentry/svelte 22.94 KB
CDN Bundle 24.13 KB
CDN Bundle (incl. Tracing) 35.84 KB
CDN Bundle (incl. Tracing, Replay) 70.55 KB
CDN Bundle (incl. Tracing, Replay, Feedback) 75.69 KB
CDN Bundle - uncompressed 70.59 KB
CDN Bundle (incl. Tracing) - uncompressed 106.46 KB
CDN Bundle (incl. Tracing, Replay) - uncompressed 217.52 KB
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 230.09 KB
@​sentry/nextjs (client) 38.63 KB
@​sentry/sveltekit (client) 36.2 KB
@​sentry/node 156.33 KB
@​sentry/node - without tracing 97.31 KB
@​sentry/aws-serverless 106.82 KB

v9.0.0

Compare Source

Version 9.0.0 marks 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
  • doc(deno)!: Make Deno v2 the minimum supported version (#​15085)
  • feat!: Bump typescript to ~5.0.0 (#​14758)
  • feat!: Drop nitro-utils package (#​14998)
  • feat!: Only collect ip addresses with sendDefaultPii: true (#​15084)
  • feat!: Remove autoSessionTracking option (#​14802)
  • feat!: Remove enableTracing (#​15078)
  • feat!: Remove getCurrentHub(), Hub, and getCurrentHubShim() (#​15122)
  • feat!: Remove spanId from propagation context (#​14733)
  • feat!: Remove deprecated and unused code (#​15077)
  • feat!: Remove metrics API from the JS SDK (#​14745)
  • feat!: Require Node >=18 as minimum supported version (#​14749)
  • feat(astro)!: Respect user-specified source map setting (#​14941)
  • feat(browser)!: Remove captureUserFeedback method (#​14820)
  • feat(build)!: Drop pre-ES2020 polyfills (#​14882)
  • feat(core)!: Add normalizedRequest to samplingContext (#​14902)
  • feat(core)!: Always use session from isolation scope (#​14860)
  • feat(core)!: Pass root spans to beforeSendSpan and disallow returning null (#​14831)
  • feat(core)!: Remove BAGGAGE_HEADER_NAME export (#​14785)
  • feat(core)!: Remove TransactionNamingScheme type (#​14865)
  • feat(core)!: Remove addOpenTelemetryInstrumentation method (#​14792)
  • feat(core)!: Remove arrayify method (#​14782)
  • feat(core)!: Remove debugIntegration and sessionTimingIntegration (#​14747)
  • feat(core)!: Remove flatten method (#​14784)
  • feat(core)!: Remove getDomElement method (#​14797)
  • feat(core)!: Remove makeFifoCache method (#​14786)
  • feat(core)!: Remove memoBuilder export & WeakSet fallback (#​14859)
  • feat(core)!: Remove transactionContext from samplingContext (#​14904)
  • feat(core)!: Remove urlEncode method (#​14783)
  • feat(core)!: Remove deprecated Request type (#​14858)
  • feat(core)!: Remove deprecated request data methods (#​14896)
  • feat(core)!: Remove standalone Client interface & deprecate BaseClient (#​14800)
  • feat(core)!: Remove validSeverityLevels export (#​14765)
  • feat(core)!: Stop accepting event as argument for recordDroppedEvent (#​14999)
  • feat(core)!: Stop setting user in requestDataIntegration (#​14898)
  • feat(core)!: Type sdkProcessingMetadata more strictly (#​14855)
  • feat(core)!: Update hasTracingEnabled to consider empty trace config (#​14857)
  • feat(core)!: Update requestDataIntegration handling (#​14806)
  • feat(deno)!: Remove deno prepack (#​14829)
  • feat(ember)!: Officially drop support for ember <=3.x (#​15032)
  • feat(nestjs)!: Move nestIntegration into nest sdk and remove setupNestErrorHandler (#​14751)
  • feat(nestjs)!: Remove @WithSentry decorator (#​14762)
  • feat(nestjs)!: Remove SentryService (#​14759)
  • feat(nextjs)!: Don't rely on Next.js Build ID for release names (#​14939)
  • feat(nextjs)!: Remove experimental_captureRequestError (#​14607)
  • feat(nextjs)!: Respect user-provided source map generation settings (#​14956)
  • feat(node)!: Add support for Prisma v6 and drop v5 support (#​15120)
  • feat(node)!: Avoid http spans by default for custom OTEL setups (#​14678)
  • feat(node)!: Collect request sessions via HTTP instrumentation (#​14658)
  • feat(node)!: Remove processThreadBreadcrumbIntegration (#​14666)
  • feat(node)!: Remove fine grained registerEsmLoaderHooks (#​15002)
  • feat(opentelemetry)!: Exclusively pass root spans through sampling pipeline (#​14951)
  • feat(pinia)!: Include state of all stores in breadcrumb (#​15312)
  • feat(react)!: Raise minimum supported TanStack Router version to 1.63.0 (#​15030)
  • feat(react)!: Remove deprecated getNumberOfUrlSegments method (#​14744)
  • feat(react)!: Remove deprecated react router methods (#​14743)
  • feat(react)!: Update ErrorBoundary componentStack type (#​14742)
  • feat(remix)!: Drop support for Remix v1 (#​14988)
  • feat(remix)!: Remove autoInstrumentRemix option (#​15074)
  • feat(solidstart)!: Default to --import setup and add autoInjectServerSentry (#​14862)
  • feat(solidstart)!: No longer export sentrySolidStartVite (#​15143)
  • feat(solidstart)!: Respect user-provided source map setting (#​14979)
  • feat(svelte)!: Disable component update tracking by default (#​15265)
  • feat(sveltekit)!: Drop support for SvelteKit @​1.x (#​15037)
  • feat(sveltekit)!: Remove fetchProxyScriptNonce option (#​15123)
  • feat(sveltekit)!: Respect user-provided source map generation settings (#​14886)
  • feat(utils)!: Remove @sentry/utils package (#​14830)
  • feat(vue)!: Remove configuring Vue tracing options anywhere else other than through the vueIntegration's tracingOptions option (#​14856)
  • feat(vue/nuxt)!: No longer create "update" spans for component tracking by default (#​14602)
  • fix(node)!: Fix name of vercelAIIntegration to VercelAI (#​15298)
  • fix(vue)!: Remove logError from vueIntegration (#​14958)
  • ref!: Don't polyfill optional chaining and nullish coalescing (#​14603)
  • ref(core)!: Cleanup internal types, including ReportDialogOptions (#​14861)
  • ref(core)!: Mark exceptions from captureConsoleIntegration as handled: true by default (#​14734)
  • ref(core)!: Move shutdownTimeout option type from core to node (#​15217)
  • ref(core)!: Remove Scope type interface in favor of using Scope class (#​14721)
  • ref(core)!: Remove backwards compatible SentryCarrier type (#​14697)
Other Changes

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!


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 these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Feb 10, 2025
Copy link

graphite-app bot commented Feb 10, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

@graphite-app graphite-app bot requested review from a team February 10, 2025 11:48
@github-actions github-actions bot added app:electron Related to electron app app:core labels Feb 10, 2025
Copy link

codecov bot commented Feb 10, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 54.04%. Comparing base (6730122) to head (31296b6).
Report is 5 commits behind head on canary.

Additional details and impacted files
@@            Coverage Diff             @@
##           canary   #10064      +/-   ##
==========================================
- Coverage   54.06%   54.04%   -0.03%     
==========================================
  Files        2301     2301              
  Lines      106210   106210              
  Branches    17556    17556              
==========================================
- Hits        57426    57404      -22     
- Misses      47412    47434      +22     
  Partials     1372     1372              
Flag Coverage Δ
server-test 78.22% <ø> (-0.06%) ⬇️
unittest 31.72% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 9bacf19 to 1f0c730 Compare February 12, 2025 06:49
@renovate renovate bot force-pushed the renovate/major-sentry-javascript-monorepo branch from 1f0c730 to 31296b6 Compare February 12, 2025 11:48
Copy link

New, updated, and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@cspotcode/[email protected] filesystem +1 194 kB cspotcode
npm/@humanwhocodes/[email protected] unsafe 0 21.2 kB nzakas
npm/@isaacs/[email protected] None +4 148 kB isaacs
npm/@istanbuljs/[email protected] None 0 17.2 kB coreyfarrell
npm/@nodelib/[email protected] filesystem 0 22.2 kB mrmlnc
npm/@nodelib/[email protected] filesystem 0 11.8 kB mrmlnc
npm/@nodelib/[email protected] None 0 26.4 kB mrmlnc
npm/@pkgjs/[email protected] None 0 74.2 kB oss-bot
npm/@types/[email protected] None 0 3.21 kB types
npm/@types/[email protected] None 0 20.6 kB types
npm/[email protected] None 0 24.4 kB rreverser
npm/[email protected] None 0 52.3 kB marijn
npm/[email protected] None 0 34.6 kB tootallnate
npm/[email protected] None 0 5.61 kB qix
npm/[email protected] None 0 17 kB sindresorhus
npm/[email protected] None 0 12.9 kB qix
npm/[email protected] environment, filesystem 0 172 kB vitaly
npm/[email protected] None 0 3.4 kB kevva
npm/[email protected] None 0 9.62 kB feross
npm/[email protected] None 0 64.4 kB matteo.collina
npm/[email protected] None 0 7.95 kB brianloveswords
npm/[email protected] None 0 82.5 kB feross
npm/[email protected] 🔁 npm/[email protected] None 0 6.33 kB sindresorhus
npm/[email protected] filesystem 0 5.75 kB isaacs
npm/[email protected] None 0 27.2 kB qix
npm/[email protected] None 0 6.69 kB dfcreative
npm/[email protected] None 0 17 kB jorgebucaran
npm/[email protected] environment, filesystem, shell 0 151 kB abetomo
npm/[email protected] None 0 4.86 kB substack
npm/[email protected] None 0 15.9 kB phated
npm/[email protected] filesystem, unsafe 0 6.25 kB pi0
npm/[email protected] None 0 5.47 kB sindresorhus
npm/[email protected] None 0 9.19 kB unclechu
npm/[email protected] None 0 31.2 kB tehshrike
npm/[email protected] None 0 335 kB kpdecker
npm/[email protected] None 0 106 kB eslint
npm/[email protected] None 0 13.6 kB komagata
npm/[email protected] None 0 7.12 kB andris
npm/[email protected] None 0 10.2 kB sindresorhus
npm/[email protected] None 0 12.3 kB achingbrain
npm/[email protected] None 0 9.04 kB qix
npm/[email protected] None 0 3.66 kB dougwilson
npm/[email protected] None 0 3.79 kB sindresorhus
npm/[email protected] None 0 78.4 kB eslintbot
npm/[email protected] None 0 32.3 kB eslintbot
npm/[email protected] None 0 1.04 MB michaelficarra
npm/[email protected] None +1 50.6 kB michaelficarra
npm/[email protected] None 0 36.3 kB michaelficarra
npm/[email protected] None 0 50.6 kB michaelficarra
npm/[email protected] None 0 5.41 kB ralphtheninja
npm/[email protected] None 0 37.3 kB sssayegh
npm/[email protected] filesystem +1 23.1 kB malept
npm/[email protected] None 0 17 kB esp
npm/[email protected] None 0 9.44 kB hiddentao
npm/[email protected] filesystem 0 29.8 kB thejoshwolfe
npm/[email protected] None 0 16.7 kB jonschlinkert
npm/[email protected] None 0 11.8 kB sindresorhus
npm/[email protected] filesystem 0 2.22 kB mafintosh
npm/[email protected] environment, filesystem 0 13.4 kB isaacs
npm/[email protected] None 0 173 kB pipobscure
npm/[email protected] None 0 4.72 kB stefanpenner
npm/[email protected] None 0 12.2 kB sindresorhus
npm/[email protected] None 0 4.61 kB substack
npm/[email protected] None 0 7.72 kB phated
npm/[email protected] None 0 39.8 kB sindresorhus
npm/[email protected] None 0 4.42 kB sindresorhus
npm/[email protected] None 0 13.1 kB webreflection
npm/[email protected] None 0 35.9 kB kornel
npm/[email protected] network 0 23.3 kB tootallnate
npm/[email protected] network 0 26 kB tootallnate
npm/[email protected] None 0 44.3 kB ehmicky
npm/[email protected] None 0 6.8 kB feross
npm/[email protected] None 0 11.9 kB jensyt
npm/[email protected] 🔁 npm/[email protected] None 0 4.4 kB sindresorhus
npm/[email protected] None 0 3.96 kB isaacs
npm/[email protected] None 0 9.3 kB isaacs
npm/[email protected] None 0 177 kB beaugunderson
npm/[email protected] None 0 4.05 kB qix
npm/[email protected] None 0 6.22 kB jonschlinkert
npm/[email protected] None 0 9.62 kB jonschlinkert
npm/[email protected] environment, filesystem 0 11 kB isaacs
npm/[email protected] None 0 15.1 kB lydell
npm/[email protected] None 0 46.9 kB andyperlitch
npm/[email protected] None 0 10.4 kB isaacs
npm/[email protected] None 0 14.2 kB samn
npm/[email protected] filesystem 0 7.02 kB sindresorhus
npm/[email protected] None 0 54.1 kB jdalton
npm/[email protected] None 0 1.41 MB bnjmnt4n
npm/[email protected] filesystem +1 78.4 kB sindresorhus
npm/[email protected] None 0 12.4 kB julien-f
npm/[email protected] None 0 4.31 kB stevemao
npm/[email protected] None 0 8.9 kB zensh
npm/[email protected] None 0 206 kB dougwilson
npm/[email protected] None 0 18.3 kB dougwilson
npm/[email protected] None 0 4.46 kB sindresorhus
npm/[email protected] None 0 6 kB sindresorhus
npm/[email protected] None 0 54.5 kB ljharb
npm/[email protected] None 0 4.96 kB isaacs
npm/[email protected] None 0 7 kB isaacs
npm/[email protected] None 0 124 kB isaacs
npm/[email protected] 🔁 npm/[email protected] None 0 69.5 kB isaacs
npm/[email protected] None 0 17.3 kB isaacs
npm/[email protected] filesystem 0 4.5 kB mafintosh
npm/[email protected] None 0 57.1 kB ai
npm/[email protected] None 0 5.65 kB megawac
npm/[email protected] None 0 9.22 kB jonschlinkert
npm/[email protected] None 0 6.17 kB sindresorhus
npm/[email protected] None 0 7.75 kB sindresorhus
npm/[email protected] None 0 7.24 kB sindresorhus
npm/[email protected] None 0 4.37 kB sindresorhus
npm/[email protected] None 0 3.92 kB sindresorhus
npm/[email protected] filesystem 0 3.92 kB sindresorhus
npm/[email protected] None 0 4.51 kB jbgutierrez
npm/[email protected] None 0 6.01 kB superjoe
npm/[email protected] Transitive: filesystem +4 37.6 kB sindresorhus
npm/[email protected] None 0 36.7 kB gkz
npm/[email protected] None 0 3.17 kB cwmma
npm/[email protected] environment 0 29.5 kB rob-w
npm/[email protected] filesystem 0 12.1 kB troygoode
npm/[email protected] filesystem, unsafe 0 4.64 kB sindresorhus
npm/[email protected] None 0 15 kB hirokiosame
npm/[email protected] None 0 9.44 kB matteo.collina
npm/[email protected] None 0 4.05 kB substack
npm/[email protected] None 0 8.56 kB domenic
npm/[email protected] None 0 2.56 kB kevva
npm/[email protected] None 0 2.83 kB sindresorhus
npm/[email protected] None 0 77 kB isaacs
npm/[email protected] None 0 4.62 kB feross
npm/[email protected] network 0 15 kB feross
npm/[email protected] None 0 6.79 kB terkelg
npm/[email protected] 🔁 npm/[email protected] None 0 6.43 kB sindresorhus
npm/[email protected] None 0 138 kB joshglazebrook
npm/[email protected] None 0 11.8 kB kemitchell
npm/[email protected] None 0 39.9 kB alexei
npm/[email protected] None 0 0 B
npm/[email protected] None 0 5.16 kB sindresorhus
npm/[email protected] None 0 0 B
npm/[email protected] None 0 3.05 kB sindresorhus
npm/[email protected] None 0 5.06 kB sindresorhus
npm/[email protected] None 0 7.04 kB sindresorhus
npm/[email protected] None 0 9.18 kB ljharb
npm/[email protected] None 0 22.9 kB jonschlinkert
npm/[email protected] None 0 119 kB sindresorhus
npm/[email protected] None 0 470 kB garycourt
npm/[email protected] None 0 5.48 kB tootallnate
npm/[email protected] environment, filesystem, unsafe 0 18.2 kB cspotcode
npm/[email protected] None 0 16.6 kB kemitchell
npm/[email protected] None 0 0 B
npm/[email protected] None 0 2.96 kB zkat
npm/[email protected] filesystem 0 23.4 kB oss-bot
npm/[email protected] None 0 14.8 kB isaacs
npm/[email protected] environment 0 448 kB eemeli
npm/[email protected] environment, filesystem 0 128 kB oss-bot
npm/[email protected] environment, filesystem 0 292 kB oss-bot
npm/[email protected] filesystem 0 66.2 kB thejoshwolfe
npm/[email protected] None 0 6.31 kB sindresorhus
npm/[email protected] None 0 6.03 kB sindresorhus

🚮 Removed packages: npm/@capacitor/[email protected], npm/@vanilla-extract/[email protected], npm/[email protected], npm/[email protected], npm/[email protected]

View full report↗︎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:core app:electron Related to electron app dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants