Update sentry-javascript monorepo to v10#844
Open
renovate[bot] wants to merge 1 commit into
Open
Conversation
da6ecfd to
157b834
Compare
337528b to
7c6780d
Compare
d3e4be2 to
a708462
Compare
a2d6f5b to
81da966
Compare
cb9d59a to
7a1f5d8
Compare
7a1f5d8 to
7dcfc39
Compare
ba6cbba to
88dd946
Compare
88dd946 to
21d581c
Compare
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
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.0.0→^10.0.0Release Notes
getsentry/sentry-javascript (@sentry/react)
v10.59.0Compare Source
Important Changes
feat(react-router): Add support for React Router v8 (#21633)
The SDK now supports React Router v8, in both the framework and SPA (
@sentry/react) modes.feat(react): Add version-agnostic React Router SPA exports (#21633)
@sentry/reactnow exports version-agnostic wrappers for React Router v6+ SPA instrumentation.The new exports replace the version-specific
V6/V7variants, which are now deprecated:reactRouterV6BrowserTracingIntegration/V7reactRouterBrowserTracingIntegrationwithSentryReactRouterV6Routing/V7wrapReactRouterRoutingwrapCreateBrowserRouterV6/V7wrapCreateBrowserRouterwrapCreateMemoryRouterV6/V7wrapCreateMemoryRouterwrapUseRoutesV6/V7wrapUseRoutesThe deprecated exports continue to work and will be removed in the next major version.
Other Changes
streamGenAiSpansis enabled (#21603)spanStartevent (#21644)//request paths (#21645)productionas defaultsentry.environmentattribute value on streamed spans (#21637)Internal Changes
@sentry/conventions(#21597)bundler(#21559)@sentry/conventions(#21492)@sentry/conventions(#21493)@sentry/conventions(#21494)@sentry/conventions(#21495)@sentry/conventions(#21496)@sentry/conventions(#21497)@sentry/conventions(#21490)@sentry/conventions(#21498)Bundle size 📦
v10.58.0Compare Source
Important Changes
feat(hono): Add support for the Deno runtime (#21450)
@sentry/hononow supports the Deno runtime via a new@sentry/hono/denoentry point.Install
@sentry/denoas a peer dependency and initialize Sentry through thesentry()middleware:feat(core): Extract objects as structured logs in
consoleLoggingIntegration(#21385)The
consoleLoggingIntegrationnow extracts structured log attributes when the first argument is a plain object.feat(react-router): Stabilize the instrumentation API (#21470)
React Router's instrumentation API is now stable — the
@experimentalmarkers have been removed fromcreateSentryServerInstrumentation,createSentryClientInstrumentation, and the related helpers and types.The manual server wrappers
wrapServerLoaderandwrapServerActionare now deprecated in favor of it. Exportinstrumentations = [Sentry.createSentryServerInstrumentation()]from yourentry.server.tsxto instrument all loaders and actions without wrapping them individually.Other Changes
useInstrumentationAPI(#21432)__sentry_wrapped__inherited fromFunction.prototype(#21506)safeJoinside-effect-free for DOM elements (#21356)moduleandtypesfields inpackage.json(#21449)okinstead ofinternal_error(#21521)defaultexports condition (#21472)Work in this release was contributed by @archievi, @AyaanFaisal21, @itosa-kazu, and @bkchr. Thank you for your contributions!
Internal Changes
22.7.5(#21527)SENTRY_BUILD_PRESERVE_MODULESenv check from rollup configs (#21487)Bundle size 📦
v10.57.0Compare Source
Important Changes
feat(angular): Add support for Angular 22 (#21330)
@sentry/angularnow officially supports Angular 22.ref(core): Deprecate
sendDefaultPiiin favor ofdataCollection(#21277)sendDefaultPiiis deprecated and will be removed in v11. The newdataCollectionoption lets you control each category of collected data.sendDefaultPii: truestill works and maps to enabling alldataCollectioncategories.dataCollection.userInfodefaults totruewhendataCollectionis provided, meaning auto-populateduser.*fields (e.g. IP address from a request) are collected by default.Data you set explicitly (like via
Sentry.setUser()) is always sent regardless.When
dataCollectionis not set at all, the legacysendDefaultPiibehavior applies (userInfo: falseby default) to preserve backward compatibility.Note that an empty
dataCollection: {}falls back to more permissive defaults thansendDefaultPii: false, so replicate the old behavior by opting out explicitly:Other Changes
dataCollection.frameContextLinesfor ContextLines integration (#21323)dataCollection.userInfototrue(#21348)dataCollection.httpBodiesto all valid body types (#21352)faviconetc) (#21365)safeDateNowcalls fornew Date()reads (#21351)pinoIntegrationon edge runtime (#21347)__SENTRY_SERVER_MODULES__lazily so Turbopack injection is honored (#21339)react.componentStackevent context (#21183)sentry._internal.replay_is_bufferingfor spans (#21297)Internal Changes
sendDefaultPiitodataCollectionoption (#21288)Work in this release was contributed by @zhongrenfei1-hub. Thank you for your contribution!
Bundle size 📦
v10.56.0Compare Source
Important Changes
feat(deno): Redis diagnostics channel based integration for Deno (#21087)
Adds Redis integration support for Deno, covering both
redisandioredisclients.Other Changes
@sentry/nodewas imported instead of@sentry/hono/node(#21240)consistentTraceSamplingis enabled (#21281)instrumentDurableObjectWithSentrybreaking Cloudflare Agents (#21101)WeakReffor Span-Scope circular references (#21242)InstrumentationNodeModuleFileto fix Bun--bytecodecrash (#21262)Internal Changes
hrTimeutilities from@opentelemetry/core(#21191)http.route(#21193)TraceStateimplementation (#21192)dataCollection(#21282)Bundle size 📦
Configuration
📅 Schedule: (UTC)
🚦 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.