Skip to content

Commit e9ea037

Browse files
Merge pull request #18255 from getsentry/master
[Gitflow] Merge master into develop
2 parents 81c5d56 + 68e8bb6 commit e9ea037

File tree

56 files changed

+251
-157
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

+251
-157
lines changed

CHANGELOG.md

Lines changed: 95 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,101 @@
44

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

7-
- fix(node): Fix Spotlight configuration precedence to match specification (#18195)
7+
## 10.26.0
8+
9+
### Important Changes
10+
11+
- **feat(core): Instrument LangGraph Agent ([#18114](https://github.com/getsentry/sentry-javascript/pull/18114))**
12+
13+
Adds support for instrumenting LangGraph StateGraph operations in Node. The LangGraph integration can be configured as follows:
14+
15+
```js
16+
Sentry.init({
17+
dsn: '__DSN__',
18+
sendDefaultPii: false, // Even with PII disabled globally
19+
integrations: [
20+
Sentry.langGraphIntegration({
21+
recordInputs: true, // Force recording input messages
22+
recordOutputs: true, // Force recording response text
23+
}),
24+
],
25+
});
26+
```
27+
28+
- **feat(cloudflare/vercel-edge): Add manual instrumentation for LangGraph ([#18112](https://github.com/getsentry/sentry-javascript/pull/18112))**
29+
30+
Instrumentation for LangGraph in Cloudflare Workers and Vercel Edge environments is supported by manually calling `instrumentLangGraph`:
31+
32+
```js
33+
import * as Sentry from '@sentry/cloudflare'; // or '@sentry/vercel-edge'
34+
import { StateGraph, START, END, MessagesAnnotation } from '@langchain/langgraph';
35+
36+
// Create and instrument the graph
37+
const graph = new StateGraph(MessagesAnnotation)
38+
.addNode('agent', agentFn)
39+
.addEdge(START, 'agent')
40+
.addEdge('agent', END);
41+
42+
Sentry.instrumentLangGraph(graph, {
43+
recordInputs: true,
44+
recordOutputs: true,
45+
});
46+
47+
const compiled = graph.compile({ name: 'weather_assistant' });
48+
49+
await compiled.invoke({
50+
messages: [{ role: 'user', content: 'What is the weather in SF?' }],
51+
});
52+
```
53+
54+
- **feat(node): Add OpenAI SDK v6 support ([#18244](https://github.com/getsentry/sentry-javascript/pull/18244))**
55+
56+
### Other Changes
57+
58+
- feat(core): Support OpenAI embeddings API ([#18224](https://github.com/getsentry/sentry-javascript/pull/18224))
59+
- feat(browser-utils): bump web-vitals to 5.1.0 ([#18091](https://github.com/getsentry/sentry-javascript/pull/18091))
60+
- feat(core): Support truncation for LangChain integration request messages ([#18157](https://github.com/getsentry/sentry-javascript/pull/18157))
61+
- feat(metrics): Add default `server.address` attribute on server runtimes ([#18242](https://github.com/getsentry/sentry-javascript/pull/18242))
62+
- feat(nextjs): Add URL to server-side transaction events ([#18230](https://github.com/getsentry/sentry-javascript/pull/18230))
63+
- feat(node-core): Add mechanism to prevent wrapping ai providers multiple times([#17972](https://github.com/getsentry/sentry-javascript/pull/17972))
64+
- feat(replay): Bump limit for minReplayDuration ([#18190](https://github.com/getsentry/sentry-javascript/pull/18190))
65+
- fix(browser): Add `ok` status to successful `idleSpan`s ([#18139](https://github.com/getsentry/sentry-javascript/pull/18139))
66+
- fix(core): Check `fetch` support with data URL ([#18225](https://github.com/getsentry/sentry-javascript/pull/18225))
67+
- fix(core): Decrease number of Sentry stack frames for messages from `captureConsoleIntegration` ([#18096](https://github.com/getsentry/sentry-javascript/pull/18096))
68+
- fix(core): Emit processed metric ([#18222](https://github.com/getsentry/sentry-javascript/pull/18222))
69+
- fix(core): Ensure logs past `MAX_LOG_BUFFER_SIZE` are not swallowed ([#18207](https://github.com/getsentry/sentry-javascript/pull/18207))
70+
- fix(core): Ensure metrics past `MAX_METRIC_BUFFER_SIZE` are not swallowed ([#18212](https://github.com/getsentry/sentry-javascript/pull/18212))
71+
- fix(core): Fix logs and metrics flush timeout starvation with continuous logging ([#18211](https://github.com/getsentry/sentry-javascript/pull/18211))
72+
- fix(core): Flatten gen_ai.request.available_tools in google-genai ([#18194](https://github.com/getsentry/sentry-javascript/pull/18194))
73+
- fix(core): Stringify available tools sent from vercelai ([#18197](https://github.com/getsentry/sentry-javascript/pull/18197))
74+
- fix(core/vue): Detect and skip normalizing Vue `VNode` objects with high `normalizeDepth` ([#18206](https://github.com/getsentry/sentry-javascript/pull/18206))
75+
- fix(nextjs): Avoid wrapping middleware files when in standalone mode ([#18172](https://github.com/getsentry/sentry-javascript/pull/18172))
76+
- fix(nextjs): Drop meta trace tags if rendered page is ISR ([#18192](https://github.com/getsentry/sentry-javascript/pull/18192))
77+
- fix(nextjs): Respect PORT variable for dev error symbolication ([#18227](https://github.com/getsentry/sentry-javascript/pull/18227))
78+
- fix(nextjs): use LRU map instead of map for ISR route cache ([#18234](https://github.com/getsentry/sentry-javascript/pull/18234))
79+
- fix(node): `tracingChannel` export missing in older node versions ([#18191](https://github.com/getsentry/sentry-javascript/pull/18191))
80+
- fix(node): Fix Spotlight configuration precedence to match specification ([#18195](https://github.com/getsentry/sentry-javascript/pull/18195))
81+
- fix(react): Prevent navigation span leaks for consecutive navigations ([#18098](https://github.com/getsentry/sentry-javascript/pull/18098))
82+
- ref(react-router): Deprecate ErrorBoundary exports ([#18208](https://github.com/getsentry/sentry-javascript/pull/18208))
83+
84+
<details>
85+
<summary> <strong>Internal Changes</strong> </summary>
86+
87+
- chore: Fix missing changelog quote we use for attribution placement ([#18237](https://github.com/getsentry/sentry-javascript/pull/18237))
88+
- chore: move tip about prioritizing issues ([#18071](https://github.com/getsentry/sentry-javascript/pull/18071))
89+
- chore(e2e): Pin `@embroider/addon-shim` to 1.10.0 for the e2e ember-embroider ([#18173](https://github.com/getsentry/sentry-javascript/pull/18173))
90+
- chore(react-router): Fix casing on deprecation notices ([#18221](https://github.com/getsentry/sentry-javascript/pull/18221))
91+
- chore(test): Use correct `testTimeout` field in bundler-tests vitest config
92+
- chore(e2e): Bump zod in e2e tests ([#18251](https://github.com/getsentry/sentry-javascript/pull/18251))
93+
- test(browser-integration): Fix incorrect tag value assertions ([#18162](https://github.com/getsentry/sentry-javascript/pull/18162))
94+
- test(profiling): Add test utils to validate Profile Chunk envelope ([#18170](https://github.com/getsentry/sentry-javascript/pull/18170))
95+
- ref(e2e-ember): Remove `@embroider/addon-shim` override ([#18180](https://github.com/getsentry/sentry-javascript/pull/18180))
96+
- ref(browser): Move trace lifecycle listeners to class function ([#18231](https://github.com/getsentry/sentry-javascript/pull/18231))
97+
- ref(browserprofiling): Move and rename profiler class to UIProfiler ([#18187](https://github.com/getsentry/sentry-javascript/pull/18187))
98+
- ref(core): Move ai integrations from utils to tracing ([#18185](https://github.com/getsentry/sentry-javascript/pull/18185))
99+
- ref(core): Optimize `Scope.setTag` bundle size and adjust test ([#18182](https://github.com/getsentry/sentry-javascript/pull/18182))
100+
101+
</details>
8102

9103
## 10.25.0
10104

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.25.0",
3+
"version": "10.26.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.25.0",
46+
"@sentry/browser": "10.26.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.25.0",
3+
"version": "10.26.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.25.0",
3+
"version": "10.26.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.25.0",
16+
"@sentry/browser": "10.26.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.25.0",
4+
"version": "10.26.0",
55
"license": "MIT",
66
"engines": {
77
"node": ">=18"

dev-packages/cloudflare-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/cloudflare-integration-tests",
3-
"version": "10.25.0",
3+
"version": "10.26.0",
44
"license": "MIT",
55
"engines": {
66
"node": ">=18"
@@ -13,12 +13,12 @@
1313
"test:watch": "yarn test --watch"
1414
},
1515
"dependencies": {
16-
"@sentry/cloudflare": "10.25.0",
17-
"@langchain/langgraph": "^1.0.1"
16+
"@langchain/langgraph": "^1.0.1",
17+
"@sentry/cloudflare": "10.26.0"
1818
},
1919
"devDependencies": {
2020
"@cloudflare/workers-types": "^4.20250922.0",
21-
"@sentry-internal/test-utils": "10.25.0",
21+
"@sentry-internal/test-utils": "10.26.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.25.0",
3+
"version": "10.26.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.25.0",
4+
"version": "10.26.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.25.0",
3+
"version": "10.26.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.25.0",
38-
"@sentry/node-core": "10.25.0",
37+
"@sentry/core": "10.26.0",
38+
"@sentry/node-core": "10.26.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.25.0",
3+
"version": "10.26.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.25.0",
40-
"@sentry/core": "10.25.0",
41-
"@sentry/node": "10.25.0",
39+
"@sentry/aws-serverless": "10.26.0",
40+
"@sentry/core": "10.26.0",
41+
"@sentry/node": "10.26.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.25.0",
86+
"@sentry-internal/test-utils": "10.26.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)