sentry-javascript icon indicating copy to clipboard operation
sentry-javascript copied to clipboard

Add runtime warning for profiling-node bindings with Node 23

Open AbhiPrasad opened this issue 1 year ago • 1 comments

Right now @sentry/profiling-node only has bindings for LTS node - 16, 18, 20, and 22 in our case.

We don't want to publish bindings for non-LTS versions - so this issue proposes using a runtime warning to alert against usages of Node 21 or Node 23. This makes it super clear for why the SDK does not work on these versions.

We can also point people to the docs of how to build bindings from source, which gives them the freedom to use those versions (at their own risk - we don't maintain this).

AbhiPrasad avatar Apr 24 '24 18:04 AbhiPrasad

@JonasBa I opened https://github.com/getsentry/sentry-javascript/pull/12211 because I had a friend get confused with this.

AbhiPrasad avatar May 24 '24 11:05 AbhiPrasad