Important Changes
- feat(elysia):
@sentry/elysia- Alpha Release (#19509)
New Sentry SDK for the Elysia web framework, supporting both Bun and Node.js runtimes.
Note: This is an alpha release. Please report any issues or feedback on GitHub.
Features
- Automatic error capturing — 5xx errors captured via global
onErrorhook; 3xx/4xx ignored by default. Customizable withshouldHandleError. - Automatic tracing — Lifecycle spans for every Elysia phase (Request, Parse, Transform, BeforeHandle, Handle, AfterHandle, MapResponse, AfterResponse, Error) with parameterized route names (e.g.
GET /users/:id). - Distributed tracing —
sentry-traceandbaggageheaders propagated automatically on incoming/outgoing requests.
Usage
```javascript import * as Sentry from '@sentry/elysia'; import { Elysia } from 'elysia';
Sentry.init({ dsn: 'DSN', tracesSampleRate: 1.0 });
const app = Sentry.withElysia(new Elysia()); app.get('/', () => 'Hello World'); app.listen(3000); ```
Other Changes
- feat(nuxt): Conditionally use plugins based on Nitro version (v2/v3) (#19955)
- fix(cloudflare): Forward
ctxargument toWorkflow.douser callback (#19891) - fix(cloudflare): Send correct events in local development (#19900)
- fix(core): Do not overwrite user provided conversation id in Vercel (#19903)
- fix(core): Preserve
.withResponse()on Anthropic instrumentation (#19935) - fix(core): Send
internal_erroras span status for Vercel error spans (#19921) - fix(core): Truncate content array format in Vercel (#19911)
- fix(deps): bump fast-xml-parser to 5.5.8 in @azure/core-xml chain (#19918)
- fix(deps): bump socket.io-parser to 4.2.6 to fix CVE-2026-33151 (#19880)
- fix(nestjs): Add
nodeto nest metadata (#19875) - fix(serverless): Add node to metadata (#19878)
Internal Changes
- chore(ci): Fix "Gatbsy" typo in issue package label workflow ([#19905](https://github.com/getsentry/sentry-javascript/pull/19905)) - chore(claude): Enable Claude Code Intelligence (LSP) ([#19930](https://github.com/getsentry/sentry-javascript/pull/19930)) - chore(deps): bump mongodb-memory-server-global from 10.1.4 to 11.0.1 ([#19888](https://github.com/getsentry/sentry-javascript/pull/19888)) - chore(deps-dev): bump @react-router/node from 7.13.0 to 7.13.1 ([#19544](https://github.com/getsentry/sentry-javascript/pull/19544)) - chore(deps-dev): bump effect from 3.19.19 to 3.20.0 ([#19926](https://github.com/getsentry/sentry-javascript/pull/19926)) - chore(deps-dev): bump qunit-dom from 3.2.1 to 3.5.0 ([#19546](https://github.com/getsentry/sentry-javascript/pull/19546)) - chore(node-integration-tests): Remove unnecessary `file-type` dependency ([#19824](https://github.com/getsentry/sentry-javascript/pull/19824)) - chore(remix): Replace glob with native recursive fs walk ([#19531](https://github.com/getsentry/sentry-javascript/pull/19531)) - feat(deps): bump stacktrace-parser from 0.1.10 to 0.1.11 ([#19887](https://github.com/getsentry/sentry-javascript/pull/19887)) - fix(craft): Add missing mainDocsUrl for @sentry/effect SDK ([#19860](https://github.com/getsentry/sentry-javascript/pull/19860)) - fix(deps): bump next to 15.5.14 in nextjs-15 and nextjs-15-intl E2E test apps ([#19917](https://github.com/getsentry/sentry-javascript/pull/19917)) - fix(deps): update lockfile to resolve h3@1.15.10 ([#19933](https://github.com/getsentry/sentry-javascript/pull/19933)) - ref(core): Remove duplicate `buildMethodPath` utility from openai ([#19969](https://github.com/getsentry/sentry-javascript/pull/19969)) - ref(elysia): Drop `@elysiajs/opentelemetry` dependency ([#19947](https://github.com/getsentry/sentry-javascript/pull/19947)) - ref(nuxt): Extract core logic for storage/database to prepare for Nuxt v5 ([#19920](https://github.com/getsentry/sentry-javascript/pull/19920)) - ref(nuxt): Extract handler patching to extra plugin for Nitro v2/v3 ([#19915](https://github.com/getsentry/sentry-javascript/pull/19915)) - ref(sveltekit): Replace recast + @babel/parser with acorn ([#19533](https://github.com/getsentry/sentry-javascript/pull/19533)) - test(astro): Re-enable server island tracing e2e test in Astro 6 ([#19872](https://github.com/getsentry/sentry-javascript/pull/19872)) - test(cloudflare): Enable multi-worker tests for CF integration tests ([#19938](https://github.com/getsentry/sentry-javascript/pull/19938))Work in this release was contributed by @roli-lpci. Thank you for your contributions!
Bundle size 📦
| Path | Size |
|---|---|
| @sentry/browser | 25.08 KB |
| @sentry/browser - with treeshaking flags | 23.6 KB |
| @sentry/browser (incl. Tracing) | 41.67 KB |
| @sentry/browser (incl. Tracing, Profiling) | 46.22 KB |
| @sentry/browser (incl. Tracing, Replay) | 79.57 KB |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 69.4 KB |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 84.15 KB |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 96.1 KB |
| @sentry/browser (incl. Feedback) | 41.48 KB |
| @sentry/browser (incl. sendFeedback) | 29.64 KB |
| @sentry/browser (incl. FeedbackAsync) | 34.57 KB |
| @sentry/browser (incl. Metrics) | 26.33 KB |
| @sentry/browser (incl. Logs) | 26.46 KB |
| @sentry/browser (incl. Metrics & Logs) | 27.13 KB |
| @sentry/react | 26.8 KB |
| @sentry/react (incl. Tracing) | 43.96 KB |
| @sentry/vue | 29.42 KB |
| @sentry/vue (incl. Tracing) | 43.48 KB |
| @sentry/svelte | 25.1 KB |
| CDN Bundle | 27.69 KB |
| CDN Bundle (incl. Tracing) | 42.55 KB |
| CDN Bundle (incl. Logs, Metrics) | 28.54 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) | 43.39 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) | 66.69 KB |
| CDN Bundle (incl. Tracing, Replay) | 78.52 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) | 79.4 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.96 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) | 84.82 KB |
| CDN Bundle - uncompressed | 80.76 KB |
| CDN Bundle (incl. Tracing) - uncompressed | 125.61 KB |
| CDN Bundle (incl. Logs, Metrics) - uncompressed | 83.56 KB |
| CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed | 128.41 KB |
| CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed | 204.32 KB |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 239.75 KB |
| CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed | 242.53 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 252.36 KB |
| CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed | 255.13 KB |
| @sentry/nextjs (client) | 46.29 KB |
| @sentry/sveltekit (client) | 42.11 KB |
| @sentry/node-core | 55.08 KB |
| @sentry/node | 169.44 KB |
| @sentry/node - without tracing | 94.16 KB |
| @sentry/aws-serverless | 110.78 KB |