|
10 | 10 |
|
11 | 11 | - "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott |
12 | 12 |
|
| 13 | +## 9.15.0 |
| 14 | + |
| 15 | +### Important Changes |
| 16 | + |
| 17 | +- **feat: Export `wrapMcpServerWithSentry` from server packages ([#16127](https://github.com/getsentry/sentry-javascript/pull/16127))** |
| 18 | + |
| 19 | +Exports the wrapMcpServerWithSentry which is our MCP server instrumentation from all the server packages. |
| 20 | + |
| 21 | +- **feat(core): Associate resource/tool/prompt invocations with request span instead of response span ([#16126](https://github.com/getsentry/sentry-javascript/pull/16126))** |
| 22 | + |
| 23 | +Adds a best effort mechanism to associate handler spans for `resource`, `tool` and `prompt` with the incoming message requests instead of the outgoing SSE response. |
| 24 | + |
| 25 | +### Other Changes |
| 26 | + |
| 27 | +- fix: Vercel `ai` ESM patching ([#16152](https://github.com/getsentry/sentry-javascript/pull/16152)) |
| 28 | +- fix(node): Update version range for `module.register` ([#16125](https://github.com/getsentry/sentry-javascript/pull/16125)) |
| 29 | +- fix(react-router): Spread `unstable_sentryVitePluginOptions` correctly ([#16156](https://github.com/getsentry/sentry-javascript/pull/16156)) |
| 30 | +- fix(react): Fix Redux integration failing with reducer injection ([#16106](https://github.com/getsentry/sentry-javascript/pull/16106)) |
| 31 | +- fix(remix): Add ESM-compatible exports ([#16124](https://github.com/getsentry/sentry-javascript/pull/16124)) |
| 32 | +- fix(remix): Avoid rewrapping root loader. ([#16136](https://github.com/getsentry/sentry-javascript/pull/16136)) |
| 33 | + |
| 34 | +Work in this release was contributed by @AntoineDuComptoirDesPharmacies. Thank you for your contribution! |
| 35 | + |
| 36 | +## 9.14.0 |
| 37 | + |
| 38 | +### Important Changes |
| 39 | + |
| 40 | +- **feat: Add Supabase Integration ([#15719](https://github.com/getsentry/sentry-javascript/pull/15719))** |
| 41 | + |
| 42 | +This PR adds Supabase integration to `@sentry/core`, allowing automatic instrumentation of Supabase client operations (database queries and authentication) for performance monitoring and error tracking. |
| 43 | + |
| 44 | +- **feat(nestjs): Gracefully handle RPC scenarios in `SentryGlobalFilter` ([#16066](https://github.com/getsentry/sentry-javascript/pull/16066))** |
| 45 | + |
| 46 | +This PR adds better RPC exception handling to `@sentry/nestjs`, preventing application crashes while still capturing errors and warning users when a dedicated filter is needed. The implementation gracefully handles the 'rpc' context type in `SentryGlobalFilter` to improve reliability in hybrid applications. |
| 47 | + |
| 48 | +- **feat(react-router): Trace propagation ([#16070](https://github.com/getsentry/sentry-javascript/pull/16070))** |
| 49 | + |
| 50 | +This PR adds trace propagation to `@sentry/react-router` by providing utilities to inject trace meta tags into HTML headers and offering a pre-built Sentry-instrumented request handler, improving distributed tracing capabilities across page loads. |
| 51 | + |
| 52 | +### Other Changes |
| 53 | + |
| 54 | +- feat(deps): Bump @prisma/instrumentation from 6.5.0 to 6.6.0 ([#16102](https://github.com/getsentry/sentry-javascript/pull/16102)) |
| 55 | +- feat(nextjs): Improve server component data ([#15996](https://github.com/getsentry/sentry-javascript/pull/15996)) |
| 56 | +- feat(nuxt): Log when adding HTML trace meta tags ([#16044](https://github.com/getsentry/sentry-javascript/pull/16044)) |
| 57 | +- fix(node): Make body capturing more robust ([#16105](https://github.com/getsentry/sentry-javascript/pull/16105)) |
| 58 | +- ref(node): Log when incoming request bodies are being captured ([#16104](https://github.com/getsentry/sentry-javascript/pull/16104)) |
| 59 | + |
| 60 | +## 9.13.0 |
| 61 | + |
| 62 | +### Important Changes |
| 63 | + |
| 64 | +- **feat(node): Add support for winston logger ([#15983](https://github.com/getsentry/sentry-javascript/pull/15983))** |
| 65 | + |
| 66 | + Sentry is adding support for [structured logging](https://github.com/getsentry/sentry-javascript/discussions/15916). In this release we've added support for sending logs to Sentry via the [winston](https://github.com/winstonjs/winston) logger to the Sentry Node SDK (and SDKs that use the Node SDK under the hood like `@sentry/nestjs`). The Logging APIs in the Sentry SDK are still experimental and subject to change. |
| 67 | + |
| 68 | + ```js |
| 69 | + const winston = require('winston'); |
| 70 | + const Transport = require('winston-transport'); |
| 71 | + |
| 72 | + const transport = Sentry.createSentryWinstonTransport(Transport); |
| 73 | + |
| 74 | + const logger = winston.createLogger({ |
| 75 | + transports: [transport], |
| 76 | + }); |
| 77 | + ``` |
| 78 | + |
| 79 | +- **feat(core): Add `wrapMcpServerWithSentry` to instrument MCP servers from `@modelcontextprotocol/sdk` ([#16032](https://github.com/getsentry/sentry-javascript/pull/16032))** |
| 80 | + |
| 81 | + The Sentry SDK now supports instrumenting MCP servers from the `@modelcontextprotocol/sdk` package. Compatible with versions `^1.9.0` of the `@modelcontextprotocol/sdk` package. |
| 82 | + |
| 83 | + ```js |
| 84 | + import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js'; |
| 85 | + |
| 86 | + // Create an MCP server |
| 87 | + const server = new McpServer({ |
| 88 | + name: 'Demo', |
| 89 | + version: '1.0.0', |
| 90 | + }); |
| 91 | + |
| 92 | + // Use the instrumented server in your application |
| 93 | + const instrumentedServer = Sentry.wrapMcpServerWithSentry(server); |
| 94 | + ``` |
| 95 | + |
| 96 | +- **feat(core): Move console integration into core and add to cloudflare/vercel-edge ([#16024](https://github.com/getsentry/sentry-javascript/pull/16024))** |
| 97 | + |
| 98 | + Console instrumentation has been added to `@sentry/cloudflare` and `@sentry/nextjs` Edge Runtime and is enabled by default. Now calls to the console object will be captured as breadcrumbs for those SDKs. |
| 99 | + |
| 100 | +- **feat(bun): Support new `Bun.serve` APIs ([#16035](https://github.com/getsentry/sentry-javascript/pull/16035))** |
| 101 | + |
| 102 | + Bun `1.2.6` and above have a new `Bun.serve` API, which the Bun SDK now supports. The SDK instruments the new routes object that can be used to define routes for the server. |
| 103 | + |
| 104 | + Thanks to @Jarred-Sumner for helping us get this supported! |
| 105 | + |
| 106 | +### Other Changes |
| 107 | + |
| 108 | +- feat(browser): Warn on duplicate `browserTracingIntegration` ([#16042](https://github.com/getsentry/sentry-javascript/pull/16042)) |
| 109 | +- feat(core): Allow delayed sending with offline transport ([#15937](https://github.com/getsentry/sentry-javascript/pull/15937)) |
| 110 | +- feat(deps): Bump @sentry/webpack-plugin from 3.2.4 to 3.3.1 ([#16057](https://github.com/getsentry/sentry-javascript/pull/16057)) |
| 111 | +- feat(vue): Apply stateTransformer to attachments in Pinia Plugin ([#16034](https://github.com/getsentry/sentry-javascript/pull/16034)) |
| 112 | +- fix(core): Run `beforeSendLog` after we process log ([#16019](https://github.com/getsentry/sentry-javascript/pull/16019)) |
| 113 | +- fix(nextjs): Don't show turbopack warning for newer Next.js canaries ([#16065](https://github.com/getsentry/sentry-javascript/pull/16065)) |
| 114 | +- fix(nextjs): Include patch version 0 for min supported 15.3.0 ([#16026](https://github.com/getsentry/sentry-javascript/pull/16026)) |
| 115 | +- fix(node): Ensure late init works with all integrations ([#16016](https://github.com/getsentry/sentry-javascript/pull/16016)) |
| 116 | +- fix(react-router): Pass `unstable_sentryVitePluginOptions` to cli instance ([#16033](https://github.com/getsentry/sentry-javascript/pull/16033)) |
| 117 | +- fix(serverless-aws): Overwrite root span name with GraphQL if set ([#16010](https://github.com/getsentry/sentry-javascript/pull/16010)) |
| 118 | + |
13 | 119 | ## 9.12.0 |
14 | 120 |
|
15 | 121 | ### Important Changes |
|
0 commit comments