Skip to content

Commit fa38591

Browse files
Merge pull request #25128 from getsentry/master
[Gitflow] Merge master into develop
2 parents a218427 + 4c3386a commit fa38591

69 files changed

Lines changed: 341 additions & 255 deletions

File tree

Some content is hidden

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

‎.version.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"_comment": "Auto-generated by scripts/bump-version.js. Used by the gitflow sync workflow to detect version bumps. Do not edit manually.",
3-
"version": "11.4.0"
3+
"version": "11.5.0"
44
}

‎CHANGELOG.md‎

Lines changed: 88 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,94 @@
44

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

7+
## 11.5.0
8+
9+
### Important Changes
10+
11+
- **feat(core): Warn on repeated `Sentry.init()` and unbind the client on `close()` ([#24962](https://github.com/getsentry/sentry-javascript/pull/24962))**
12+
13+
`Sentry.init()` now warns when it runs while a client is still active. For now, the new client still replaces the active client, but the active client is not closed, so state from both can mix. Call `Sentry.init()` once, or call `await Sentry.close()` before you call it again. `Sentry.close()` now unbinds the client it closes, so after `close()`, `getClient()` returns `undefined`, `isInitialized()` returns `false`, and a later `init()` sets up a new client. In `@sentry/cloudflare`, later requests no longer reuse the isolate's cached client once it is closed or closing. On the server, `@sentry/nextjs` and `@sentry/remix` now return the active client from a repeated `init()` call, not `undefined`.
14+
15+
### Other Changes
16+
17+
- chore(deps): Bump rrweb to 2.44.1 ([#25100](https://github.com/getsentry/sentry-javascript/pull/25100))
18+
- chore(deps): Bump web-vitals to 6.2.3 ([#25062](https://github.com/getsentry/sentry-javascript/pull/25062))
19+
- feat(bun): keep server spans open until streaming responses finish ([#25025](https://github.com/getsentry/sentry-javascript/pull/25025))
20+
- feat(langchain): Derive gen_ai.conversation.id from the invoke config ([#24831](https://github.com/getsentry/sentry-javascript/pull/24831))
21+
- feat(nextjs): Add `code.file.path` to `use cache` fill spans ([#24988](https://github.com/getsentry/sentry-javascript/pull/24988))
22+
- feat(react-router): Export createSentryServerInstrumentation from the Cloudflare entry ([#25042](https://github.com/getsentry/sentry-javascript/pull/25042))
23+
- feat(remix): Parameterize Remix 3 navigation spans ([#25045](https://github.com/getsentry/sentry-javascript/pull/25045))
24+
- feat(remix): Parameterize Remix 3 page load spans ([#25053](https://github.com/getsentry/sentry-javascript/pull/25053))
25+
- feat(remix): Report the matched route on Remix 3 HTML responses ([#25052](https://github.com/getsentry/sentry-javascript/pull/25052))
26+
- fix(ai): Normalize token usage and preserve cache breakdowns ([#25074](https://github.com/getsentry/sentry-javascript/pull/25074))
27+
- fix(browser-utils): Handle NS_ERROR_NOT_INITIALIZED from setTimeout in Firefox ([#25024](https://github.com/getsentry/sentry-javascript/pull/25024))
28+
- fix(bun): Add conversationIdIntegration to the default integrations ([#25003](https://github.com/getsentry/sentry-javascript/pull/25003))
29+
- fix(cloudflare): Detect TypeSafe Jev calls in Workers AI by model ID ([#25033](https://github.com/getsentry/sentry-javascript/pull/25033))
30+
- fix(cloudflare): Keep an installed OpenTelemetry async context strategy ([#24995](https://github.com/getsentry/sentry-javascript/pull/24995))
31+
- fix(feedback): Correct overlapping screenshot annotations and drag dimming ([#25040](https://github.com/getsentry/sentry-javascript/pull/25040))
32+
- fix(nextjs): Don't capture forbidden() and unauthorized() as errors ([#25088](https://github.com/getsentry/sentry-javascript/pull/25088))
33+
- fix(nextjs): Include basePath in request url of Pages Router errors ([#24985](https://github.com/getsentry/sentry-javascript/pull/24985))
34+
- fix(nextjs): Skip `init` inside a request of `@sentry/cloudflare` ([#24996](https://github.com/getsentry/sentry-javascript/pull/24996))
35+
- fix(node): Flush telemetry before Vercel functions are suspended ([#24910](https://github.com/getsentry/sentry-javascript/pull/24910))
36+
- fix(nuxt): Do not inject debug IDs into the SSR build ([#25080](https://github.com/getsentry/sentry-javascript/pull/25080))
37+
- fix(react-router): Pass the project when creating a release ([#25089](https://github.com/getsentry/sentry-javascript/pull/25089))
38+
- fix(remix): Pass the project when creating a release ([#25079](https://github.com/getsentry/sentry-javascript/pull/25079))
39+
- fix(server-utils): Derive the Vercel AI conversation id from the OpenAI conversation option ([#24979](https://github.com/getsentry/sentry-javascript/pull/24979))
40+
- fix(server-utils): Instrument the Vercel AI experimental_decide channel event ([#25068](https://github.com/getsentry/sentry-javascript/pull/25068))
41+
- fix(server-utils): Map Flue messages and token usage to the gen_ai conventions ([#24992](https://github.com/getsentry/sentry-javascript/pull/24992))
42+
- fix(server-utils): Record Vercel AI `experimental_telemetry.metadata` on gen_ai spans ([#24721](https://github.com/getsentry/sentry-javascript/pull/24721))
43+
- fix(sveltekit): Export consoleLoggingIntegration from worker entry ([#25061](https://github.com/getsentry/sentry-javascript/pull/25061))
44+
- fix(tanstackstart-react): Fix server route parametrization gaps ([#25071](https://github.com/getsentry/sentry-javascript/pull/25071))
45+
- ref(core): Deprecate SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN ([#25039](https://github.com/getsentry/sentry-javascript/pull/25039))
46+
- ref(core): Remove `beforeSendSpan` null return warning ([#24129](https://github.com/getsentry/sentry-javascript/pull/24129))
47+
48+
<details>
49+
<summary> <strong>Internal Changes</strong> </summary>
50+
51+
- chore: Add external contributor to CHANGELOG.md ([#25111](https://github.com/getsentry/sentry-javascript/pull/25111))
52+
- chore(bugbot): Flag hard-coded attribute names that have a conventions constant ([#25070](https://github.com/getsentry/sentry-javascript/pull/25070))
53+
- chore(deps-dev): bump nx from 22.7.7 to 22.7.10 ([#25075](https://github.com/getsentry/sentry-javascript/pull/25075))
54+
- chore(deps): Bump `@sentry/conventions` to 0.26.0 ([#25073](https://github.com/getsentry/sentry-javascript/pull/25073))
55+
- chore(github): Remove triage-issue workflow ([#25098](https://github.com/getsentry/sentry-javascript/pull/25098))
56+
- chore(skills): Drop bundler-plugins cross-repo search from triage-issue skill ([#25099](https://github.com/getsentry/sentry-javascript/pull/25099))
57+
- feat(deps): bump compression from 1.8.1 to 1.8.2 ([#25109](https://github.com/getsentry/sentry-javascript/pull/25109))
58+
- feat(deps): Bump js-yaml from 3.15.1 to 3.15.2 ([#24236](https://github.com/getsentry/sentry-javascript/pull/24236))
59+
- feat(deps): bump proxy-addr from 2.0.7 to 2.0.8 ([#25077](https://github.com/getsentry/sentry-javascript/pull/25077))
60+
- feat(deps): bump shell-quote from 1.10.0 to 1.12.0 ([#25108](https://github.com/getsentry/sentry-javascript/pull/25108))
61+
- feat(deps): bump source-map-js from 1.2.1 to 1.2.2 ([#25076](https://github.com/getsentry/sentry-javascript/pull/25076))
62+
- feat(deps): Bump svgo from 4.0.2 to 4.1.0 ([#24220](https://github.com/getsentry/sentry-javascript/pull/24220))
63+
- fix(deps): Bump seroval to 1.6.8 to fix two Dependabot alerts ([#25104](https://github.com/getsentry/sentry-javascript/pull/25104))
64+
- ref: Reuse `isObjectLike` for object guards ([#25058](https://github.com/getsentry/sentry-javascript/pull/25058))
65+
- ref(browser): Use SENTRY_ORIGIN convention constant ([#25037](https://github.com/getsentry/sentry-javascript/pull/25037))
66+
- ref(core): Use SENTRY_OP convention constant ([#24982](https://github.com/getsentry/sentry-javascript/pull/24982))
67+
- ref(core): Use SENTRY_ORIGIN convention constant in shared tracing ([#24983](https://github.com/getsentry/sentry-javascript/pull/24983))
68+
- ref(meta-frameworks): Use SENTRY_ORIGIN convention constant ([#25038](https://github.com/getsentry/sentry-javascript/pull/25038))
69+
- ref(nextjs): Move the server span hooks into `serverSpanHooks.ts` ([#24997](https://github.com/getsentry/sentry-javascript/pull/24997))
70+
- ref(server): Use SENTRY_ORIGIN convention constant ([#25036](https://github.com/getsentry/sentry-javascript/pull/25036))
71+
- test(aws-serverless): Port GraphQL test to span streaming ([#25056](https://github.com/getsentry/sentry-javascript/pull/25056))
72+
- test(browser): port general browser integration suites to default streaming ([#24876](https://github.com/getsentry/sentry-javascript/pull/24876))
73+
- test(bun): Port request-body tests to span streaming ([#25021](https://github.com/getsentry/sentry-javascript/pull/25021))
74+
- test(cloudflare): Add Workers AI tracing tests for Clef ([#25027](https://github.com/getsentry/sentry-javascript/pull/25027))
75+
- test(e2e): Add Bun, Deno and Cloudflare variants to react-router-8-framework ([#24598](https://github.com/getsentry/sentry-javascript/pull/24598))
76+
- test(e2e): Add eve test for Jev evaluate calls ([#25034](https://github.com/getsentry/sentry-javascript/pull/25034))
77+
- test(e2e): Bump bundler plugins to 5.4.1 in e2e test apps ([#25107](https://github.com/getsentry/sentry-javascript/pull/25107))
78+
- test(e2e): Cover isolation, trace propagation and logs on all react-router-8-framework runtimes ([#25041](https://github.com/getsentry/sentry-javascript/pull/25041))
79+
- test(e2e): Move react-router-8-cloudflare MySQL tests into react-router-8-framework ([#24599](https://github.com/getsentry/sentry-javascript/pull/24599))
80+
- test(e2e): Port Astro 5 Cloudflare to span streaming ([#25016](https://github.com/getsentry/sentry-javascript/pull/25016))
81+
- test(e2e): Raise mock Sentry server chunk size to fit whole bundles ([#25097](https://github.com/getsentry/sentry-javascript/pull/25097))
82+
- test(ember): Pin embroider packages away from broken releases ([#25066](https://github.com/getsentry/sentry-javascript/pull/25066))
83+
- test(nextjs): Expect use cache route handler file path on Turbopack ([#25117](https://github.com/getsentry/sentry-javascript/pull/25117))
84+
- test(nextjs): Pin nextjs-16-cf-workers latest variant to Next.js 16.3 ([#25118](https://github.com/getsentry/sentry-javascript/pull/25118))
85+
- test(node): Port Apollo GraphQL integration tests to span streaming ([#25030](https://github.com/getsentry/sentry-javascript/pull/25030))
86+
- test(node): port AWS integration tests to span streaming ([#25018](https://github.com/getsentry/sentry-javascript/pull/25018))
87+
- test(node): port filesystem integration tests to span streaming ([#25019](https://github.com/getsentry/sentry-javascript/pull/25019))
88+
- test(node): Port GraphQL tracing-channel tests to span streaming ([#25055](https://github.com/getsentry/sentry-javascript/pull/25055))
89+
- test(node): port rejection, feature flag, and client-report tests to span streaming ([#25020](https://github.com/getsentry/sentry-javascript/pull/25020))
90+
- test(node/bun): drop static pins from non-tracing integration suites ([#25017](https://github.com/getsentry/sentry-javascript/pull/25017))
91+
- test(nuxt): Upgrade to Nuxt 4.6 ; Test imports from `nuxt/server` ([#25093](https://github.com/getsentry/sentry-javascript/pull/25093))
92+
93+
</details>
94+
795
Work in this release was contributed by @minwookshin. Thank you for your contribution!
896

997
## 11.4.0
@@ -92,8 +180,6 @@ Work in this release was contributed by @minwookshin. Thank you for your contrib
92180

93181
Work in this release was contributed by @Shubham-Padkonde and @tobias-schnabel. Thank you for your contributions!
94182

95-
- **feat(core)**: `Sentry.init()` now warns when it runs while a client is still active. For now, the new client still replaces the active client, but the active client is not closed, so state from both can mix. Call `Sentry.init()` once, or call `await Sentry.close()` before you call it again. `Sentry.close()` now unbinds the client it closes, so after `close()`, `getClient()` returns `undefined`, `isInitialized()` returns `false`, and a later `init()` sets up a new client. In `@sentry/cloudflare`, later requests no longer reuse the isolate's cached client once it is closed or closing. On the server, `@sentry/nextjs` and `@sentry/remix` now return the active client from a repeated `init()` call, not `undefined`.
96-
97183
## 11.2.0
98184

99185
### Important Changes

‎dev-packages/browser-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/browser-integration-tests",
3-
"version": "11.4.0",
3+
"version": "11.5.0",
44
"main": "index.js",
55
"license": "MIT",
66
"engines": {
@@ -60,9 +60,9 @@
6060
"@babel/preset-typescript": "^7.16.7",
6161
"@playwright/test": "~1.63.0",
6262
"@sentry/rrweb": "2.44.1",
63-
"@sentry/browser": "11.4.0",
64-
"@sentry/replay": "11.4.0",
65-
"@sentry/opentelemetry": "11.4.0",
63+
"@sentry/browser": "11.5.0",
64+
"@sentry/replay": "11.5.0",
65+
"@sentry/opentelemetry": "11.5.0",
6666
"@sentry/conventions": "0.26.0",
6767
"@supabase/supabase-js": "2.109.0",
6868
"axios": "1.20.0",

‎dev-packages/bun-integration-tests/package.json‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/bun-integration-tests",
3-
"version": "11.4.0",
3+
"version": "11.5.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=20.19.0 <22.0.0 || >=22.12.0 <23.0.0 || >=23.2.0"
@@ -14,15 +14,15 @@
1414
"test:watch": "yarn test --watch"
1515
},
1616
"dependencies": {
17-
"@sentry/bun": "11.4.0",
18-
"@sentry/hono": "11.4.0",
17+
"@sentry/bun": "11.5.0",
18+
"@sentry/hono": "11.5.0",
1919
"hono": "^4.13.7",
2020
"mysql": "^2.18.1",
2121
"pg": "8.16.0"
2222
},
2323
"devDependencies": {
24-
"@sentry-internal/node-integration-tests": "11.4.0",
25-
"@sentry-internal/test-utils": "11.4.0",
24+
"@sentry-internal/node-integration-tests": "11.5.0",
25+
"@sentry-internal/test-utils": "11.5.0",
2626
"bun-types": "^1.2.9",
2727
"vitest": "^4.1.11"
2828
},

‎dev-packages/bundler-plugin-integration-tests/fixtures/esbuild/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "module",
66
"dependencies": {
77
"esbuild": "0.28.0",
8-
"@sentry/bundler-plugins": "11.4.0"
8+
"@sentry/bundler-plugins": "11.5.0"
99
},
1010
"pnpm": {
1111
"overrides": {
12-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.4.0.tgz",
13-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.4.0.tgz",
12+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.5.0.tgz",
13+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.5.0.tgz",
1414
"sentry": "file:../sentry-stub"
1515
}
1616
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/rolldown/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"private": true,
55
"type": "module",
66
"dependencies": {
7-
"@sentry/bundler-plugins": "11.4.0",
7+
"@sentry/bundler-plugins": "11.5.0",
88
"react": "19.2.4",
99
"rolldown": "1.0.0"
1010
},
1111
"pnpm": {
1212
"overrides": {
13-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.4.0.tgz",
14-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.4.0.tgz",
13+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.5.0.tgz",
14+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.5.0.tgz",
1515
"sentry": "file:../sentry-stub"
1616
}
1717
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/rollup3/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"rollup": "3.30.0",
99
"@rollup/plugin-babel": "6.0.4",
1010
"@rollup/plugin-node-resolve": "15.2.3",
11-
"@sentry/bundler-plugins": "11.4.0"
11+
"@sentry/bundler-plugins": "11.5.0"
1212
},
1313
"pnpm": {
1414
"overrides": {
15-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.4.0.tgz",
16-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.4.0.tgz",
15+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.5.0.tgz",
16+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.5.0.tgz",
1717
"sentry": "file:../sentry-stub"
1818
}
1919
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/rollup4/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
"rollup": "4.59.0",
99
"@rollup/plugin-babel": "6.0.4",
1010
"@rollup/plugin-node-resolve": "16.0.3",
11-
"@sentry/bundler-plugins": "11.4.0"
11+
"@sentry/bundler-plugins": "11.5.0"
1212
},
1313
"pnpm": {
1414
"overrides": {
15-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.4.0.tgz",
16-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.4.0.tgz",
15+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.5.0.tgz",
16+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.5.0.tgz",
1717
"sentry": "file:../sentry-stub"
1818
}
1919
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/vite4/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
"react": "19.2.4",
88
"vite": "4.5.14",
99
"@vitejs/plugin-react": "5.2.0",
10-
"@sentry/bundler-plugins": "11.4.0"
10+
"@sentry/bundler-plugins": "11.5.0"
1111
},
1212
"pnpm": {
1313
"overrides": {
14-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.4.0.tgz",
15-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.4.0.tgz",
14+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.5.0.tgz",
15+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.5.0.tgz",
1616
"sentry": "file:../sentry-stub"
1717
}
1818
}

‎dev-packages/bundler-plugin-integration-tests/fixtures/vite6/package.json‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
"type": "module",
66
"dependencies": {
77
"vite": "6.4.1",
8-
"@sentry/bundler-plugins": "11.4.0"
8+
"@sentry/bundler-plugins": "11.5.0"
99
},
1010
"pnpm": {
1111
"overrides": {
12-
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.4.0.tgz",
13-
"@sentry/core": "file:../../../../packages/core/sentry-core-11.4.0.tgz",
12+
"@sentry/bundler-plugins": "file:../../../../packages/bundler-plugins/sentry-bundler-plugins-11.5.0.tgz",
13+
"@sentry/core": "file:../../../../packages/core/sentry-core-11.5.0.tgz",
1414
"sentry": "file:../sentry-stub"
1515
}
1616
}

0 commit comments

Comments
 (0)