|
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 release of the 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 | +**It is no longer required to add a Node `--import` flag. Please update your start command to avoid initializing Sentry |
| 27 | +twice (BREAKING CHANGE).** The SDK will now apply modifications during the build of your application to allow for |
| 28 | +patching of libraries during runtime. If run into issues with this change, you can disable this behavior in your |
| 29 | +`nuxt.config.ts` and use the `--import` flag instead: |
| 30 | + |
| 31 | +```js |
| 32 | +sentry: { |
| 33 | + dynamicImportForServerEntry: false; |
| 34 | +} |
| 35 | +``` |
| 36 | + |
| 37 | +- **feat(nuxt): Respect user-provided source map generation settings |
| 38 | + ([#14020](https://github.com/getsentry/sentry-javascript/pull/14020))** |
| 39 | + |
| 40 | +We now require you to explicitly enable sourcemaps for the clientside so that Sentry can un-minify your errors. We made |
| 41 | +this change so source maps aren't accidentally leaked to the public. Enable source maps on the client as follows: |
| 42 | + |
| 43 | +```js |
| 44 | +export default defineNuxtConfig({ |
| 45 | + sourcemap: { |
| 46 | + client: true, |
| 47 | + }, |
| 48 | +}); |
| 49 | +``` |
| 50 | + |
| 51 | +- feat(nuxt): Log server instrumentation might not work in dev |
| 52 | + ([#14021](https://github.com/getsentry/sentry-javascript/pull/14021)) |
| 53 | +- feat(nuxt): Add Http `responseHook` with `waitUntil` |
| 54 | + ([#13986](https://github.com/getsentry/sentry-javascript/pull/13986)) |
| 55 | + |
| 56 | +### Important Changes |
| 57 | + |
| 58 | +- **feat(vue): Add Pinia plugin ([#13841](https://github.com/getsentry/sentry-javascript/pull/13841))** |
| 59 | + |
| 60 | +Support for [Pinia](https://pinia.vuejs.org/) is added in this release for `@sentry/vue`. To capture Pinia state data, |
| 61 | +add `createSentryPiniaPlugin()` to your Pinia store: |
| 62 | + |
| 63 | +```javascript |
| 64 | +import { createPinia } from 'pinia'; |
| 65 | +import { createSentryPiniaPlugin } from '@sentry/vue'; |
| 66 | + |
| 67 | +const pinia = createPinia(); |
| 68 | + |
| 69 | +pinia.use(createSentryPiniaPlugin()); |
| 70 | +``` |
| 71 | + |
| 72 | +- **feat(node): Implement Sentry-specific http instrumentation |
| 73 | + ([#13763](https://github.com/getsentry/sentry-javascript/pull/13763))** |
| 74 | + |
| 75 | +This change introduces a new `SentryHttpInstrumentation` to handle non-span related HTTP instrumentation, allowing it to |
| 76 | +run side-by-side with OTel's `HttpInstrumentation`. This improves support for custom OTel setups and avoids conflicts |
| 77 | +with Sentry's instrumentation. Additionally, the `spans: false` option is reintroduced for `httpIntegration` to disable |
| 78 | +span emission while still allowing custom `HttpInstrumentation` instances (`httpIntegration({ spans: false })`). |
| 79 | + |
13 | 80 | - **feat(core): Make stream instrumentation opt-in
|
14 | 81 | ([#13951](https://github.com/getsentry/sentry-javascript/pull/13951))**
|
15 | 82 |
|
16 | 83 | This change adds a new option `trackFetchStreamPerformance` to the browser tracing integration. Only when set to `true`,
|
17 | 84 | Sentry will instrument streams via fetch.
|
18 | 85 |
|
| 86 | +### Other Changes |
| 87 | + |
| 88 | +- feat(node): Expose `suppressTracing` API ([#13875](https://github.com/getsentry/sentry-javascript/pull/13875)) |
| 89 | +- feat(replay): Do not log "timeout while trying to read resp body" as exception |
| 90 | + ([#13965](https://github.com/getsentry/sentry-javascript/pull/13965)) |
| 91 | +- chore(node): Bump `@opentelemetry/instrumentation-express` to `0.43.0` |
| 92 | + ([#13948](https://github.com/getsentry/sentry-javascript/pull/13948)) |
| 93 | +- chore(node): Bump `@opentelemetry/instrumentation-fastify` to `0.40.0` |
| 94 | + ([#13983](https://github.com/getsentry/sentry-javascript/pull/13983)) |
| 95 | +- fix: Ensure type for `init` is correct in meta frameworks |
| 96 | + ([#13938](https://github.com/getsentry/sentry-javascript/pull/13938)) |
| 97 | +- fix(core): `.set` the `sentry-trace` header instead of `.append`ing in fetch instrumentation |
| 98 | + ([#13907](https://github.com/getsentry/sentry-javascript/pull/13907)) |
| 99 | +- fix(module): keep version for node ESM package ([#13922](https://github.com/getsentry/sentry-javascript/pull/13922)) |
| 100 | +- fix(node): Ensure `ignoreOutgoingRequests` of `httpIntegration` applies to breadcrumbs |
| 101 | + ([#13970](https://github.com/getsentry/sentry-javascript/pull/13970)) |
| 102 | +- fix(replay): Fix onError sampling when loading an expired buffered session |
| 103 | + ([#13962](https://github.com/getsentry/sentry-javascript/pull/13962)) |
| 104 | +- fix(replay): Ignore older performance entries when starting manually |
| 105 | + ([#13969](https://github.com/getsentry/sentry-javascript/pull/13969)) |
| 106 | +- perf(node): Truncate breadcrumb messages created by console integration |
| 107 | + ([#14006](https://github.com/getsentry/sentry-javascript/pull/14006)) |
| 108 | + |
19 | 109 | Work in this release was contributed by @ZakrepaShe and @zhiyan114. Thank you for your contributions!
|
20 | 110 |
|
21 | 111 | ## 8.34.0
|
|
0 commit comments