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(deps): update sentry-javascript monorepo to v9 (major) #2415

Open
wants to merge 2 commits into
base: main
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/node (source) ^8.0.0 -> ^9.0.0 age adoption passing confidence
@sentry/node (source) ^8.22.0 -> ^9.0.0 age adoption passing confidence
@sentry/types (source) ^8.22.0 -> ^9.0.0 age adoption passing confidence

Release Notes

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

v9.0.0

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.

Copy link

changeset-bot bot commented Feb 10, 2025

🦋 Changeset detected

Latest commit: 2caf515

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@envelop/immediate-introspection Patch
@envelop/sentry Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
@envelop/core 5.1.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/apollo-datasources 5.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/apollo-federation 6.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/apollo-server-errors 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/apollo-tracing 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/auth0 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/dataloader 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/depth-limit 5.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/disable-introspection 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/execute-subscription-event 6.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/extended-validation 5.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/filter-operation-type 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/fragment-arguments 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/generic-auth 9.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/graphql-jit 9.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/graphql-middleware 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/graphql-modules 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/immediate-introspection 5.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/live-query 8.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/newrelic 8.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/on-resolve 5.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/opentelemetry 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/operation-field-permissions 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/parser-cache 8.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/persisted-operations 8.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/preload-assets 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/prometheus 12.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/rate-limiter 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/resource-limitations 6.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/response-cache 7.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/response-cache-cloudflare-kv 3.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/response-cache-redis 4.1.4-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/sentry 13.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/statsd 6.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/validation-cache 8.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/testing 8.0.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎
@envelop/types 5.1.0-alpha-20250210125109-2caf515985ee1aed83ef00897b31024fa126658a npm ↗︎ unpkg ↗︎

@theguild-bot
Copy link
Collaborator

✅ Benchmark Results

     ✓ no_errors
     ✓ expected_result

     checks.............................................: 100.00% ✓ 916536      ✗ 0     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: 100.00% ✓ 215852      ✗ 0     
     ✓ { mode:envelop-cache-jit }.......................: 100.00% ✓ 362318      ✗ 0     
     ✓ { mode:envelop-just-cache }......................: 100.00% ✓ 211286      ✗ 0     
     ✓ { mode:graphql-js }..............................: 100.00% ✓ 127080      ✗ 0     
     data_received......................................: 3.5 GB  29 MB/s
     data_sent..........................................: 199 MB  1.7 MB/s
     envelop_init.......................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     envelop_total......................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     event_loop_lag.....................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     graphql_context....................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     graphql_execute....................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     graphql_parse......................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     graphql_validate...................................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-cache-jit }.......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:envelop-just-cache }......................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     ✓ { mode:graphql-js }..............................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     http_req_blocked...................................: avg=3.03µs  min=1.13µs   med=2.61µs  max=6.43ms  p(90)=3.48µs  p(95)=3.91µs 
     http_req_connecting................................: avg=60ns    min=0s       med=0s      max=2.21ms  p(90)=0s      p(95)=0s     
     http_req_duration..................................: avg=2.29ms  min=161.01µs med=2.02ms  max=44.07ms p(90)=4.19ms  p(95)=4.7ms  
       { expected_response:true }.......................: avg=2.29ms  min=161.01µs med=2.02ms  max=44.07ms p(90)=4.19ms  p(95)=4.7ms  
     ✓ { mode:envelop-cache-and-no-internal-tracing }...: avg=2.47ms  min=322.56µs med=2.17ms  max=16.24ms p(90)=4.34ms  p(95)=4.69ms 
     ✓ { mode:envelop-cache-jit }.......................: avg=1.32ms  min=161.01µs med=1.08ms  max=17.66ms p(90)=2.13ms  p(95)=2.3ms  
     ✓ { mode:envelop-just-cache }......................: avg=2.52ms  min=381.12µs med=2.2ms   max=33.24ms p(90)=4.39ms  p(95)=4.73ms 
     ✓ { mode:graphql-js }..............................: avg=4.41ms  min=662.1µs  med=3.82ms  max=44.07ms p(90)=7.4ms   p(95)=8.02ms 
     http_req_failed....................................: 0.00%   ✓ 0           ✗ 458268
     http_req_receiving.................................: avg=33.28µs min=12.43µs  med=28.08µs max=6.88ms  p(90)=44.51µs p(95)=49.41µs
     http_req_sending...................................: avg=12.77µs min=3.86µs   med=9.89µs  max=10.92ms p(90)=15.43µs p(95)=19.33µs
     http_req_tls_handshaking...........................: avg=0s      min=0s       med=0s      max=0s      p(90)=0s      p(95)=0s     
     http_req_waiting...................................: avg=2.25ms  min=127.54µs med=1.98ms  max=44ms    p(90)=4.14ms  p(95)=4.65ms 
     http_reqs..........................................: 458268  3818.841269/s
     iteration_duration.................................: avg=2.61ms  min=354.69µs med=2.32ms  max=47.32ms p(90)=4.51ms  p(95)=5.04ms 
     iterations.........................................: 458268  3818.841269/s
     vus................................................: 10      min=10        max=10  
     vus_max............................................: 20      min=20        max=20  

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://d4d018f8.envelop.pages.dev

Copy link
Contributor Author

renovate bot commented Feb 10, 2025

Edited/Blocked Notification

Renovate 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.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant