Update sentry-javascript monorepo to v9.10.0#10482
Merged
Merged
Conversation
50b8898 to
e9995b0
Compare
e9995b0 to
89af926
Compare
89af926 to
0360fc4
Compare
Contributor
Code Coverage Report: Only Changed Files listed
Minimum allowed coverage is |
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:
9.5.0->9.10.09.5.0->9.10.0Release Notes
getsentry/sentry-javascript (@sentry/browser)
v9.10.0Compare Source
Important Changes
feat: Add support for logs
beforeSendLog(#15814)All JavaScript SDKs other than
@sentry/cloudflareand@sentry/denonow 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/bunor server-side of@sentry/nextjsor@sentry/sveltekit, you can do structured logging without needing thefmthelper function.To filter logs, or update them before they are sent to Sentry, you can use the
_experiments.beforeSendLogoption.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)dropUndefinedKeysforspanToJSONcalls (#15792)SentryErrorfor PromiseBuffer control flow (#15822)dropUndefinedKeysin SpanExporter (#15794)SentryErrorfor event processing control flow (#15823)dropUndefinedKeysin 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.0to9.10.0leads 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
rrwebto2.35.0(#15825)3.2.3(#15829)Bundle size 📦
v9.9.0Compare Source
Important Changes
feat(nextjs): Support
instrumentation-client.ts(#15705)Next.js recently added a feature to support client-side (browser) instrumentation via the
experimental.clientInstrumentationHookflag and theinstrumentation-client.tsfile.To be forwards compatible, the Sentry Next.js SDK will now pick up
instrumentation-client.tsfiles even on older Next.js versions and add them to your client bundles.It is suggested that you either rename your
sentry.client.config.tsfile toinstrumentation-client.ts, or if you already happen to have ainstrumentation-client.tsfile move the contents ofsentry.client.config.tstoinstrumentation-client.ts.feat(browser): Add
previous_tracespan links (#15569)The
@sentry/browserSDK and SDKs based on@sentry/browsernow 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.Xmethods to browser SDK (#15763)For Sentry's upcoming logging product, the SDK now supports sending logs via dedicated
Please note that the logs product is still in early access. See the link above for more information.
Other Changes
parseStringToURLmethod (#15768)dropUndefinedKeys(#15760)shouldHandleError(#15771)addNonEnumerableProperty(#15766)dropUndefinedKeys()(#15757)dropUndefinedKeys()(#15781)v9.8.0Compare Source
res.endbefore passing to Proxy (#15776)eventFiltersintegration (#15752)v9.7.0Compare Source
captureLogmethod (#15717)sentryHandleError(#15726)fatallevel for unhandled rejections instrictmode (#15720)v9.6.1Compare Source
v9.6.0Compare Source
Important Changes
feat(tanstackstart): Add
@sentry/tanstackstart-reactpackage and make@sentry/tanstackstartpackage a utility package (#15629)Since TanStack Start is supposed to be a generic framework that supports libraries like React and Solid, the
@sentry/tanstackstartSDK package was renamed to@sentry/tanstackstart-reactto 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
fillonly patches functions (#15632)pageExtensionswhen looking for instrumentation file (#15701)options(#15610)Work in this release was contributed by @angelikatyborska and @nwalters512. Thank you for your contributions!
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, 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.