|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
6 | 6 |
|
| 7 | +## 8.5.0 |
| 8 | + |
| 9 | +### Important Changes |
| 10 | + |
| 11 | +- **feat(react): Add React 19 to peer deps (#12207)** |
| 12 | + |
| 13 | +This release adds support for React 19 in the `@sentry/react` SDK package. |
| 14 | + |
| 15 | +- **feat(node): Add `@sentry/node/preload` hook (#12213)** |
| 16 | + |
| 17 | +This release adds a new way to initialize `@sentry/node`, which allows you to use the SDK with performance |
| 18 | +instrumentation even if you cannot call `Sentry.init()` at the very start of your app. |
| 19 | + |
| 20 | +First, run the SDK like this: |
| 21 | + |
| 22 | +```bash |
| 23 | +node --require @sentry/node/preload ./app.js |
| 24 | +``` |
| 25 | + |
| 26 | +Now, you can initialize and import the rest of the SDK later or asynchronously: |
| 27 | + |
| 28 | +```js |
| 29 | +const express = require('express'); |
| 30 | +const Sentry = require('@sentry/node'); |
| 31 | + |
| 32 | +const dsn = await getSentryDsn(); |
| 33 | +Sentry.init({ dsn }); |
| 34 | +``` |
| 35 | + |
| 36 | +For a detailed guide, head over to our |
| 37 | +[Sentry Node SDK documentation](https://docs.sentry.io/platforms/javascript/guides/node/). |
| 38 | + |
| 39 | +### Other Changes |
| 40 | + |
| 41 | +- feat(core): Add `startNewTrace` API (#12138) |
| 42 | +- feat(core): Allow to pass custom scope to `captureFeedback()` (#12216) |
| 43 | +- feat(core): Only allow `SerializedSession` in session envelope items (#11979) |
| 44 | +- feat(nextjs): Use Vercel's `waitUntil` to defer freezing of Vercel Lambdas (#12133) |
| 45 | +- feat(node): Ensure manual OTEL setup works (#12214) |
| 46 | +- fix(aws-serverless): Avoid minifying `Module._resolveFilename` in Lambda layer bundle (#12232) |
| 47 | +- fix(aws-serverless): Ensure lambda layer uses default export from `ImportInTheMiddle` (#12233) |
| 48 | +- fix(browser): Improve browser extension error message check (#12146) |
| 49 | +- fix(browser): Remove optional chaining in INP code (#12196) |
| 50 | +- fix(nextjs): Don't report React postpone errors (#12194) |
| 51 | +- fix(nextjs): Use global scope for generic event filters (#12205) |
| 52 | +- fix(node): Add origin to redis span (#12201) |
| 53 | +- fix(node): Change import of `@prisma/instrumentation` to use default import (#12185) |
| 54 | +- fix(node): Only import `inspector` asynchronously (#12231) |
| 55 | +- fix(replay): Update matcher for hydration error detection to new React docs (#12209) |
| 56 | +- ref(profiling-node): Add warning when using non-LTS node (#12211) |
| 57 | + |
7 | 58 | ## 8.4.0
|
8 | 59 |
|
9 | 60 | ### Important Changes
|
|
0 commit comments