Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf2574f9

Browse files
andreiborzaLms24s1gr1dRulaKhaledJPeer264
authored
meta(changelog): Update changelog for 10.31.0 (#18526)
Signed-off-by: dependabot[bot] <support@github.com>Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>Co-authored-by: Sigrid <32902192+s1gr1d@users.noreply.github.com>Co-authored-by: Rola Abuhasna <rola.abuhasna@sentry.io>Co-authored-by: Jan Peer Stöcklmair <jan.peer@sentry.io>Co-authored-by: Abdelrahman Awad <abdelrahman.awad@sentry.io>Co-authored-by: sebws <53290489+sebws@users.noreply.github.com>Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>Co-authored-by: Daniel Griesser <daniel.griesser.86@gmail.com>Co-authored-by: Nicolas Hrubec <nico.hrubec@sentry.io>Co-authored-by: Burak Yigit Kaya <byk@sentry.io>Co-authored-by: Tim Fish <tim@timfish.uk>Co-authored-by: isaacs <i@izs.me>Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>Co-authored-by: Tim Beeren <36151761+TBeeren@users.noreply.github.com>Co-authored-by: tbeeren <tbeeren@bol.com>Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>Co-authored-by: Onur Temizkan <onur@narval.co.uk>Co-authored-by: Charly Gomez <charly.gomez@sentry.io>
2 parents80cf870 +47e82e3 commitf2574f9

File tree

255 files changed

+4851
-654
lines changed

Some content is hidden

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

255 files changed

+4851
-654
lines changed

‎.cursor/BUGBOT.md‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,16 @@ Do not flag the issues below if they appear in tests.
4545
convention as the`SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN` value.
4646
- When calling`startSpan`, check if error cases are handled. If flag that it might make sense to try/catch and call`captureException`.
4747
- When calling`generateInstrumentationOnce`, the passed in name MUST match the name of the integration that uses it. If there are more than one instrumentations, they need to follow the pattern`${INSTRUMENTATION_NAME}.some-suffix`.
48+
49+
##Testing Conventions
50+
51+
- When reviewing a`feat` PR, check if the PR includes at least one integration or E2E test.
52+
If neither of the two are present, add a comment, recommending to add one.
53+
- When reviewing a`fix` PR, check if the PR includes at least one unit, integration or e2e test that tests the regression this PR fixes.
54+
Usually this means the test failed prior to the fix and passes with the fix.
55+
If no tests are present, add a comment recommending to add one.
56+
- Check that tests actually test the newly added behaviour.
57+
For instance, when checking on sent payloads by the SDK, ensure that the newly added data is asserted thoroughly.
58+
- Flag usage of`expect.objectContaining` and other relaxed assertions, when a test expects something NOT to be included in a payload but there's no respective assertion.
59+
- Flag usage of conditionals in one test and recommend splitting up the test for the different paths.
60+
- Flag usage of loops testing multiple scenarios in one test and recommend using`(it)|(test).each` instead.

‎.size-limit.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ module.exports = [
240240
import:createImport('init'),
241241
ignore:[...builtinModules, ...nodePrefixedBuiltinModules],
242242
gzip:true,
243-
limit:'160 KB',
243+
limit:'162 KB',
244244
},
245245
{
246246
name:'@sentry/node - without tracing',

‎CHANGELOG.md‎

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

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

7+
##10.31.0
8+
9+
###Important Changes
10+
11+
-**feat(browser): Add support for GraphQL persisted operations ([#18505](https://github.com/getsentry/sentry-javascript/pull/18505))**
12+
13+
The`graphqlClientIntegration` now supports GraphQL persisted operations (queries). When a persisted query is detected, the integration will capture the operation hash and version as span attributes:
14+
15+
-`graphql.persisted_query.hash.sha256` - The SHA-256 hash of the persisted query
16+
-`graphql.persisted_query.version` - The version of the persisted query protocol
17+
18+
Additionally, the`graphql.document` attribute format has changed to align with OpenTelemetry semantic conventions. It now contains only the GraphQL query string instead of the full JSON request payload.
19+
20+
**Before:**
21+
22+
```javascript
23+
"graphql.document":"{\"query\":\"query Test { user { id } }\"}"
24+
```
25+
26+
**After:**
27+
28+
```javascript
29+
"graphql.document":"query Test { user { id } }"
30+
```
31+
32+
###Other Changes
33+
34+
- feat(node): Support`propagateTraceparent` option ([#18476](https://github.com/getsentry/sentry-javascript/pull/18476))
35+
- feat(bun): Expose spotlight option in TypeScript ([#18436](https://github.com/getsentry/sentry-javascript/pull/18436))
36+
- feat(core): Add additional exports for`captureException` and`captureMessage` parameter types ([#18521](https://github.com/getsentry/sentry-javascript/pull/18521))
37+
- feat(core): Export`captureException` and`captureMessage` parameter types ([#18509](https://github.com/getsentry/sentry-javascript/pull/18509))
38+
- feat(core): Parse individual cookies from cookie header ([#18325](https://github.com/getsentry/sentry-javascript/pull/18325))
39+
- feat(node): Add instrument OpenAI export to node ([#18461](https://github.com/getsentry/sentry-javascript/pull/18461))
40+
- feat(nuxt): Bump`@sentry/vite-plugin` and`@sentry/rollup-plugin` to 4.6.1 ([#18349](https://github.com/getsentry/sentry-javascript/pull/18349))
41+
- feat(profiling): Add support for Node v24 in the prune script ([#18447](https://github.com/getsentry/sentry-javascript/pull/18447))
42+
- feat(tracing): strip inline media from messages ([#18413](https://github.com/getsentry/sentry-javascript/pull/18413))
43+
- feat(node): Add ESM support for postgres.js instrumentation ([#17961](https://github.com/getsentry/sentry-javascript/pull/17961))
44+
- fix(browser): Stringify span context in linked traces log statement ([#18376](https://github.com/getsentry/sentry-javascript/pull/18376))
45+
- fix(google-cloud-serverless): Move@types/express to optional peerDeps ([#18452](https://github.com/getsentry/sentry-javascript/pull/18452))
46+
- fix(node-core): passthrough node-cron context ([#17835](https://github.com/getsentry/sentry-javascript/pull/17835))
47+
- fix(tanstack-router): Check for`fromLocation` existence before reporting pageload ([#18463](https://github.com/getsentry/sentry-javascript/pull/18463))
48+
- fix(tracing): add system prompt, model to google genai ([#18424](https://github.com/getsentry/sentry-javascript/pull/18424))
49+
- fix(tracing): Set span operations for AI spans with model ID only ([#18471](https://github.com/getsentry/sentry-javascript/pull/18471))
50+
- ref(browser): Improve profiling debug statement ([#18507](https://github.com/getsentry/sentry-javascript/pull/18507))
51+
52+
<details>
53+
<summary> <strong>Internal Changes</strong> </summary>
54+
55+
- chore: Add external contributor to CHANGELOG.md ([#18473](https://github.com/getsentry/sentry-javascript/pull/18473))
56+
- chore: upgrade Playwright to~1.56.0 for WSL2 compatibility ([#18468](https://github.com/getsentry/sentry-javascript/pull/18468))
57+
- chore(bugbot): Add testing conventions code review rules ([#18433](https://github.com/getsentry/sentry-javascript/pull/18433))
58+
- chore(deps): bump next from 14.2.25 to 14.2.35 in /dev-packages/e2e-tests/test-applications/create-next-app ([#18494](https://github.com/getsentry/sentry-javascript/pull/18494))
59+
- chore(deps): bump next from 14.2.32 to 14.2.35 in /dev-packages/e2e-tests/test-applications/nextjs-orpc ([#18520](https://github.com/getsentry/sentry-javascript/pull/18520))
60+
- chore(deps): bump next from 14.2.32 to 14.2.35 in /dev-packages/e2e-tests/test-applications/nextjs-pages-dir ([#18496](https://github.com/getsentry/sentry-javascript/pull/18496))
61+
- chore(deps): bump next from 15.5.7 to 15.5.9 in /dev-packages/e2e-tests/test-applications/nextjs-15 ([#18482](https://github.com/getsentry/sentry-javascript/pull/18482))
62+
- chore(deps): bump next from 15.5.7 to 15.5.9 in /dev-packages/e2e-tests/test-applications/nextjs-15-intl ([#18483](https://github.com/getsentry/sentry-javascript/pull/18483))
63+
- chore(deps): bump next from 16.0.7 to 16.0.9 in /dev-packages/e2e-tests/test-applications/nextjs-16 ([#18480](https://github.com/getsentry/sentry-javascript/pull/18480))
64+
- chore(deps): bump next from 16.0.7 to 16.0.9 in /dev-packages/e2e-tests/test-applications/nextjs-16-cacheComponents ([#18479](https://github.com/getsentry/sentry-javascript/pull/18479))
65+
- chore(deps): bump next from 16.0.7 to 16.0.9 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel ([#18481](https://github.com/getsentry/sentry-javascript/pull/18481))
66+
- chore(deps): bump next from 16.0.9 to 16.0.10 in /dev-packages/e2e-tests/test-applications/nextjs-16 ([#18514](https://github.com/getsentry/sentry-javascript/pull/18514))
67+
- chore(deps): bump next from 16.0.9 to 16.0.10 in /dev-packages/e2e-tests/test-applications/nextjs-16-tunnel ([#18487](https://github.com/getsentry/sentry-javascript/pull/18487))
68+
- chore(tests): Added test variant flag ([#18458](https://github.com/getsentry/sentry-javascript/pull/18458))
69+
- test(cloudflare-mcp): Pin mcp sdk to 1.24.0 ([#18524](https://github.com/getsentry/sentry-javascript/pull/18524))
70+
71+
</details>
72+
73+
Work in this release was contributed by@sebws and@TBeeren. Thank you for your contributions!
74+
775
##10.30.0
876

977
- feat(nextjs): Deprecate Webpack top-level options ([#18343](https://github.com/getsentry/sentry-javascript/pull/18343))

‎dev-packages/browser-integration-tests/loader-suites/loader/noOnLoad/sdkLoadedInMeanwhile/test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sentryTest('it does not download the SDK if the SDK was loaded in the meanwhile'
1717
letcdnLoadedCount=0;
1818
letsentryEventCount=0;
1919

20-
awaitpage.route('https://dsn.ingest.sentry.io/**/*',route=>{
20+
awaitpage.route(/^https:\/\/dsn\.ingest\.sentry\.io\//,route=>{
2121
sentryEventCount++;
2222

2323
returnroute.fulfill({

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"dependencies": {
4242
"@babel/core":"^7.27.7",
4343
"@babel/preset-typescript":"^7.16.7",
44-
"@playwright/test":"~1.53.2",
44+
"@playwright/test":"~1.56.0",
4545
"@sentry-internal/rrweb":"2.34.0",
4646
"@sentry/browser":"10.30.0",
4747
"@supabase/supabase-js":"2.49.3",

‎dev-packages/browser-integration-tests/suites/integrations/featureFlags/featureFlags/onError/basic/test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('Basic test with eviction, update, and no async tasks', async ({ getL
1212
sentryTest.skip();
1313
}
1414

15-
awaitpage.route('https://dsn.ingest.sentry.io/**/*',route=>{
15+
awaitpage.route(/^https:\/\/dsn\.ingest\.sentry\.io\//,route=>{
1616
returnroute.fulfill({
1717
status:200,
1818
contentType:'application/json',

‎dev-packages/browser-integration-tests/suites/integrations/featureFlags/featureFlags/onError/withScope/test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('Flag evaluations in forked scopes are stored separately.', async ({
1212
sentryTest.skip();
1313
}
1414

15-
awaitpage.route('https://dsn.ingest.sentry.io/**/*',route=>{
15+
awaitpage.route(/^https:\/\/dsn\.ingest\.sentry\.io\//,route=>{
1616
returnroute.fulfill({
1717
status:200,
1818
contentType:'application/json',

‎dev-packages/browser-integration-tests/suites/integrations/featureFlags/featureFlags/onSpan/test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ sentryTest("Feature flags are added to active span's attributes on span end.", a
1414
sentryTest.skip();
1515
}
1616

17-
awaitpage.route('https://dsn.ingest.sentry.io/**/*',route=>{
17+
awaitpage.route(/^https:\/\/dsn\.ingest\.sentry\.io\//,route=>{
1818
returnroute.fulfill({
1919
status:200,
2020
contentType:'application/json',

‎dev-packages/browser-integration-tests/suites/integrations/featureFlags/growthbook/onError/basic/test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('GrowthBook onError: basic eviction/update and no async tasks', async
1212
sentryTest.skip();
1313
}
1414

15-
awaitpage.route('https://dsn.ingest.sentry.io/**/*',route=>{
15+
awaitpage.route(/^https:\/\/dsn\.ingest\.sentry\.io\//,route=>{
1616
returnroute.fulfill({status:200,contentType:'application/json',body:JSON.stringify({id:'test-id'})});
1717
});
1818

‎dev-packages/browser-integration-tests/suites/integrations/featureFlags/growthbook/onError/withScope/test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ sentryTest('GrowthBook onError: forked scopes are isolated', async ({ getLocalTe
1212
sentryTest.skip();
1313
}
1414

15-
awaitpage.route('https://dsn.ingest.sentry.io/**/*',route=>{
15+
awaitpage.route(/^https:\/\/dsn\.ingest\.sentry\.io\//,route=>{
1616
returnroute.fulfill({status:200,contentType:'application/json',body:JSON.stringify({id:'test-id'})});
1717
});
1818

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp