|
10 | 10 |
|
11 | 11 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
|
12 | 12 |
|
| 13 | +## 8.35.0 |
| 14 | + |
| 15 | +### Beta releases of official Nuxt Sentry SDK |
| 16 | + |
| 17 | +This release marks the beta release of the `@sentry/nuxt` Sentry SDK. For details on how to use it, check out the |
| 18 | +[Sentry Nuxt SDK README](https://github.com/getsentry/sentry-javascript/tree/develop/packages/nuxt). Please reach out on |
| 19 | +[GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns. |
| 20 | + |
| 21 | +- **feat(nuxt): Make dynamic import() wrapping default |
| 22 | + ([#13958](https://github.com/getsentry/sentry-javascript/pull/13958))** (BREAKING) |
| 23 | +- **feat(nuxt): Add Rollup plugin to wrap server entry with `import()` |
| 24 | + ([#13945](https://github.com/getsentry/sentry-javascript/pull/13945))** |
| 25 | + |
| 26 | +There is no need to add the Node `--import` flag anymore because the SDK now wraps your application with a dynamic |
| 27 | +`import()`. Please update your start command to avoid initializing Sentry twice (BREAKING CHANGE). If you prefer to use |
| 28 | +the `--import` flag, you can enable this option in your `nuxt.config.ts`: |
| 29 | + |
| 30 | +```js |
| 31 | +sentry: { |
| 32 | + dynamicImportForServerEntry: false; |
| 33 | +} |
| 34 | +``` |
| 35 | + |
| 36 | +- **feat(nuxt): Respect user-provided source map generation settings |
| 37 | + ([#14020](https://github.com/getsentry/sentry-javascript/pull/14020))** |
| 38 | + |
| 39 | +Source maps As Nuxt sets `sourcemap.client: false`, it's not possible to determine whether this setting was set by you |
| 40 | +or the framework. Set this manually like this: |
| 41 | + |
| 42 | +```js |
| 43 | +export default defineNuxtConfig({ |
| 44 | + sourcemap: { |
| 45 | + client: true, |
| 46 | + }, |
| 47 | +}); |
| 48 | +``` |
| 49 | + |
| 50 | +- feat(nuxt): Log server instrumentation might not work in dev |
| 51 | + ([#14021](https://github.com/getsentry/sentry-javascript/pull/14021)) |
| 52 | +- feat(nuxt): Add Http `responseHook` with `waitUntil` |
| 53 | + ([#13986](https://github.com/getsentry/sentry-javascript/pull/13986)) |
| 54 | + |
| 55 | +### Important Changes |
| 56 | + |
| 57 | +- **feat(vue): Add Pinia plugin ([#13841](https://github.com/getsentry/sentry-javascript/pull/13841))** |
| 58 | + |
| 59 | +Support for [Pinia](https://pinia.vuejs.org/) is added in this release for `@sentry/vue`. To capture Pinia state data, |
| 60 | +add `createSentryPiniaPlugin()` to your Pinia store: |
| 61 | + |
| 62 | +```javascript |
| 63 | +import { createPinia } from 'pinia'; |
| 64 | +import { createSentryPiniaPlugin } from '@sentry/vue'; |
| 65 | + |
| 66 | +const pinia = createPinia(); |
| 67 | + |
| 68 | +pinia.use(createSentryPiniaPlugin()); |
| 69 | +``` |
| 70 | + |
| 71 | +- **feat(node): Implement Sentry-specific http instrumentation |
| 72 | + ([#13763](https://github.com/getsentry/sentry-javascript/pull/13763))** |
| 73 | + |
| 74 | +This change introduces a new `SentryHttpInstrumentation` to handle non-span related HTTP instrumentation, allowing it to |
| 75 | +run side-by-side with OTel's `httpInstrumentation`. This improves support for custom OTel setups and avoids conflicts |
| 76 | +with Sentry's instrumentation. Additionally, the `spans: false` option is reintroduced for `httpIntegration` to disable |
| 77 | +span emission while still allowing custom `HttpInstrumentation` instances (`httpIntegration({ spans: false })`). |
| 78 | + |
13 | 79 | - **feat(core): Make stream instrumentation opt-in
|
14 | 80 | ([#13951](https://github.com/getsentry/sentry-javascript/pull/13951))**
|
15 | 81 |
|
16 | 82 | This change adds a new option `trackFetchStreamPerformance` to the browser tracing integration. Only when set to `true`,
|
17 | 83 | Sentry will instrument streams via fetch.
|
18 | 84 |
|
| 85 | +### Other Changes |
| 86 | + |
| 87 | +- feat(node): Expose `suppressTracing` API ([#13875](https://github.com/getsentry/sentry-javascript/pull/13875)) |
| 88 | +- feat(replay): Do not log "timeout while trying to read resp body" as exception |
| 89 | + ([#13965](https://github.com/getsentry/sentry-javascript/pull/13965)) |
| 90 | +- chore(deps): bump astro from 4.1.1 to 4.16.1 in /dev-packages/e2e-tests/test-applications/cloudflare-astro |
| 91 | + ([#13974](https://github.com/getsentry/sentry-javascript/pull/13974)) |
| 92 | +- chore(node): Bump `@opentelemetry/instrumentation-express` to `0.43.0` |
| 93 | + ([#13948](https://github.com/getsentry/sentry-javascript/pull/13948)) |
| 94 | +- chore(node): Bump `@opentelemetry/instrumentation-fastify` to `0.40.0` |
| 95 | + ([#13983](https://github.com/getsentry/sentry-javascript/pull/13983)) |
| 96 | +- fix: Ensure type for `init` is correct in meta frameworks |
| 97 | + ([#13938](https://github.com/getsentry/sentry-javascript/pull/13938)) |
| 98 | +- fix(core): `.set` the `sentry-trace` header instead of `.append`ing in fetch instrumentation |
| 99 | + ([#13907](https://github.com/getsentry/sentry-javascript/pull/13907)) |
| 100 | +- fix(module): keep version for node ESM package ([#13922](https://github.com/getsentry/sentry-javascript/pull/13922)) |
| 101 | +- fix(node): Ensure `ignoreOutgoingRequests` of `httpIntegration` applies to breadcrumbs |
| 102 | + ([#13970](https://github.com/getsentry/sentry-javascript/pull/13970)) |
| 103 | +- fix(replay): Fix onError sampling when loading an expired buffered session |
| 104 | + ([#13962](https://github.com/getsentry/sentry-javascript/pull/13962)) |
| 105 | +- fix(replay): Ignore older performance entries when starting manually |
| 106 | + ([#13969](https://github.com/getsentry/sentry-javascript/pull/13969)) |
| 107 | +- perf(node): Truncate breadcrumb messages created by console integration |
| 108 | + ([#14006](https://github.com/getsentry/sentry-javascript/pull/14006)) |
| 109 | + |
19 | 110 | Work in this release was contributed by @ZakrepaShe and @zhiyan114. Thank you for your contributions!
|
20 | 111 |
|
21 | 112 | ## 8.34.0
|
|
0 commit comments