Skip to content

Commit 2c638eb

Browse files
author
Luca Forstner
authored
Merge branch 'develop' into onur/supabase-integration
2 parents 9c2aa4d + 3bc1923 commit 2c638eb

File tree

52 files changed

+237
-152
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+237
-152
lines changed

.github/workflows/issue-package-label.yml

Lines changed: 37 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
"@sentry.bun": {
4545
"label": "Bun"
4646
},
47-
"@sentry.cloudflare - hono": {
47+
"@sentry.cloudflare.-.hono": {
4848
"label": "Hono"
4949
},
5050
"@sentry.cloudflare": {
@@ -68,20 +68,20 @@ jobs:
6868
"@sentry.nextjs": {
6969
"label": "Next.js"
7070
},
71-
"@sentry.node - express": {
71+
"@sentry.node.-.express": {
7272
"label": "Express"
7373
},
74-
"@sentry.node - fastify": {
74+
"@sentry.node.-.fastify": {
7575
"label": "Fastify"
7676
},
77-
"@sentry.node - koa": {
77+
"@sentry.node.-.koa": {
7878
"label": "Koa"
7979
},
80-
"@sentry.node - hapi": {
81-
"label": "Hapi
80+
"@sentry.node.-.hapi": {
81+
"label": "Hapi"
8282
},
83-
"@sentry.node - connect": {
84-
"label": "Connect
83+
"@sentry.node.-.connect": {
84+
"label": "Connect"
8585
},
8686
"@sentry.node": {
8787
"label": "Node.js"
@@ -90,7 +90,7 @@ jobs:
9090
"label": "Nuxt"
9191
},
9292
"@sentry.react-router": {
93-
"label": "React Router Framework "
93+
"label": "React Router Framework"
9494
},
9595
"@sentry.react": {
9696
"label": "React"
@@ -120,10 +120,10 @@ jobs:
120120
"label": "WASM"
121121
},
122122
"Sentry.Browser.Loader": {
123-
"label": "Browser\nLoader Script"
123+
"label": "Browser"
124124
},
125125
"Sentry.Browser.CDN.bundle": {
126-
"label": "Browser\nCDN Bundle"
126+
"label": "Browser"
127127
}
128128
}
129129
export_to: output
@@ -134,3 +134,29 @@ jobs:
134134
uses: actions-ecosystem/action-add-labels@v1
135135
with:
136136
labels: ${{ steps.packageLabel.outputs.label }}
137+
138+
- name: Map additional to issue label
139+
# https://github.com/kanga333/variable-mapper
140+
uses: kanga333/[email protected]
141+
id: additionalLabel
142+
if: steps.packageName.outputs.match != ''
143+
with:
144+
key: '${{ steps.packageName.outputs.group1 }}'
145+
# Note: Since this is handled as a regex, and JSON parse wrangles slashes /, we just use `.` instead
146+
map: |
147+
{
148+
"Sentry.Browser.Loader": {
149+
"label": "Loader Script"
150+
},
151+
"Sentry.Browser.CDN.bundle": {
152+
"label": "CDN Bundle"
153+
}
154+
}
155+
export_to: output
156+
157+
- name: Add additional label if applicable
158+
# Note: We only add the label if the issue is still open
159+
if: steps.additionalLabel.outputs.label != ''
160+
uses: actions-ecosystem/action-add-labels@v1
161+
with:
162+
labels: ${{ steps.additionalLabel.outputs.label }}

CHANGELOG.md

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,65 @@
1010

1111
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
1212

13+
## 9.13.0
14+
15+
### Important Changes
16+
17+
- **feat(node): Add support for winston logger ([#15983](https://github.com/getsentry/sentry-javascript/pull/15983))**
18+
19+
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.
20+
21+
```js
22+
const winston = require('winston');
23+
const Transport = require('winston-transport');
24+
25+
const transport = Sentry.createSentryWinstonTransport(Transport);
26+
27+
const logger = winston.createLogger({
28+
transports: [transport],
29+
});
30+
```
31+
32+
- **feat(core): Add `wrapMcpServerWithSentry` to instrument MCP servers from `@modelcontextprotocol/sdk` ([#16032](https://github.com/getsentry/sentry-javascript/pull/16032))**
33+
34+
The Sentry SDK now supports instrumenting MCP servers from the `@modelcontextprotocol/sdk` package. Compatible with versions `^1.9.0` of the `@modelcontextprotocol/sdk` package.
35+
36+
```js
37+
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
38+
39+
// Create an MCP server
40+
const server = new McpServer({
41+
name: 'Demo',
42+
version: '1.0.0',
43+
});
44+
45+
// Use the instrumented server in your application
46+
const instrumentedServer = Sentry.wrapMcpServerWithSentry(server);
47+
```
48+
49+
- **feat(core): Move console integration into core and add to cloudflare/vercel-edge ([#16024](https://github.com/getsentry/sentry-javascript/pull/16024))**
50+
51+
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.
52+
53+
- **feat(bun): Support new `Bun.serve` APIs ([#16035](https://github.com/getsentry/sentry-javascript/pull/16035))**
54+
55+
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.
56+
57+
Thanks to @Jarred-Sumner for helping us get this supported!
58+
59+
### Other Changes
60+
61+
- feat(browser): Warn on duplicate `browserTracingIntegration` ([#16042](https://github.com/getsentry/sentry-javascript/pull/16042))
62+
- feat(core): Allow delayed sending with offline transport ([#15937](https://github.com/getsentry/sentry-javascript/pull/15937))
63+
- feat(deps): Bump @sentry/webpack-plugin from 3.2.4 to 3.3.1 ([#16057](https://github.com/getsentry/sentry-javascript/pull/16057))
64+
- feat(vue): Apply stateTransformer to attachments in Pinia Plugin ([#16034](https://github.com/getsentry/sentry-javascript/pull/16034))
65+
- fix(core): Run `beforeSendLog` after we process log ([#16019](https://github.com/getsentry/sentry-javascript/pull/16019))
66+
- fix(nextjs): Don't show turbopack warning for newer Next.js canaries ([#16065](https://github.com/getsentry/sentry-javascript/pull/16065))
67+
- fix(nextjs): Include patch version 0 for min supported 15.3.0 ([#16026](https://github.com/getsentry/sentry-javascript/pull/16026))
68+
- fix(node): Ensure late init works with all integrations ([#16016](https://github.com/getsentry/sentry-javascript/pull/16016))
69+
- fix(react-router): Pass `unstable_sentryVitePluginOptions` to cli instance ([#16033](https://github.com/getsentry/sentry-javascript/pull/16033))
70+
- fix(serverless-aws): Overwrite root span name with GraphQL if set ([#16010](https://github.com/getsentry/sentry-javascript/pull/16010))
71+
1372
## 9.12.0
1473

1574
### Important Changes

dev-packages/browser-integration-tests/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/browser-integration-tests",
3-
"version": "9.12.0",
3+
"version": "9.13.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -42,7 +42,7 @@
4242
"@babel/preset-typescript": "^7.16.7",
4343
"@playwright/test": "~1.50.0",
4444
"@sentry-internal/rrweb": "2.34.0",
45-
"@sentry/browser": "9.12.0",
45+
"@sentry/browser": "9.13.0",
4646
"@supabase/supabase-js": "2.49.3",
4747
"axios": "1.8.2",
4848
"babel-loader": "^8.2.2",

dev-packages/bundle-analyzer-scenarios/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bundle-analyzer-scenarios",
3-
"version": "9.12.0",
3+
"version": "9.13.0",
44
"description": "Scenarios to test bundle analysis with",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/dev-packages/bundle-analyzer-scenarios",

dev-packages/clear-cache-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/clear-cache-gh-action",
33
"description": "An internal Github Action to clear GitHub caches.",
4-
"version": "9.12.0",
4+
"version": "9.13.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/e2e-tests/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/e2e-tests",
3-
"version": "9.12.0",
3+
"version": "9.13.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/external-contributor-gh-action/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@sentry-internal/external-contributor-gh-action",
33
"description": "An internal Github Action to add external contributors to the CHANGELOG.md file.",
4-
"version": "9.12.0",
4+
"version": "9.13.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/node-integration-tests/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-integration-tests",
3-
"version": "9.12.0",
3+
"version": "9.13.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -30,9 +30,9 @@
3030
"@nestjs/common": "11.0.16",
3131
"@nestjs/core": "10.4.6",
3232
"@nestjs/platform-express": "10.4.6",
33-
"@sentry/aws-serverless": "9.12.0",
34-
"@sentry/core": "9.12.0",
35-
"@sentry/node": "9.12.0",
33+
"@sentry/aws-serverless": "9.13.0",
34+
"@sentry/core": "9.13.0",
35+
"@sentry/node": "9.13.0",
3636
"@types/mongodb": "^3.6.20",
3737
"@types/mysql": "^2.15.21",
3838
"@types/pg": "^8.6.5",

dev-packages/node-integration-tests/suites/anr/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ const ANR_EVENT_WITH_DEBUG_META: Event = {
107107
},
108108
};
109109

110-
describe('should report ANR when event loop blocked', () => {
110+
describe('should report ANR when event loop blocked', { timeout: 60_000 }, () => {
111111
afterAll(() => {
112112
cleanupChildProcesses();
113113
});

dev-packages/rollup-utils/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/rollup-utils",
3-
"version": "9.12.0",
3+
"version": "9.13.0",
44
"description": "Rollup utilities used at Sentry for the Sentry JavaScript SDK",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/rollup-utils",

0 commit comments

Comments
 (0)