Skip to content

Commit da1124d

Browse files
committed
Add changelog entry
1 parent 5c8a818 commit da1124d

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

CHANGELOG.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,37 @@
44

55
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
66

7+
### Important Changes
8+
9+
- **feat(node-core): Add node-core/light ([#18502](https://github.com/getsentry/sentry-javascript/pull/18502))**
10+
11+
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 * as Sentry from '@sentry/node-core/light';
30+
31+
Sentry.init({
32+
dsn: '__DSN__',
33+
});
34+
```
35+
36+
### Other Changes
37+
738
- **feat(tanstackstart-react): Auto-instrument server function middleware ([#19001](https://github.com/getsentry/sentry-javascript/pull/19001))**
839

940
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

Comments
 (0)