Skip to content

Commit a538901

Browse files
Merge pull request #18563 from getsentry/master
[Gitflow] Merge master into develop
2 parents 063c4dc + ca347a6 commit a538901

File tree

56 files changed

+209
-186
lines changed

Some content is hidden

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

56 files changed

+209
-186
lines changed

CHANGELOG.md

Lines changed: 54 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -4,25 +4,11 @@
44

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

7-
- **feat(tanstackstart-react): Trace server functions ([#18500](https://github.com/getsentry/sentry-javascript/pull/18500))**
8-
9-
To enable tracing for server-side requests, you can now explicitly define a [server entry point](https://tanstack.com/start/latest/docs/framework/react/guide/server-entry-point) in your application and wrap your request handler with `wrapFetchWithSentry`.
10-
11-
```typescript
12-
// src/server.ts
13-
import { wrapFetchWithSentry } from '@sentry/tanstackstart-react';
14-
import handler, { createServerEntry } from '@tanstack/react-start/server-entry';
7+
## 10.32.0
158

16-
export default createServerEntry(
17-
wrapFetchWithSentry({
18-
fetch(request: Request) {
19-
return handler.fetch(request);
20-
},
21-
}),
22-
);
23-
```
9+
### Important Changes
2410

25-
- **feat(core): Apply scope attributes to logs** ([18184](https://github.com/getsentry/sentry-javascript/pull/18184))
11+
- **feat(core): Apply scope attributes to logs ([#18184](https://github.com/getsentry/sentry-javascript/pull/18184))**
2612

2713
You can now set attributes on the SDK's scopes which will be applied to all logs as long as the respective scopes are active. For the time being, only `string`, `number` and `boolean` attribute values are supported.
2814

@@ -41,7 +27,39 @@
4127
Sentry.logger.warn('stale website version, reloading page');
4228
```
4329

44-
- **feat(vue): Add TanStack Router integration ([#18359](https://github.com/getsentry/sentry-javascript/pull/18359))**
30+
- **feat(replay): Add Request body with `attachRawBodyFromRequest` option ([#18501](https://github.com/getsentry/sentry-javascript/pull/18501))**
31+
32+
To attach the raw request body (from `Request` objects passed as the first `fetch` argument) to replay events, you can now use the `attachRawBodyFromRequest` option in the Replay integration:
33+
34+
```js
35+
Sentry.init({
36+
integrations: [
37+
Sentry.replayIntegration({
38+
attachRawBodyFromRequest: true,
39+
}),
40+
],
41+
});
42+
```
43+
44+
- **feat(tanstackstart-react): Trace server functions ([#18500](https://github.com/getsentry/sentry-javascript/pull/18500))**
45+
46+
To enable tracing for server-side requests, you can now explicitly define a [server entry point](https://tanstack.com/start/latest/docs/framework/react/guide/server-entry-point) in your application and wrap your request handler with `wrapFetchWithSentry`.
47+
48+
```typescript
49+
// src/server.ts
50+
import { wrapFetchWithSentry } from '@sentry/tanstackstart-react';
51+
import handler, { createServerEntry } from '@tanstack/react-start/server-entry';
52+
53+
export default createServerEntry(
54+
wrapFetchWithSentry({
55+
fetch(request: Request) {
56+
return handler.fetch(request);
57+
},
58+
}),
59+
);
60+
```
61+
62+
- **feat(vue): Add TanStack Router integration ([#18547](https://github.com/getsentry/sentry-javascript/pull/18547))**
4563

4664
The `@sentry/vue` package now includes support for TanStack Router. Use `tanstackRouterBrowserTracingIntegration` to automatically instrument pageload and navigation transactions with parameterized routes:
4765

@@ -63,22 +81,27 @@
6381
});
6482
```
6583

66-
- **feat(nextjs): Add tree-shaking configuration to `webpack` build config ([#18359](https://github.com/getsentry/sentry-javascript/pull/18359))**
84+
### Other Changes
6785

68-
- **feat(replay): Add Request body with `attachRawBodyFromRequest` option ([#18501](https://github.com/getsentry/sentry-javascript/pull/18501))**
86+
- feat(core): Capture initialize attributes on MCP servers ([#18531](https://github.com/getsentry/sentry-javascript/pull/18531))
87+
- feat(nextjs): Extract tracing logic from server component wrapper templates ([#18408](https://github.com/getsentry/sentry-javascript/pull/18408))
88+
- feat(nextjs): added webpack treeshaking flags as config ([#18359](https://github.com/getsentry/sentry-javascript/pull/18359))
89+
- fix(solid/tanstackrouter): Ensure web vitals are sent on pageload ([#18542](https://github.com/getsentry/sentry-javascript/pull/18542))
6990

70-
To attach the raw request body (from `Request` objects passed as the first `fetch` argument) to replay events,
71-
you can now use the `attachRawBodyFromRequest` option in the Replay integration:
91+
<details>
92+
<summary> <strong>Internal Changes</strong> </summary>
7293

73-
```js
74-
Sentry.init({
75-
integrations: [
76-
Sentry.replayIntegration({
77-
attachRawBodyFromRequest: true,
78-
}),
79-
],
80-
});
81-
```
94+
- chore(changelog): Add entry for scope attributes ([#18555](https://github.com/getsentry/sentry-javascript/pull/18555))
95+
- chore(changelog): Add entry for tanstack start wrapFetchWithSentry ([#18558](https://github.com/getsentry/sentry-javascript/pull/18558))
96+
- chore(deps): bump @trpc/server from 10.45.2 to 10.45.3 in /dev-packages/e2e-tests/test-applications/node-express-incorrect-instrumentation ([#18530](https://github.com/getsentry/sentry-javascript/pull/18530))
97+
- chore(deps): bump @trpc/server from 10.45.2 to 10.45.3 in /dev-packages/e2e-tests/test-applications/node-express-v5 ([#18550](https://github.com/getsentry/sentry-javascript/pull/18550))
98+
- chore(e2e): Pin to react-router 7.10.1 in spa e2e test ([#18548](https://github.com/getsentry/sentry-javascript/pull/18548))
99+
- chore(e2e): Remove check on `http.response_content_length_uncompressed` ([#18536](https://github.com/getsentry/sentry-javascript/pull/18536))
100+
- chore(github): Add "Closes" to PR template ([#18538](https://github.com/getsentry/sentry-javascript/pull/18538))
101+
- test(cloudflare-mcp): Unpin mcp sdk ([#18528](https://github.com/getsentry/sentry-javascript/pull/18528))
102+
- test(nextjs): Add e2e tests for server component spans in next 16 ([#18544](https://github.com/getsentry/sentry-javascript/pull/18544))
103+
104+
</details>
82105

83106
## 10.31.0
84107

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": "10.31.0",
3+
"version": "10.32.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.56.0",
4545
"@sentry-internal/rrweb": "2.34.0",
46-
"@sentry/browser": "10.31.0",
46+
"@sentry/browser": "10.32.0",
4747
"@supabase/supabase-js": "2.49.3",
4848
"axios": "^1.12.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": "10.31.0",
3+
"version": "10.32.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/bundler-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/bundler-tests",
3-
"version": "10.31.0",
3+
"version": "10.32.0",
44
"description": "Bundler tests for Sentry Browser SDK",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/bundler-tests",
@@ -13,7 +13,7 @@
1313
},
1414
"dependencies": {
1515
"@rollup/plugin-node-resolve": "^15.2.3",
16-
"@sentry/browser": "10.31.0",
16+
"@sentry/browser": "10.32.0",
1717
"rollup": "^4.0.0",
1818
"vite": "^5.0.0",
1919
"vitest": "^3.2.4",

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

dev-packages/cloudflare-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/cloudflare-integration-tests",
3-
"version": "10.31.0",
3+
"version": "10.32.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -14,11 +14,11 @@
1414
},
1515
"dependencies": {
1616
"@langchain/langgraph": "^1.0.1",
17-
"@sentry/cloudflare": "10.31.0"
17+
"@sentry/cloudflare": "10.32.0"
1818
},
1919
"devDependencies": {
2020
"@cloudflare/workers-types": "^4.20250922.0",
21-
"@sentry-internal/test-utils": "10.31.0",
21+
"@sentry-internal/test-utils": "10.32.0",
2222
"eslint-plugin-regexp": "^1.15.0",
2323
"vitest": "^3.2.4",
2424
"wrangler": "4.22.0"

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": "10.31.0",
3+
"version": "10.32.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": "10.31.0",
4+
"version": "10.32.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": "10.31.0",
3+
"version": "10.32.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -34,8 +34,8 @@
3434
"@opentelemetry/resources": "^2.2.0",
3535
"@opentelemetry/sdk-trace-base": "^2.2.0",
3636
"@opentelemetry/semantic-conventions": "^1.37.0",
37-
"@sentry/core": "10.31.0",
38-
"@sentry/node-core": "10.31.0",
37+
"@sentry/core": "10.32.0",
38+
"@sentry/node-core": "10.32.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: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-integration-tests",
3-
"version": "10.31.0",
3+
"version": "10.32.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -36,9 +36,9 @@
3636
"@nestjs/core": "^11",
3737
"@nestjs/platform-express": "^11",
3838
"@prisma/client": "6.15.0",
39-
"@sentry/aws-serverless": "10.31.0",
40-
"@sentry/core": "10.31.0",
41-
"@sentry/node": "10.31.0",
39+
"@sentry/aws-serverless": "10.32.0",
40+
"@sentry/core": "10.32.0",
41+
"@sentry/node": "10.32.0",
4242
"@types/mongodb": "^3.6.20",
4343
"@types/mysql": "^2.15.21",
4444
"@types/pg": "^8.6.5",
@@ -83,7 +83,7 @@
8383
"yargs": "^16.2.0"
8484
},
8585
"devDependencies": {
86-
"@sentry-internal/test-utils": "10.31.0",
86+
"@sentry-internal/test-utils": "10.32.0",
8787
"@types/amqplib": "^0.10.5",
8888
"@types/node-cron": "^3.0.11",
8989
"@types/node-schedule": "^2.1.7",

0 commit comments

Comments
 (0)