|
4 | 4 |
|
5 | 5 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott |
6 | 6 |
|
7 | | -- **feat(tanstackstart-react): Add `wrapMiddlewaresWithSentry` for manual middleware instrumentation** |
| 7 | +- **feat(tanstackstart-react): Add `sentryTanstackStart` Vite plugin for source maps upload** |
| 8 | + |
| 9 | + You can now configure source maps upload for TanStack Start using the `sentryTanstackStart` Vite plugin: |
| 10 | + |
| 11 | + ```ts |
| 12 | + // vite.config.ts |
| 13 | + import { defineConfig } from 'vite'; |
| 14 | + import { sentryTanstackStart } from '@sentry/tanstackstart-react'; |
| 15 | + import { tanstackStart } from '@tanstack/react-start/plugin/vite'; |
| 16 | + |
| 17 | + export default defineConfig({ |
| 18 | + plugins: [ |
| 19 | + sentryTanstackStart({ |
| 20 | + authToken: process.env.SENTRY_AUTH_TOKEN, |
| 21 | + org: 'your-org', |
| 22 | + project: 'your-project', |
| 23 | + }), |
| 24 | + tanstackStart(), |
| 25 | + ], |
| 26 | + }); |
| 27 | + ``` |
| 28 | + |
| 29 | +Work in this release was contributed by @rreckonerr. Thank you for your contribution! |
| 30 | + |
| 31 | +## 10.34.0 |
| 32 | + |
| 33 | +### Important Changes |
| 34 | + |
| 35 | +- **feat(core): Add option to enhance the fetch error message ([#18466](https://github.com/getsentry/sentry-javascript/pull/18466))** |
| 36 | + |
| 37 | + You can now enable enhanced fetch error messages by setting the `enhancedFetchErrorMessage` option. When enabled, the SDK will include additional context in fetch error messages to help with debugging. |
| 38 | + |
| 39 | +- **feat(nextjs): Add routeManifestInjection option to exclude routes from client bundle ([#18798](https://github.com/getsentry/sentry-javascript/pull/18798))** |
| 40 | + |
| 41 | + A new `routeManifestInjection` option allows you to exclude sensitive routes from being injected into the client bundle. |
| 42 | + |
| 43 | +- **feat(tanstackstart-react): Add `wrapMiddlewaresWithSentry` for manual middleware instrumentation ([#18680](https://github.com/getsentry/sentry-javascript/pull/18680))** |
8 | 44 |
|
9 | 45 | You can now wrap your middlewares using `wrapMiddlewaresWithSentry`, allowing you to trace middleware execution in your TanStack Start application. |
10 | 46 |
|
|
20 | 56 | export const [wrappedLoggingMiddleware] = wrapMiddlewaresWithSentry({ loggingMiddleware }); |
21 | 57 | ``` |
22 | 58 |
|
| 59 | +### Other Changes |
| 60 | + |
| 61 | +- feat(browser): Add CDN bundle for `tracing.logs.metrics` ([#18784](https://github.com/getsentry/sentry-javascript/pull/18784)) |
| 62 | +- feat(core,node-core): Consolidate bun and node types with ServerRuntimeOptions ([#18734](https://github.com/getsentry/sentry-javascript/pull/18734)) |
| 63 | +- feat(nextjs): Remove tracing from generation function template ([#18733](https://github.com/getsentry/sentry-javascript/pull/18733)) |
| 64 | +- fix(core): Don't record outcomes for failed client reports ([#18808](https://github.com/getsentry/sentry-javascript/pull/18808)) |
| 65 | +- fix(deno,cloudflare): Prioritize name from params over name from options ([#18800](https://github.com/getsentry/sentry-javascript/pull/18800)) |
| 66 | +- fix(web-vitals): Add error handling for invalid object keys in `WeakMap` ([#18809](https://github.com/getsentry/sentry-javascript/pull/18809)) |
| 67 | + |
| 68 | +<details> |
| 69 | + <summary><strong>Internal Changes</strong></summary> |
| 70 | + |
| 71 | +- ref(nextjs): Split `withSentryConfig` ([#18777](https://github.com/getsentry/sentry-javascript/pull/18777)) |
| 72 | +- test(e2e): Pin @shopify/remix-oxygen to unblock ci ([#18811](https://github.com/getsentry/sentry-javascript/pull/18811)) |
| 73 | + |
| 74 | +</details> |
| 75 | + |
23 | 76 | ## 10.33.0 |
24 | 77 |
|
25 | 78 | ### Important Changes |
|
0 commit comments