|
| 1 | +# Upgrade Sentry SDKs from 9.16.1 to 9.30.0 |
| 2 | + |
| 3 | +This PR upgrades the following Sentry packages from version `9.16.1` to `9.30.0`: |
| 4 | + |
| 5 | +- `@sentry/node`: `^9.16.1` → `^9.30.0` |
| 6 | +- `@sentry/profiling-node`: `^9.16.1` → `^9.30.0` |
| 7 | + |
| 8 | +## Key Changes for Node SDK |
| 9 | + |
| 10 | +The upgrade includes several important improvements and new features for the Node SDK: |
| 11 | + |
| 12 | +### 🚀 New Features |
| 13 | + |
| 14 | +- **Node 24 Support** (9.18.0): Added support for Node.js 24 with profiling binaries |
| 15 | +- **Vercel AI Integration** (9.30.0, 9.29.0, 9.28.0, 9.27.0): Multiple enhancements: |
| 16 | + - Automatic detection and activation when `ai` module is present |
| 17 | + - Updated span attributes to match OpenTelemetry conventions |
| 18 | + - Expanded input/output configuration options |
| 19 | + - Force activation option for better control |
| 20 | +- **Koa Integration Enhancement** (9.29.0): New `ignoreLayersType` option for better middleware handling |
| 21 | +- **HTTP Instrumentation** (9.25.0): Added `includeServerName` option for better server identification |
| 22 | +- **Request Body Size Control** (9.20.0): New `maxIncomingRequestBodySize` option |
| 23 | +- **tRPC Improvements** (9.20.0): Fork isolation scope in tRPC middleware for better context isolation |
| 24 | + |
| 25 | +### 🔧 Improvements |
| 26 | + |
| 27 | +- **Performance Optimizations** (9.23.0): HTTP & fetch span instrumentation is now disabled when tracing is disabled |
| 28 | +- **Trace Propagation** (9.18.0): Improved trace propagation in Node.js 22+ environments |
| 29 | +- **Breadcrumb Management** (9.21.0): Reduced noise by avoiding breadcrumbs for suppressed requests |
| 30 | +- **Fastify Integration** (9.17.0, 9.21.0): Migrated to `@fastify/otel` with vendored implementation |
| 31 | + |
| 32 | +### 🐛 Bug Fixes |
| 33 | + |
| 34 | +- **Header Handling** (9.26.0): Fixed crashes when adding sentry-trace and baggage headers via SentryHttpInstrumentation |
| 35 | +- **Spotlight Integration** (9.23.0): Fixed warnings on empty NODE_ENV and improved Spotlight call suppression |
| 36 | + |
| 37 | +## Profiling Node SDK |
| 38 | + |
| 39 | +The `@sentry/profiling-node` package has been updated alongside the main Node SDK and now supports: |
| 40 | +- Node.js 24 profiling binaries |
| 41 | +- Improved compatibility with the latest Node.js versions |
| 42 | + |
| 43 | +## Breaking Changes |
| 44 | + |
| 45 | +No breaking changes were identified between versions 9.16.1 and 9.30.0. |
| 46 | + |
| 47 | +## Changelog Reference |
| 48 | + |
| 49 | +For the complete list of changes, see the [Sentry JavaScript SDK Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md#changelog). |
0 commit comments