You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release adds a new light-weight `@sentry/node-core/light` export to `@sentry/node-core`. The export acts as a light-weight errors-only SDK that does not depend on OpenTelemetry.
12
+
13
+
Use this SDK when:
14
+
- You only need error tracking without performance monitoring
15
+
- You want to minimize bundle size and runtime overhead
16
+
- You don't need OpenTelemetry instrumentation
17
+
18
+
It supports basic error tracking and report, automatic request isolation (requires Node.js 22+) and basic tracing via our `Sentry.startSpan*` APIs.
19
+
20
+
Install the SDK by running
21
+
22
+
```bash
23
+
npm install @sentry/node-core
24
+
```
25
+
26
+
and add Sentry at the top of your application's entry file:
27
+
28
+
```js
29
+
import*asSentryfrom'@sentry/node-core/light';
30
+
31
+
Sentry.init({
32
+
dsn:'__DSN__',
33
+
});
34
+
```
35
+
36
+
### Other Changes
37
+
7
38
-**feat(tanstackstart-react): Auto-instrument server function middleware ([#19001](https://github.com/getsentry/sentry-javascript/pull/19001))**
8
39
9
40
The `sentryTanstackStart` Vite plugin now automatically instruments middleware in `createServerFn().middleware([...])` calls. This captures performance data without requiring manual wrapping with `wrapMiddlewaresWithSentry()`.
0 commit comments