-
-
Notifications
You must be signed in to change notification settings - Fork 344
chore(deps): update JavaScript SDK to v9.14.0 #4615
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
Open
github-actions
wants to merge
1
commit into
main
Choose a base branch
from
deps/scripts/update-javascript.sh
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+90
−81
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
030274a
to
1345289
Compare
cfd5581
to
03257a4
Compare
03257a4
to
90749e3
Compare
833bcf6
to
ed685c1
Compare
f337332
to
dfdeff3
Compare
dfdeff3
to
ed9b7cd
Compare
cf1c33f
to
ade0f1a
Compare
264923c
to
52a36dc
Compare
lets not use this PR to point to v7 as the father branch is too different from v7 |
52a36dc
to
223bff1
Compare
ca56e10
to
afe0fa9
Compare
5c6a0af
to
74a4fcd
Compare
74a4fcd
to
e30c2d9
Compare
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.
Bumps scripts/update-javascript.sh from 8.54.0 to 9.14.0.
Auto-generated by a dependency updater.
Changelog
9.14.0
Important Changes
This PR adds Supabase integration to
sentry/core
, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking.SentryGlobalFilter
(#16066)This PR adds better RPC exception handling to
sentry/nestjs
, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type inSentryGlobalFilter
to improve reliability in hybrid applications.This PR adds trace propagation to
sentry/react-router
by providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads.Other Changes
9.13.0
Important Changes
feat(node): Add support for winston logger (#15983)
Sentry is adding support for structured logging. In this release we've added support for sending logs to Sentry via the winston logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like
sentry/nestjs
). The Logging APIs in the Sentry SDK are still experimental and subject to change.feat(core): Add
wrapMcpServerWithSentry
to instrument MCP servers frommodelcontextprotocol/sdk
(#16032)The Sentry SDK now supports instrumenting MCP servers from the
modelcontextprotocol/sdk
package. Compatible with versions^1.9.0
of themodelcontextprotocol/sdk
package.feat(core): Move console integration into core and add to cloudflare/vercel-edge (#16024)
Console instrumentation has been added to
sentry/cloudflare
andsentry/nextjs
Edge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs.feat(bun): Support new
Bun.serve
APIs (#16035)Bun
1.2.6
and above have a newBun.serve
API, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server.Thanks to Jarred-Sumner for helping us get this supported!
Other Changes
browserTracingIntegration
(#16042)beforeSendLog
after we process log (#16019)unstable_sentryVitePluginOptions
to cli instance (#16033)9.12.0
Important Changes
feat(feedback): Implement highlighting and hiding controls for screenshots (#15951)
The Sentry SDK now supports highlighting and hiding controls for screenshots in user feedback reports. This functionality is enabled by default.
feat(node): Add
ignoreIncomingRequestBody
callback tohttpIntegration
(#15959)The
httpIntegration
now supports an optionalignoreIncomingRequestBody
callback that can be used to skip capturing the body of incoming requests.The
ignoreIncomingRequestBody
callback receives the URL of the request and should returntrue
if the body should be ignored.Logging Improvements
Sentry is adding support for structured logging. In this release we've made a variety of improvements to logging functionality in the Sentry SDKs.
Other Changes
onRequestSpanStart
hook to browser tracing integration (#15979)captureRouterTransitionStart
hook for capturing navigations (#15981)http.request.prefetch: true
attribute (#15980)clientInstrumentationHook
(#15992)SENTRY_DEBUG
env variable (#15972)authToken
type tostring
(#15985)Work in this release was contributed by Page- and Fryuni. Thank you for your contributions!
9.11.0
http.redirect_count
attribute tobrowser.redirect
span (#15943)consoleLoggingIntegration
for logs (#15955)turbopack
as tag (#15928)sentryHandleRequest
(#15787)module
instead ofrequire
for CJS check (#15927)ErrorBoundary
wrapper (#15930)sentry.previous_trace
span attribute (#15957)9.10.1
3.2.4
(#15909)9.10.0
Important Changes
feat: Add support for logs
beforeSendLog
(#15814)All JavaScript SDKs other than
sentry/cloudflare
andsentry/deno
now support sending logs via dedicated methods as part of Sentry's upcoming logging product.Logging is gated by an experimental option,
_experiments.enableLogs
.With server-side SDKs like
sentry/node
,sentry/bun
or server-side ofsentry/nextjs
orsentry/sveltekit
, you can do structured logging without needing thefmt
helper function.To filter logs, or update them before they are sent to Sentry, you can use the
_experiments.beforeSendLog
option.feat(browser): Add
diagnoseSdkConnectivity()
function to programmatically detect possible connectivity issues (#15821)The
diagnoseSdkConnectivity()
function can be used to programmatically detect possible connectivity issues with the Sentry SDK.The result will be an object with the following properties:
"no-client-active"
: There was no active client when the function was called. This possibly means that the SDK was not initialized yet."sentry-unreachable"
: The Sentry SaaS servers were not reachable. This likely means that there is an ad blocker active on the page or that there are other connection issues.undefined
: The SDK is working as expected.SDK Tracing Performance Improvements for Node SDKs
dropUndefinedKeys
(#15796)dropUndefinedKeys
forspanToJSON
calls (#15792)SentryError
for PromiseBuffer control flow (#15822)dropUndefinedKeys
in SpanExporter (#15794)SentryError
for event processing control flow (#15823)dropUndefinedKeys
in Node SDK init (#15797)We've been hard at work making performance improvements to the Sentry Node SDKs (
sentry/node
,sentry/aws-serverless
,sentry/nestjs
, etc.). We've seen that upgrading from9.7.0
to9.10.0
leads to 30-40% improvement in request latency for HTTP web-server applications that use tracing with high sample rates. Non web-server applications and non-tracing applications will see smaller improvements.Other Changes
rrweb
to2.35.0
(#15825)3.2.3
(#15829)9.9.0
Important Changes
feat(nextjs): Support
instrumentation-client.ts
(#15705)Next.js recently added a feature to support client-side (browser) instrumentation via a
instrumentation-client.ts
file.To be forwards compatible, the Sentry Next.js SDK will now pick up
instrumentation-client.ts
files even on older Next.js versions and add them to your client bundles.It is suggested that you either rename your
sentry.client.config.ts
file toinstrumentation-client.ts
, or if you already happen to have ainstrumentation-client.ts
file move the contents ofsentry.client.config.ts
toinstrumentation-client.ts
.feat(browser): Add
previous_trace
span links (#15569)The
sentry/browser
SDK and SDKs based onsentry/browser
now emits a link from the first root span of a newly started trace to the root span of a previously started trace. You can control this feature via an option inbrowserTracingIntegration()
:feat(browser): Add
logger.X
methods to browser SDK (#15763)For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated methods.
Please note that the logs product is still in early access. See the link above for more information.
Other Changes
parseStringToURL
method (#15768)dropUndefinedKeys
(#15760)shouldHandleError
(#15771)addNonEnumerableProperty
(#15766)dropUndefinedKeys()
(#15757)dropUndefinedKeys()
(#15781)9.8.0
res.end
before passing to Proxy (#15776)eventFilters
integration (#15752)9.7.0
captureLog
method (#15717)sentryHandleError
(#15726)fatal
level for unhandled rejections instrict
mode (#15720)9.6.1
9.6.0
Important Changes
feat(tanstackstart): Add
sentry/tanstackstart-react
package and makesentry/tanstackstart
package a utility package (#15629)Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the
sentry/tanstackstart
SDK package was renamed tosentry/tanstackstart-react
to reflect that the SDK is specifically intended to be used for React TanStack Start applications.Note that the TanStack Start SDK is still in alpha status and may be subject to breaking changes in non-major package updates.
Other Changes
fill
only patches functions (#15632)pageExtensions
when looking for instrumentation file (#15701)options
(#15610)Work in this release was contributed by angelikatyborska and nwalters512. Thank you for your contributions!
9.5.0
Important Changes
We found some issues with the new feedback screenshot annotation where screenshots are not being generated properly. Due to this issue, we are reverting the feature.
Other Changes
4.34.9
(#15589)sentry/remix/cloudflare
(#15599)Work in this release was contributed by msurdi-a8c, namoscato, and rileyg98. Thank you for your contributions!
9.4.0
sentry/cli
from 2.41.1 to 2.42.2 (#15510)sentry/webpack-plugin
from 3.1.2 to 3.2.1 (#15512)use client
directive to client SDK entrypoints (#15575)AsyncLocalStorage
async context strategy is used in Cloudflare Pages (#15557)cloudflare/workers-types
an optional peer dependency (#15554)onRequestError
in version 15 (#15553)undefined
transport to be passed in (#15560)9.3.0
Important Changes
With this release we're publishing two new SDKs in experimental alpha stage:
For details please refer to the README
For details please refer to the README
This PR adds support for Shopify Hydrogen applications running on MiniOxygen runtime.
Other Changes
forceTransaction
to trpc middleware options (#15519)inboundFiltersIntegration
toeventFiltersIntegration
(#15434)allowUrls
anddenyUrls
for linked and aggregate exceptions (#15521)process
check when flushing events (#15516)Work in this release was contributed by GerryWilko and leoambio. Thank you for your contributions!
9.2.0
Important Changes
This release adds full tracing support for Express v5, and improves tracing support for Nest.js 11 (which uses Express v5) in the Nest.js SDK.
This release adds support for deploying SvelteKit applications to Cloudflare Pages.
A docs update with updated instructions will follow shortly.
Until then, you can give this a try by setting up the SvelteKit SDK as usual and then following the instructions outlined in the PR.
Thank you SG60 for contributing this feature!
Other Changes
addLink(s)
to Sentry span (#15452)enableNitroErrorHandler
to server options (#15444)addLink(s)
to span (#15387)links
to span options (#15403)performance.measure
spans have a positive duration (#15415)gmo
error to Inbound Filters (#15432)http.client
span descriptions don't contain query params or fragments (#15404)opentelemetry/instrumentation
(#15419)SentryNuxtServerOptions
type for server init (#15441)Work in this release was contributed by 6farer, dgavranic and SG60. Thank you for your contributions!
9.1.0
graphqlClientIntegration
(#13783)vite
import (#15371)Work in this release was contributed by Zen-cronic and filips-alpe. Thank you for your contribution!
9.0.1
9.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
~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)