Skip to content

Commit 229a498

Browse files
Merge pull request #18027 from getsentry/master
[Gitflow] Merge master into develop
2 parents 2e78b06 + 85b5b9d commit 229a498

File tree

55 files changed

+202
-154
lines changed

Some content is hidden

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

55 files changed

+202
-154
lines changed

CHANGELOG.md

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

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

7+
## 10.22.0
8+
9+
### Important Changes
10+
11+
- **feat(node): Instrument cloud functions for firebase v2 ([#17952](https://github.com/getsentry/sentry-javascript/pull/17952))**
12+
13+
We added instrumentation for Cloud Functions for Firebase v2, enabling automatic performance tracking and error monitoring. This will be added automatically if you have enabled tracing.
14+
15+
- **feat(core): Instrument LangChain AI ([#17955](https://github.com/getsentry/sentry-javascript/pull/17955))**
16+
17+
Instrumentation was added for LangChain AI operations. You can configure what is recorded like this:
18+
19+
```ts
20+
Sentry.init({
21+
integrations: [
22+
Sentry.langChainIntegration({
23+
recordInputs: true, // Record prompts/messages
24+
recordOutputs: true, // Record responses
25+
}),
26+
],
27+
});
28+
```
29+
30+
### Other Changes
31+
32+
- feat(cloudflare,vercel-edge): Add support for LangChain instrumentation ([#17986](https://github.com/getsentry/sentry-javascript/pull/17986))
33+
- feat: Align sentry origin with documentation ([#17998](https://github.com/getsentry/sentry-javascript/pull/17998))
34+
- feat(core): Truncate request messages in AI integrations ([#17921](https://github.com/getsentry/sentry-javascript/pull/17921))
35+
- feat(nextjs): Support node runtime on proxy files ([#17995](https://github.com/getsentry/sentry-javascript/pull/17995))
36+
- feat(node): Pass requestHook and responseHook option to OTel ([#17996](https://github.com/getsentry/sentry-javascript/pull/17996))
37+
- fix(core): Fix wrong async types when instrumenting anthropic's stream api ([#18007](https://github.com/getsentry/sentry-javascript/pull/18007))
38+
- fix(nextjs): Remove usage of chalk to avoid runtime errors ([#18010](https://github.com/getsentry/sentry-javascript/pull/18010))
39+
- fix(node): Pino capture serialized `err` ([#17999](https://github.com/getsentry/sentry-javascript/pull/17999))
40+
- fix(node): Pino child loggers ([#17934](https://github.com/getsentry/sentry-javascript/pull/17934))
41+
- fix(react): Don't trim index route `/` when getting pathname ([#17985](https://github.com/getsentry/sentry-javascript/pull/17985))
42+
- fix(react): Patch `spanEnd` for potentially cancelled lazy-route transactions ([#17962](https://github.com/getsentry/sentry-javascript/pull/17962))
43+
44+
<details>
45+
<summary> <strong>Internal Changes</strong> </summary>
46+
47+
- chore: Add required size_check for GH Actions ([#18009](https://github.com/getsentry/sentry-javascript/pull/18009))
48+
- chore: Upgrade madge to v8 ([#17957](https://github.com/getsentry/sentry-javascript/pull/17957))
49+
- test(hono): Fix hono e2e tests ([#18000](https://github.com/getsentry/sentry-javascript/pull/18000))
50+
- test(react-router): Fix `getMetaTagTransformer` tests for Vitest compatibility ([#18013](https://github.com/getsentry/sentry-javascript/pull/18013))
51+
- test(react): Add parameterized route tests for `createHashRouter` ([#17789](https://github.com/getsentry/sentry-javascript/pull/17789))
52+
53+
</details>
54+
755
## 10.21.0
856

957
### 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.21.0",
3+
"version": "10.22.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.21.0",
46+
"@sentry/browser": "10.22.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.21.0",
3+
"version": "10.22.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.21.0",
4+
"version": "10.22.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.21.0",
3+
"version": "10.22.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.21.0"
16+
"@sentry/cloudflare": "10.22.0"
1717
},
1818
"devDependencies": {
1919
"@cloudflare/workers-types": "^4.20250922.0",
20-
"@sentry-internal/test-utils": "10.21.0",
20+
"@sentry-internal/test-utils": "10.22.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.21.0",
3+
"version": "10.22.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.21.0",
4+
"version": "10.22.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.21.0",
3+
"version": "10.22.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -34,8 +34,8 @@
3434
"@opentelemetry/resources": "^2.1.0",
3535
"@opentelemetry/sdk-trace-base": "^2.1.0",
3636
"@opentelemetry/semantic-conventions": "^1.37.0",
37-
"@sentry/core": "10.21.0",
38-
"@sentry/node-core": "10.21.0",
37+
"@sentry/core": "10.22.0",
38+
"@sentry/node-core": "10.22.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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry-internal/node-integration-tests",
3-
"version": "10.21.0",
3+
"version": "10.22.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -27,17 +27,17 @@
2727
"@aws-sdk/client-s3": "^3.552.0",
2828
"@google/genai": "^1.20.0",
2929
"@growthbook/growthbook": "^1.6.1",
30-
"@langchain/anthropic": "^0.3.10",
31-
"@langchain/core": "^0.3.28",
3230
"@hapi/hapi": "^21.3.10",
3331
"@hono/node-server": "^1.19.4",
32+
"@langchain/anthropic": "^0.3.10",
33+
"@langchain/core": "^0.3.28",
3434
"@nestjs/common": "^11",
3535
"@nestjs/core": "^11",
3636
"@nestjs/platform-express": "^11",
3737
"@prisma/client": "6.15.0",
38-
"@sentry/aws-serverless": "10.21.0",
39-
"@sentry/core": "10.21.0",
40-
"@sentry/node": "10.21.0",
38+
"@sentry/aws-serverless": "10.22.0",
39+
"@sentry/core": "10.22.0",
40+
"@sentry/node": "10.22.0",
4141
"@types/mongodb": "^3.6.20",
4242
"@types/mysql": "^2.15.21",
4343
"@types/pg": "^8.6.5",
@@ -82,7 +82,7 @@
8282
"yargs": "^16.2.0"
8383
},
8484
"devDependencies": {
85-
"@sentry-internal/test-utils": "10.21.0",
85+
"@sentry-internal/test-utils": "10.22.0",
8686
"@types/amqplib": "^0.10.5",
8787
"@types/node-cron": "^3.0.11",
8888
"@types/node-schedule": "^2.1.7",

dev-packages/node-overhead-gh-action/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/node-overhead-gh-action",
3-
"version": "10.21.0",
3+
"version": "10.22.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -23,7 +23,7 @@
2323
"fix": "eslint . --format stylish --fix"
2424
},
2525
"dependencies": {
26-
"@sentry/node": "10.21.0",
26+
"@sentry/node": "10.22.0",
2727
"express": "^4.21.1",
2828
"mysql2": "^3.14.4"
2929
},

0 commit comments

Comments
 (0)