[Call for Feedback] Road to Sentry JavaScript SDK v8 #9802
Replies: 5 comments 13 replies
-
With For reference, my old code is roughly something like this: Sentry.runWithAsyncContext(async () => {
const transaction = Sentry.startTransaction({ })
try {
// instrumented code
} finally {
transaction.finish()
}
}) |
Beta Was this translation helpful? Give feedback.
-
We are looking forward to the new version. A few words about the plan. Why not drop support for Node 14 and 16? It's deprecated. Although most likely, there is no specific code in Sentry for these versions.
It's hard to imagine anyone still using this version. Considering that the transition between versions in React is quite simple.
The transition from version 2 to version 3 is quite complicated. But maybe I’m wrong since I’m not a serious developer on Vue.
Setting up tracing was a little difficult; middleware names are not displayed correctly out of the box. The documentation does not explain very well the operation of the internal modules; in order to successfully configure all the data, we had to look at the code itself.
Node and express.js have to be separated. |
Beta Was this translation helpful? Give feedback.
-
Regarding the A valid question came here: Is there a way to send attachments (normal attachments, that take from the attachments quota) using this new API in v8? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Can not use I found it hard to do custom instrument with With |
Beta Was this translation helpful? Give feedback.
-
As we approach the start of 2024, the Sentry JavaScript team is looking at starting work on the next major version of it's JavaScript SDKs, v8, and we need help from you all to make our best one yet!
The theme of this major is to improve the SDK public API surface and try to eliminate confusing concepts in the SDK. This should reduce bundle size and make it way easier to use/write sdk integrations.
Via https://github.com/getsentry/sentry-migr8 we'll be providing a codemod that will automatically upgrade your app to v8 and fix all breaking changes.
The biggest breaking change with v8 will be the removal of
Sentry.startTransaction
.startTransaction
will be replaced with our new APIs,startSpan
,startInactiveSpan
, andstartSpanManual
.Big Goals:
Sentry.Hub
class), as per RFC 122@sentry/tracing
and@sentry/hub
packages, and split up@sentry/tracing-internal
into runtime specific packages (@sentry/core
,@sentry/browser
).Planned Version support changes
instrument.ts
)Although we have a general plan in mind, we need your feedback and thoughts to make sure we are covering everything we need to be:
What are the biggest pain points when using the SDK?
What features are you missing the most?
What would you like to be changed?
Thanks for your help!
Update: We've made a release plan based on these changes. See it here: #9508
Beta Was this translation helpful? Give feedback.
All reactions