Skip to content

Commit 94a22de

Browse files
committed
Merge branch 'develop' into timfish/feat/tidy-loader-hooks
2 parents 9fb250e + 4c7d65e commit 94a22de

File tree

126 files changed

+1441
-618
lines changed

Some content is hidden

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

126 files changed

+1441
-618
lines changed

.github/workflows/canary.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,6 @@ jobs:
8181
- test-application: 'nextjs-app-dir'
8282
build-command: 'test:build-latest'
8383
label: 'nextjs-app-dir (latest)'
84-
- test-application: 'nextjs-13'
85-
build-command: 'test:build-canary'
86-
label: 'nextjs-13 (canary)'
8784
- test-application: 'nextjs-13'
8885
build-command: 'test:build-latest'
8986
label: 'nextjs-13 (latest)'

.size-limit.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ module.exports = [
233233
import: createImport('init'),
234234
ignore: [...builtinModules, ...nodePrefixedBuiltinModules],
235235
gzip: true,
236-
limit: '152 KB',
236+
limit: '154 KB',
237237
},
238238
{
239239
name: '@sentry/node - without tracing',

CHANGELOG.md

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

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

7+
## 10.11.0
8+
9+
### Important Changes
10+
11+
- **feat(aws): Add experimental AWS Lambda extension for tunnelling events ([#17525](https://github.com/getsentry/sentry-javascript/pull/17525))**
12+
13+
This release adds an experimental Sentry Lambda extension to the existing Sentry Lambda layer. Sentry events are now tunneled through the extension and then forwarded to Sentry. This has the benefit of reducing the request processing time.
14+
15+
To enable it, set `_experiments.enableLambdaExtension` in your Sentry config like this:
16+
17+
```javascript
18+
Sentry.init({
19+
dsn: '<YOUR_DSN>',
20+
_experiments: {
21+
enableLambdaExtension: true,
22+
},
23+
});
24+
```
25+
26+
### Other Changes
27+
28+
- feat(core): Add replay id to logs ([#17563](https://github.com/getsentry/sentry-javascript/pull/17563))
29+
- feat(core): Improve error handling for Anthropic AI instrumentation ([#17535](https://github.com/getsentry/sentry-javascript/pull/17535))
30+
- feat(deps): bump @opentelemetry/instrumentation-ioredis from 0.51.0 to 0.52.0 ([#17557](https://github.com/getsentry/sentry-javascript/pull/17557))
31+
- feat(node): Add incoming request headers as OTel span attributes ([#17475](https://github.com/getsentry/sentry-javascript/pull/17475))
32+
- fix(astro): Ensure traces are correctly propagated for static routes ([#17536](https://github.com/getsentry/sentry-javascript/pull/17536))
33+
- fix(react): Remove `handleExistingNavigation` ([#17534](https://github.com/getsentry/sentry-javascript/pull/17534))
34+
- ref(browser): Add more specific `mechanism.type` to errors captured by `httpClientIntegration` ([#17254](https://github.com/getsentry/sentry-javascript/pull/17254))
35+
- ref(browser): Set more descriptive `mechanism.type` in `browserApiErrorsIntergation` ([#17251](https://github.com/getsentry/sentry-javascript/pull/17251))
36+
- ref(core): Add `mechanism.type` to `trpcMiddleware` errors ([#17287](https://github.com/getsentry/sentry-javascript/pull/17287))
37+
- ref(core): Add more specific event `mechanism`s and span origins to `openAiIntegration` ([#17288](https://github.com/getsentry/sentry-javascript/pull/17288))
38+
- ref(nestjs): Add `mechanism` to captured errors ([#17312](https://github.com/getsentry/sentry-javascript/pull/17312))
39+
40+
<details>
41+
<summary> <strong>Internal Changes</strong> </summary>
42+
43+
- chore: Use proper `test-utils` dependency in workspace ([#17538](https://github.com/getsentry/sentry-javascript/pull/17538))
44+
- chore(test): Remove `geist` font ([#17541](https://github.com/getsentry/sentry-javascript/pull/17541))
45+
- ci: Check for stable lockfile ([#17552](https://github.com/getsentry/sentry-javascript/pull/17552))
46+
- ci: Fix running of only changed E2E tests ([#17551](https://github.com/getsentry/sentry-javascript/pull/17551))
47+
- ci: Remove project automation workflow ([#17508](https://github.com/getsentry/sentry-javascript/pull/17508))
48+
- test(node-integration-tests): pin [email protected] to fix test fails ([#17542](https://github.com/getsentry/sentry-javascript/pull/17542))
49+
50+
</details>
51+
752
## 10.10.0
853

954
### 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": "10.10.0",
3+
"version": "10.11.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": "10.10.0",
46+
"@sentry/browser": "10.11.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": "10.10.0",
3+
"version": "10.11.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": "10.10.0",
4+
"version": "10.11.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.10.0",
3+
"version": "10.11.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -13,11 +13,11 @@
1313
"test:watch": "yarn test --watch"
1414
},
1515
"dependencies": {
16-
"@sentry/cloudflare": "10.10.0"
16+
"@sentry/cloudflare": "10.11.0"
1717
},
1818
"devDependencies": {
1919
"@cloudflare/workers-types": "^4.20250708.0",
20-
"@sentry-internal/test-utils": "10.10.0",
20+
"@sentry-internal/test-utils": "10.11.0",
2121
"vitest": "^3.2.4",
2222
"wrangler": "4.22.0"
2323
},

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.10.0",
3+
"version": "10.11.0",
44
"license": "MIT",
55
"private": true,
66
"scripts": {

dev-packages/e2e-tests/test-applications/astro-4/tests/tracing.dynamic.test.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,11 @@ test.describe('tracing in dynamically rendered (ssr) routes', () => {
7878
'sentry.sample_rate': 1,
7979
'sentry.source': 'route',
8080
url: expect.stringContaining('/test-ssr'),
81+
'http.request.header.accept': expect.any(String),
82+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
83+
'http.request.header.accept_language': 'en-US',
84+
'http.request.header.sec_fetch_mode': 'navigate',
85+
'http.request.header.user_agent': expect.any(String),
8186
},
8287
op: 'http.server',
8388
origin: 'auto.http.astro',
@@ -223,6 +228,11 @@ test.describe('nested SSR routes (client, server, server request)', () => {
223228
'sentry.origin': 'auto.http.astro',
224229
'sentry.source': 'route',
225230
url: expect.stringContaining('/user-page/myUsername123'),
231+
'http.request.header.accept': expect.any(String),
232+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
233+
'http.request.header.accept_language': 'en-US',
234+
'http.request.header.sec_fetch_mode': 'navigate',
235+
'http.request.header.user_agent': expect.any(String),
226236
},
227237
},
228238
},
@@ -256,6 +266,11 @@ test.describe('nested SSR routes (client, server, server request)', () => {
256266
'sentry.origin': 'auto.http.astro',
257267
'sentry.source': 'route',
258268
url: expect.stringContaining('/api/user/myUsername123.json'),
269+
'http.request.header.accept': expect.any(String),
270+
'http.request.header.accept_encoding': 'gzip, deflate',
271+
'http.request.header.accept_language': '*',
272+
'http.request.header.sec_fetch_mode': 'cors',
273+
'http.request.header.user_agent': expect.any(String),
259274
},
260275
},
261276
},
@@ -308,6 +323,11 @@ test.describe('nested SSR routes (client, server, server request)', () => {
308323
'sentry.origin': 'auto.http.astro',
309324
'sentry.source': 'route',
310325
url: expect.stringContaining('/catchAll/hell0/whatever-do'),
326+
'http.request.header.accept': expect.any(String),
327+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
328+
'http.request.header.accept_language': 'en-US',
329+
'http.request.header.sec_fetch_mode': 'navigate',
330+
'http.request.header.user_agent': expect.any(String),
311331
},
312332
},
313333
},
@@ -360,6 +380,11 @@ test.describe('parametrized vs static paths', () => {
360380
'sentry.origin': 'auto.http.astro',
361381
'sentry.source': 'route',
362382
url: expect.stringContaining('/user-page/settings'),
383+
'http.request.header.accept': expect.any(String),
384+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
385+
'http.request.header.accept_language': 'en-US',
386+
'http.request.header.sec_fetch_mode': 'navigate',
387+
'http.request.header.user_agent': expect.any(String),
363388
},
364389
},
365390
},

dev-packages/e2e-tests/test-applications/astro-5/tests/tracing.dynamic.test.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,11 @@ test.describe('tracing in dynamically rendered (ssr) routes', () => {
7979
'sentry.sample_rate': 1,
8080
'sentry.source': 'route',
8181
url: expect.stringContaining('/test-ssr'),
82+
'http.request.header.accept': expect.any(String),
83+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
84+
'http.request.header.accept_language': 'en-US',
85+
'http.request.header.sec_fetch_mode': 'navigate',
86+
'http.request.header.user_agent': expect.any(String),
8287
},
8388
op: 'http.server',
8489
origin: 'auto.http.astro',
@@ -226,6 +231,11 @@ test.describe('nested SSR routes (client, server, server request)', () => {
226231
'sentry.origin': 'auto.http.astro',
227232
'sentry.source': 'route',
228233
url: expect.stringContaining('/user-page/myUsername123'),
234+
'http.request.header.accept': expect.any(String),
235+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
236+
'http.request.header.accept_language': 'en-US',
237+
'http.request.header.sec_fetch_mode': 'navigate',
238+
'http.request.header.user_agent': expect.any(String),
229239
},
230240
},
231241
},
@@ -259,6 +269,11 @@ test.describe('nested SSR routes (client, server, server request)', () => {
259269
'sentry.origin': 'auto.http.astro',
260270
'sentry.source': 'route',
261271
url: expect.stringContaining('/api/user/myUsername123.json'),
272+
'http.request.header.accept': expect.any(String),
273+
'http.request.header.accept_encoding': 'gzip, deflate',
274+
'http.request.header.accept_language': '*',
275+
'http.request.header.sec_fetch_mode': 'cors',
276+
'http.request.header.user_agent': expect.any(String),
262277
},
263278
},
264279
},
@@ -311,6 +326,11 @@ test.describe('nested SSR routes (client, server, server request)', () => {
311326
'sentry.origin': 'auto.http.astro',
312327
'sentry.source': 'route',
313328
url: expect.stringContaining('/catchAll/hell0/whatever-do'),
329+
'http.request.header.accept': expect.any(String),
330+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
331+
'http.request.header.accept_language': 'en-US',
332+
'http.request.header.sec_fetch_mode': 'navigate',
333+
'http.request.header.user_agent': expect.any(String),
314334
},
315335
},
316336
},
@@ -363,6 +383,11 @@ test.describe('parametrized vs static paths', () => {
363383
'sentry.origin': 'auto.http.astro',
364384
'sentry.source': 'route',
365385
url: expect.stringContaining('/user-page/settings'),
386+
'http.request.header.accept': expect.any(String),
387+
'http.request.header.accept_encoding': 'gzip, deflate, br, zstd',
388+
'http.request.header.accept_language': 'en-US',
389+
'http.request.header.sec_fetch_mode': 'navigate',
390+
'http.request.header.user_agent': expect.any(String),
366391
},
367392
},
368393
},

0 commit comments

Comments
 (0)