Skip to content

Commit cdb920b

Browse files
committed
Merge branch 'develop' into bete/mcp-server-semantic-convention-fill
2 parents 1f48e0d + cc8cd7e commit cdb920b

File tree

127 files changed

+1010
-413
lines changed

Some content is hidden

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

127 files changed

+1010
-413
lines changed

CHANGELOG.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,21 @@
44

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

7+
Work in this release was contributed by @janpapenbrock. Thank you for your contribution!
8+
9+
## 9.38.0
10+
11+
### Important Changes
12+
13+
- **chore: Add craft entry for @sentry/node-native ([#16907](https://github.com/getsentry/sentry-javascript/pull/16907))**
14+
15+
This release publishes the `@sentry/node-native` SDK.
16+
17+
### Other Changes
18+
19+
- feat(core): Introduce `debug` to replace `logger` ([#16906](https://github.com/getsentry/sentry-javascript/pull/16906))
20+
- fix(browser): Guard `nextHopProtocol` when adding resource spans ([#16900](https://github.com/getsentry/sentry-javascript/pull/16900))
21+
722
## 9.37.0
823

924
### 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.37.0",
3+
"version": "9.38.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -43,7 +43,7 @@
4343
"@babel/preset-typescript": "^7.16.7",
4444
"@playwright/test": "~1.53.2",
4545
"@sentry-internal/rrweb": "2.34.0",
46-
"@sentry/browser": "9.37.0",
46+
"@sentry/browser": "9.38.0",
4747
"@supabase/supabase-js": "2.49.3",
4848
"axios": "1.8.2",
4949
"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.37.0",
3+
"version": "9.38.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.37.0",
4+
"version": "9.38.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.37.0",
3+
"version": "9.38.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/e2e-tests/run.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ async function run(): Promise<void> {
8484
const cwd = tmpDirPath;
8585

8686
console.log(`Building ${testAppPath} in ${tmpDirPath}...`);
87-
await asyncExec('pnpm test:build', { env, cwd });
87+
await asyncExec('volta run pnpm test:build', { env, cwd });
8888

8989
console.log(`Testing ${testAppPath}...`);
90-
await asyncExec('pnpm test:assert', { env, cwd });
90+
await asyncExec('volta run pnpm test:assert', { env, cwd });
9191

9292
// clean up (although this is tmp, still nice to do)
9393
await rm(tmpDirPath, { recursive: true });

dev-packages/e2e-tests/test-applications/nextjs-15/tests/ai-test.test.ts

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,34 +31,34 @@ test('should create AI spans with correct attributes', async ({ page }) => {
3131

3232
// First AI call - should have telemetry enabled and record inputs/outputs (sendDefaultPii: true)
3333
/* const firstPipelineSpan = aiPipelineSpans[0];
34-
expect(firstPipelineSpan?.data?.['ai.model.id']).toBe('mock-model-id');
35-
expect(firstPipelineSpan?.data?.['ai.model.provider']).toBe('mock-provider');
36-
expect(firstPipelineSpan?.data?.['ai.prompt']).toContain('Where is the first span?');
34+
expect(firstPipelineSpan?.data?.['vercel.ai.model.id']).toBe('mock-model-id');
35+
expect(firstPipelineSpan?.data?.['vercel.ai.model.provider']).toBe('mock-provider');
36+
expect(firstPipelineSpan?.data?.['vercel.ai.prompt']).toContain('Where is the first span?');
3737
expect(firstPipelineSpan?.data?.['gen_ai.response.text']).toBe('First span here!');
3838
expect(firstPipelineSpan?.data?.['gen_ai.usage.input_tokens']).toBe(10);
3939
expect(firstPipelineSpan?.data?.['gen_ai.usage.output_tokens']).toBe(20); */
4040

4141
// Second AI call - explicitly enabled telemetry
4242
const secondPipelineSpan = aiPipelineSpans[0];
43-
expect(secondPipelineSpan?.data?.['ai.prompt']).toContain('Where is the second span?');
43+
expect(secondPipelineSpan?.data?.['vercel.ai.prompt']).toContain('Where is the second span?');
4444
expect(secondPipelineSpan?.data?.['gen_ai.response.text']).toContain('Second span here!');
4545

4646
// Third AI call - with tool calls
4747
/* const thirdPipelineSpan = aiPipelineSpans[2];
48-
expect(thirdPipelineSpan?.data?.['ai.response.finishReason']).toBe('tool-calls');
48+
expect(thirdPipelineSpan?.data?.['vercel.ai.response.finishReason']).toBe('tool-calls');
4949
expect(thirdPipelineSpan?.data?.['gen_ai.usage.input_tokens']).toBe(15);
5050
expect(thirdPipelineSpan?.data?.['gen_ai.usage.output_tokens']).toBe(25); */
5151

5252
// Tool call span
5353
/* const toolSpan = toolCallSpans[0];
54-
expect(toolSpan?.data?.['ai.toolCall.name']).toBe('getWeather');
55-
expect(toolSpan?.data?.['ai.toolCall.id']).toBe('call-1');
56-
expect(toolSpan?.data?.['ai.toolCall.args']).toContain('San Francisco');
57-
expect(toolSpan?.data?.['ai.toolCall.result']).toContain('Sunny, 72°F'); */
54+
expect(toolSpan?.data?.['vercel.ai.toolCall.name']).toBe('getWeather');
55+
expect(toolSpan?.data?.['vercel.ai.toolCall.id']).toBe('call-1');
56+
expect(toolSpan?.data?.['vercel.ai.toolCall.args']).toContain('San Francisco');
57+
expect(toolSpan?.data?.['vercel.ai.toolCall.result']).toContain('Sunny, 72°F'); */
5858

5959
// Verify the fourth call was not captured (telemetry disabled)
6060
const promptsInSpans = spans
61-
.map(span => span.data?.['ai.prompt'])
61+
.map(span => span.data?.['vercel.ai.prompt'])
6262
.filter((prompt): prompt is string => prompt !== undefined);
6363
const hasDisabledPrompt = promptsInSpans.some(prompt => prompt.includes('Where is the third span?'));
6464
expect(hasDisabledPrompt).toBe(false);

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.37.0",
4+
"version": "9.38.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-core-integration-tests",
3-
"version": "9.37.0",
3+
"version": "9.38.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -34,8 +34,8 @@
3434
"@opentelemetry/resources": "^1.30.1",
3535
"@opentelemetry/sdk-trace-base": "^1.30.1",
3636
"@opentelemetry/semantic-conventions": "^1.34.0",
37-
"@sentry/core": "9.37.0",
38-
"@sentry/node-core": "9.37.0",
37+
"@sentry/core": "9.38.0",
38+
"@sentry/node-core": "9.38.0",
3939
"body-parser": "^1.20.3",
4040
"cors": "^2.8.5",
4141
"cron": "^3.1.6",

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.37.0",
3+
"version": "9.38.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -30,9 +30,9 @@
3030
"@nestjs/common": "11.1.3",
3131
"@nestjs/core": "11.1.3",
3232
"@nestjs/platform-express": "11.1.3",
33-
"@sentry/aws-serverless": "9.37.0",
34-
"@sentry/core": "9.37.0",
35-
"@sentry/node": "9.37.0",
33+
"@sentry/aws-serverless": "9.38.0",
34+
"@sentry/core": "9.38.0",
35+
"@sentry/node": "9.38.0",
3636
"@types/mongodb": "^3.6.20",
3737
"@types/mysql": "^2.15.21",
3838
"@types/pg": "^8.6.5",

0 commit comments

Comments
 (0)