chore(deps): update dependency @sentry/node to v9 #799
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:
6.19.7
->9.1.0
^7.46.0
->^9.0.0
Release Notes
getsentry/sentry-javascript (@sentry/node)
v9.1.0
Compare Source
graphqlClientIntegration
(#13783)vite
import (#15371)Work in this release was contributed by @Zen-cronic and @filips-alpe. Thank you for your contribution!
v9.0.1
Compare Source
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
~5.0.0
(#14758)nitro-utils
package (#14998)sendDefaultPii: true
(#15084)autoSessionTracking
option (#14802)enableTracing
(#15078)getCurrentHub()
,Hub
, andgetCurrentHubShim()
(#15122)spanId
from propagation context (#14733)>=18
as minimum supported version (#14749)captureUserFeedback
method (#14820)normalizedRequest
tosamplingContext
(#14902)beforeSendSpan
and disallow returningnull
(#14831)BAGGAGE_HEADER_NAME
export (#14785)TransactionNamingScheme
type (#14865)addOpenTelemetryInstrumentation
method (#14792)arrayify
method (#14782)debugIntegration
andsessionTimingIntegration
(#14747)flatten
method (#14784)getDomElement
method (#14797)makeFifoCache
method (#14786)memoBuilder
export &WeakSet
fallback (#14859)transactionContext
fromsamplingContext
(#14904)urlEncode
method (#14783)Request
type (#14858)Client
interface & deprecateBaseClient
(#14800)event
as argument forrecordDroppedEvent
(#14999)requestDataIntegration
(#14898)hasTracingEnabled
to consider empty trace config (#14857)requestDataIntegration
handling (#14806)<=3.x
(#15032)nestIntegration
into nest sdk and removesetupNestErrorHandler
(#14751)@WithSentry
decorator (#14762)SentryService
(#14759)experimental_captureRequestError
(#14607)processThreadBreadcrumbIntegration
(#14666)registerEsmLoaderHooks
(#15002)1.63.0
(#15030)getNumberOfUrlSegments
method (#14744)ErrorBoundary
componentStack
type (#14742)autoInstrumentRemix
option (#15074)--import
setup and addautoInjectServerSentry
(#14862)sentrySolidStartVite
(#15143)fetchProxyScriptNonce
option (#15123)@sentry/utils
package (#14830)vueIntegration
'stracingOptions
option (#14856)"update"
spans for component tracking by default (#14602)vercelAIIntegration
toVercelAI
(#15298)logError
fromvueIntegration
(#14958)ReportDialogOptions
(#14861)captureConsoleIntegration
ashandled: true
by default (#14734)shutdownTimeout
option type from core to node (#15217)Scope
type interface in favor of usingScope
class (#14721)Other Changes
import-in-the-middle
to1.12.0
(#14796)SentryNodeServerlessSDKv9
(#14927)user.ip_address
explicitly to{{auto}}
(#15008)inheritOrSampleWith
helper totraceSampler
(#15277)hasTracingEnabled
tohasSpansEnabled
(#15309)SpanJSON
type (#14693)@sentry/deno
(#15014)deno.land
(#15016)SentryTracingInterceptor
,SentryGlobalGraphQLFilter
,SentryGlobalGenericFilter
(#14761)sourcemaps.disable
to webpack plugin (#15109)processSessionIntegration
(#15081)vercelAIIntegration
export (#15318)worker_threads
(#15105)silent
,errorHandler
,release
toSourceMapsOptions
(#15246)@sentry-internal/node-cpu-profiler
(#15208)autoInjectServerSentry: 'experimental_dynamic-import
(#14863)__esModule
properties in CJS modules when there is a default export (#15018)parentSampleRate
totracesSampler
(#15024)browserPerformanceTimeOrigin
side-effects (#14025)startSpanManual
(#14901)startSpan
(#14900)sendDefaultPii
for IP collection inrequestDataIntegration
(#15125)waitUntil
incaptureRequestError
(#15146)__span
property into breadcrumbs (#14798)release
from ANR sessions (#15138)browserTracingIntegration
(#14959)supportsHistory
check & 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.0
Compare Source
Important Changes
SentryNodeServerlessSDKv8
(#15351)The
SentryNodeServerlessSDK
AWS Lambda Layer will stop receiving updates.If you intend to stay on
v8
and receive updates useSentryNodeServerlessSDKv8
instead.Other Changes
vercelAIIntegration
export (#15339)enabled
to disable Sentry module (#15337) (#15381)registerEsmLoaderHooks
(#15352)beforeUpdate
call (#15262)Work in this release was contributed by @aryanvdesh. Thank you for your contribution!
Bundle size 📦
v8.54.0
Compare Source
Work in this release was contributed by @nwalters512. Thank you for your contribution!
v8.53.0
Compare Source
url
toSourcemapsUploadOptions
(#15202)fromLocation
can be undefined in Tanstack Router Instrumentation (#15237)Work in this release was contributed by @tannerlinsley. Thank you for your contribution!
v8.52.1
Compare Source
this.name
tonew.target.prototype.constructor.name
(#15222)Work in this release was contributed by @Zen-cronic. Thank you for your contribution!
v8.52.0
Compare Source
Important Changes
withSentry
wrapper for SolidStart config (#15135)To enable the SolidStart SDK, wrap your SolidStart Config with
withSentry
. ThesentrySolidStartVite
plugin is now automaticallyadded by
withSentry
and you can pass the Sentry build-time options like this:With the
withSentry
wrapper, the Sentry server config should not be added to thepublic
directory 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:
--import
CLI flag to the start command like this (path depends on your server setup):node --import ./.output/server/instrument.server.mjs .output/server/index.mjs
autoInjectServerSentry: 'top-level-import'
and the Sentry config will be imported at the top of the server entry (comes with tracing limitations)Other Changes
Bun.serve
survives a server reload (#15157)module
intoloadModule
(#15139) (#15166)Work in this release was contributed by @jahands, @jrandolf, and @nathankleyn. Thank you for your contributions!
v8.51.0
Compare Source
Important Changes
feat(v8/node): Add
prismaInstrumentation
option 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/instrumentation
package on version 6.Pass a
new PrismaInstrumentation()
instance as exported from@prisma/instrumentation
to theprismaInstrumentation
option:The passed instrumentation instance will override the default instrumentation instance the integration would use, while the
prismaIntegration
will 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.js
CDN bundle (#15046)fetchProxyScriptNonce
option (#15011)fatal
events should set session as crashed (#15073)Work in this release was contributed by @tjhiggins, and @nwalters512. Thank you for your contributions!
v8.50.0
Compare Source
createMemoryRouter
(#14985)v8.49.0
Compare Source
handled
prop to ErrorBoundary (#14978)require
,__filename
and__dirname
on global object (#14952)Work in this release was contributed by @HHK1 and @mstrokin. Thank you for your contributions!
v8.48.0
Compare Source
Deprecations
feat(v8/core): Deprecate
getDomElement
method (#14799)Deprecates
getDomElement
. There is no replacement.Other changes
continueTrace
implementation in core (#14819)NODE_OPTIONS
is not passed to worker threads (#14825)tagName
when name is not provided toTraceDirective
(#14828)openTelemetrySpanProcessors
option (#14853)Set
as theallRoutes
container. (#14878) (#14884)normalizedRequest
tosamplingContext
(#14903)syncFeedbackIntegration
(#14918)Work in this release was contributed by @arturovt. Thank you for your contribution!
v8.47.0
Compare Source
updateSpanName
helper function (#14736)db.system
in newer Prisma versions (#14772)Work in this release was contributed by @aloisklink and @benjick. Thank you for your contributions!
v8.46.0
Compare Source
Work in this release was contributed by @conor-ob. Thank you for your contribution!
v8.45.1
Compare Source
sendFeedback
promise resolves (#14683)Work in this release was contributed by @antonis. Thank you for your contribution!
v8.45.0
Compare Source
handled
option tocaptureConsoleIntegration
(#14664)HttpClient
events (#14515)captureMessage
withattachStacktrace: true
as synthetic (#14668)captureMessage
withattatchStackTrace: true
as synthetic (#14670)level
in server runtimecaptureException
(#10587)Work in this release was contributed by @anonrig and @Zih0. Thank you for your contributions!
v8.44.0
Compare Source
Deprecations
feat: Deprecate
autoSessionTracking
(#14640)Deprecates
autoSessionTracking
.To enable session tracking, it is recommended to unset
autoSessionTracking
and ensure that either, in browser environmentsthe
browserSessionIntegration
is added, or in server environments thehttpIntegration
is added.To disable session tracking, it is recommended to unset
autoSessionTracking
and to remove thebrowserSessionIntegration
inbrowser environments, or in server environments configure the
httpIntegration
with thetrackIncomingRequestsAsSessions
option set tofalse
.Other Changes
response
context for http.server spans (#14634)Work in this release was contributed by @robinvw1. Thank you for your contribution!
v8.43.0
Compare Source
Important Changes
feat(nuxt): Add option autoInjectServerSentry (no default import()) (#14553)
Using the dynamic
import()
as the default behavior for initializing the SDK on the server-side did not work for every project.The default behavior of the SDK has been changed, and you now need to use the
--import
flag to initialize Sentry on the server-side to leverage full functionality.Example with
--import
:In case you are not able to use the
--import
flag, you can enable auto-injecting Sentry in thenuxt.config.ts
(comes with limitations):feat(browser): Adds LaunchDarkly and OpenFeature integrations (#14207)
Adds browser SDK integrations for tracking feature flag evaluations through the LaunchDarkly JS SDK and OpenFeature Web SDK:
feat(browser): Add
featureFlagsIntegration
for custom tracking of flag evaluations (#14582)Adds a browser integration to manually track feature flags with an API. Feature flags are attached to subsequent error events:
feat(astro): Add Astro 5 support (#14613)
With this release, the Sentry Astro SDK officially supports Astro 5.
Deprecations
feat(nextjs): Deprecate typedef for
hideSourceMaps
(#14594)The functionality of
hideSourceMaps
was removed in version 8 but was forgotten to be deprecated and removed.It will be completely removed in the next major version.
feat(core): Deprecate APIs around
RequestSession
s (#14566)The APIs around
RequestSession
s are mostly used internally.Going forward the SDK will not expose concepts around
RequestSession
s.Instead, functionality around server-side Release Health will be managed in integrations.
Other Changes
browserSessionIntegration
(#14551)raw_security
envelope types (#14562)disableAnrDetectionForCallback
function (#14359)trackIncomingRequestsAsSessions
option to http integration (#14567)autoInjectServerSentry
(no defaultimport()
) (#14553)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.
This PR was generated by Mend Renovate. View the repository job log.